From 5beb9dcb141fa02fd10d559b89ca74107685a414 Mon Sep 17 00:00:00 2001 From: Rudolf Halas Date: Mon, 13 Mar 2017 22:16:31 +0100 Subject: [PATCH] Fixed Layout type definition & version bump to v1.1.1 --- dist/typings.d.ts | 2 +- package.json | 2 +- src/typings.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/typings.d.ts b/dist/typings.d.ts index ee7d250..6441430 100644 --- a/dist/typings.d.ts +++ b/dist/typings.d.ts @@ -29,7 +29,7 @@ export declare type Methods = { } export declare type Layout = { - isJoi: boolean, + isJoi?: boolean, [key: string]: JoiSchema|Layout|Layout[] } diff --git a/package.json b/package.json index 49578c8..5595a43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "settee", - "version": "1.1.0", + "version": "1.1.1", "description": "Modern JavaScript ODM for Couchbase", "main": "dist/index.js", "scripts": { diff --git a/src/typings.d.ts b/src/typings.d.ts index ee7d250..6441430 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -29,7 +29,7 @@ export declare type Methods = { } export declare type Layout = { - isJoi: boolean, + isJoi?: boolean, [key: string]: JoiSchema|Layout|Layout[] }