TenantAtlas/apps/platform/.pnpm-store/v10/files/ad/af851e25a2efe30e03548793155231ede87b8c3925e6d1b25cf826434847869ac0a7201b56c570d97bff7118981c80e0c7a30f6f270a08d5c92fab82f1f53a
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
614 B
Plaintext

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