UNPKG

@baosight/ei

Version:

Baosight xinrong ei Framework

20 lines (19 loc) 784 B
/// <reference types="node" /> /// <reference types="node" /> export type DataType = 'C' | 'N' | 'D' | 'B' | 'X'; export type DataTypeV1 = 'S' | 'F' | 'I' | 'D' | 'B'; export type ValueType = string | number | boolean | Date | Buffer | null; export type JsonValueType = string | number | boolean | null; export declare const __IDField__ = "ID"; export interface IServiceTransformer { autoId?: boolean; autoColumnToUpper?: boolean; requestDataHandler?: (tableName: string, fieldName: string, value: ValueType) => JsonValueType; responseDataHandler?: (tableName: string, fieldName: string, value: JsonValueType) => ValueType; } export interface ILoadingOptions { show: boolean; target?: string; showAnimation?: boolean; ms?: number; }