import type { SchemaInterfaceIdentity } from "../schema/mod.ts";
export type Entity< T extends unknown = Record<string, unknown>,> = & DeepPartial<T> & SchemaInterfaceIdentity;
export type DeepPartial<T> = T extends Record<string, unknown> ? { [P in keyof T]?: DeepPartial<T[P]> } : T;