TenantAtlas/apps/platform/.pnpm-store/v10/files/91/74796c682ff75a0f2fafdd3c1ca71ea8211d9a8531532f8e63700df8b4e08ac6025286ebc68ec29002c6d95409fd588c2b3ad75c3da233a22de19a10852cc7
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
827 B
Plaintext

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