TenantAtlas/apps/platform/.pnpm-store/v10/files/3f/6664bb1f2f7dbd87e46769db9d15554d1f0782b4d5aecf633a3bf41dca0c3c48bdcd629902485d5859dba0287f517da952b53474533f011b51cc39ee5fdfed
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
655 B
Plaintext

import { entityKind } from "../entity.js";
import { SQL, type SQLWrapper } from "../sql/sql.js";
import type { gelSequence } from "./sequence.js";
import { type GelTableFn } from "./table.js";
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>;