TenantAtlas/apps/platform/.pnpm-store/v10/files/13/3767b63ad6bf7fe211d702af8f94e735d66c466c6889336ac7a16882f72ac8077fa7deb6e3e1d62ced7471ac446ae88ccd2abe94dc6395fdb12d84f33a5d6e
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

25 lines
1015 B
Plaintext

import { entityKind } from "../entity.js";
import type { MySqlColumn } from "./columns/index.js";
import type { MySqlTable } from "./table.js";
export declare function unique(name?: string): UniqueOnConstraintBuilder;
export declare function uniqueKeyName(table: MySqlTable, columns: string[]): string;
export declare class UniqueConstraintBuilder {
private name?;
static readonly [entityKind]: string;
constructor(columns: MySqlColumn[], name?: string | undefined);
}
export declare class UniqueOnConstraintBuilder {
static readonly [entityKind]: string;
constructor(name?: string);
on(...columns: [MySqlColumn, ...MySqlColumn[]]): UniqueConstraintBuilder;
}
export declare class UniqueConstraint {
readonly table: MySqlTable;
static readonly [entityKind]: string;
readonly columns: MySqlColumn[];
readonly name?: string;
readonly nullsNotDistinct: boolean;
constructor(table: MySqlTable, columns: MySqlColumn[], name?: string);
getName(): string | undefined;
}