From d64b2869481c8be9594b767e5f45b2d43b2890d5 Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Thu, 23 Aug 2018 11:11:55 -0700 Subject: [PATCH] Sergey/readonly (#42) * update * remove schema * readonlyArray * update --- index.d.ts | 6 +++--- package-lock.json | 8 ++++---- package.json | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/index.d.ts b/index.d.ts index 139fe34..9e184eb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -40,16 +40,16 @@ interface SchemaObject { additionalProperties?: SchemaObject | boolean "x-nullable"?: boolean in?: string - oneOf?: SchemaObject[] + oneOf?: ReadonlyArray $ref?: string required?: string[] | false - allOf?: SchemaObject[] + allOf?: ReadonlyArray description?: string discriminator?: string "x-ms-discriminator-value"?: string enum?: string[] "x-ms-azure-resource"?: boolean - anyOf?: SchemaObject[] + anyOf?: ReadonlyArray title?: string } diff --git a/package-lock.json b/package-lock.json index 1743192..456fdcf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "yasway", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -13,9 +13,9 @@ } }, "@ts-common/string-map": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/@ts-common/string-map/-/string-map-0.0.24.tgz", - "integrity": "sha512-CX7+EbAQbsyaOj6huGccRq6X72Zv+abwjPl5NYKoMpt/FIQ3TtItAE6nfDAfb+28WsISkXNSubTGaMhjh8MAHA==", + "version": "0.0.26", + "resolved": "https://registry.npmjs.org/@ts-common/string-map/-/string-map-0.0.26.tgz", + "integrity": "sha512-ylyIt3yKrNBAvXRirr+oJMh3QzNETt6lol62CPkeX1nWZnj3GeJFZMSSpoIvt+pfRqgyBZQasfXprxczQArTbQ==", "requires": { "@ts-common/iterator": "0.0.36", "@ts-common/tuple": "0.0.0" diff --git a/package.json b/package.json index 26e5f5d..5981f26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yasway", - "version": "1.0.7", + "version": "1.0.8", "description": "A library that simplifies Swagger integrations.", "main": "index.js", "types": "index.d.ts", @@ -65,7 +65,7 @@ "vinyl-source-stream": "^2.0.0" }, "dependencies": { - "@ts-common/string-map": "0.0.24", + "@ts-common/string-map": "0.0.26", "debug": "^3.1.0", "faker": "^4.1.0", "js-base64": "^2.4.8",