TenantAtlas/apps/platform/.pnpm-store/v10/files/9e/833b0f36ad67b84c9a9836a0d9e4dd67002c7b88efe8cfca563f1d3222061491f895178da685de1e460260cefb85797454b03cc3348d86e050e12ecb6e661f
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
632 B
Plaintext

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