UNPKG

1.13 kBTypeScriptView Raw
1/**
2 * Built-in types for LoopBack modeling
3 * - Type: abstract base type
4 * - StringType: string
5 * - BooleanType: boolean
6 * - NumberType: number
7 * - DateType: Date
8 * - BufferType: Buffer
9 * - AnyType: any
10 * - ArrayType: Array<T>
11 * - UnionType: Union of types
12 */
13import { AnyType } from './any';
14import { ArrayType } from './array';
15import { BooleanType } from './boolean';
16import { BufferType } from './buffer';
17import { DateType } from './date';
18import { ModelType } from './model';
19import { NullType } from './null';
20import { NumberType } from './number';
21import { ObjectType } from './object';
22import { StringType } from './string';
23import { Type } from './type';
24import { UnionType } from './union';
25export { Type, StringType, BooleanType, NumberType, DateType, BufferType, AnyType, ArrayType, UnionType, ModelType, NullType, ObjectType, };
26export declare const STRING: StringType;
27export declare const BOOLEAN: BooleanType;
28export declare const NUMBER: NumberType;
29export declare const DATE: DateType;
30export declare const BUFFER: BufferType;
31export declare const ANY: AnyType;
32export declare const NULL: NullType;