UNPKG

@joktec/mongo

Version:

JokTec - Mongo Service

9 lines 534 B
import { ApiPropertyOptions } from '@joktec/core'; import { PropOptionsForString } from '@typegoose/typegoose/lib/types'; import { IPropOptions } from '../prop.decorator'; export interface DatePropOptions extends PropOptionsForString { minDate?: Date | (() => Date) | readonly [Date | (() => Date), string]; maxDate?: Date | (() => Date) | readonly [Date | (() => Date), string]; } export declare function DateProps(opts: IPropOptions, swagger: ApiPropertyOptions): PropertyDecorator[]; //# sourceMappingURL=date.prop.d.ts.map