TenantAtlas/apps/platform/.pnpm-store/v10/files/72/0db05b45c547e9e554d352c19583ab01dd726463c7587b411bc0c736da6ac394f7fb1c0f5e8890135bd9969945b9520de2d1976b00bbd86c985f4ae943a6eb
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

34 lines
823 B
Plaintext

import { entityKind } from "../../entity.js";
import { GelColumn } from "./common.js";
import { GelLocalDateColumnBaseBuilder } from "./date.common.js";
class GelTimestampBuilder extends GelLocalDateColumnBaseBuilder {
static [entityKind] = "GelTimestampBuilder";
constructor(name) {
super(name, "localDateTime", "GelTimestamp");
}
/** @internal */
build(table) {
return new GelTimestamp(
table,
this.config
);
}
}
class GelTimestamp extends GelColumn {
static [entityKind] = "GelTimestamp";
constructor(table, config) {
super(table, config);
}
getSQLType() {
return "cal::local_datetime";
}
}
function timestamp(name) {
return new GelTimestampBuilder(name ?? "");
}
export {
GelTimestamp,
GelTimestampBuilder,
timestamp
};
//# sourceMappingURL=timestamp.js.map