mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			755 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			755 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
export enum AuthType {
 | 
						|
  Password = 'password',
 | 
						|
  OAuth = 'oauth',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichCookie {
 | 
						|
  AccessToken = 'immich_access_token',
 | 
						|
  AuthType = 'immich_auth_type',
 | 
						|
  IsAuthenticated = 'immich_is_authenticated',
 | 
						|
  SharedLinkToken = 'immich_shared_link_token',
 | 
						|
  OAuthState = 'immich_oauth_state',
 | 
						|
  OAuthCodeVerifier = 'immich_oauth_code_verifier',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichHeader {
 | 
						|
  ApiKey = 'x-api-key',
 | 
						|
  UserToken = 'x-immich-user-token',
 | 
						|
  SessionToken = 'x-immich-session-token',
 | 
						|
  SharedLinkKey = 'x-immich-share-key',
 | 
						|
  SharedLinkSlug = 'x-immich-share-slug',
 | 
						|
  Checksum = 'x-immich-checksum',
 | 
						|
  Cid = 'x-immich-cid',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichQuery {
 | 
						|
  SharedLinkKey = 'key',
 | 
						|
  SharedLinkSlug = 'slug',
 | 
						|
  ApiKey = 'apiKey',
 | 
						|
  SessionKey = 'sessionKey',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetType {
 | 
						|
  Image = 'IMAGE',
 | 
						|
  Video = 'VIDEO',
 | 
						|
  Audio = 'AUDIO',
 | 
						|
  Other = 'OTHER',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetFileType {
 | 
						|
  /**
 | 
						|
   * An full/large-size image extracted/converted from RAW photos
 | 
						|
   */
 | 
						|
  FullSize = 'fullsize',
 | 
						|
  Preview = 'preview',
 | 
						|
  Thumbnail = 'thumbnail',
 | 
						|
}
 | 
						|
 | 
						|
export enum AlbumUserRole {
 | 
						|
  Editor = 'editor',
 | 
						|
  Viewer = 'viewer',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetOrder {
 | 
						|
  Asc = 'asc',
 | 
						|
  Desc = 'desc',
 | 
						|
}
 | 
						|
 | 
						|
export enum DatabaseAction {
 | 
						|
  Create = 'CREATE',
 | 
						|
  Update = 'UPDATE',
 | 
						|
  Delete = 'DELETE',
 | 
						|
}
 | 
						|
 | 
						|
export enum EntityType {
 | 
						|
  Asset = 'ASSET',
 | 
						|
  Album = 'ALBUM',
 | 
						|
}
 | 
						|
 | 
						|
export enum MemoryType {
 | 
						|
  /** pictures taken on this day X years ago */
 | 
						|
  OnThisDay = 'on_this_day',
 | 
						|
}
 | 
						|
 | 
						|
export enum Permission {
 | 
						|
  All = 'all',
 | 
						|
 | 
						|
  ActivityCreate = 'activity.create',
 | 
						|
  ActivityRead = 'activity.read',
 | 
						|
  ActivityUpdate = 'activity.update',
 | 
						|
  ActivityDelete = 'activity.delete',
 | 
						|
  ActivityStatistics = 'activity.statistics',
 | 
						|
 | 
						|
  ApiKeyCreate = 'apiKey.create',
 | 
						|
  ApiKeyRead = 'apiKey.read',
 | 
						|
  ApiKeyUpdate = 'apiKey.update',
 | 
						|
  ApiKeyDelete = 'apiKey.delete',
 | 
						|
 | 
						|
  // ASSET_CREATE = 'asset.create',
 | 
						|
  AssetRead = 'asset.read',
 | 
						|
  AssetUpdate = 'asset.update',
 | 
						|
  AssetDelete = 'asset.delete',
 | 
						|
  AssetStatistics = 'asset.statistics',
 | 
						|
  AssetShare = 'asset.share',
 | 
						|
  AssetView = 'asset.view',
 | 
						|
  AssetDownload = 'asset.download',
 | 
						|
  AssetUpload = 'asset.upload',
 | 
						|
  AssetReplace = 'asset.replace',
 | 
						|
 | 
						|
  AlbumCreate = 'album.create',
 | 
						|
  AlbumRead = 'album.read',
 | 
						|
  AlbumUpdate = 'album.update',
 | 
						|
  AlbumDelete = 'album.delete',
 | 
						|
  AlbumStatistics = 'album.statistics',
 | 
						|
  AlbumShare = 'album.share',
 | 
						|
  AlbumDownload = 'album.download',
 | 
						|
 | 
						|
  AlbumAssetCreate = 'albumAsset.create',
 | 
						|
  AlbumAssetDelete = 'albumAsset.delete',
 | 
						|
 | 
						|
  AlbumUserCreate = 'albumUser.create',
 | 
						|
  AlbumUserUpdate = 'albumUser.update',
 | 
						|
  AlbumUserDelete = 'albumUser.delete',
 | 
						|
 | 
						|
  AuthChangePassword = 'auth.changePassword',
 | 
						|
 | 
						|
  AuthDeviceDelete = 'authDevice.delete',
 | 
						|
 | 
						|
  ArchiveRead = 'archive.read',
 | 
						|
 | 
						|
  DuplicateRead = 'duplicate.read',
 | 
						|
  DuplicateDelete = 'duplicate.delete',
 | 
						|
 | 
						|
  FaceCreate = 'face.create',
 | 
						|
  FaceRead = 'face.read',
 | 
						|
  FaceUpdate = 'face.update',
 | 
						|
  FaceDelete = 'face.delete',
 | 
						|
 | 
						|
  JobCreate = 'job.create',
 | 
						|
  JobRead = 'job.read',
 | 
						|
 | 
						|
  LibraryCreate = 'library.create',
 | 
						|
  LibraryRead = 'library.read',
 | 
						|
  LibraryUpdate = 'library.update',
 | 
						|
  LibraryDelete = 'library.delete',
 | 
						|
  LibraryStatistics = 'library.statistics',
 | 
						|
 | 
						|
  TimelineRead = 'timeline.read',
 | 
						|
  TimelineDownload = 'timeline.download',
 | 
						|
 | 
						|
  MemoryCreate = 'memory.create',
 | 
						|
  MemoryRead = 'memory.read',
 | 
						|
  MemoryUpdate = 'memory.update',
 | 
						|
  MemoryDelete = 'memory.delete',
 | 
						|
  MemoryStatistics = 'memory.statistics',
 | 
						|
 | 
						|
  MemoryAssetCreate = 'memoryAsset.create',
 | 
						|
  MemoryAssetDelete = 'memoryAsset.delete',
 | 
						|
 | 
						|
  NotificationCreate = 'notification.create',
 | 
						|
  NotificationRead = 'notification.read',
 | 
						|
  NotificationUpdate = 'notification.update',
 | 
						|
  NotificationDelete = 'notification.delete',
 | 
						|
 | 
						|
  PartnerCreate = 'partner.create',
 | 
						|
  PartnerRead = 'partner.read',
 | 
						|
  PartnerUpdate = 'partner.update',
 | 
						|
  PartnerDelete = 'partner.delete',
 | 
						|
 | 
						|
  PersonCreate = 'person.create',
 | 
						|
  PersonRead = 'person.read',
 | 
						|
  PersonUpdate = 'person.update',
 | 
						|
  PersonDelete = 'person.delete',
 | 
						|
  PersonStatistics = 'person.statistics',
 | 
						|
  PersonMerge = 'person.merge',
 | 
						|
  PersonReassign = 'person.reassign',
 | 
						|
 | 
						|
  PinCodeCreate = 'pinCode.create',
 | 
						|
  PinCodeUpdate = 'pinCode.update',
 | 
						|
  PinCodeDelete = 'pinCode.delete',
 | 
						|
 | 
						|
  ServerAbout = 'server.about',
 | 
						|
  ServerApkLinks = 'server.apkLinks',
 | 
						|
  ServerStorage = 'server.storage',
 | 
						|
  ServerStatistics = 'server.statistics',
 | 
						|
  ServerVersionCheck = 'server.versionCheck',
 | 
						|
 | 
						|
  ServerLicenseRead = 'serverLicense.read',
 | 
						|
  ServerLicenseUpdate = 'serverLicense.update',
 | 
						|
  ServerLicenseDelete = 'serverLicense.delete',
 | 
						|
 | 
						|
  SessionCreate = 'session.create',
 | 
						|
  SessionRead = 'session.read',
 | 
						|
  SessionUpdate = 'session.update',
 | 
						|
  SessionDelete = 'session.delete',
 | 
						|
  SessionLock = 'session.lock',
 | 
						|
 | 
						|
  SharedLinkCreate = 'sharedLink.create',
 | 
						|
  SharedLinkRead = 'sharedLink.read',
 | 
						|
  SharedLinkUpdate = 'sharedLink.update',
 | 
						|
  SharedLinkDelete = 'sharedLink.delete',
 | 
						|
 | 
						|
  StackCreate = 'stack.create',
 | 
						|
  StackRead = 'stack.read',
 | 
						|
  StackUpdate = 'stack.update',
 | 
						|
  StackDelete = 'stack.delete',
 | 
						|
 | 
						|
  SyncStream = 'sync.stream',
 | 
						|
  SyncCheckpointRead = 'syncCheckpoint.read',
 | 
						|
  SyncCheckpointUpdate = 'syncCheckpoint.update',
 | 
						|
  SyncCheckpointDelete = 'syncCheckpoint.delete',
 | 
						|
 | 
						|
  SystemConfigRead = 'systemConfig.read',
 | 
						|
  SystemConfigUpdate = 'systemConfig.update',
 | 
						|
 | 
						|
  SystemMetadataRead = 'systemMetadata.read',
 | 
						|
  SystemMetadataUpdate = 'systemMetadata.update',
 | 
						|
 | 
						|
  TagCreate = 'tag.create',
 | 
						|
  TagRead = 'tag.read',
 | 
						|
  TagUpdate = 'tag.update',
 | 
						|
  TagDelete = 'tag.delete',
 | 
						|
  TagAsset = 'tag.asset',
 | 
						|
 | 
						|
  UserRead = 'user.read',
 | 
						|
  UserUpdate = 'user.update',
 | 
						|
 | 
						|
  UserLicenseCreate = 'userLicense.create',
 | 
						|
  UserLicenseRead = 'userLicense.read',
 | 
						|
  UserLicenseUpdate = 'userLicense.update',
 | 
						|
  UserLicenseDelete = 'userLicense.delete',
 | 
						|
 | 
						|
  UserOnboardingRead = 'userOnboarding.read',
 | 
						|
  UserOnboardingUpdate = 'userOnboarding.update',
 | 
						|
  UserOnboardingDelete = 'userOnboarding.delete',
 | 
						|
 | 
						|
  UserPreferenceRead = 'userPreference.read',
 | 
						|
  UserPreferenceUpdate = 'userPreference.update',
 | 
						|
 | 
						|
  UserProfileImageCreate = 'userProfileImage.create',
 | 
						|
  UserProfileImageRead = 'userProfileImage.read',
 | 
						|
  UserProfileImageUpdate = 'userProfileImage.update',
 | 
						|
  UserProfileImageDelete = 'userProfileImage.delete',
 | 
						|
 | 
						|
  AdminUserCreate = 'adminUser.create',
 | 
						|
  AdminUserRead = 'adminUser.read',
 | 
						|
  AdminUserUpdate = 'adminUser.update',
 | 
						|
  AdminUserDelete = 'adminUser.delete',
 | 
						|
 | 
						|
  AdminAuthUnlinkAll = 'adminAuth.unlinkAll',
 | 
						|
}
 | 
						|
 | 
						|
export enum SharedLinkType {
 | 
						|
  Album = 'ALBUM',
 | 
						|
 | 
						|
  /**
 | 
						|
   * Individual asset
 | 
						|
   * or group of assets that are not in an album
 | 
						|
   */
 | 
						|
  Individual = 'INDIVIDUAL',
 | 
						|
}
 | 
						|
 | 
						|
export enum StorageFolder {
 | 
						|
  EncodedVideo = 'encoded-video',
 | 
						|
  Library = 'library',
 | 
						|
  Upload = 'upload',
 | 
						|
  Profile = 'profile',
 | 
						|
  Thumbnails = 'thumbs',
 | 
						|
  Backups = 'backups',
 | 
						|
}
 | 
						|
 | 
						|
export enum SystemMetadataKey {
 | 
						|
  MediaLocation = 'MediaLocation',
 | 
						|
  ReverseGeocodingState = 'reverse-geocoding-state',
 | 
						|
  FacialRecognitionState = 'facial-recognition-state',
 | 
						|
  MemoriesState = 'memories-state',
 | 
						|
  AdminOnboarding = 'admin-onboarding',
 | 
						|
  SystemConfig = 'system-config',
 | 
						|
  SystemFlags = 'system-flags',
 | 
						|
  VersionCheckState = 'version-check-state',
 | 
						|
  License = 'license',
 | 
						|
}
 | 
						|
 | 
						|
export enum UserMetadataKey {
 | 
						|
  Preferences = 'preferences',
 | 
						|
  License = 'license',
 | 
						|
  Onboarding = 'onboarding',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetMetadataKey {
 | 
						|
  MobileApp = 'mobile-app',
 | 
						|
}
 | 
						|
 | 
						|
export enum UserAvatarColor {
 | 
						|
  Primary = 'primary',
 | 
						|
  Pink = 'pink',
 | 
						|
  Red = 'red',
 | 
						|
  Yellow = 'yellow',
 | 
						|
  Blue = 'blue',
 | 
						|
  Green = 'green',
 | 
						|
  Purple = 'purple',
 | 
						|
  Orange = 'orange',
 | 
						|
  Gray = 'gray',
 | 
						|
  Amber = 'amber',
 | 
						|
}
 | 
						|
 | 
						|
export enum UserStatus {
 | 
						|
  Active = 'active',
 | 
						|
  Removing = 'removing',
 | 
						|
  Deleted = 'deleted',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetStatus {
 | 
						|
  Active = 'active',
 | 
						|
  Trashed = 'trashed',
 | 
						|
  Deleted = 'deleted',
 | 
						|
}
 | 
						|
 | 
						|
export enum SourceType {
 | 
						|
  MachineLearning = 'machine-learning',
 | 
						|
  Exif = 'exif',
 | 
						|
  Manual = 'manual',
 | 
						|
}
 | 
						|
 | 
						|
export enum ManualJobName {
 | 
						|
  PersonCleanup = 'person-cleanup',
 | 
						|
  TagCleanup = 'tag-cleanup',
 | 
						|
  UserCleanup = 'user-cleanup',
 | 
						|
  MemoryCleanup = 'memory-cleanup',
 | 
						|
  MemoryCreate = 'memory-create',
 | 
						|
  BackupDatabase = 'backup-database',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetPathType {
 | 
						|
  Original = 'original',
 | 
						|
  FullSize = 'fullsize',
 | 
						|
  Preview = 'preview',
 | 
						|
  Thumbnail = 'thumbnail',
 | 
						|
  EncodedVideo = 'encoded_video',
 | 
						|
  Sidecar = 'sidecar',
 | 
						|
}
 | 
						|
 | 
						|
export enum PersonPathType {
 | 
						|
  Face = 'face',
 | 
						|
}
 | 
						|
 | 
						|
export enum UserPathType {
 | 
						|
  Profile = 'profile',
 | 
						|
}
 | 
						|
 | 
						|
export type PathType = AssetPathType | PersonPathType | UserPathType;
 | 
						|
 | 
						|
export enum TranscodePolicy {
 | 
						|
  All = 'all',
 | 
						|
  Optimal = 'optimal',
 | 
						|
  Bitrate = 'bitrate',
 | 
						|
  Required = 'required',
 | 
						|
  Disabled = 'disabled',
 | 
						|
}
 | 
						|
 | 
						|
export enum TranscodeTarget {
 | 
						|
  None = 'NONE',
 | 
						|
  Audio = 'AUDIO',
 | 
						|
  Video = 'VIDEO',
 | 
						|
  All = 'ALL',
 | 
						|
}
 | 
						|
 | 
						|
export enum VideoCodec {
 | 
						|
  H264 = 'h264',
 | 
						|
  Hevc = 'hevc',
 | 
						|
  Vp9 = 'vp9',
 | 
						|
  Av1 = 'av1',
 | 
						|
}
 | 
						|
 | 
						|
export enum AudioCodec {
 | 
						|
  Mp3 = 'mp3',
 | 
						|
  Aac = 'aac',
 | 
						|
  LibOpus = 'libopus',
 | 
						|
  PcmS16le = 'pcm_s16le',
 | 
						|
}
 | 
						|
 | 
						|
export enum VideoContainer {
 | 
						|
  Mov = 'mov',
 | 
						|
  Mp4 = 'mp4',
 | 
						|
  Ogg = 'ogg',
 | 
						|
  Webm = 'webm',
 | 
						|
}
 | 
						|
 | 
						|
export enum TranscodeHardwareAcceleration {
 | 
						|
  Nvenc = 'nvenc',
 | 
						|
  Qsv = 'qsv',
 | 
						|
  Vaapi = 'vaapi',
 | 
						|
  Rkmpp = 'rkmpp',
 | 
						|
  Disabled = 'disabled',
 | 
						|
}
 | 
						|
 | 
						|
export enum ToneMapping {
 | 
						|
  Hable = 'hable',
 | 
						|
  Mobius = 'mobius',
 | 
						|
  Reinhard = 'reinhard',
 | 
						|
  Disabled = 'disabled',
 | 
						|
}
 | 
						|
 | 
						|
export enum CQMode {
 | 
						|
  Auto = 'auto',
 | 
						|
  Cqp = 'cqp',
 | 
						|
  Icq = 'icq',
 | 
						|
}
 | 
						|
 | 
						|
export enum Colorspace {
 | 
						|
  Srgb = 'srgb',
 | 
						|
  P3 = 'p3',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImageFormat {
 | 
						|
  Jpeg = 'jpeg',
 | 
						|
  Webp = 'webp',
 | 
						|
}
 | 
						|
 | 
						|
export enum RawExtractedFormat {
 | 
						|
  Jpeg = 'jpeg',
 | 
						|
  Jxl = 'jxl',
 | 
						|
}
 | 
						|
 | 
						|
export enum LogLevel {
 | 
						|
  Verbose = 'verbose',
 | 
						|
  Debug = 'debug',
 | 
						|
  Log = 'log',
 | 
						|
  Warn = 'warn',
 | 
						|
  Error = 'error',
 | 
						|
  Fatal = 'fatal',
 | 
						|
}
 | 
						|
 | 
						|
export enum ApiCustomExtension {
 | 
						|
  Permission = 'x-immich-permission',
 | 
						|
  AdminOnly = 'x-immich-admin-only',
 | 
						|
}
 | 
						|
 | 
						|
export enum MetadataKey {
 | 
						|
  AuthRoute = 'auth_route',
 | 
						|
  AdminRoute = 'admin_route',
 | 
						|
  SharedRoute = 'shared_route',
 | 
						|
  ApiKeySecurity = 'api_key',
 | 
						|
  EventConfig = 'event_config',
 | 
						|
  JobConfig = 'job_config',
 | 
						|
  TelemetryEnabled = 'telemetry_enabled',
 | 
						|
}
 | 
						|
 | 
						|
export enum RouteKey {
 | 
						|
  Asset = 'assets',
 | 
						|
  User = 'users',
 | 
						|
}
 | 
						|
 | 
						|
export enum CacheControl {
 | 
						|
  PrivateWithCache = 'private_with_cache',
 | 
						|
  PrivateWithoutCache = 'private_without_cache',
 | 
						|
  None = 'none',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichEnvironment {
 | 
						|
  Development = 'development',
 | 
						|
  Testing = 'testing',
 | 
						|
  Production = 'production',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichWorker {
 | 
						|
  Api = 'api',
 | 
						|
  Microservices = 'microservices',
 | 
						|
}
 | 
						|
 | 
						|
export enum ImmichTelemetry {
 | 
						|
  Host = 'host',
 | 
						|
  Api = 'api',
 | 
						|
  Io = 'io',
 | 
						|
  Repo = 'repo',
 | 
						|
  Job = 'job',
 | 
						|
}
 | 
						|
 | 
						|
export enum ExifOrientation {
 | 
						|
  Horizontal = 1,
 | 
						|
  MirrorHorizontal = 2,
 | 
						|
  Rotate180 = 3,
 | 
						|
  MirrorVertical = 4,
 | 
						|
  MirrorHorizontalRotate270CW = 5,
 | 
						|
  Rotate90CW = 6,
 | 
						|
  MirrorHorizontalRotate90CW = 7,
 | 
						|
  Rotate270CW = 8,
 | 
						|
}
 | 
						|
 | 
						|
export enum DatabaseExtension {
 | 
						|
  Cube = 'cube',
 | 
						|
  EarthDistance = 'earthdistance',
 | 
						|
  Vector = 'vector',
 | 
						|
  Vectors = 'vectors',
 | 
						|
  VectorChord = 'vchord',
 | 
						|
}
 | 
						|
 | 
						|
export enum BootstrapEventPriority {
 | 
						|
  // Database service should be initialized before anything else, most other services need database access
 | 
						|
  DatabaseService = -200,
 | 
						|
  // Detect and configure the media location before jobs are queued which may use it
 | 
						|
  StorageService = -195,
 | 
						|
  // Other services may need to queue jobs on bootstrap.
 | 
						|
  JobService = -190,
 | 
						|
  // Initialise config after other bootstrap services, stop other services from using config on bootstrap
 | 
						|
  SystemConfig = 100,
 | 
						|
}
 | 
						|
 | 
						|
export enum QueueName {
 | 
						|
  ThumbnailGeneration = 'thumbnailGeneration',
 | 
						|
  MetadataExtraction = 'metadataExtraction',
 | 
						|
  VideoConversion = 'videoConversion',
 | 
						|
  FaceDetection = 'faceDetection',
 | 
						|
  FacialRecognition = 'facialRecognition',
 | 
						|
  SmartSearch = 'smartSearch',
 | 
						|
  DuplicateDetection = 'duplicateDetection',
 | 
						|
  BackgroundTask = 'backgroundTask',
 | 
						|
  StorageTemplateMigration = 'storageTemplateMigration',
 | 
						|
  Migration = 'migration',
 | 
						|
  Search = 'search',
 | 
						|
  Sidecar = 'sidecar',
 | 
						|
  Library = 'library',
 | 
						|
  Notification = 'notifications',
 | 
						|
  BackupDatabase = 'backupDatabase',
 | 
						|
}
 | 
						|
 | 
						|
export enum JobName {
 | 
						|
  AssetDelete = 'AssetDelete',
 | 
						|
  AssetDeleteCheck = 'AssetDeleteCheck',
 | 
						|
  AssetDetectFacesQueueAll = 'AssetDetectFacesQueueAll',
 | 
						|
  AssetDetectFaces = 'AssetDetectFaces',
 | 
						|
  AssetDetectDuplicatesQueueAll = 'AssetDetectDuplicatesQueueAll',
 | 
						|
  AssetDetectDuplicates = 'AssetDetectDuplicates',
 | 
						|
  AssetEncodeVideoQueueAll = 'AssetEncodeVideoQueueAll',
 | 
						|
  AssetEncodeVideo = 'AssetEncodeVideo',
 | 
						|
  AssetEmptyTrash = 'AssetEmptyTrash',
 | 
						|
  AssetExtractMetadataQueueAll = 'AssetExtractMetadataQueueAll',
 | 
						|
  AssetExtractMetadata = 'AssetExtractMetadata',
 | 
						|
  AssetFileMigration = 'AssetFileMigration',
 | 
						|
  AssetGenerateThumbnailsQueueAll = 'AssetGenerateThumbnailsQueueAll',
 | 
						|
  AssetGenerateThumbnails = 'AssetGenerateThumbnails',
 | 
						|
 | 
						|
  AuditLogCleanup = 'AuditLogCleanup',
 | 
						|
 | 
						|
  DatabaseBackup = 'DatabaseBackup',
 | 
						|
 | 
						|
  FacialRecognitionQueueAll = 'FacialRecognitionQueueAll',
 | 
						|
  FacialRecognition = 'FacialRecognition',
 | 
						|
 | 
						|
  FileDelete = 'FileDelete',
 | 
						|
  FileMigrationQueueAll = 'FileMigrationQueueAll',
 | 
						|
 | 
						|
  LibraryDeleteCheck = 'LibraryDeleteCheck',
 | 
						|
  LibraryDelete = 'LibraryDelete',
 | 
						|
  LibraryRemoveAsset = 'LibraryRemoveAsset',
 | 
						|
  LibrarySyncAssetsQueueAll = 'LibraryScanAssetsQueueAll',
 | 
						|
  LibrarySyncAssets = 'LibrarySyncAssets',
 | 
						|
  LibrarySyncFilesQueueAll = 'LibrarySyncFilesQueueAll',
 | 
						|
  LibrarySyncFiles = 'LibrarySyncFiles',
 | 
						|
  LibraryScanQueueAll = 'LibraryScanQueueAll',
 | 
						|
 | 
						|
  MemoryCleanup = 'MemoryCleanup',
 | 
						|
  MemoryGenerate = 'MemoryGenerate',
 | 
						|
 | 
						|
  NotificationsCleanup = 'NotificationsCleanup',
 | 
						|
 | 
						|
  NotifyUserSignup = 'NotifyUserSignup',
 | 
						|
  NotifyAlbumInvite = 'NotifyAlbumInvite',
 | 
						|
  NotifyAlbumUpdate = 'NotifyAlbumUpdate',
 | 
						|
 | 
						|
  UserDelete = 'UserDelete',
 | 
						|
  UserDeleteCheck = 'UserDeleteCheck',
 | 
						|
  UserSyncUsage = 'UserSyncUsage',
 | 
						|
 | 
						|
  PersonCleanup = 'PersonCleanup',
 | 
						|
  PersonFileMigration = 'PersonFileMigration',
 | 
						|
  PersonGenerateThumbnail = 'PersonGenerateThumbnail',
 | 
						|
 | 
						|
  SessionCleanup = 'SessionCleanup',
 | 
						|
 | 
						|
  SendMail = 'SendMail',
 | 
						|
 | 
						|
  SidecarQueueAll = 'SidecarQueueAll',
 | 
						|
  SidecarDiscovery = 'SidecarDiscovery',
 | 
						|
  SidecarSync = 'SidecarSync',
 | 
						|
  SidecarWrite = 'SidecarWrite',
 | 
						|
 | 
						|
  SmartSearchQueueAll = 'SmartSearchQueueAll',
 | 
						|
  SmartSearch = 'SmartSearch',
 | 
						|
 | 
						|
  StorageTemplateMigration = 'StorageTemplateMigration',
 | 
						|
  StorageTemplateMigrationSingle = 'StorageTemplateMigrationSingle',
 | 
						|
 | 
						|
  TagCleanup = 'TagCleanup',
 | 
						|
 | 
						|
  VersionCheck = 'VersionCheck',
 | 
						|
}
 | 
						|
 | 
						|
export enum JobCommand {
 | 
						|
  Start = 'start',
 | 
						|
  Pause = 'pause',
 | 
						|
  Resume = 'resume',
 | 
						|
  Empty = 'empty',
 | 
						|
  ClearFailed = 'clear-failed',
 | 
						|
}
 | 
						|
 | 
						|
export enum JobStatus {
 | 
						|
  Success = 'success',
 | 
						|
  Failed = 'failed',
 | 
						|
  Skipped = 'skipped',
 | 
						|
}
 | 
						|
 | 
						|
export enum QueueCleanType {
 | 
						|
  Failed = 'failed',
 | 
						|
}
 | 
						|
 | 
						|
export enum VectorIndex {
 | 
						|
  Clip = 'clip_index',
 | 
						|
  Face = 'face_index',
 | 
						|
}
 | 
						|
 | 
						|
export enum DatabaseLock {
 | 
						|
  GeodataImport = 100,
 | 
						|
  Migrations = 200,
 | 
						|
  SystemFileMounts = 300,
 | 
						|
  StorageTemplateMigration = 420,
 | 
						|
  VersionHistory = 500,
 | 
						|
  CLIPDimSize = 512,
 | 
						|
  Library = 1337,
 | 
						|
  NightlyJobs = 600,
 | 
						|
  MediaLocation = 700,
 | 
						|
  GetSystemConfig = 69,
 | 
						|
  BackupDatabase = 42,
 | 
						|
  MemoryCreation = 777,
 | 
						|
}
 | 
						|
 | 
						|
export enum SyncRequestType {
 | 
						|
  AlbumsV1 = 'AlbumsV1',
 | 
						|
  AlbumUsersV1 = 'AlbumUsersV1',
 | 
						|
  AlbumToAssetsV1 = 'AlbumToAssetsV1',
 | 
						|
  AlbumAssetsV1 = 'AlbumAssetsV1',
 | 
						|
  AlbumAssetExifsV1 = 'AlbumAssetExifsV1',
 | 
						|
  AssetsV1 = 'AssetsV1',
 | 
						|
  AssetExifsV1 = 'AssetExifsV1',
 | 
						|
  AssetMetadataV1 = 'AssetMetadataV1',
 | 
						|
  AuthUsersV1 = 'AuthUsersV1',
 | 
						|
  MemoriesV1 = 'MemoriesV1',
 | 
						|
  MemoryToAssetsV1 = 'MemoryToAssetsV1',
 | 
						|
  PartnersV1 = 'PartnersV1',
 | 
						|
  PartnerAssetsV1 = 'PartnerAssetsV1',
 | 
						|
  PartnerAssetExifsV1 = 'PartnerAssetExifsV1',
 | 
						|
  PartnerStacksV1 = 'PartnerStacksV1',
 | 
						|
  StacksV1 = 'StacksV1',
 | 
						|
  UsersV1 = 'UsersV1',
 | 
						|
  PeopleV1 = 'PeopleV1',
 | 
						|
  AssetFacesV1 = 'AssetFacesV1',
 | 
						|
  UserMetadataV1 = 'UserMetadataV1',
 | 
						|
}
 | 
						|
 | 
						|
export enum SyncEntityType {
 | 
						|
  AuthUserV1 = 'AuthUserV1',
 | 
						|
 | 
						|
  UserV1 = 'UserV1',
 | 
						|
  UserDeleteV1 = 'UserDeleteV1',
 | 
						|
 | 
						|
  AssetV1 = 'AssetV1',
 | 
						|
  AssetDeleteV1 = 'AssetDeleteV1',
 | 
						|
  AssetExifV1 = 'AssetExifV1',
 | 
						|
  AssetMetadataV1 = 'AssetMetadataV1',
 | 
						|
  AssetMetadataDeleteV1 = 'AssetMetadataDeleteV1',
 | 
						|
 | 
						|
  PartnerV1 = 'PartnerV1',
 | 
						|
  PartnerDeleteV1 = 'PartnerDeleteV1',
 | 
						|
 | 
						|
  PartnerAssetV1 = 'PartnerAssetV1',
 | 
						|
  PartnerAssetBackfillV1 = 'PartnerAssetBackfillV1',
 | 
						|
  PartnerAssetDeleteV1 = 'PartnerAssetDeleteV1',
 | 
						|
  PartnerAssetExifV1 = 'PartnerAssetExifV1',
 | 
						|
  PartnerAssetExifBackfillV1 = 'PartnerAssetExifBackfillV1',
 | 
						|
  PartnerStackBackfillV1 = 'PartnerStackBackfillV1',
 | 
						|
  PartnerStackDeleteV1 = 'PartnerStackDeleteV1',
 | 
						|
  PartnerStackV1 = 'PartnerStackV1',
 | 
						|
 | 
						|
  AlbumV1 = 'AlbumV1',
 | 
						|
  AlbumDeleteV1 = 'AlbumDeleteV1',
 | 
						|
 | 
						|
  AlbumUserV1 = 'AlbumUserV1',
 | 
						|
  AlbumUserBackfillV1 = 'AlbumUserBackfillV1',
 | 
						|
  AlbumUserDeleteV1 = 'AlbumUserDeleteV1',
 | 
						|
 | 
						|
  AlbumAssetCreateV1 = 'AlbumAssetCreateV1',
 | 
						|
  AlbumAssetUpdateV1 = 'AlbumAssetUpdateV1',
 | 
						|
  AlbumAssetBackfillV1 = 'AlbumAssetBackfillV1',
 | 
						|
  AlbumAssetExifCreateV1 = 'AlbumAssetExifCreateV1',
 | 
						|
  AlbumAssetExifUpdateV1 = 'AlbumAssetExifUpdateV1',
 | 
						|
  AlbumAssetExifBackfillV1 = 'AlbumAssetExifBackfillV1',
 | 
						|
 | 
						|
  AlbumToAssetV1 = 'AlbumToAssetV1',
 | 
						|
  AlbumToAssetDeleteV1 = 'AlbumToAssetDeleteV1',
 | 
						|
  AlbumToAssetBackfillV1 = 'AlbumToAssetBackfillV1',
 | 
						|
 | 
						|
  MemoryV1 = 'MemoryV1',
 | 
						|
  MemoryDeleteV1 = 'MemoryDeleteV1',
 | 
						|
 | 
						|
  MemoryToAssetV1 = 'MemoryToAssetV1',
 | 
						|
  MemoryToAssetDeleteV1 = 'MemoryToAssetDeleteV1',
 | 
						|
 | 
						|
  StackV1 = 'StackV1',
 | 
						|
  StackDeleteV1 = 'StackDeleteV1',
 | 
						|
 | 
						|
  PersonV1 = 'PersonV1',
 | 
						|
  PersonDeleteV1 = 'PersonDeleteV1',
 | 
						|
 | 
						|
  AssetFaceV1 = 'AssetFaceV1',
 | 
						|
  AssetFaceDeleteV1 = 'AssetFaceDeleteV1',
 | 
						|
 | 
						|
  UserMetadataV1 = 'UserMetadataV1',
 | 
						|
  UserMetadataDeleteV1 = 'UserMetadataDeleteV1',
 | 
						|
 | 
						|
  SyncAckV1 = 'SyncAckV1',
 | 
						|
  SyncResetV1 = 'SyncResetV1',
 | 
						|
}
 | 
						|
 | 
						|
export enum NotificationLevel {
 | 
						|
  Success = 'success',
 | 
						|
  Error = 'error',
 | 
						|
  Warning = 'warning',
 | 
						|
  Info = 'info',
 | 
						|
}
 | 
						|
 | 
						|
export enum NotificationType {
 | 
						|
  JobFailed = 'JobFailed',
 | 
						|
  BackupFailed = 'BackupFailed',
 | 
						|
  SystemMessage = 'SystemMessage',
 | 
						|
  Custom = 'Custom',
 | 
						|
}
 | 
						|
 | 
						|
export enum OAuthTokenEndpointAuthMethod {
 | 
						|
  ClientSecretPost = 'client_secret_post',
 | 
						|
  ClientSecretBasic = 'client_secret_basic',
 | 
						|
}
 | 
						|
 | 
						|
export enum DatabaseSslMode {
 | 
						|
  Disable = 'disable',
 | 
						|
  Allow = 'allow',
 | 
						|
  Prefer = 'prefer',
 | 
						|
  Require = 'require',
 | 
						|
  VerifyFull = 'verify-full',
 | 
						|
}
 | 
						|
 | 
						|
export enum AssetVisibility {
 | 
						|
  Archive = 'archive',
 | 
						|
  Timeline = 'timeline',
 | 
						|
 | 
						|
  /**
 | 
						|
   * Video part of the LivePhotos and MotionPhotos
 | 
						|
   */
 | 
						|
  Hidden = 'hidden',
 | 
						|
  Locked = 'locked',
 | 
						|
}
 | 
						|
 | 
						|
export enum CronJob {
 | 
						|
  LibraryScan = 'LibraryScan',
 | 
						|
  NightlyJobs = 'NightlyJobs',
 | 
						|
}
 |