TenantAtlas/apps/platform/.pnpm-store/v10/files/8b/dcd50036bdb24e7149b3787b68b0dd7b26a1b6d4acd501b287260106db719d2e3955fbbaa8eb8072c702affc517f4174e7161be4d92341d5cf8f122c2d2ace
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

28 lines
640 B
Plaintext

import { entityKind } from "../../entity.js";
import { GelColumn, GelColumnBuilder } from "./common.js";
class GelTextBuilder extends GelColumnBuilder {
static [entityKind] = "GelTextBuilder";
constructor(name) {
super(name, "string", "GelText");
}
/** @internal */
build(table) {
return new GelText(table, this.config);
}
}
class GelText extends GelColumn {
static [entityKind] = "GelText";
enumValues = this.config.enumValues;
getSQLType() {
return "text";
}
}
function text(name) {
return new GelTextBuilder(name ?? "");
}
export {
GelText,
GelTextBuilder,
text
};
//# sourceMappingURL=text.js.map