TenantAtlas/apps/platform/.pnpm-store/v10/files/0b/75d83f1ab99b28c3bca6c6c39566698a62043b67ca144ce742ec7ca8187ce025b8ebe4fd1883f9b82494cf93ed3f2ccb57ba8904e9ba0f6f8a699379596ffb
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
701 B
Plaintext

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