UNPKG

@coko/server

Version:

Reusable server for use by Coko's projects

116 lines 2.44 kB
declare const alphaNumericStringNotNullable: { type: string; pattern: string; }; declare const boolean: { type: string; }; declare const booleanNullable: { type: string[]; default: any; }; declare const booleanDefaultFalse: { type: string; default: boolean; }; declare const booleanDefaultTrue: { type: string; default: boolean; }; declare const dateNotNullable: { anyOf: ({ type: string; format: string; } | { type: string; format?: undefined; })[]; }; declare const dateNullable: { anyOf: ({ type: string; format: string; } | { type: string; format?: undefined; })[]; default: any; }; declare const email: { type: string; format: string; }; declare const id: { type: string; format: string; }; declare const idNullable: { type: string[]; format: string; default: any; }; declare const integerPositive: { type: string; minimum: number; }; declare const integerZeroOrPositive: { type: string; minimum: number; }; declare const object: { type: string; }; declare const objectDefaultEmpty: { type: string; default: {}; }; declare const objectNullable: { type: string[]; default: any; }; declare const password: { type: string; minLength: number; }; declare const string: { type: string; }; declare const stringNotEmpty: { type: string; minLength: number; }; declare const stringNullable: { type: string[]; default: any; }; declare const arrayOfIds: { type: string; items: { type: string; format: string; }; default: any[]; }; declare const arrayOfObjects: { type: string; items: { type: string; }; }; declare const arrayOfObjectsNullable: { type: string[]; items: { type: string; }; default: any; }; declare const arrayOfStrings: { type: string; items: { type: string; minLength: number; }; default: any[]; }; export { alphaNumericStringNotNullable, arrayOfIds, arrayOfObjects, arrayOfObjectsNullable, arrayOfStrings, boolean, booleanNullable, booleanDefaultFalse, booleanDefaultTrue, dateNotNullable, dateNullable, email, id, idNullable, integerPositive, integerZeroOrPositive, object, objectDefaultEmpty, objectNullable, password, string, stringNotEmpty, stringNullable, }; //# sourceMappingURL=types.d.ts.map