UNPKG

@piiano/vault-client

Version:

Piiano Vault generated typescript client

28 lines 968 B
import type { BaseDataTypeName } from './BaseDataTypeName'; import type { DataTypeName } from './DataTypeName'; import type { Description } from './Description'; import type { FunctionName } from './FunctionName'; /** * The data type and its function. default_transformer is the default transformer for the data type and should be taken from the transformers list. */ export type DataType = { name: DataTypeName; /** * Whether this data type is built-in or user defined. */ readonly is_builtin?: boolean; base_type_name: BaseDataTypeName; description?: Description; validator?: FunctionName; normalizer?: FunctionName; /** * The names of transformers that are supported for the data type. */ transformers?: Array<FunctionName>; default_transformer?: FunctionName; /** * The time when the data type was created. */ readonly creation_time?: string; }; //# sourceMappingURL=DataType.d.ts.map