@spotlightjs/spotlight 4.11.4 → 4.11.6
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/ajv.js +6 -3
- package/dist/_virtual/ajv2.js +13 -0
- package/dist/_virtual/index.js +6 -3
- package/dist/_virtual/index10.js +3 -3
- package/dist/_virtual/index11.js +3 -3
- package/dist/_virtual/index12.js +13 -0
- package/dist/_virtual/index2.js +3 -3
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +3 -3
- package/dist/_virtual/index7.js +3 -3
- package/dist/_virtual/index9.js +3 -3
- package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +1 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +3 -3
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +203 -194
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +47 -47
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +77 -69
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +78 -81
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +145 -136
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +692 -685
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -135
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +122 -116
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +216 -214
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +43 -35
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +19 -11
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +149 -144
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +31 -25
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +164 -160
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -17
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +7 -10
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +174 -173
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +5 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +21 -28
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +11 -15
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +5 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +571 -570
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js +3 -17
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +4 -236
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -18
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +55 -48
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +104 -99
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +30 -22
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +20 -12
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -88
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +94 -88
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +71 -64
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +66 -73
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +60 -54
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +41 -36
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +34 -26
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -53
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +73 -67
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +20 -12
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +61 -55
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +46 -39
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +21 -13
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +132 -129
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +17 -8
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -20
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +121 -118
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -100
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +15 -9
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +30 -26
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +84 -76
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +16 -8
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +24 -18
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +33 -27
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +53 -47
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +52 -53
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +32 -24
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +37 -31
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +35 -27
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +32 -24
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +31 -23
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +41 -35
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +80 -74
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +71 -66
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +34 -27
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +250 -245
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +201 -175
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +267 -259
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -1
- package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/helper/streaming/sse.js.map +1 -1
- package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/middleware/cors/index.js +3 -6
- package/dist/node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
- package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/html.js.map +1 -1
- package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/stream.js +5 -3
- package/dist/node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/stream.js.map +1 -0
- package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +83 -78
- package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -1
- package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -1
- package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -1
- package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js +1 -1
- package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js.map +1 -1
- package/dist/sentry-config.js +2 -2
- package/dist/server/cli/run.js +2 -2
- package/dist/server/cli.js +2 -2
- package/dist/server/main.js +2 -2
- package/dist/server/mcp/mcp.js +2 -2
- package/dist/server/routes/stream/streaming.js +2 -2
- package/dist/ui/assets/index.js +65 -74
- package/dist/ui/assets/index2.js +1 -1
- package/dist/ui/assets/instrumentation.js +18 -18
- package/dist/ui/assets/main.css +1 -1
- package/dist/ui/assets/main.js +1 -1
- package/dist/ui/assets/serverTimingMeta.js +23 -30
- package/package.json +7 -7
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +0 -1
- /package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
- /package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/html.js +0 -0
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst equal_1 = require(\"../../runtime/equal\");\nconst error = {\n message: \"must be equal to one of the allowed values\",\n params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"enum\",\n schemaType: \"array\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, $data, schema, schemaCode, it } = cxt;\n if (!$data && schema.length === 0)\n throw new Error(\"enum must have non-empty array\");\n const useLoop = schema.length >= it.opts.loopEnum;\n let eql;\n const getEql = () => (eql !== null && eql !== void 0 ? eql : (eql = (0, util_1.useFunc)(gen, equal_1.default)));\n let valid;\n if (useLoop || $data) {\n valid = gen.let(\"valid\");\n cxt.block$data(valid, loopEnum);\n }\n else {\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n const vSchema = gen.const(\"vSchema\", schemaCode);\n valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));\n }\n cxt.pass(valid);\n function loopEnum() {\n gen.assign(valid, false);\n gen.forOf(\"v\", schemaCode, (v) => gen.if((0, codegen_1._) `${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));\n }\n function equalCode(vSchema, i) {\n const sch = schema[i];\n return typeof sch === \"object\" && sch !== null\n ? (0, codegen_1._) `${getEql()}(${data}, ${vSchema}[${i}])`\n : (0, codegen_1._) `${data} === ${sch}`;\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=enum.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"enum.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst equal_1 = require(\"../../runtime/equal\");\nconst error = {\n message: \"must be equal to one of the allowed values\",\n params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"enum\",\n schemaType: \"array\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, $data, schema, schemaCode, it } = cxt;\n if (!$data && schema.length === 0)\n throw new Error(\"enum must have non-empty array\");\n const useLoop = schema.length >= it.opts.loopEnum;\n let eql;\n const getEql = () => (eql !== null && eql !== void 0 ? eql : (eql = (0, util_1.useFunc)(gen, equal_1.default)));\n let valid;\n if (useLoop || $data) {\n valid = gen.let(\"valid\");\n cxt.block$data(valid, loopEnum);\n }\n else {\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n const vSchema = gen.const(\"vSchema\", schemaCode);\n valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));\n }\n cxt.pass(valid);\n function loopEnum() {\n gen.assign(valid, false);\n gen.forOf(\"v\", schemaCode, (v) => gen.if((0, codegen_1._) `${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));\n }\n function equalCode(vSchema, i) {\n const sch = schema[i];\n return typeof sch === \"object\" && sch !== null\n ? (0, codegen_1._) `${getEql()}(${data}, ${vSchema}[${i}])`\n : (0, codegen_1._) `${data} === ${sch}`;\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=enum.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,OAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,UAAUC,6BAAA;AAChB,QAAM,QAAQ;AAAA,IACV,SAAS;AAAA,IACT,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,qBAAsB,UAAU;AAAA;AAE9E,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,MAAM,OAAO,QAAQ,YAAY,GAAE,IAAK;AACrD,UAAI,CAAC,SAAS,OAAO,WAAW;AAC5B,cAAM,IAAI,MAAM,gCAAgC;AACpD,YAAM,UAAU,OAAO,UAAU,GAAG,KAAK;AACzC,UAAI;AACJ,YAAM,SAAS,MAAO,QAAQ,QAAQ,QAAQ,SAAS,MAAO,OAAM,GAAI,OAAO,SAAS,KAAK,QAAQ,OAAO;AAC5G,UAAI;AACJ,UAAI,WAAW,OAAO;AAClB,gBAAQ,IAAI,IAAI,OAAO;AACvB,YAAI,WAAW,OAAO,QAAQ;AAAA,MAC1C,OACa;AAED,YAAI,CAAC,MAAM,QAAQ,MAAM;AACrB,gBAAM,IAAI,MAAM,0BAA0B;AAC9C,cAAM,UAAU,IAAI,MAAM,WAAW,UAAU;AAC/C,iBAAQ,GAAI,UAAU,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,MAAM,UAAU,SAAS,CAAC,CAAC,CAAC;AAAA,MACrF;AACQ,UAAI,KAAK,KAAK;AACd,eAAS,WAAW;AAChB,YAAI,OAAO,OAAO,KAAK;AACvB,YAAI,MAAM,KAAK,YAAY,CAAC,MAAM,IAAI,IAAG,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,CAAC,KAAK,MAAM,IAAI,OAAO,OAAO,IAAI,EAAE,MAAK,CAAE,CAAC;AAAA,MAC1I;AACQ,eAAS,UAAU,SAAS,GAAG;AAC3B,cAAM,MAAM,OAAO,CAAC;AACpB,eAAO,OAAO,QAAQ,YAAY,QAAQ,QACpC,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,OAAO,IAAI,CAAC,QACrD,GAAI,UAAU,KAAM,IAAI,QAAQ,GAAG;AAAA,MACrD;AAAA,IACA;AAAA;AAEA,QAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
CHANGED
|
@@ -2,60 +2,59 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "98a3e914-0081-4d7c-a3e7-88ac887dcc95", e._sentryDebugIdIdentifier = "sentry-dbid-98a3e914-0081-4d7c-a3e7-88ac887dcc95");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
|
-
import { __exports as validation
|
|
10
|
-
import "./limitNumber.js";
|
|
11
|
-
import "./multipleOf.js";
|
|
12
|
-
import "./limitLength.js";
|
|
13
|
-
import "./pattern.js";
|
|
14
|
-
import "./limitProperties.js";
|
|
15
|
-
import "./required.js";
|
|
16
|
-
import "./limitItems.js";
|
|
17
|
-
import "./uniqueItems.js";
|
|
18
|
-
import "./const.js";
|
|
19
|
-
import "./enum.js";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
validation$1.default = validation;
|
|
9
|
+
import { __exports as validation } from "../../../../../../../../_virtual/index7.js";
|
|
10
|
+
import { __require as requireLimitNumber } from "./limitNumber.js";
|
|
11
|
+
import { __require as requireMultipleOf } from "./multipleOf.js";
|
|
12
|
+
import { __require as requireLimitLength } from "./limitLength.js";
|
|
13
|
+
import { __require as requirePattern } from "./pattern.js";
|
|
14
|
+
import { __require as requireLimitProperties } from "./limitProperties.js";
|
|
15
|
+
import { __require as requireRequired } from "./required.js";
|
|
16
|
+
import { __require as requireLimitItems } from "./limitItems.js";
|
|
17
|
+
import { __require as requireUniqueItems } from "./uniqueItems.js";
|
|
18
|
+
import { __require as require_const } from "./const.js";
|
|
19
|
+
import { __require as require_enum } from "./enum.js";
|
|
20
|
+
var hasRequiredValidation;
|
|
21
|
+
function requireValidation() {
|
|
22
|
+
if (hasRequiredValidation) return validation;
|
|
23
|
+
hasRequiredValidation = 1;
|
|
24
|
+
Object.defineProperty(validation, "__esModule", { value: true });
|
|
25
|
+
const limitNumber_1 = /* @__PURE__ */ requireLimitNumber();
|
|
26
|
+
const multipleOf_1 = /* @__PURE__ */ requireMultipleOf();
|
|
27
|
+
const limitLength_1 = /* @__PURE__ */ requireLimitLength();
|
|
28
|
+
const pattern_1 = /* @__PURE__ */ requirePattern();
|
|
29
|
+
const limitProperties_1 = /* @__PURE__ */ requireLimitProperties();
|
|
30
|
+
const required_1 = /* @__PURE__ */ requireRequired();
|
|
31
|
+
const limitItems_1 = /* @__PURE__ */ requireLimitItems();
|
|
32
|
+
const uniqueItems_1 = /* @__PURE__ */ requireUniqueItems();
|
|
33
|
+
const const_1 = /* @__PURE__ */ require_const();
|
|
34
|
+
const enum_1 = /* @__PURE__ */ require_enum();
|
|
35
|
+
const validation$1 = [
|
|
36
|
+
// number
|
|
37
|
+
limitNumber_1.default,
|
|
38
|
+
multipleOf_1.default,
|
|
39
|
+
// string
|
|
40
|
+
limitLength_1.default,
|
|
41
|
+
pattern_1.default,
|
|
42
|
+
// object
|
|
43
|
+
limitProperties_1.default,
|
|
44
|
+
required_1.default,
|
|
45
|
+
// array
|
|
46
|
+
limitItems_1.default,
|
|
47
|
+
uniqueItems_1.default,
|
|
48
|
+
// any
|
|
49
|
+
{ keyword: "type", schemaType: ["string", "array"] },
|
|
50
|
+
{ keyword: "nullable", schemaType: "boolean" },
|
|
51
|
+
const_1.default,
|
|
52
|
+
enum_1.default
|
|
53
|
+
];
|
|
54
|
+
validation.default = validation$1;
|
|
55
|
+
return validation;
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
requireValidation as __require
|
|
59
|
+
};
|
|
61
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst limitNumber_1 = require(\"./limitNumber\");\nconst multipleOf_1 = require(\"./multipleOf\");\nconst limitLength_1 = require(\"./limitLength\");\nconst pattern_1 = require(\"./pattern\");\nconst limitProperties_1 = require(\"./limitProperties\");\nconst required_1 = require(\"./required\");\nconst limitItems_1 = require(\"./limitItems\");\nconst uniqueItems_1 = require(\"./uniqueItems\");\nconst const_1 = require(\"./const\");\nconst enum_1 = require(\"./enum\");\nconst validation = [\n // number\n limitNumber_1.default,\n multipleOf_1.default,\n // string\n limitLength_1.default,\n pattern_1.default,\n // object\n limitProperties_1.default,\n required_1.default,\n // array\n limitItems_1.default,\n uniqueItems_1.default,\n // any\n { keyword: \"type\", schemaType: [\"string\", \"array\"] },\n { keyword: \"nullable\", schemaType: \"boolean\" },\n const_1.default,\n enum_1.default,\n];\nexports.default = validation;\n//# sourceMappingURL=index.js.map"],"names":["validation_1","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst limitNumber_1 = require(\"./limitNumber\");\nconst multipleOf_1 = require(\"./multipleOf\");\nconst limitLength_1 = require(\"./limitLength\");\nconst pattern_1 = require(\"./pattern\");\nconst limitProperties_1 = require(\"./limitProperties\");\nconst required_1 = require(\"./required\");\nconst limitItems_1 = require(\"./limitItems\");\nconst uniqueItems_1 = require(\"./uniqueItems\");\nconst const_1 = require(\"./const\");\nconst enum_1 = require(\"./enum\");\nconst validation = [\n // number\n limitNumber_1.default,\n multipleOf_1.default,\n // string\n limitLength_1.default,\n pattern_1.default,\n // object\n limitProperties_1.default,\n required_1.default,\n // array\n limitItems_1.default,\n uniqueItems_1.default,\n // any\n { keyword: \"type\", schemaType: [\"string\", \"array\"] },\n { keyword: \"nullable\", schemaType: \"boolean\" },\n const_1.default,\n enum_1.default,\n];\nexports.default = validation;\n//# sourceMappingURL=index.js.map"],"names":["validation_1","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","validation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAeA,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,eAAeC,kCAAA;AACrB,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,YAAYC,+BAAA;AAClB,QAAM,oBAAoBC,uCAAA;AAC1B,QAAM,aAAaC,gCAAA;AACnB,QAAM,eAAeC,kCAAA;AACrB,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,UAAUC,8BAAA;AAChB,QAAM,SAASC,6BAAA;AACf,QAAMC,eAAa;AAAA;AAAA,IAEf,cAAc;AAAA,IACd,aAAa;AAAA;AAAA,IAEb,cAAc;AAAA,IACd,UAAU;AAAA;AAAA,IAEV,kBAAkB;AAAA,IAClB,WAAW;AAAA;AAAA,IAEX,aAAa;AAAA,IACb,cAAc;AAAA;AAAA,IAEd,EAAE,SAAS,QAAQ,YAAY,CAAC,UAAU,OAAO,EAAC;AAAA,IAClD,EAAE,SAAS,YAAY,YAAY,UAAS;AAAA,IAC5C,QAAQ;AAAA,IACR,OAAO;AAAA;AAEXX,aAAA,UAAkBW;;;","x_google_ignoreList":[0]}
|
|
@@ -2,33 +2,41 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "668352e2-1baa-4440-83ff-3745aaddab23", e._sentryDebugIdIdentifier = "sentry-dbid-668352e2-1baa-4440-83ff-3745aaddab23");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as limitItems } from "../../../../../../../../_virtual/limitItems.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
var hasRequiredLimitItems;
|
|
12
|
+
function requireLimitItems() {
|
|
13
|
+
if (hasRequiredLimitItems) return limitItems;
|
|
14
|
+
hasRequiredLimitItems = 1;
|
|
15
|
+
Object.defineProperty(limitItems, "__esModule", { value: true });
|
|
16
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
17
|
+
const error = {
|
|
18
|
+
message({ keyword, schemaCode }) {
|
|
19
|
+
const comp = keyword === "maxItems" ? "more" : "fewer";
|
|
20
|
+
return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} items`;
|
|
21
|
+
},
|
|
22
|
+
params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
|
|
23
|
+
};
|
|
24
|
+
const def = {
|
|
25
|
+
keyword: ["maxItems", "minItems"],
|
|
26
|
+
type: "array",
|
|
27
|
+
schemaType: "number",
|
|
28
|
+
$data: true,
|
|
29
|
+
error,
|
|
30
|
+
code(cxt) {
|
|
31
|
+
const { keyword, data, schemaCode } = cxt;
|
|
32
|
+
const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
33
|
+
cxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
limitItems.default = def;
|
|
37
|
+
return limitItems;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
requireLimitItems as __require
|
|
20
41
|
};
|
|
21
|
-
const def = {
|
|
22
|
-
keyword: ["maxItems", "minItems"],
|
|
23
|
-
type: "array",
|
|
24
|
-
schemaType: "number",
|
|
25
|
-
$data: true,
|
|
26
|
-
error,
|
|
27
|
-
code(cxt) {
|
|
28
|
-
const { keyword, data, schemaCode } = cxt;
|
|
29
|
-
const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
30
|
-
cxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
limitItems.default = def;
|
|
34
42
|
//# sourceMappingURL=limitItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxItems\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxItems\", \"minItems\"],\n type: \"array\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxItems\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `${data}.length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitItems.js.map"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"limitItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxItems\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxItems\", \"minItems\"],\n type: \"array\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxItems\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `${data}.length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitItems.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,aAAa,SAAS;AAC/C,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,YAAY,UAAU;AAAA,IAChC,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,YAAM,KAAK,YAAY,aAAa,UAAU,UAAU,KAAK,UAAU,UAAU;AACjF,UAAI,cAAc,UAAU,KAAM,IAAI,WAAW,EAAE,IAAI,UAAU,EAAE;AAAA,IAC3E;AAAA;AAEA,aAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,40 +2,46 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7aa57f03-400a-461f-a189-994b8ee224b3", e._sentryDebugIdIdentifier = "sentry-dbid-7aa57f03-400a-461f-a189-994b8ee224b3");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as limitLength } from "../../../../../../../../_virtual/limitLength.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
import "../../compile/util.js";
|
|
12
|
-
import "../../runtime/ucs2length.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
import { __require as requireUtil } from "../../compile/util.js";
|
|
12
|
+
import { __require as requireUcs2length } from "../../runtime/ucs2length.js";
|
|
13
|
+
var hasRequiredLimitLength;
|
|
14
|
+
function requireLimitLength() {
|
|
15
|
+
if (hasRequiredLimitLength) return limitLength;
|
|
16
|
+
hasRequiredLimitLength = 1;
|
|
17
|
+
Object.defineProperty(limitLength, "__esModule", { value: true });
|
|
18
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
19
|
+
const util_1 = /* @__PURE__ */ requireUtil();
|
|
20
|
+
const ucs2length_1 = /* @__PURE__ */ requireUcs2length();
|
|
21
|
+
const error = {
|
|
22
|
+
message({ keyword, schemaCode }) {
|
|
23
|
+
const comp = keyword === "maxLength" ? "more" : "fewer";
|
|
24
|
+
return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} characters`;
|
|
25
|
+
},
|
|
26
|
+
params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
|
|
27
|
+
};
|
|
28
|
+
const def = {
|
|
29
|
+
keyword: ["maxLength", "minLength"],
|
|
30
|
+
type: "string",
|
|
31
|
+
schemaType: "number",
|
|
32
|
+
$data: true,
|
|
33
|
+
error,
|
|
34
|
+
code(cxt) {
|
|
35
|
+
const { keyword, data, schemaCode, it } = cxt;
|
|
36
|
+
const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
37
|
+
const len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
|
|
38
|
+
cxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
limitLength.default = def;
|
|
42
|
+
return limitLength;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
requireLimitLength as __require
|
|
26
46
|
};
|
|
27
|
-
const def = {
|
|
28
|
-
keyword: ["maxLength", "minLength"],
|
|
29
|
-
type: "string",
|
|
30
|
-
schemaType: "number",
|
|
31
|
-
$data: true,
|
|
32
|
-
error,
|
|
33
|
-
code(cxt) {
|
|
34
|
-
const { keyword, data, schemaCode, it } = cxt;
|
|
35
|
-
const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
36
|
-
const len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
|
|
37
|
-
cxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
limitLength.default = def;
|
|
41
47
|
//# sourceMappingURL=limitLength.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitLength.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst ucs2length_1 = require(\"../../runtime/ucs2length\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxLength\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} characters`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxLength\", \"minLength\"],\n type: \"string\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode, it } = cxt;\n const op = keyword === \"maxLength\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n const len = it.opts.unicode === false ? (0, codegen_1._) `${data}.length` : (0, codegen_1._) `${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;\n cxt.fail$data((0, codegen_1._) `${len} ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitLength.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"limitLength.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst ucs2length_1 = require(\"../../runtime/ucs2length\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxLength\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} characters`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxLength\", \"minLength\"],\n type: \"string\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode, it } = cxt;\n const op = keyword === \"maxLength\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n const len = it.opts.unicode === false ? (0, codegen_1._) `${data}.length` : (0, codegen_1._) `${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;\n cxt.fail$data((0, codegen_1._) `${len} ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitLength.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,aAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,eAAeC,kCAAA;AACrB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,cAAc,SAAS;AAChD,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,aAAa,WAAW;AAAA,IAClC,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,YAAY,GAAE,IAAK;AAC1C,YAAM,KAAK,YAAY,cAAc,UAAU,UAAU,KAAK,UAAU,UAAU;AAClF,YAAM,MAAM,GAAG,KAAK,YAAY,YAAY,UAAU,KAAM,IAAI,aAAY,GAAI,UAAU,SAAU,OAAO,SAAS,IAAI,KAAK,aAAa,OAAO,CAAC,IAAI,IAAI;AAC1J,UAAI,cAAc,UAAU,KAAM,GAAG,IAAI,EAAE,IAAI,UAAU,EAAE;AAAA,IACnE;AAAA;AAEA,cAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,36 +2,44 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1b67d892-a317-47f8-8aa3-c5e52cb38f4d", e._sentryDebugIdIdentifier = "sentry-dbid-1b67d892-a317-47f8-8aa3-c5e52cb38f4d");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as limitNumber } from "../../../../../../../../_virtual/limitNumber.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
var hasRequiredLimitNumber;
|
|
12
|
+
function requireLimitNumber() {
|
|
13
|
+
if (hasRequiredLimitNumber) return limitNumber;
|
|
14
|
+
hasRequiredLimitNumber = 1;
|
|
15
|
+
Object.defineProperty(limitNumber, "__esModule", { value: true });
|
|
16
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
17
|
+
const ops = codegen_1.operators;
|
|
18
|
+
const KWDs = {
|
|
19
|
+
maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
|
|
20
|
+
minimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
|
|
21
|
+
exclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
|
|
22
|
+
exclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE }
|
|
23
|
+
};
|
|
24
|
+
const error = {
|
|
25
|
+
message: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
26
|
+
params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
|
|
27
|
+
};
|
|
28
|
+
const def = {
|
|
29
|
+
keyword: Object.keys(KWDs),
|
|
30
|
+
type: "number",
|
|
31
|
+
schemaType: "number",
|
|
32
|
+
$data: true,
|
|
33
|
+
error,
|
|
34
|
+
code(cxt) {
|
|
35
|
+
const { keyword, data, schemaCode } = cxt;
|
|
36
|
+
cxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
limitNumber.default = def;
|
|
40
|
+
return limitNumber;
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
requireLimitNumber as __require
|
|
20
44
|
};
|
|
21
|
-
const error = {
|
|
22
|
-
message: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
23
|
-
params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
|
|
24
|
-
};
|
|
25
|
-
const def = {
|
|
26
|
-
keyword: Object.keys(KWDs),
|
|
27
|
-
type: "number",
|
|
28
|
-
schemaType: "number",
|
|
29
|
-
$data: true,
|
|
30
|
-
error,
|
|
31
|
-
code(cxt) {
|
|
32
|
-
const { keyword, data, schemaCode } = cxt;
|
|
33
|
-
cxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
limitNumber.default = def;
|
|
37
45
|
//# sourceMappingURL=limitNumber.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitNumber.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst ops = codegen_1.operators;\nconst KWDs = {\n maximum: { okStr: \"<=\", ok: ops.LTE, fail: ops.GT },\n minimum: { okStr: \">=\", ok: ops.GTE, fail: ops.LT },\n exclusiveMaximum: { okStr: \"<\", ok: ops.LT, fail: ops.GTE },\n exclusiveMinimum: { okStr: \">\", ok: ops.GT, fail: ops.LTE },\n};\nconst error = {\n message: ({ keyword, schemaCode }) => (0, codegen_1.str) `must be ${KWDs[keyword].okStr} ${schemaCode}`,\n params: ({ keyword, schemaCode }) => (0, codegen_1._) `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: Object.keys(KWDs),\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n cxt.fail$data((0, codegen_1._) `${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitNumber.js.map"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"limitNumber.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst ops = codegen_1.operators;\nconst KWDs = {\n maximum: { okStr: \"<=\", ok: ops.LTE, fail: ops.GT },\n minimum: { okStr: \">=\", ok: ops.GTE, fail: ops.LT },\n exclusiveMaximum: { okStr: \"<\", ok: ops.LT, fail: ops.GTE },\n exclusiveMinimum: { okStr: \">\", ok: ops.GT, fail: ops.LTE },\n};\nconst error = {\n message: ({ keyword, schemaCode }) => (0, codegen_1.str) `must be ${KWDs[keyword].okStr} ${schemaCode}`,\n params: ({ keyword, schemaCode }) => (0, codegen_1._) `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: Object.keys(KWDs),\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n cxt.fail$data((0, codegen_1._) `${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitNumber.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,aAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,MAAM,UAAU;AACtB,QAAM,OAAO;AAAA,IACT,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,IACjD,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,IACjD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAAA,IACzD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAAA;AAE7D,QAAM,QAAQ;AAAA,IACV,SAAS,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,eAAgB,KAAK,OAAO,EAAE,KAAK,IAAI,UAAU;AAAA,IACrG,QAAQ,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,kBAAmB,KAAK,OAAO,EAAE,KAAK,YAAY,UAAU;AAAA;AAEnH,QAAM,MAAM;AAAA,IACR,SAAS,OAAO,KAAK,IAAI;AAAA,IACzB,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,UAAI,cAAc,UAAU,KAAM,IAAI,IAAI,KAAK,OAAO,EAAE,IAAI,IAAI,UAAU,aAAa,IAAI,GAAG;AAAA,IACtG;AAAA;AAEA,cAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,33 +2,41 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c507be50-57b1-4ea7-81d6-6e29043b2f74", e._sentryDebugIdIdentifier = "sentry-dbid-c507be50-57b1-4ea7-81d6-6e29043b2f74");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as limitProperties } from "../../../../../../../../_virtual/limitProperties.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
var hasRequiredLimitProperties;
|
|
12
|
+
function requireLimitProperties() {
|
|
13
|
+
if (hasRequiredLimitProperties) return limitProperties;
|
|
14
|
+
hasRequiredLimitProperties = 1;
|
|
15
|
+
Object.defineProperty(limitProperties, "__esModule", { value: true });
|
|
16
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
17
|
+
const error = {
|
|
18
|
+
message({ keyword, schemaCode }) {
|
|
19
|
+
const comp = keyword === "maxProperties" ? "more" : "fewer";
|
|
20
|
+
return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} properties`;
|
|
21
|
+
},
|
|
22
|
+
params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
|
|
23
|
+
};
|
|
24
|
+
const def = {
|
|
25
|
+
keyword: ["maxProperties", "minProperties"],
|
|
26
|
+
type: "object",
|
|
27
|
+
schemaType: "number",
|
|
28
|
+
$data: true,
|
|
29
|
+
error,
|
|
30
|
+
code(cxt) {
|
|
31
|
+
const { keyword, data, schemaCode } = cxt;
|
|
32
|
+
const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
33
|
+
cxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
limitProperties.default = def;
|
|
37
|
+
return limitProperties;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
requireLimitProperties as __require
|
|
20
41
|
};
|
|
21
|
-
const def = {
|
|
22
|
-
keyword: ["maxProperties", "minProperties"],
|
|
23
|
-
type: "object",
|
|
24
|
-
schemaType: "number",
|
|
25
|
-
$data: true,
|
|
26
|
-
error,
|
|
27
|
-
code(cxt) {
|
|
28
|
-
const { keyword, data, schemaCode } = cxt;
|
|
29
|
-
const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
|
|
30
|
-
cxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
limitProperties.default = def;
|
|
34
42
|
//# sourceMappingURL=limitProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxProperties\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} properties`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxProperties\", \"minProperties\"],\n type: \"object\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxProperties\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `Object.keys(${data}).length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitProperties.js.map"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"limitProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxProperties\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} properties`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxProperties\", \"minProperties\"],\n type: \"object\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxProperties\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `Object.keys(${data}).length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitProperties.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,iBAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,kBAAkB,SAAS;AACpD,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,iBAAiB,eAAe;AAAA,IAC1C,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,YAAM,KAAK,YAAY,kBAAkB,UAAU,UAAU,KAAK,UAAU,UAAU;AACtF,UAAI,cAAc,UAAU,iBAAkB,IAAI,YAAY,EAAE,IAAI,UAAU,EAAE;AAAA,IACxF;AAAA;AAEA,kBAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,32 +2,40 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4242dda1-77fc-4a17-80b9-575e271661fd", e._sentryDebugIdIdentifier = "sentry-dbid-4242dda1-77fc-4a17-80b9-575e271661fd");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as multipleOf } from "../../../../../../../../_virtual/multipleOf.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
var hasRequiredMultipleOf;
|
|
12
|
+
function requireMultipleOf() {
|
|
13
|
+
if (hasRequiredMultipleOf) return multipleOf;
|
|
14
|
+
hasRequiredMultipleOf = 1;
|
|
15
|
+
Object.defineProperty(multipleOf, "__esModule", { value: true });
|
|
16
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
17
|
+
const error = {
|
|
18
|
+
message: ({ schemaCode }) => (0, codegen_1.str)`must be multiple of ${schemaCode}`,
|
|
19
|
+
params: ({ schemaCode }) => (0, codegen_1._)`{multipleOf: ${schemaCode}}`
|
|
20
|
+
};
|
|
21
|
+
const def = {
|
|
22
|
+
keyword: "multipleOf",
|
|
23
|
+
type: "number",
|
|
24
|
+
schemaType: "number",
|
|
25
|
+
$data: true,
|
|
26
|
+
error,
|
|
27
|
+
code(cxt) {
|
|
28
|
+
const { gen, data, schemaCode, it } = cxt;
|
|
29
|
+
const prec = it.opts.multipleOfPrecision;
|
|
30
|
+
const res = gen.let("res");
|
|
31
|
+
const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
|
|
32
|
+
cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
multipleOf.default = def;
|
|
36
|
+
return multipleOf;
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
requireMultipleOf as __require
|
|
17
40
|
};
|
|
18
|
-
const def = {
|
|
19
|
-
keyword: "multipleOf",
|
|
20
|
-
type: "number",
|
|
21
|
-
schemaType: "number",
|
|
22
|
-
$data: true,
|
|
23
|
-
error,
|
|
24
|
-
code(cxt) {
|
|
25
|
-
const { gen, data, schemaCode, it } = cxt;
|
|
26
|
-
const prec = it.opts.multipleOfPrecision;
|
|
27
|
-
const res = gen.let("res");
|
|
28
|
-
const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
|
|
29
|
-
cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
multipleOf.default = def;
|
|
33
41
|
//# sourceMappingURL=multipleOf.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipleOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,\n params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"multipleOf\",\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, schemaCode, it } = cxt;\n // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)\n const prec = it.opts.multipleOfPrecision;\n const res = gen.let(\"res\");\n const invalid = prec\n ? (0, codegen_1._) `Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`\n : (0, codegen_1._) `${res} !== parseInt(${res})`;\n cxt.fail$data((0, codegen_1._) `(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=multipleOf.js.map"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"multipleOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,\n params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"multipleOf\",\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, schemaCode, it } = cxt;\n // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)\n const prec = it.opts.multipleOfPrecision;\n const res = gen.let(\"res\");\n const invalid = prec\n ? (0, codegen_1._) `Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`\n : (0, codegen_1._) `${res} !== parseInt(${res})`;\n cxt.fail$data((0, codegen_1._) `(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=multipleOf.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,SAAS,CAAC,EAAE,kBAAiB,GAAI,UAAU,2BAA4B,UAAU;AAAA,IACjF,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,kBAAmB,UAAU;AAAA;AAE3E,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,MAAM,YAAY,GAAE,IAAK;AAEtC,YAAM,OAAO,GAAG,KAAK;AACrB,YAAM,MAAM,IAAI,IAAI,KAAK;AACzB,YAAM,UAAU,WACN,UAAU,yBAA0B,GAAG,OAAO,GAAG,UAAU,IAAI,MACnE,GAAI,UAAU,KAAM,GAAG,iBAAiB,GAAG;AACjD,UAAI,cAAc,UAAU,MAAO,UAAU,cAAc,GAAG,MAAM,IAAI,IAAI,UAAU,KAAK,OAAO,IAAI;AAAA,IAC9G;AAAA;AAEA,aAAA,UAAkB;;;","x_google_ignoreList":[0]}
|