[@types/dynogels] fix/allow multiple types as per Joi validation in dynogels (#35765)

This commit is contained in:
Barend Bootha 2019-05-29 06:56:00 +12:00 committed by Sheetal Nandi
parent 9b220a15cb
commit 54d911076b

View File

@ -246,8 +246,8 @@ export interface ModelConfiguration {
hashKey: string;
rangeKey?: string;
timestamps?: boolean;
createdAt?: boolean;
updatedAt?: string;
createdAt?: boolean | string;
updatedAt?: boolean | string;
schema?: SchemaType;
validation?: joi.ValidationOptions;
tableName?: string | tableResolve;