@atxp/client 0.10.3 → 0.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/additionalItems.js +4 -0
- package/dist/_virtual/additionalItems.js.map +1 -0
- package/dist/_virtual/additionalItems2.js +4 -0
- package/dist/_virtual/additionalItems2.js.map +1 -0
- package/dist/_virtual/additionalProperties.js +4 -0
- package/dist/_virtual/additionalProperties.js.map +1 -0
- package/dist/_virtual/additionalProperties2.js +4 -0
- package/dist/_virtual/additionalProperties2.js.map +1 -0
- package/dist/_virtual/ajv.js +1 -1
- package/dist/_virtual/ajv2.js +4 -0
- package/dist/_virtual/ajv2.js.map +1 -0
- package/dist/_virtual/ajv3.js +4 -0
- package/dist/_virtual/ajv3.js.map +1 -0
- package/dist/_virtual/allOf.js +4 -0
- package/dist/_virtual/allOf.js.map +1 -0
- package/dist/_virtual/allOf2.js +4 -0
- package/dist/_virtual/allOf2.js.map +1 -0
- package/dist/_virtual/anyOf.js +4 -0
- package/dist/_virtual/anyOf.js.map +1 -0
- package/dist/_virtual/anyOf2.js +4 -0
- package/dist/_virtual/anyOf2.js.map +1 -0
- package/dist/_virtual/applicability.js +4 -0
- package/dist/_virtual/applicability.js.map +1 -0
- package/dist/_virtual/applicability2.js +4 -0
- package/dist/_virtual/applicability2.js.map +1 -0
- package/dist/_virtual/boolSchema.js +4 -0
- package/dist/_virtual/boolSchema.js.map +1 -0
- package/dist/_virtual/boolSchema2.js +4 -0
- package/dist/_virtual/boolSchema2.js.map +1 -0
- package/dist/_virtual/code.js +4 -0
- package/dist/_virtual/code.js.map +1 -0
- package/dist/_virtual/code2.js +4 -0
- package/dist/_virtual/code2.js.map +1 -0
- package/dist/_virtual/code3.js +4 -0
- package/dist/_virtual/code3.js.map +1 -0
- package/dist/_virtual/code4.js +4 -0
- package/dist/_virtual/code4.js.map +1 -0
- package/dist/_virtual/const.js +4 -0
- package/dist/_virtual/const.js.map +1 -0
- package/dist/_virtual/const2.js +4 -0
- package/dist/_virtual/const2.js.map +1 -0
- package/dist/_virtual/contains.js +4 -0
- package/dist/_virtual/contains.js.map +1 -0
- package/dist/_virtual/contains2.js +4 -0
- package/dist/_virtual/contains2.js.map +1 -0
- package/dist/_virtual/core.js +4 -0
- package/dist/_virtual/core.js.map +1 -0
- package/dist/_virtual/core2.js +4 -0
- package/dist/_virtual/core2.js.map +1 -0
- package/dist/_virtual/dataType.js +4 -0
- package/dist/_virtual/dataType.js.map +1 -0
- package/dist/_virtual/dataType2.js +4 -0
- package/dist/_virtual/dataType2.js.map +1 -0
- package/dist/_virtual/defaults.js +4 -0
- package/dist/_virtual/defaults.js.map +1 -0
- package/dist/_virtual/defaults2.js +4 -0
- package/dist/_virtual/defaults2.js.map +1 -0
- package/dist/_virtual/dependencies.js +4 -0
- package/dist/_virtual/dependencies.js.map +1 -0
- package/dist/_virtual/dependencies2.js +4 -0
- package/dist/_virtual/dependencies2.js.map +1 -0
- package/dist/_virtual/draft7.js +4 -0
- package/dist/_virtual/draft7.js.map +1 -0
- package/dist/_virtual/draft72.js +4 -0
- package/dist/_virtual/draft72.js.map +1 -0
- package/dist/_virtual/enum.js +4 -0
- package/dist/_virtual/enum.js.map +1 -0
- package/dist/_virtual/enum2.js +4 -0
- package/dist/_virtual/enum2.js.map +1 -0
- package/dist/_virtual/equal.js +4 -0
- package/dist/_virtual/equal.js.map +1 -0
- package/dist/_virtual/equal2.js +4 -0
- package/dist/_virtual/equal2.js.map +1 -0
- package/dist/_virtual/errors.js +4 -0
- package/dist/_virtual/errors.js.map +1 -0
- package/dist/_virtual/errors2.js +4 -0
- package/dist/_virtual/errors2.js.map +1 -0
- package/dist/_virtual/format.js +4 -0
- package/dist/_virtual/format.js.map +1 -0
- package/dist/_virtual/format2.js +4 -0
- package/dist/_virtual/format2.js.map +1 -0
- package/dist/_virtual/formats.js +4 -0
- package/dist/_virtual/formats.js.map +1 -0
- package/dist/_virtual/id.js +4 -0
- package/dist/_virtual/id.js.map +1 -0
- package/dist/_virtual/id2.js +4 -0
- package/dist/_virtual/id2.js.map +1 -0
- package/dist/_virtual/if.js +4 -0
- package/dist/_virtual/if.js.map +1 -0
- package/dist/_virtual/if2.js +4 -0
- package/dist/_virtual/if2.js.map +1 -0
- package/dist/_virtual/index.js +6 -2
- package/dist/_virtual/index.js.map +1 -1
- package/dist/_virtual/index10.js +4 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.js +4 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index15.js +4 -0
- package/dist/_virtual/index15.js.map +1 -0
- package/dist/_virtual/index16.js +4 -0
- package/dist/_virtual/index16.js.map +1 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index17.js.map +1 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index18.js.map +1 -0
- package/dist/_virtual/index19.js +4 -0
- package/dist/_virtual/index19.js.map +1 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index20.js +4 -0
- package/dist/_virtual/index20.js.map +1 -0
- package/dist/_virtual/index21.js +4 -0
- package/dist/_virtual/index21.js.map +1 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/items.js +4 -0
- package/dist/_virtual/items.js.map +1 -0
- package/dist/_virtual/items2.js +4 -0
- package/dist/_virtual/items2.js.map +1 -0
- package/dist/_virtual/items2020.js +4 -0
- package/dist/_virtual/items2020.js.map +1 -0
- package/dist/_virtual/items20202.js +4 -0
- package/dist/_virtual/items20202.js.map +1 -0
- package/dist/_virtual/keyword.js +4 -0
- package/dist/_virtual/keyword.js.map +1 -0
- package/dist/_virtual/keyword2.js +4 -0
- package/dist/_virtual/keyword2.js.map +1 -0
- package/dist/_virtual/limit.js +4 -0
- package/dist/_virtual/limit.js.map +1 -0
- package/dist/_virtual/limitItems.js +4 -0
- package/dist/_virtual/limitItems.js.map +1 -0
- package/dist/_virtual/limitItems2.js +4 -0
- package/dist/_virtual/limitItems2.js.map +1 -0
- package/dist/_virtual/limitLength.js +4 -0
- package/dist/_virtual/limitLength.js.map +1 -0
- package/dist/_virtual/limitLength2.js +4 -0
- package/dist/_virtual/limitLength2.js.map +1 -0
- package/dist/_virtual/limitNumber.js +4 -0
- package/dist/_virtual/limitNumber.js.map +1 -0
- package/dist/_virtual/limitNumber2.js +4 -0
- package/dist/_virtual/limitNumber2.js.map +1 -0
- package/dist/_virtual/limitProperties.js +4 -0
- package/dist/_virtual/limitProperties.js.map +1 -0
- package/dist/_virtual/limitProperties2.js +4 -0
- package/dist/_virtual/limitProperties2.js.map +1 -0
- package/dist/_virtual/metadata.js +4 -0
- package/dist/_virtual/metadata.js.map +1 -0
- package/dist/_virtual/metadata2.js +4 -0
- package/dist/_virtual/metadata2.js.map +1 -0
- package/dist/_virtual/multipleOf.js +4 -0
- package/dist/_virtual/multipleOf.js.map +1 -0
- package/dist/_virtual/multipleOf2.js +4 -0
- package/dist/_virtual/multipleOf2.js.map +1 -0
- package/dist/_virtual/names.js +4 -0
- package/dist/_virtual/names.js.map +1 -0
- package/dist/_virtual/names2.js +4 -0
- package/dist/_virtual/names2.js.map +1 -0
- package/dist/_virtual/not.js +4 -0
- package/dist/_virtual/not.js.map +1 -0
- package/dist/_virtual/not2.js +4 -0
- package/dist/_virtual/not2.js.map +1 -0
- package/dist/_virtual/oneOf.js +4 -0
- package/dist/_virtual/oneOf.js.map +1 -0
- package/dist/_virtual/oneOf2.js +4 -0
- package/dist/_virtual/oneOf2.js.map +1 -0
- package/dist/_virtual/pattern.js +4 -0
- package/dist/_virtual/pattern.js.map +1 -0
- package/dist/_virtual/pattern2.js +4 -0
- package/dist/_virtual/pattern2.js.map +1 -0
- package/dist/_virtual/patternProperties.js +4 -0
- package/dist/_virtual/patternProperties.js.map +1 -0
- package/dist/_virtual/patternProperties2.js +4 -0
- package/dist/_virtual/patternProperties2.js.map +1 -0
- package/dist/_virtual/prefixItems.js +4 -0
- package/dist/_virtual/prefixItems.js.map +1 -0
- package/dist/_virtual/prefixItems2.js +4 -0
- package/dist/_virtual/prefixItems2.js.map +1 -0
- package/dist/_virtual/properties.js +4 -0
- package/dist/_virtual/properties.js.map +1 -0
- package/dist/_virtual/properties2.js +4 -0
- package/dist/_virtual/properties2.js.map +1 -0
- package/dist/_virtual/propertyNames.js +4 -0
- package/dist/_virtual/propertyNames.js.map +1 -0
- package/dist/_virtual/propertyNames2.js +4 -0
- package/dist/_virtual/propertyNames2.js.map +1 -0
- package/dist/_virtual/ref.js +4 -0
- package/dist/_virtual/ref.js.map +1 -0
- package/dist/_virtual/ref2.js +4 -0
- package/dist/_virtual/ref2.js.map +1 -0
- package/dist/_virtual/ref_error.js +4 -0
- package/dist/_virtual/ref_error.js.map +1 -0
- package/dist/_virtual/ref_error2.js +4 -0
- package/dist/_virtual/ref_error2.js.map +1 -0
- package/dist/_virtual/required.js +4 -0
- package/dist/_virtual/required.js.map +1 -0
- package/dist/_virtual/required2.js +4 -0
- package/dist/_virtual/required2.js.map +1 -0
- package/dist/_virtual/resolve.js +4 -0
- package/dist/_virtual/resolve.js.map +1 -0
- package/dist/_virtual/resolve2.js +4 -0
- package/dist/_virtual/resolve2.js.map +1 -0
- package/dist/_virtual/rules.js +4 -0
- package/dist/_virtual/rules.js.map +1 -0
- package/dist/_virtual/rules2.js +4 -0
- package/dist/_virtual/rules2.js.map +1 -0
- package/dist/_virtual/scope.js +4 -0
- package/dist/_virtual/scope.js.map +1 -0
- package/dist/_virtual/scope2.js +4 -0
- package/dist/_virtual/scope2.js.map +1 -0
- package/dist/_virtual/subschema.js +4 -0
- package/dist/_virtual/subschema.js.map +1 -0
- package/dist/_virtual/subschema2.js +4 -0
- package/dist/_virtual/subschema2.js.map +1 -0
- package/dist/_virtual/thenElse.js +4 -0
- package/dist/_virtual/thenElse.js.map +1 -0
- package/dist/_virtual/thenElse2.js +4 -0
- package/dist/_virtual/thenElse2.js.map +1 -0
- package/dist/_virtual/types.js +4 -0
- package/dist/_virtual/types.js.map +1 -0
- package/dist/_virtual/types2.js +4 -0
- package/dist/_virtual/types2.js.map +1 -0
- package/dist/_virtual/ucs2length.js +4 -0
- package/dist/_virtual/ucs2length.js.map +1 -0
- package/dist/_virtual/ucs2length2.js +4 -0
- package/dist/_virtual/ucs2length2.js.map +1 -0
- package/dist/_virtual/uniqueItems.js +4 -0
- package/dist/_virtual/uniqueItems.js.map +1 -0
- package/dist/_virtual/uniqueItems2.js +4 -0
- package/dist/_virtual/uniqueItems2.js.map +1 -0
- package/dist/_virtual/uri.js +4 -0
- package/dist/_virtual/uri.js.map +1 -0
- package/dist/_virtual/uri2.js +4 -0
- package/dist/_virtual/uri2.js.map +1 -0
- package/dist/_virtual/util.js +4 -0
- package/dist/_virtual/util.js.map +1 -0
- package/dist/_virtual/util2.js +4 -0
- package/dist/_virtual/util2.js.map +1 -0
- package/dist/_virtual/validation_error.js +4 -0
- package/dist/_virtual/validation_error.js.map +1 -0
- package/dist/_virtual/validation_error2.js +4 -0
- package/dist/_virtual/validation_error2.js.map +1 -0
- package/dist/atxpFetcher.d.ts.map +1 -1
- package/dist/atxpFetcher.js +19 -3
- package/dist/atxpFetcher.js.map +1 -1
- package/dist/index.cjs +20003 -11644
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +20003 -11644
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +277 -202
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +399 -65
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +195 -93
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +187 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +60 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +18 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +25 -17
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +85 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +30 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +3 -3
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +129 -123
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +785 -114
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +41 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +1207 -513
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +90 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js +71 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js +169 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js +712 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js +157 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js +139 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js +259 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js +40 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js +24 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js +169 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js +37 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js +191 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js +30 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js +64 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js +219 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js +48 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js +541 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js +139 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js +94 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js +642 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/data.json.js +3 -5
- package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/data.json.js.map +1 -1
- package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/json-schema-draft-07.json.js +2 -2
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js +19 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js +35 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js +18 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js +22 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +62 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +121 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js +35 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +24 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js +108 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +101 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js +79 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js +71 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js +66 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js +45 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js +38 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +73 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +89 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +24 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js +69 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +51 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +25 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js +145 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js +21 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js +29 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js +139 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js +120 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js +20 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js +33 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js +104 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js +18 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js +29 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js +39 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js +62 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js +54 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js +36 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js +41 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +39 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +36 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +38 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js +37 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js +93 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +79 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js +104 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/formats.js +221 -0
- package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/index.js +53 -0
- package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/limit.js +84 -0
- package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +71 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +169 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +712 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +157 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +139 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +259 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +169 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +191 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +64 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +219 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +541 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +139 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +94 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +642 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json.js +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +254 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +19 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +62 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +121 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +108 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +101 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +71 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +73 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +89 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +69 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +145 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +29 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +139 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +120 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +33 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +104 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +29 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +62 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +54 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +41 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/{json-schema-traverse → ajv-formats/node_modules/json-schema-traverse}/index.js +6 -2
- package/dist/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js.map +1 -0
- package/dist/node_modules/fast-uri/index.js +353 -0
- package/dist/node_modules/fast-uri/index.js.map +1 -0
- package/dist/node_modules/fast-uri/lib/schemes.js +279 -0
- package/dist/node_modules/fast-uri/lib/schemes.js.map +1 -0
- package/dist/node_modules/fast-uri/lib/utils.js +345 -0
- package/dist/node_modules/fast-uri/lib/utils.js.map +1 -0
- package/dist/node_modules/pkce-challenge/dist/index.browser.js +8 -5
- package/dist/node_modules/pkce-challenge/dist/index.browser.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/coerce.js +9 -0
- package/dist/node_modules/zod/v4/classic/coerce.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/compat.js +8 -0
- package/dist/node_modules/zod/v4/classic/compat.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/errors.js +44 -0
- package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/iso.js +36 -0
- package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/parse.js +10 -0
- package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +674 -0
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/api.js +468 -0
- package/dist/node_modules/zod/v4/core/api.js.map +1 -0
- package/dist/node_modules/zod/v4/core/checks.js +413 -0
- package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
- package/dist/node_modules/zod/v4/core/core.js +60 -0
- package/dist/node_modules/zod/v4/core/core.js.map +1 -0
- package/dist/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
- package/dist/node_modules/zod/v4/core/errors.js +86 -0
- package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/core/parse.js +59 -0
- package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/core/regexes.js +81 -0
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
- package/dist/node_modules/zod/v4/core/registries.js +52 -0
- package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1328 -0
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/util.js +335 -0
- package/dist/node_modules/zod/v4/core/util.js.map +1 -0
- package/dist/node_modules/zod/v4/core/versions.js +8 -0
- package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +2 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +1 -0
- package/dist/oAuth.d.ts +3 -1
- package/dist/oAuth.d.ts.map +1 -1
- package/dist/oAuth.js +7 -1
- package/dist/oAuth.js.map +1 -1
- package/package.json +9 -9
- package/dist/_virtual/cache.js +0 -4
- package/dist/_virtual/cache.js.map +0 -1
- package/dist/_virtual/uri.all.js +0 -4
- package/dist/_virtual/uri.all.js.map +0 -1
- package/dist/atxpClient.d.ts +0 -12
- package/dist/atxpLocalAccount.d.ts +0 -50
- package/dist/clientTestHelpers.d.ts +0 -6
- package/dist/destinationMakers/atxpDestinationMaker.d.ts +0 -15
- package/dist/destinationMakers/index.d.ts +0 -9
- package/dist/destinationMakers/passthroughDestinationMaker.d.ts +0 -8
- package/dist/errors.d.ts +0 -117
- package/dist/node_modules/ajv/lib/ajv.js +0 -531
- package/dist/node_modules/ajv/lib/ajv.js.map +0 -1
- package/dist/node_modules/ajv/lib/cache.js +0 -37
- package/dist/node_modules/ajv/lib/cache.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/async.js +0 -102
- package/dist/node_modules/ajv/lib/compile/async.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/error_classes.js +0 -46
- package/dist/node_modules/ajv/lib/compile/error_classes.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/formats.js +0 -154
- package/dist/node_modules/ajv/lib/compile/formats.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/index.js +0 -404
- package/dist/node_modules/ajv/lib/compile/index.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/resolve.js +0 -286
- package/dist/node_modules/ajv/lib/compile/resolve.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/rules.js +0 -79
- package/dist/node_modules/ajv/lib/compile/rules.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/schema_obj.js +0 -21
- package/dist/node_modules/ajv/lib/compile/schema_obj.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/ucs2length.js +0 -30
- package/dist/node_modules/ajv/lib/compile/ucs2length.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/util.js +0 -252
- package/dist/node_modules/ajv/lib/compile/util.js.map +0 -1
- package/dist/node_modules/ajv/lib/data.js +0 -59
- package/dist/node_modules/ajv/lib/data.js.map +0 -1
- package/dist/node_modules/ajv/lib/definition_schema.js +0 -49
- package/dist/node_modules/ajv/lib/definition_schema.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limit.js +0 -173
- package/dist/node_modules/ajv/lib/dotjs/_limit.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js +0 -95
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/allOf.js +0 -52
- package/dist/node_modules/ajv/lib/dotjs/allOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js +0 -83
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/comment.js +0 -24
- package/dist/node_modules/ajv/lib/dotjs/comment.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/const.js +0 -62
- package/dist/node_modules/ajv/lib/dotjs/const.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/contains.js +0 -91
- package/dist/node_modules/ajv/lib/dotjs/contains.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/custom.js +0 -238
- package/dist/node_modules/ajv/lib/dotjs/custom.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js +0 -178
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/enum.js +0 -72
- package/dist/node_modules/ajv/lib/dotjs/enum.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/format.js +0 -160
- package/dist/node_modules/ajv/lib/dotjs/format.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/if.js +0 -113
- package/dist/node_modules/ajv/lib/dotjs/if.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/index.js +0 -68
- package/dist/node_modules/ajv/lib/dotjs/index.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/items.js +0 -150
- package/dist/node_modules/ajv/lib/dotjs/items.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/not.js +0 -94
- package/dist/node_modules/ajv/lib/dotjs/not.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js +0 -83
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/pattern.js +0 -85
- package/dist/node_modules/ajv/lib/dotjs/pattern.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/properties.js +0 -345
- package/dist/node_modules/ajv/lib/dotjs/properties.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js +0 -91
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/ref.js +0 -134
- package/dist/node_modules/ajv/lib/dotjs/ref.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/required.js +0 -276
- package/dist/node_modules/ajv/lib/dotjs/required.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -96
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/validate.js +0 -492
- package/dist/node_modules/ajv/lib/dotjs/validate.js.map +0 -1
- package/dist/node_modules/ajv/lib/keyword.js +0 -159
- package/dist/node_modules/ajv/lib/keyword.js.map +0 -1
- package/dist/node_modules/fast-json-stable-stringify/index.js +0 -69
- package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
- package/dist/node_modules/json-schema-traverse/index.js.map +0 -1
- package/dist/node_modules/uri-js/dist/es5/uri.all.js +0 -1418
- package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
- package/dist/node_modules/zod/v3/ZodError.js +0 -133
- package/dist/node_modules/zod/v3/ZodError.js.map +0 -1
- package/dist/node_modules/zod/v3/errors.js +0 -9
- package/dist/node_modules/zod/v3/errors.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -9
- package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -112
- package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/util.js +0 -136
- package/dist/node_modules/zod/v3/helpers/util.js.map +0 -1
- package/dist/node_modules/zod/v3/locales/en.js +0 -112
- package/dist/node_modules/zod/v3/locales/en.js.map +0 -1
- package/dist/node_modules/zod/v3/types.js +0 -3491
- package/dist/node_modules/zod/v3/types.js.map +0 -1
- package/dist/polygonConstants.d.ts +0 -53
- package/dist/setup.expo.d.ts +0 -2
- package/dist/types.d.ts +0 -75
- package/dist/worldConstants.d.ts +0 -53
- /package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/json-schema-draft-07.json.js.map +0 -0
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
var _enum;
|
|
2
|
-
var hasRequired_enum;
|
|
3
|
-
|
|
4
|
-
function require_enum () {
|
|
5
|
-
if (hasRequired_enum) return _enum;
|
|
6
|
-
hasRequired_enum = 1;
|
|
7
|
-
_enum = function generate_enum(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
var $valid = 'valid' + $lvl;
|
|
17
|
-
var $isData = it.opts.$data && $schema && $schema.$data;
|
|
18
|
-
if ($isData) {
|
|
19
|
-
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
20
|
-
}
|
|
21
|
-
var $i = 'i' + $lvl,
|
|
22
|
-
$vSchema = 'schema' + $lvl;
|
|
23
|
-
if (!$isData) {
|
|
24
|
-
out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + ';';
|
|
25
|
-
}
|
|
26
|
-
out += 'var ' + ($valid) + ';';
|
|
27
|
-
if ($isData) {
|
|
28
|
-
out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';
|
|
29
|
-
}
|
|
30
|
-
out += '' + ($valid) + ' = false;for (var ' + ($i) + '=0; ' + ($i) + '<' + ($vSchema) + '.length; ' + ($i) + '++) if (equal(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + '])) { ' + ($valid) + ' = true; break; }';
|
|
31
|
-
if ($isData) {
|
|
32
|
-
out += ' } ';
|
|
33
|
-
}
|
|
34
|
-
out += ' if (!' + ($valid) + ') { ';
|
|
35
|
-
var $$outStack = $$outStack || [];
|
|
36
|
-
$$outStack.push(out);
|
|
37
|
-
out = ''; /* istanbul ignore else */
|
|
38
|
-
if (it.createErrors !== false) {
|
|
39
|
-
out += ' { keyword: \'' + ('enum') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValues: schema' + ($lvl) + ' } ';
|
|
40
|
-
if (it.opts.messages !== false) {
|
|
41
|
-
out += ' , message: \'should be equal to one of the allowed values\' ';
|
|
42
|
-
}
|
|
43
|
-
if (it.opts.verbose) {
|
|
44
|
-
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
45
|
-
}
|
|
46
|
-
out += ' } ';
|
|
47
|
-
} else {
|
|
48
|
-
out += ' {} ';
|
|
49
|
-
}
|
|
50
|
-
var __err = out;
|
|
51
|
-
out = $$outStack.pop();
|
|
52
|
-
if (!it.compositeRule && $breakOnError) {
|
|
53
|
-
/* istanbul ignore if */
|
|
54
|
-
if (it.async) {
|
|
55
|
-
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
56
|
-
} else {
|
|
57
|
-
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
58
|
-
}
|
|
59
|
-
} else {
|
|
60
|
-
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
61
|
-
}
|
|
62
|
-
out += ' }';
|
|
63
|
-
if ($breakOnError) {
|
|
64
|
-
out += ' else { ';
|
|
65
|
-
}
|
|
66
|
-
return out;
|
|
67
|
-
};
|
|
68
|
-
return _enum;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { require_enum as __require };
|
|
72
|
-
//# sourceMappingURL=enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/enum.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_enum(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $i = 'i' + $lvl,\n $vSchema = 'schema' + $lvl;\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ';';\n if ($isData) {\n out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';\n }\n out += '' + ($valid) + ' = false;for (var ' + ($i) + '=0; ' + ($i) + '<' + ($vSchema) + '.length; ' + ($i) + '++) if (equal(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + '])) { ' + ($valid) + ' = true; break; }';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('enum') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValues: schema' + ($lvl) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to one of the allowed values\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,KAAc,GAAG,SAAS,aAAa,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAC/D,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,MAAM,GAAG,OAAO,GAAG,IAAI;AAC7B,GAAE,IAAI,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,OAAO,CAAC,KAAK;GAEvD,IAAI,OAAO,EAAE;KACX,GAAG,IAAI,aAAa,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,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|
-
if (hasRequiredFormat) return format;
|
|
6
|
-
hasRequiredFormat = 1;
|
|
7
|
-
format = function generate_format(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
if (it.opts.format === false) {
|
|
17
|
-
if ($breakOnError) {
|
|
18
|
-
out += ' if (true) { ';
|
|
19
|
-
}
|
|
20
|
-
return out;
|
|
21
|
-
}
|
|
22
|
-
var $isData = it.opts.$data && $schema && $schema.$data,
|
|
23
|
-
$schemaValue;
|
|
24
|
-
if ($isData) {
|
|
25
|
-
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
26
|
-
$schemaValue = 'schema' + $lvl;
|
|
27
|
-
} else {
|
|
28
|
-
$schemaValue = $schema;
|
|
29
|
-
}
|
|
30
|
-
var $unknownFormats = it.opts.unknownFormats,
|
|
31
|
-
$allowUnknown = Array.isArray($unknownFormats);
|
|
32
|
-
if ($isData) {
|
|
33
|
-
var $format = 'format' + $lvl,
|
|
34
|
-
$isObject = 'isObject' + $lvl,
|
|
35
|
-
$formatType = 'formatType' + $lvl;
|
|
36
|
-
out += ' var ' + ($format) + ' = formats[' + ($schemaValue) + ']; var ' + ($isObject) + ' = typeof ' + ($format) + ' == \'object\' && !(' + ($format) + ' instanceof RegExp) && ' + ($format) + '.validate; var ' + ($formatType) + ' = ' + ($isObject) + ' && ' + ($format) + '.type || \'string\'; if (' + ($isObject) + ') { ';
|
|
37
|
-
if (it.async) {
|
|
38
|
-
out += ' var async' + ($lvl) + ' = ' + ($format) + '.async; ';
|
|
39
|
-
}
|
|
40
|
-
out += ' ' + ($format) + ' = ' + ($format) + '.validate; } if ( ';
|
|
41
|
-
if ($isData) {
|
|
42
|
-
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'string\') || ';
|
|
43
|
-
}
|
|
44
|
-
out += ' (';
|
|
45
|
-
if ($unknownFormats != 'ignore') {
|
|
46
|
-
out += ' (' + ($schemaValue) + ' && !' + ($format) + ' ';
|
|
47
|
-
if ($allowUnknown) {
|
|
48
|
-
out += ' && self._opts.unknownFormats.indexOf(' + ($schemaValue) + ') == -1 ';
|
|
49
|
-
}
|
|
50
|
-
out += ') || ';
|
|
51
|
-
}
|
|
52
|
-
out += ' (' + ($format) + ' && ' + ($formatType) + ' == \'' + ($ruleType) + '\' && !(typeof ' + ($format) + ' == \'function\' ? ';
|
|
53
|
-
if (it.async) {
|
|
54
|
-
out += ' (async' + ($lvl) + ' ? await ' + ($format) + '(' + ($data) + ') : ' + ($format) + '(' + ($data) + ')) ';
|
|
55
|
-
} else {
|
|
56
|
-
out += ' ' + ($format) + '(' + ($data) + ') ';
|
|
57
|
-
}
|
|
58
|
-
out += ' : ' + ($format) + '.test(' + ($data) + '))))) {';
|
|
59
|
-
} else {
|
|
60
|
-
var $format = it.formats[$schema];
|
|
61
|
-
if (!$format) {
|
|
62
|
-
if ($unknownFormats == 'ignore') {
|
|
63
|
-
it.logger.warn('unknown format "' + $schema + '" ignored in schema at path "' + it.errSchemaPath + '"');
|
|
64
|
-
if ($breakOnError) {
|
|
65
|
-
out += ' if (true) { ';
|
|
66
|
-
}
|
|
67
|
-
return out;
|
|
68
|
-
} else if ($allowUnknown && $unknownFormats.indexOf($schema) >= 0) {
|
|
69
|
-
if ($breakOnError) {
|
|
70
|
-
out += ' if (true) { ';
|
|
71
|
-
}
|
|
72
|
-
return out;
|
|
73
|
-
} else {
|
|
74
|
-
throw new Error('unknown format "' + $schema + '" is used in schema at path "' + it.errSchemaPath + '"');
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate;
|
|
78
|
-
var $formatType = $isObject && $format.type || 'string';
|
|
79
|
-
if ($isObject) {
|
|
80
|
-
var $async = $format.async === true;
|
|
81
|
-
$format = $format.validate;
|
|
82
|
-
}
|
|
83
|
-
if ($formatType != $ruleType) {
|
|
84
|
-
if ($breakOnError) {
|
|
85
|
-
out += ' if (true) { ';
|
|
86
|
-
}
|
|
87
|
-
return out;
|
|
88
|
-
}
|
|
89
|
-
if ($async) {
|
|
90
|
-
if (!it.async) throw new Error('async format in sync schema');
|
|
91
|
-
var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';
|
|
92
|
-
out += ' if (!(await ' + ($formatRef) + '(' + ($data) + '))) { ';
|
|
93
|
-
} else {
|
|
94
|
-
out += ' if (! ';
|
|
95
|
-
var $formatRef = 'formats' + it.util.getProperty($schema);
|
|
96
|
-
if ($isObject) $formatRef += '.validate';
|
|
97
|
-
if (typeof $format == 'function') {
|
|
98
|
-
out += ' ' + ($formatRef) + '(' + ($data) + ') ';
|
|
99
|
-
} else {
|
|
100
|
-
out += ' ' + ($formatRef) + '.test(' + ($data) + ') ';
|
|
101
|
-
}
|
|
102
|
-
out += ') { ';
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
var $$outStack = $$outStack || [];
|
|
106
|
-
$$outStack.push(out);
|
|
107
|
-
out = ''; /* istanbul ignore else */
|
|
108
|
-
if (it.createErrors !== false) {
|
|
109
|
-
out += ' { keyword: \'' + ('format') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: ';
|
|
110
|
-
if ($isData) {
|
|
111
|
-
out += '' + ($schemaValue);
|
|
112
|
-
} else {
|
|
113
|
-
out += '' + (it.util.toQuotedString($schema));
|
|
114
|
-
}
|
|
115
|
-
out += ' } ';
|
|
116
|
-
if (it.opts.messages !== false) {
|
|
117
|
-
out += ' , message: \'should match format "';
|
|
118
|
-
if ($isData) {
|
|
119
|
-
out += '\' + ' + ($schemaValue) + ' + \'';
|
|
120
|
-
} else {
|
|
121
|
-
out += '' + (it.util.escapeQuotes($schema));
|
|
122
|
-
}
|
|
123
|
-
out += '"\' ';
|
|
124
|
-
}
|
|
125
|
-
if (it.opts.verbose) {
|
|
126
|
-
out += ' , schema: ';
|
|
127
|
-
if ($isData) {
|
|
128
|
-
out += 'validate.schema' + ($schemaPath);
|
|
129
|
-
} else {
|
|
130
|
-
out += '' + (it.util.toQuotedString($schema));
|
|
131
|
-
}
|
|
132
|
-
out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
133
|
-
}
|
|
134
|
-
out += ' } ';
|
|
135
|
-
} else {
|
|
136
|
-
out += ' {} ';
|
|
137
|
-
}
|
|
138
|
-
var __err = out;
|
|
139
|
-
out = $$outStack.pop();
|
|
140
|
-
if (!it.compositeRule && $breakOnError) {
|
|
141
|
-
/* istanbul ignore if */
|
|
142
|
-
if (it.async) {
|
|
143
|
-
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
144
|
-
} else {
|
|
145
|
-
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
146
|
-
}
|
|
147
|
-
} else {
|
|
148
|
-
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
149
|
-
}
|
|
150
|
-
out += ' } ';
|
|
151
|
-
if ($breakOnError) {
|
|
152
|
-
out += ' else { ';
|
|
153
|
-
}
|
|
154
|
-
return out;
|
|
155
|
-
};
|
|
156
|
-
return format;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export { requireFormat as __require };
|
|
160
|
-
//# sourceMappingURL=format.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/format.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_format(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n if (it.opts.format === false) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $unknownFormats = it.opts.unknownFormats,\n $allowUnknown = Array.isArray($unknownFormats);\n if ($isData) {\n var $format = 'format' + $lvl,\n $isObject = 'isObject' + $lvl,\n $formatType = 'formatType' + $lvl;\n out += ' var ' + ($format) + ' = formats[' + ($schemaValue) + ']; var ' + ($isObject) + ' = typeof ' + ($format) + ' == \\'object\\' && !(' + ($format) + ' instanceof RegExp) && ' + ($format) + '.validate; var ' + ($formatType) + ' = ' + ($isObject) + ' && ' + ($format) + '.type || \\'string\\'; if (' + ($isObject) + ') { ';\n if (it.async) {\n out += ' var async' + ($lvl) + ' = ' + ($format) + '.async; ';\n }\n out += ' ' + ($format) + ' = ' + ($format) + '.validate; } if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'string\\') || ';\n }\n out += ' (';\n if ($unknownFormats != 'ignore') {\n out += ' (' + ($schemaValue) + ' && !' + ($format) + ' ';\n if ($allowUnknown) {\n out += ' && self._opts.unknownFormats.indexOf(' + ($schemaValue) + ') == -1 ';\n }\n out += ') || ';\n }\n out += ' (' + ($format) + ' && ' + ($formatType) + ' == \\'' + ($ruleType) + '\\' && !(typeof ' + ($format) + ' == \\'function\\' ? ';\n if (it.async) {\n out += ' (async' + ($lvl) + ' ? await ' + ($format) + '(' + ($data) + ') : ' + ($format) + '(' + ($data) + ')) ';\n } else {\n out += ' ' + ($format) + '(' + ($data) + ') ';\n }\n out += ' : ' + ($format) + '.test(' + ($data) + '))))) {';\n } else {\n var $format = it.formats[$schema];\n if (!$format) {\n if ($unknownFormats == 'ignore') {\n it.logger.warn('unknown format \"' + $schema + '\" ignored in schema at path \"' + it.errSchemaPath + '\"');\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else if ($allowUnknown && $unknownFormats.indexOf($schema) >= 0) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else {\n throw new Error('unknown format \"' + $schema + '\" is used in schema at path \"' + it.errSchemaPath + '\"');\n }\n }\n var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate;\n var $formatType = $isObject && $format.type || 'string';\n if ($isObject) {\n var $async = $format.async === true;\n $format = $format.validate;\n }\n if ($formatType != $ruleType) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n if ($async) {\n if (!it.async) throw new Error('async format in sync schema');\n var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';\n out += ' if (!(await ' + ($formatRef) + '(' + ($data) + '))) { ';\n } else {\n out += ' if (! ';\n var $formatRef = 'formats' + it.util.getProperty($schema);\n if ($isObject) $formatRef += '.validate';\n if (typeof $format == 'function') {\n out += ' ' + ($formatRef) + '(' + ($data) + ') ';\n } else {\n out += ' ' + ($formatRef) + '.test(' + ($data) + ') ';\n }\n out += ') { ';\n }\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('format') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match format \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,MAAc,GAAG,SAAS,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACjE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;GACrC,IAAI,EAAE,CAAC,IAAI,C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K,CAAC,GAAG,8EAA8E;AACnH,GAAA;GACE,GAAG,IAAI,KAAK;GACZ,IAAI,aAAa,EAAE;KACjB,GAAG,IAAI,UAAU;AACrB,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
var _if;
|
|
2
|
-
var hasRequired_if;
|
|
3
|
-
|
|
4
|
-
function require_if () {
|
|
5
|
-
if (hasRequired_if) return _if;
|
|
6
|
-
hasRequired_if = 1;
|
|
7
|
-
_if = function generate_if(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
var $valid = 'valid' + $lvl;
|
|
17
|
-
var $errs = 'errs__' + $lvl;
|
|
18
|
-
var $it = it.util.copy(it);
|
|
19
|
-
$it.level++;
|
|
20
|
-
var $nextValid = 'valid' + $it.level;
|
|
21
|
-
var $thenSch = it.schema['then'],
|
|
22
|
-
$elseSch = it.schema['else'],
|
|
23
|
-
$thenPresent = $thenSch !== undefined && (it.opts.strictKeywords ? (typeof $thenSch == 'object' && Object.keys($thenSch).length > 0) || $thenSch === false : it.util.schemaHasRules($thenSch, it.RULES.all)),
|
|
24
|
-
$elsePresent = $elseSch !== undefined && (it.opts.strictKeywords ? (typeof $elseSch == 'object' && Object.keys($elseSch).length > 0) || $elseSch === false : it.util.schemaHasRules($elseSch, it.RULES.all)),
|
|
25
|
-
$currentBaseId = $it.baseId;
|
|
26
|
-
if ($thenPresent || $elsePresent) {
|
|
27
|
-
var $ifClause;
|
|
28
|
-
$it.createErrors = false;
|
|
29
|
-
$it.schema = $schema;
|
|
30
|
-
$it.schemaPath = $schemaPath;
|
|
31
|
-
$it.errSchemaPath = $errSchemaPath;
|
|
32
|
-
out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = true; ';
|
|
33
|
-
var $wasComposite = it.compositeRule;
|
|
34
|
-
it.compositeRule = $it.compositeRule = true;
|
|
35
|
-
out += ' ' + (it.validate($it)) + ' ';
|
|
36
|
-
$it.baseId = $currentBaseId;
|
|
37
|
-
$it.createErrors = true;
|
|
38
|
-
out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';
|
|
39
|
-
it.compositeRule = $it.compositeRule = $wasComposite;
|
|
40
|
-
if ($thenPresent) {
|
|
41
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
42
|
-
$it.schema = it.schema['then'];
|
|
43
|
-
$it.schemaPath = it.schemaPath + '.then';
|
|
44
|
-
$it.errSchemaPath = it.errSchemaPath + '/then';
|
|
45
|
-
out += ' ' + (it.validate($it)) + ' ';
|
|
46
|
-
$it.baseId = $currentBaseId;
|
|
47
|
-
out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';
|
|
48
|
-
if ($thenPresent && $elsePresent) {
|
|
49
|
-
$ifClause = 'ifClause' + $lvl;
|
|
50
|
-
out += ' var ' + ($ifClause) + ' = \'then\'; ';
|
|
51
|
-
} else {
|
|
52
|
-
$ifClause = '\'then\'';
|
|
53
|
-
}
|
|
54
|
-
out += ' } ';
|
|
55
|
-
if ($elsePresent) {
|
|
56
|
-
out += ' else { ';
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
out += ' if (!' + ($nextValid) + ') { ';
|
|
60
|
-
}
|
|
61
|
-
if ($elsePresent) {
|
|
62
|
-
$it.schema = it.schema['else'];
|
|
63
|
-
$it.schemaPath = it.schemaPath + '.else';
|
|
64
|
-
$it.errSchemaPath = it.errSchemaPath + '/else';
|
|
65
|
-
out += ' ' + (it.validate($it)) + ' ';
|
|
66
|
-
$it.baseId = $currentBaseId;
|
|
67
|
-
out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';
|
|
68
|
-
if ($thenPresent && $elsePresent) {
|
|
69
|
-
$ifClause = 'ifClause' + $lvl;
|
|
70
|
-
out += ' var ' + ($ifClause) + ' = \'else\'; ';
|
|
71
|
-
} else {
|
|
72
|
-
$ifClause = '\'else\'';
|
|
73
|
-
}
|
|
74
|
-
out += ' } ';
|
|
75
|
-
}
|
|
76
|
-
out += ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */
|
|
77
|
-
if (it.createErrors !== false) {
|
|
78
|
-
out += ' { keyword: \'' + ('if') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { failingKeyword: ' + ($ifClause) + ' } ';
|
|
79
|
-
if (it.opts.messages !== false) {
|
|
80
|
-
out += ' , message: \'should match "\' + ' + ($ifClause) + ' + \'" schema\' ';
|
|
81
|
-
}
|
|
82
|
-
if (it.opts.verbose) {
|
|
83
|
-
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
84
|
-
}
|
|
85
|
-
out += ' } ';
|
|
86
|
-
} else {
|
|
87
|
-
out += ' {} ';
|
|
88
|
-
}
|
|
89
|
-
out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
90
|
-
if (!it.compositeRule && $breakOnError) {
|
|
91
|
-
/* istanbul ignore if */
|
|
92
|
-
if (it.async) {
|
|
93
|
-
out += ' throw new ValidationError(vErrors); ';
|
|
94
|
-
} else {
|
|
95
|
-
out += ' validate.errors = vErrors; return false; ';
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
out += ' } ';
|
|
99
|
-
if ($breakOnError) {
|
|
100
|
-
out += ' else { ';
|
|
101
|
-
}
|
|
102
|
-
} else {
|
|
103
|
-
if ($breakOnError) {
|
|
104
|
-
out += ' if (true) { ';
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return out;
|
|
108
|
-
};
|
|
109
|
-
return _if;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export { require_if as __require };
|
|
113
|
-
//# sourceMappingURL=if.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"if.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/if.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_if(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $thenSch = it.schema['then'],\n $elseSch = it.schema['else'],\n $thenPresent = $thenSch !== undefined && (it.opts.strictKeywords ? (typeof $thenSch == 'object' && Object.keys($thenSch).length > 0) || $thenSch === false : it.util.schemaHasRules($thenSch, it.RULES.all)),\n $elsePresent = $elseSch !== undefined && (it.opts.strictKeywords ? (typeof $elseSch == 'object' && Object.keys($elseSch).length > 0) || $elseSch === false : it.util.schemaHasRules($elseSch, it.RULES.all)),\n $currentBaseId = $it.baseId;\n if ($thenPresent || $elsePresent) {\n var $ifClause;\n $it.createErrors = false;\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = true; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n $it.createErrors = true;\n out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n if ($thenPresent) {\n out += ' if (' + ($nextValid) + ') { ';\n $it.schema = it.schema['then'];\n $it.schemaPath = it.schemaPath + '.then';\n $it.errSchemaPath = it.errSchemaPath + '/then';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';\n if ($thenPresent && $elsePresent) {\n $ifClause = 'ifClause' + $lvl;\n out += ' var ' + ($ifClause) + ' = \\'then\\'; ';\n } else {\n $ifClause = '\\'then\\'';\n }\n out += ' } ';\n if ($elsePresent) {\n out += ' else { ';\n }\n } else {\n out += ' if (!' + ($nextValid) + ') { ';\n }\n if ($elsePresent) {\n $it.schema = it.schema['else'];\n $it.schemaPath = it.schemaPath + '.else';\n $it.errSchemaPath = it.errSchemaPath + '/else';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';\n if ($thenPresent && $elsePresent) {\n $ifClause = 'ifClause' + $lvl;\n out += ' var ' + ($ifClause) + ' = \\'else\\'; ';\n } else {\n $ifClause = '\\'else\\'';\n }\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('if') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { failingKeyword: ' + ($ifClause) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match \"\\' + ' + ($ifClause) + ' + \\'\" schema\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,GAAc,GAAG,SAAS,WAAW,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAC7D,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,MAAM,GAAG,OAAO,GAAG,IAAI;AAC7B,GAAE,IAAI,KAAK,GAAG,QAAQ,GAAG,IAAI;GAC3B,IAAI,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;GAC1B,GAAG,CAAC,KAAK,EAAE;AACb,GAAE,IAAI,UAAU,GAAG,OAAO,GAAG,GAAG,CAAC,KAAK;GACpC,IAAI,QAAQ,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;AAClC,KAAI,QAAQ,GAAG,EAAE,CAAC,MAAM,CAAC,M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,OAAA;OACM,GAAG,IAAI,KAAK;AAClB,KAAA,CAAK,MAAM;OACL,GAAG,IAAI,MAAM;AACnB,KAAA;KACI,GAAG,IAAI,8EAA8E;AACzF,KAAI,IAAI,CAAC,EAAE,CAAC,aAAa,IAAI,aAAa,EAAE;AAC5C;AACA,OAAM,IAAI,EAAE,CAAC,KAAK,EAAE;SACZ,GAAG,IAAI,uCAAuC;AACtD,OAAA,CAAO,MAAM;SACL,GAAG,IAAI,4CAA4C;AAC3D,OAAA;AACA,KAAA;KACI,GAAG,IAAI,OAAO;KACd,IAAI,aAAa,EAAE;OACjB,GAAG,IAAI,UAAU;AACvB,KAAA;AACA,GAAA,CAAG,MAAM;KACL,IAAI,aAAa,EAAE;OACjB,GAAG,IAAI,eAAe;AAC5B,KAAA;AACA,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { __require as requireRef } from './ref.js';
|
|
2
|
-
import { __require as requireAllOf } from './allOf.js';
|
|
3
|
-
import { __require as requireAnyOf } from './anyOf.js';
|
|
4
|
-
import { __require as requireComment } from './comment.js';
|
|
5
|
-
import { __require as require_const } from './const.js';
|
|
6
|
-
import { __require as requireContains } from './contains.js';
|
|
7
|
-
import { __require as requireDependencies } from './dependencies.js';
|
|
8
|
-
import { __require as require_enum } from './enum.js';
|
|
9
|
-
import { __require as requireFormat } from './format.js';
|
|
10
|
-
import { __require as require_if } from './if.js';
|
|
11
|
-
import { __require as requireItems } from './items.js';
|
|
12
|
-
import { __require as require_limit } from './_limit.js';
|
|
13
|
-
import { __require as require_limitItems } from './_limitItems.js';
|
|
14
|
-
import { __require as require_limitLength } from './_limitLength.js';
|
|
15
|
-
import { __require as require_limitProperties } from './_limitProperties.js';
|
|
16
|
-
import { __require as requireMultipleOf } from './multipleOf.js';
|
|
17
|
-
import { __require as requireNot } from './not.js';
|
|
18
|
-
import { __require as requireOneOf } from './oneOf.js';
|
|
19
|
-
import { __require as requirePattern } from './pattern.js';
|
|
20
|
-
import { __require as requireProperties } from './properties.js';
|
|
21
|
-
import { __require as requirePropertyNames } from './propertyNames.js';
|
|
22
|
-
import { __require as requireRequired } from './required.js';
|
|
23
|
-
import { __require as requireUniqueItems } from './uniqueItems.js';
|
|
24
|
-
import { __require as requireValidate } from './validate.js';
|
|
25
|
-
|
|
26
|
-
var dotjs;
|
|
27
|
-
var hasRequiredDotjs;
|
|
28
|
-
|
|
29
|
-
function requireDotjs () {
|
|
30
|
-
if (hasRequiredDotjs) return dotjs;
|
|
31
|
-
hasRequiredDotjs = 1;
|
|
32
|
-
|
|
33
|
-
//all requires must be explicit because browserify won't work with dynamic requires
|
|
34
|
-
dotjs = {
|
|
35
|
-
'$ref': requireRef(),
|
|
36
|
-
allOf: requireAllOf(),
|
|
37
|
-
anyOf: requireAnyOf(),
|
|
38
|
-
'$comment': requireComment(),
|
|
39
|
-
const: require_const(),
|
|
40
|
-
contains: requireContains(),
|
|
41
|
-
dependencies: requireDependencies(),
|
|
42
|
-
'enum': require_enum(),
|
|
43
|
-
format: requireFormat(),
|
|
44
|
-
'if': require_if(),
|
|
45
|
-
items: requireItems(),
|
|
46
|
-
maximum: require_limit(),
|
|
47
|
-
minimum: require_limit(),
|
|
48
|
-
maxItems: require_limitItems(),
|
|
49
|
-
minItems: require_limitItems(),
|
|
50
|
-
maxLength: require_limitLength(),
|
|
51
|
-
minLength: require_limitLength(),
|
|
52
|
-
maxProperties: require_limitProperties(),
|
|
53
|
-
minProperties: require_limitProperties(),
|
|
54
|
-
multipleOf: requireMultipleOf(),
|
|
55
|
-
not: requireNot(),
|
|
56
|
-
oneOf: requireOneOf(),
|
|
57
|
-
pattern: requirePattern(),
|
|
58
|
-
properties: requireProperties(),
|
|
59
|
-
propertyNames: requirePropertyNames(),
|
|
60
|
-
required: requireRequired(),
|
|
61
|
-
uniqueItems: requireUniqueItems(),
|
|
62
|
-
validate: requireValidate()
|
|
63
|
-
};
|
|
64
|
-
return dotjs;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { requireDotjs as __require };
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/index.js"],"sourcesContent":["'use strict';\n\n//all requires must be explicit because browserify won't work with dynamic requires\nmodule.exports = {\n '$ref': require('./ref'),\n allOf: require('./allOf'),\n anyOf: require('./anyOf'),\n '$comment': require('./comment'),\n const: require('./const'),\n contains: require('./contains'),\n dependencies: require('./dependencies'),\n 'enum': require('./enum'),\n format: require('./format'),\n 'if': require('./if'),\n items: require('./items'),\n maximum: require('./_limit'),\n minimum: require('./_limit'),\n maxItems: require('./_limitItems'),\n minItems: require('./_limitItems'),\n maxLength: require('./_limitLength'),\n minLength: require('./_limitLength'),\n maxProperties: require('./_limitProperties'),\n minProperties: require('./_limitProperties'),\n multipleOf: require('./multipleOf'),\n not: require('./not'),\n oneOf: require('./oneOf'),\n pattern: require('./pattern'),\n properties: require('./properties'),\n propertyNames: require('./propertyNames'),\n required: require('./required'),\n uniqueItems: require('./uniqueItems'),\n validate: require('./validate')\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","require$$22","require$$23"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA,CAAA,KAAc,GAAG;GACf,MAAM,EAAEA,UAAA,EAAgB;GACxB,KAAK,EAAEC,YAAA,EAAkB;GACzB,KAAK,EAAEC,YAAA,EAAkB;GACzB,UAAU,EAAEC,cAAA,EAAoB;GAChC,KAAK,EAAEC,aAAA,EAAkB;GACzB,QAAQ,EAAEC,eAAA,EAAqB;GAC/B,YAAY,EAAEC,mBAAA,EAAyB;GACvC,MAAM,EAAEC,YAAA,EAAiB;GACzB,MAAM,EAAEC,aAAA,EAAmB;GAC3B,IAAI,EAAEC,UAAA,EAAe;GACrB,KAAK,EAAEC,YAAA,EAAkB;GACzB,OAAO,EAAEC,aAAA,EAAmB;GAC5B,OAAO,EAAEA,aAAA,EAAmB;GAC5B,QAAQ,EAAEC,kBAAA,EAAwB;GAClC,QAAQ,EAAEA,kBAAA,EAAwB;GAClC,SAAS,EAAEC,mBAAA,EAAyB;GACpC,SAAS,EAAEA,mBAAA,EAAyB;GACpC,aAAa,EAAEC,uBAAA,EAA6B;GAC5C,aAAa,EAAEA,uBAAA,EAA6B;GAC5C,UAAU,EAAEC,iBAAA,EAAuB;GACnC,GAAG,EAAEC,UAAA,EAAgB;GACrB,KAAK,EAAEC,YAAA,EAAkB;GACzB,OAAO,EAAEC,cAAA,EAAoB;GAC7B,UAAU,EAAEC,iBAAA,EAAuB;GACnC,aAAa,EAAEC,oBAAA,EAA0B;GACzC,QAAQ,EAAEC,eAAA,EAAqB;GAC/B,WAAW,EAAEC,kBAAA,EAAwB;AACvC,GAAE,QAAQ,EAAEC,eAAA;EACX;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
var items;
|
|
2
|
-
var hasRequiredItems;
|
|
3
|
-
|
|
4
|
-
function requireItems () {
|
|
5
|
-
if (hasRequiredItems) return items;
|
|
6
|
-
hasRequiredItems = 1;
|
|
7
|
-
items = function generate_items(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
var $valid = 'valid' + $lvl;
|
|
17
|
-
var $errs = 'errs__' + $lvl;
|
|
18
|
-
var $it = it.util.copy(it);
|
|
19
|
-
var $closingBraces = '';
|
|
20
|
-
$it.level++;
|
|
21
|
-
var $nextValid = 'valid' + $it.level;
|
|
22
|
-
var $idx = 'i' + $lvl,
|
|
23
|
-
$dataNxt = $it.dataLevel = it.dataLevel + 1,
|
|
24
|
-
$nextData = 'data' + $dataNxt,
|
|
25
|
-
$currentBaseId = it.baseId;
|
|
26
|
-
out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';
|
|
27
|
-
if (Array.isArray($schema)) {
|
|
28
|
-
var $additionalItems = it.schema.additionalItems;
|
|
29
|
-
if ($additionalItems === false) {
|
|
30
|
-
out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; ';
|
|
31
|
-
var $currErrSchemaPath = $errSchemaPath;
|
|
32
|
-
$errSchemaPath = it.errSchemaPath + '/additionalItems';
|
|
33
|
-
out += ' if (!' + ($valid) + ') { ';
|
|
34
|
-
var $$outStack = $$outStack || [];
|
|
35
|
-
$$outStack.push(out);
|
|
36
|
-
out = ''; /* istanbul ignore else */
|
|
37
|
-
if (it.createErrors !== false) {
|
|
38
|
-
out += ' { keyword: \'' + ('additionalItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } ';
|
|
39
|
-
if (it.opts.messages !== false) {
|
|
40
|
-
out += ' , message: \'should NOT have more than ' + ($schema.length) + ' items\' ';
|
|
41
|
-
}
|
|
42
|
-
if (it.opts.verbose) {
|
|
43
|
-
out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
44
|
-
}
|
|
45
|
-
out += ' } ';
|
|
46
|
-
} else {
|
|
47
|
-
out += ' {} ';
|
|
48
|
-
}
|
|
49
|
-
var __err = out;
|
|
50
|
-
out = $$outStack.pop();
|
|
51
|
-
if (!it.compositeRule && $breakOnError) {
|
|
52
|
-
/* istanbul ignore if */
|
|
53
|
-
if (it.async) {
|
|
54
|
-
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
55
|
-
} else {
|
|
56
|
-
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
60
|
-
}
|
|
61
|
-
out += ' } ';
|
|
62
|
-
$errSchemaPath = $currErrSchemaPath;
|
|
63
|
-
if ($breakOnError) {
|
|
64
|
-
$closingBraces += '}';
|
|
65
|
-
out += ' else { ';
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
var arr1 = $schema;
|
|
69
|
-
if (arr1) {
|
|
70
|
-
var $sch, $i = -1,
|
|
71
|
-
l1 = arr1.length - 1;
|
|
72
|
-
while ($i < l1) {
|
|
73
|
-
$sch = arr1[$i += 1];
|
|
74
|
-
if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
|
|
75
|
-
out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { ';
|
|
76
|
-
var $passData = $data + '[' + $i + ']';
|
|
77
|
-
$it.schema = $sch;
|
|
78
|
-
$it.schemaPath = $schemaPath + '[' + $i + ']';
|
|
79
|
-
$it.errSchemaPath = $errSchemaPath + '/' + $i;
|
|
80
|
-
$it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true);
|
|
81
|
-
$it.dataPathArr[$dataNxt] = $i;
|
|
82
|
-
var $code = it.validate($it);
|
|
83
|
-
$it.baseId = $currentBaseId;
|
|
84
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
85
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
86
|
-
} else {
|
|
87
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
88
|
-
}
|
|
89
|
-
out += ' } ';
|
|
90
|
-
if ($breakOnError) {
|
|
91
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
92
|
-
$closingBraces += '}';
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
if (typeof $additionalItems == 'object' && (it.opts.strictKeywords ? (typeof $additionalItems == 'object' && Object.keys($additionalItems).length > 0) || $additionalItems === false : it.util.schemaHasRules($additionalItems, it.RULES.all))) {
|
|
98
|
-
$it.schema = $additionalItems;
|
|
99
|
-
$it.schemaPath = it.schemaPath + '.additionalItems';
|
|
100
|
-
$it.errSchemaPath = it.errSchemaPath + '/additionalItems';
|
|
101
|
-
out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';
|
|
102
|
-
$it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
|
|
103
|
-
var $passData = $data + '[' + $idx + ']';
|
|
104
|
-
$it.dataPathArr[$dataNxt] = $idx;
|
|
105
|
-
var $code = it.validate($it);
|
|
106
|
-
$it.baseId = $currentBaseId;
|
|
107
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
108
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
109
|
-
} else {
|
|
110
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
111
|
-
}
|
|
112
|
-
if ($breakOnError) {
|
|
113
|
-
out += ' if (!' + ($nextValid) + ') break; ';
|
|
114
|
-
}
|
|
115
|
-
out += ' } } ';
|
|
116
|
-
if ($breakOnError) {
|
|
117
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
118
|
-
$closingBraces += '}';
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
} else if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {
|
|
122
|
-
$it.schema = $schema;
|
|
123
|
-
$it.schemaPath = $schemaPath;
|
|
124
|
-
$it.errSchemaPath = $errSchemaPath;
|
|
125
|
-
out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';
|
|
126
|
-
$it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
|
|
127
|
-
var $passData = $data + '[' + $idx + ']';
|
|
128
|
-
$it.dataPathArr[$dataNxt] = $idx;
|
|
129
|
-
var $code = it.validate($it);
|
|
130
|
-
$it.baseId = $currentBaseId;
|
|
131
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
132
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
133
|
-
} else {
|
|
134
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
135
|
-
}
|
|
136
|
-
if ($breakOnError) {
|
|
137
|
-
out += ' if (!' + ($nextValid) + ') break; ';
|
|
138
|
-
}
|
|
139
|
-
out += ' }';
|
|
140
|
-
}
|
|
141
|
-
if ($breakOnError) {
|
|
142
|
-
out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';
|
|
143
|
-
}
|
|
144
|
-
return out;
|
|
145
|
-
};
|
|
146
|
-
return items;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export { requireItems as __require };
|
|
150
|
-
//# sourceMappingURL=items.js.map
|