chore(web): move enum out of .svelte file ()

* chore(web): clean up todo task

* chore(web): move enums out of .svelte file
This commit is contained in:
Alex 2024-11-14 09:41:11 -06:00 committed by GitHub
parent d6a70bc7e5
commit d1085e8a02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 26 additions and 31 deletions
web/src/lib

View file

@ -360,3 +360,20 @@ export enum PersonPageViewMode {
BIRTH_DATE = 'birth-date',
UNASSIGN_ASSETS = 'unassign-faces',
}
export enum MediaType {
All = 'all',
Image = 'image',
Video = 'video',
}
export enum ProgressBarStatus {
Playing = 'playing',
Paused = 'paused',
}
export enum ToggleVisibility {
HIDE_ALL = 'hide-all',
HIDE_UNNANEMD = 'hide-unnamed',
SHOW_ALL = 'show-all',
}