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

31 lines
601 B
Plaintext

import { entityKind } from "../entity.js";
class CheckBuilder {
constructor(name, value) {
this.name = name;
this.value = value;
}
static [entityKind] = "SQLiteCheckBuilder";
brand;
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] = "SQLiteCheck";
name;
value;
}
function check(name, value) {
return new CheckBuilder(name, value);
}
export {
Check,
CheckBuilder,
check
};
//# sourceMappingURL=checks.js.map