refactor(server): enums (#11809)

This commit is contained in:
Jason Rasmussen 2024-08-15 06:57:01 -04:00 committed by GitHub
parent fa64277476
commit b288241a5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 242 additions and 207 deletions

View file

@ -1,7 +1,8 @@
import _ from 'lodash';
import { UserPreferencesUpdateDto } from 'src/dtos/user-preferences.dto';
import { UserMetadataKey, UserPreferences, getDefaultPreferences } from 'src/entities/user-metadata.entity';
import { UserPreferences, getDefaultPreferences } from 'src/entities/user-metadata.entity';
import { UserEntity } from 'src/entities/user.entity';
import { UserMetadataKey } from 'src/enum';
import { getKeysDeep } from 'src/utils/misc';
import { DeepPartial } from 'typeorm';