mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): feature flags (#9492)
This commit is contained in:
parent
5583635947
commit
0f129cae4a
11 changed files with 59 additions and 132 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { ApiProperty, ApiResponseProperty } from '@nestjs/swagger';
|
||||
import type { DateTime } from 'luxon';
|
||||
import { FeatureFlags } from 'src/cores/system-config.core';
|
||||
import { SystemConfigThemeDto } from 'src/dtos/system-config.dto';
|
||||
import { IVersion, VersionType } from 'src/utils/version';
|
||||
|
||||
|
|
@ -96,7 +95,7 @@ export class ServerConfigDto {
|
|||
externalDomain!: string;
|
||||
}
|
||||
|
||||
export class ServerFeaturesDto implements FeatureFlags {
|
||||
export class ServerFeaturesDto {
|
||||
smartSearch!: boolean;
|
||||
configFile!: boolean;
|
||||
facialRecognition!: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue