mirror of
https://github.com/immich-app/immich.git
synced 2026-02-27 21:50:23 -05:00
* perf(mobile): optimized album sorting * refactor: add index & sql query * fix: migration * refactor: enum, ordering & list * test: update album service tests * chore: fix enums broken during merging main * chore: remove unnecessary tests * test: add tests for getSortedAlbumIds * test: added back stubs in service test
23 lines
461 B
Dart
23 lines
461 B
Dart
enum SortOrder {
|
|
asc,
|
|
desc;
|
|
|
|
SortOrder reverse() {
|
|
return this == SortOrder.asc ? SortOrder.desc : SortOrder.asc;
|
|
}
|
|
}
|
|
|
|
enum TextSearchType { context, filename, description, ocr }
|
|
|
|
enum AssetVisibilityEnum { timeline, hidden, archive, locked }
|
|
|
|
enum SortUserBy { id }
|
|
|
|
enum ActionSource { timeline, viewer }
|
|
|
|
enum CleanupStep { selectDate, scan, delete }
|
|
|
|
enum AssetKeepType { none, photosOnly, videosOnly }
|
|
|
|
enum AssetDateAggregation { start, end }
|