From e97b3ba3a07de540ae5a079dc96beb1bd7a9e75f Mon Sep 17 00:00:00 2001 From: Konrad Markus Date: Thu, 28 Sep 2023 19:12:04 +0300 Subject: [PATCH 1/2] Export ValidationError --- maasglobal-schema-generator-ajv/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maasglobal-schema-generator-ajv/src/main.ts b/maasglobal-schema-generator-ajv/src/main.ts index 3150201a6..b45114271 100644 --- a/maasglobal-schema-generator-ajv/src/main.ts +++ b/maasglobal-schema-generator-ajv/src/main.ts @@ -39,6 +39,8 @@ export const generateClient: CodeGenerator = (pkg) => { return `import * as mjsv from 'maasglobal-json-schema-validator'; +export { ValidationError } from 'maasglobal-json-schema-validator'; + let validator: mjsv.Validator|undefined; export function init(): mjsv.Validator { From b769a4b161f247a5da46cb232c1ed9660660be53 Mon Sep 17 00:00:00 2001 From: Konrad Markus Date: Thu, 28 Sep 2023 19:12:20 +0300 Subject: [PATCH 2/2] v0.0.5 --- maasglobal-schema-generator-ajv/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maasglobal-schema-generator-ajv/package.json b/maasglobal-schema-generator-ajv/package.json index 9763d4513..e7053ef6b 100644 --- a/maasglobal-schema-generator-ajv/package.json +++ b/maasglobal-schema-generator-ajv/package.json @@ -1,6 +1,6 @@ { "name": "maasglobal-schema-generator-ajv", - "version": "0.0.4", + "version": "0.0.5", "description": "", "license": "MIT", "main": "lib/index.js",