mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
refactor: remove user entity (#17498)
This commit is contained in:
Vendored
+2
-4
@@ -17,7 +17,7 @@ import {
|
||||
SyncEntityType,
|
||||
} from 'src/enum';
|
||||
import { UserTable } from 'src/schema/tables/user.table';
|
||||
import { OnThisDayData } from 'src/types';
|
||||
import {OnThisDayData, UserMetadataItem} from 'src/types';
|
||||
|
||||
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
||||
|
||||
@@ -412,10 +412,8 @@ export interface TypeormMetadata {
|
||||
value: string | null;
|
||||
}
|
||||
|
||||
export interface UserMetadata {
|
||||
key: string;
|
||||
export interface UserMetadata extends UserMetadataItem {
|
||||
userId: string;
|
||||
value: Json;
|
||||
}
|
||||
|
||||
export interface UsersAudit {
|
||||
|
||||
Reference in New Issue
Block a user