CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
entity.d.ts8 linesDownload Raw Back to drizzle-orm
1export declare const entityKind: unique symbol;2export declare const hasOwnEntityKind: unique symbol;3export interface DrizzleEntity {4    [entityKind]: string;5}6export type DrizzleEntityClass<T> = ((abstract new (...args: any[]) => T) | (new (...args: any[]) => T)) & DrizzleEntity;7export declare function is<T extends DrizzleEntityClass<any>>(value: any, type: T): value is InstanceType<T>;8