mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
37 lines
791 B
Dart
37 lines
791 B
Dart
enum SortOrder {
|
|
asc,
|
|
desc;
|
|
|
|
SortOrder reverse() {
|
|
return this == SortOrder.asc ? SortOrder.desc : SortOrder.asc;
|
|
}
|
|
}
|
|
|
|
enum TextSearchType { context, filename, description, ocr }
|
|
|
|
enum ActionSource { timeline, viewer }
|
|
|
|
enum ShareAssetType { original, preview }
|
|
|
|
enum CleanupStep { selectDate, scan, delete }
|
|
|
|
enum AssetKeepType { none, photosOnly, videosOnly }
|
|
|
|
enum AssetDateAggregation { start, end }
|
|
|
|
enum SlideshowLook { contain, cover, blurredBackground }
|
|
|
|
enum SlideshowDirection { forward, backward, shuffle }
|
|
|
|
enum PartnerDirection { sharedBy, sharedWith }
|
|
|
|
enum DevicePermission { photos, videos, storage, mediaLocation }
|
|
|
|
enum DevicePermissionStatus {
|
|
denied,
|
|
granted,
|
|
limited,
|
|
permanentlyDenied;
|
|
|
|
bool get hasAccess => this == granted || this == limited;
|
|
}
|