TenantAtlas/apps/platform/.pnpm-store/v10/files/07/a5b365b5dd7d8a082832820c049494b168c3b76a050b12a2d57ce91e607f2fafdec4814994220f0f961c1a770198404b0057479a93f6c8ccdd12ff39acac8b
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

24 lines
989 B
Plaintext

import { entityKind } from "../entity.cjs";
import type { SQLiteColumn } from "./columns/common.cjs";
import type { SQLiteTable } from "./table.cjs";
export declare function uniqueKeyName(table: SQLiteTable, columns: string[]): string;
export declare function unique(name?: string): UniqueOnConstraintBuilder;
export declare class UniqueConstraintBuilder {
private name?;
static readonly [entityKind]: string;
constructor(columns: SQLiteColumn[], name?: string | undefined);
}
export declare class UniqueOnConstraintBuilder {
static readonly [entityKind]: string;
constructor(name?: string);
on(...columns: [SQLiteColumn, ...SQLiteColumn[]]): UniqueConstraintBuilder;
}
export declare class UniqueConstraint {
readonly table: SQLiteTable;
static readonly [entityKind]: string;
readonly columns: SQLiteColumn[];
readonly name?: string;
constructor(table: SQLiteTable, columns: SQLiteColumn[], name?: string);
getName(): string | undefined;
}