refactor(server): auth enums (#13552)

This commit is contained in:
Jason Rasmussen 2024-10-17 13:17:32 -04:00 committed by GitHub
parent d9949434f6
commit e3fc4d7b0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 37 additions and 41 deletions

View file

@ -12,8 +12,7 @@ import { writeFileSync } from 'node:fs';
import path from 'node:path';
import { SystemConfig } from 'src/config';
import { CLIP_MODEL_INFO, serverVersion } from 'src/constants';
import { ImmichCookie, ImmichHeader } from 'src/dtos/auth.dto';
import { MetadataKey } from 'src/enum';
import { ImmichCookie, ImmichHeader, MetadataKey } from 'src/enum';
import { ILoggerRepository } from 'src/interfaces/logger.interface';
export const getExternalDomain = (server: SystemConfig['server'], port: number) =>