TenantAtlas/apps/platform/.pnpm-store/v10/files/f5/fb565bbf2ed0ee8917dcc13ac8cd79bee115455d2e34d10430db310f36496566391768491251cc6e760783da11cc2509ba874e475bacc481dbb1512732d13a
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

16 lines
659 B
Plaintext

import { entityKind } from "../entity.cjs";
import { SQL, type SQLWrapper } from "../sql/sql.cjs";
import type { gelSequence } from "./sequence.cjs";
import { type GelTableFn } from "./table.cjs";
export declare class GelSchema<TName extends string = string> implements SQLWrapper {
readonly schemaName: TName;
static readonly [entityKind]: string;
constructor(schemaName: TName);
table: GelTableFn<TName>;
sequence: typeof gelSequence;
getSQL(): SQL;
shouldOmitSQLParens(): boolean;
}
export declare function isGelSchema(obj: unknown): obj is GelSchema;
export declare function gelSchema<T extends string>(name: T): GelSchema<T>;