refactor: remove user entity (#17498)

This commit is contained in:
Zack Pollard 2025-04-10 15:53:21 +01:00 committed by GitHub
parent 9e49783e49
commit 94dba29298
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 145 additions and 157 deletions

6
server/src/db.d.ts vendored
View file

@ -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 {