@lcap/asl
Version:
NetEase Application Specific Language
26 lines (25 loc) • 716 B
TypeScript
import { BasicSchema } from '..';
export declare enum BASIC_TYPE {
Boolean = "Boolean",
Integer = "Integer",
Long = "Long",
Decimal = "Decimal",
String = "String",
Text = "Text",
Binary = "Binary",
Date = "Date",
Time = "Time",
DateTime = "DateTime",
Email = "Email"
}
export declare const basicTypeList: {
kind: string;
text: string;
value: string;
}[];
export declare const basicTypeMap: {
[name: string]: BasicSchema;
};
export declare function getBasicTypeName(type: string, format: string): BASIC_TYPE;
export declare function getBasicTypeRef(type: string, format: string): string;
export declare function getBasicTypeDefaultValue(value?: any): void;