TenantAtlas/apps/platform/.pnpm-store/v10/files/d6/cc97bc1e32a8fbabb0c9825fc5ca332373d158c511c94a1975ebf04f84412705e965171f36b37bc6c2c53c532f491d60cd0984183fe9100a540076c8587b45
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.cjs";
import type { ColumnBaseConfig } from "../../column.cjs";
import { entityKind } from "../../entity.cjs";
import type { AnyGelTable } from "../table.cjs";
import { GelColumn } from "./common.cjs";
import { GelLocalDateColumnBaseBuilder } from "./date.common.cjs";
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>;