Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
659 B
Plaintext
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>;
|