mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
chore(web): move enum out of .svelte file (#14144)
* chore(web): clean up todo task * chore(web): move enums out of .svelte file
This commit is contained in:
parent
d6a70bc7e5
commit
d1085e8a02
8 changed files with 26 additions and 31 deletions
web/src/lib
|
@ -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',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue