Skip to content

Commit ee56ee6

Browse files
Align internal sort package to the public one. (#18)
Co-authored-by: Aleksandar Apostolov <[email protected]>
1 parent e4ea0d9 commit ee56ee6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

stream-android-core/src/main/java/io/getstream/android/core/api/sort/SortDirection.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515
*/
1616
package io.getstream.android.core.api.sort
1717

18+
import io.getstream.android.core.annotations.StreamPublishedApi
19+
1820
/**
1921
* The direction of a sort operation. This enum defines whether a sort should be performed in
2022
* ascending (forward) or descending (reverse) order. The raw values correspond to the values
2123
* expected by the remote API.
2224
*/
25+
@StreamPublishedApi
2326
public enum class SortDirection(public val value: Int) {
2427
/** Sort in ascending order (A to Z, 1 to 9, etc.). */
2528
FORWARD(1),

stream-android-core/src/main/java/io/getstream/android/core/api/sort/SortField.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package io.getstream.android.core.api.sort
1717

1818
import io.getstream.android.core.annotations.StreamInternalApi
1919
import io.getstream.android.core.annotations.StreamPublishedApi
20-
import io.getstream.android.core.internal.filter.SortFieldImpl
20+
import io.getstream.android.core.internal.sort.SortFieldImpl
2121

2222
/**
2323
* A protocol that defines a sortable field for a specific model type.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.getstream.android.core.internal.filter
16+
package io.getstream.android.core.internal.sort
1717

1818
import io.getstream.android.core.api.sort.AnySortComparator
1919
import io.getstream.android.core.api.sort.SortComparator

0 commit comments

Comments
 (0)