Skip to content

Commit

Permalink
Merge pull request #764 from konker/export-validation-erro-2
Browse files Browse the repository at this point in the history
Export validation Error
  • Loading branch information
konker authored Sep 29, 2023
2 parents f8b4dd4 + 85aac87 commit 47fc6f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions maas-schemas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maas-schemas",
"version": "20.4.0",
"version": "20.5.0",
"description": "Schemas for MaaS infrastructure",
"main": "index.js",
"engine": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"json-schema": "^0.3.0",
"maasglobal-json-schema-validator": "^0.0.8",
"maasglobal-prelude-ts": "^0.0.13",
"maasglobal-schema-generator-ajv": "^0.0.4",
"maasglobal-schema-generator-ajv": "^0.0.5",
"maasglobal-schema-generator-io-ts": "^0.0.6",
"markdown-folder-to-html": "^2.3.0",
"prettier": "^2.8.1",
Expand Down
2 changes: 2 additions & 0 deletions maas-schemas/src/ajv/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
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 {
Expand Down
8 changes: 4 additions & 4 deletions maas-schemas/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5147,10 +5147,10 @@ maasglobal-prelude-ts@^0.0.13:
resolved "https://registry.yarnpkg.com/maasglobal-prelude-ts/-/maasglobal-prelude-ts-0.0.13.tgz#c720a1d4c45c91764b80564987f24b60654fc3e9"
integrity sha512-aFnCiyP0Q5my3Wwp0+T/e9fPGJgilvamfR8KdetP5XXB3Mjq4nyj1lbBx+4NcKTdUtk8FOxhfih83Rb3gOztzQ==

maasglobal-schema-generator-ajv@^0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/maasglobal-schema-generator-ajv/-/maasglobal-schema-generator-ajv-0.0.4.tgz#a14ee3101d129a2720709776d7ce3a5527a14a4c"
integrity sha512-TWcr4kQqcMbHS6ydzhjPppmECu0JQNXnnfhhhT+R2WfY1A9dngkALqGF/0IAY+FAS0aWTpA6zHpVv+cOyemcZQ==
maasglobal-schema-generator-ajv@^0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/maasglobal-schema-generator-ajv/-/maasglobal-schema-generator-ajv-0.0.5.tgz#d981a4b92d766ee907139fb567ac4fe8cf88e6ef"
integrity sha512-07dKubzOLN3KwQQF4ORpNxxRsSRbqIcxS7e6U00o2TcUVyxPzLjEGtBoeMQazIvePVVPuzTNQPB3tV12oal3PA==
dependencies:
maasglobal-json-schema-validator "^0.0.6"
maasglobal-schema-package "^0.0.1"
Expand Down

0 comments on commit 47fc6f5

Please sign in to comment.