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

32 lines
612 B
Plaintext

import { entityKind } from "../entity.js";
class CheckBuilder {
constructor(name, value) {
this.name = name;
this.value = value;
}
static [entityKind] = "PgCheckBuilder";
brand;
/** @internal */
build(table) {
return new Check(table, this);
}
}
class Check {
constructor(table, builder) {
this.table = table;
this.name = builder.name;
this.value = builder.value;
}
static [entityKind] = "PgCheck";
name;
value;
}
function check(name, value) {
return new CheckBuilder(name, value);
}
export {
Check,
CheckBuilder,
check
};
//# sourceMappingURL=checks.js.map