mirror of
https://github.com/immich-app/immich.git
synced 2025-01-23 12:12:45 +01:00
18f59f78e3
* feat(web): onboarding * feat: openapi * feat: modulization * feat: page advancing * Animation * Add storage templaete settings * sql * more style * Theme * information and styling * hide/show table * Styling * Update user property * fix test * fix test: * fix e2e * test * Update web/src/lib/components/onboarding-page/onboarding-hello.svelte Co-authored-by: bo0tzz <git@bo0tzz.me> * naming * use System Metadata * better return type * onboarding using server metadata * revert previous changes in user entity * sql * test web * fix test server * server/web test * more test * consolidate color theme change logic * consolidate save button to storage template * merge main * fix web --------- Co-authored-by: bo0tzz <git@bo0tzz.me>
59 lines
1.4 KiB
TypeScript
59 lines
1.4 KiB
TypeScript
export enum AssetAction {
|
|
ARCHIVE = 'archive',
|
|
UNARCHIVE = 'unarchive',
|
|
FAVORITE = 'favorite',
|
|
UNFAVORITE = 'unfavorite',
|
|
TRASH = 'trash',
|
|
DELETE = 'delete',
|
|
// RESTORE = 'restore',
|
|
ADD = 'add',
|
|
}
|
|
|
|
export enum AppRoute {
|
|
ADMIN_USER_MANAGEMENT = '/admin/user-management',
|
|
ADMIN_SETTINGS = '/admin/system-settings',
|
|
ADMIN_STATS = '/admin/server-status',
|
|
ADMIN_JOBS = '/admin/jobs-status',
|
|
ADMIN_REPAIR = '/admin/repair',
|
|
|
|
ALBUMS = '/albums',
|
|
LIBRARIES = '/libraries',
|
|
ARCHIVE = '/archive',
|
|
FAVORITES = '/favorites',
|
|
PEOPLE = '/people',
|
|
PHOTOS = '/photos',
|
|
EXPLORE = '/explore',
|
|
SHARING = '/sharing',
|
|
SHARED_LINKS = '/sharing/sharedlinks',
|
|
SEARCH = '/search',
|
|
MAP = '/map',
|
|
USER_SETTINGS = '/user-settings',
|
|
MEMORY = '/memory',
|
|
TRASH = '/trash',
|
|
PARTNERS = '/partners',
|
|
|
|
AUTH_LOGIN = '/auth/login',
|
|
AUTH_LOGOUT = '/auth/logout',
|
|
AUTH_REGISTER = '/auth/register',
|
|
AUTH_CHANGE_PASSWORD = '/auth/change-password',
|
|
AUTH_ONBOARDING = '/auth/onboarding',
|
|
}
|
|
|
|
export enum ProjectionType {
|
|
EQUIRECTANGULAR = 'EQUIRECTANGULAR',
|
|
CUBEMAP = 'CUBEMAP',
|
|
CUBESTRIP = 'CUBESTRIP',
|
|
EQUIRECTANGULAR_STEREO = 'EQUIRECTANGULAR_STEREO',
|
|
CUBEMAP_STEREO = 'CUBEMAP_STEREO',
|
|
CUBESTRIP_STEREO = 'CUBESTRIP_STEREO',
|
|
CYLINDER = 'CYLINDER',
|
|
NONE = 'NONE',
|
|
}
|
|
|
|
export const dateFormats = {
|
|
album: <Intl.DateTimeFormatOptions>{
|
|
month: 'short',
|
|
day: 'numeric',
|
|
year: 'numeric',
|
|
},
|
|
};
|