@joktec/mongo
Version:
JokTec - Mongo Service
10 lines • 528 B
TypeScript
import { ApiPropertyOptions } from '@joktec/core';
import { ArrayPropOptions as PropOptionsForArray } from '@typegoose/typegoose/lib/types';
import { IPropOptions } from '../prop.decorator';
export interface ArrayPropOptions extends PropOptionsForArray {
minSize?: number | readonly [number, string];
maxSize?: number | readonly [number, string];
uniqItems?: boolean;
}
export declare function ArrayProps(opts: IPropOptions, swagger: ApiPropertyOptions): PropertyDecorator[];
//# sourceMappingURL=array.prop.d.ts.map