UNPKG

@cloudquery/plugin-sdk-javascript

Version:

This is the high-level package to use for developing CloudQuery plugins in JavaScript

16 lines (15 loc) 547 B
import type { DataType } from '@apache-arrow/esnext-esm'; import { TimeUnit } from '@apache-arrow/esnext-esm'; import type { Nullable } from '../schema/types.js'; import type { Scalar } from './scalar.js'; export declare class Timestamp implements Scalar<Nullable<globalThis.Date>> { private _valid; private _value; private _unit; constructor(unit?: TimeUnit, v?: unknown); get dataType(): DataType; get valid(): boolean; get value(): Nullable<globalThis.Date>; set value(value: unknown); toString(): string; }