Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
32 lines
618 B
Plaintext
32 lines
618 B
Plaintext
import { entityKind } from "../entity.js";
|
|
class CheckBuilder {
|
|
constructor(name, value) {
|
|
this.name = name;
|
|
this.value = value;
|
|
}
|
|
static [entityKind] = "MySqlCheckBuilder";
|
|
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] = "MySqlCheck";
|
|
name;
|
|
value;
|
|
}
|
|
function check(name, value) {
|
|
return new CheckBuilder(name, value);
|
|
}
|
|
export {
|
|
Check,
|
|
CheckBuilder,
|
|
check
|
|
};
|
|
//# sourceMappingURL=checks.js.map |