mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
refactor: metadata entity (#17492)
This commit is contained in:
@@ -2,8 +2,8 @@ import { ExpressionBuilder } from 'kysely';
|
||||
import { jsonArrayFrom } from 'kysely/helpers/postgres';
|
||||
import { DB } from 'src/db';
|
||||
import { AssetEntity } from 'src/entities/asset.entity';
|
||||
import { UserMetadataEntity } from 'src/entities/user-metadata.entity';
|
||||
import { UserStatus } from 'src/enum';
|
||||
import { UserMetadataItem } from 'src/types';
|
||||
|
||||
export class UserEntity {
|
||||
id!: string;
|
||||
@@ -23,7 +23,7 @@ export class UserEntity {
|
||||
assets!: AssetEntity[];
|
||||
quotaSizeInBytes!: number | null;
|
||||
quotaUsageInBytes!: number;
|
||||
metadata!: UserMetadataEntity[];
|
||||
metadata!: UserMetadataItem[];
|
||||
profileChangedAt!: Date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user