UNPKG

@webilix/nestjs-helper

Version:

Helper library for NestJS

10 lines 425 B
export type Formats = 'BANK-CARD' | 'COLOR' | 'DATE' | 'DOMAIN' | 'EMAIL' | 'IP4' | 'MOBILE' | 'NATIONAL-CODE' | 'NUMBER' | 'NUMERIC' | 'OBJECT-ID' | 'PLATE' | 'TIME' | 'TIMEZONE' | 'URL'; export interface IFormats { title: string; validate: (value: any) => boolean; export?: (value: string) => string; } export declare const FormatsEnum: { [key in Formats]: IFormats; }; //# sourceMappingURL=formats.d.ts.map