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

30 lines
660 B
Plaintext

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