TenantAtlas/apps/platform/.pnpm-store/v10/files/22/90ff186dadf5850d104aeb9f5246c9c902dfb546d0bb00669023e6fc13875ad67757da540833abdcfcb1fa9c8be7ddaf4cb679da11f602837284065a769a24
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

29 lines
1.3 KiB
Plaintext

import type { LocalDateTime } from 'gel';
import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import type { AnyGelTable } from "../table.js";
import { GelColumn } from "./common.js";
import { GelLocalDateColumnBaseBuilder } from "./date.common.js";
export type GelTimestampBuilderInitial<TName extends string> = GelTimestampBuilder<{
name: TName;
dataType: 'localDateTime';
columnType: 'GelTimestamp';
data: LocalDateTime;
driverParam: LocalDateTime;
enumValues: undefined;
}>;
export declare class GelTimestampBuilder<T extends ColumnBuilderBaseConfig<'localDateTime', 'GelTimestamp'>> extends GelLocalDateColumnBaseBuilder<T> {
static readonly [entityKind]: string;
constructor(name: T['name']);
}
export declare class GelTimestamp<T extends ColumnBaseConfig<'localDateTime', 'GelTimestamp'>> extends GelColumn<T> {
static readonly [entityKind]: string;
constructor(table: AnyGelTable<{
name: T['tableName'];
}>, config: GelTimestampBuilder<T>['config']);
getSQLType(): string;
}
export declare function timestamp(): GelTimestampBuilderInitial<''>;
export declare function timestamp<TName extends string>(name: TName): GelTimestampBuilderInitial<TName>;