plugin-app-builder-advance 0.0.0-stage → 0.1.8
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/PHUONG-AN-TRIEN-KHAI.md +73 -0
- package/client-v2.d.ts +1 -0
- package/client-v2.js +1 -0
- package/client.d.ts +1 -0
- package/client.js +1 -0
- package/dist/ai/skills/app-builder-records/SKILLS.md +8 -0
- package/dist/ai/skills/app-builder-ui/SKILLS.md +14 -0
- package/dist/ai/skills/app-builder-workflows/SKILLS.md +8 -0
- package/dist/client/index.js +10 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/externalVersion.js +26 -0
- package/dist/index.js +42 -0
- package/dist/locale/en-US.json +122 -0
- package/dist/locale/vi-VN.json +122 -0
- package/dist/locale/zh-CN.json +122 -0
- package/dist/node_modules/cron-parser/.eslintrc.json +15 -0
- package/dist/node_modules/cron-parser/.travis.yml +7 -0
- package/dist/node_modules/cron-parser/LICENSE +21 -0
- package/dist/node_modules/cron-parser/component.json +11 -0
- package/dist/node_modules/cron-parser/index.d.ts +1 -0
- package/dist/node_modules/cron-parser/lib/date.js +252 -0
- package/dist/node_modules/cron-parser/lib/expression.js +983 -0
- package/dist/node_modules/cron-parser/lib/field_compactor.js +70 -0
- package/dist/node_modules/cron-parser/lib/field_stringify.js +38 -0
- package/dist/node_modules/cron-parser/lib/parser.js +1 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/build/amd/luxon.js +8489 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/build/cjs-browser/luxon.js +8487 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/build/global/luxon.js +8490 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/build/global/luxon.min.js +1 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/build/node/luxon.js +7522 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/package.json +96 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/datetime.js +2169 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/duration.js +880 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/errors.js +61 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/conversions.js +157 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/diff.js +80 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/digits.js +76 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/english.js +233 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/formats.js +191 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/formatter.js +386 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/invalid.js +14 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/locale.js +482 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/regexParser.js +335 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/tokenParser.js +424 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/util.js +292 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/zoneUtil.js +36 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/info.js +193 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/interval.js +602 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/luxon.js +26 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/luxonFilled.js +13 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/settings.js +137 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zone.js +88 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/IANAZone.js +191 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/fixedOffsetZone.js +94 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/invalidZone.js +53 -0
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/localZone.js +63 -0
- package/dist/node_modules/cron-parser/package.json +1 -0
- package/dist/node_modules/cron-parser/test/31_of_month.js +17 -0
- package/dist/node_modules/cron-parser/test/bug.js +29 -0
- package/dist/node_modules/cron-parser/test/crondate.js +16 -0
- package/dist/node_modules/cron-parser/test/crontab.example +7 -0
- package/dist/node_modules/cron-parser/test/empty_around_comma.js +22 -0
- package/dist/node_modules/cron-parser/test/expression.js +1489 -0
- package/dist/node_modules/cron-parser/test/field_compactor.js +250 -0
- package/dist/node_modules/cron-parser/test/field_stringify.js +84 -0
- package/dist/node_modules/cron-parser/test/fields.js +32 -0
- package/dist/node_modules/cron-parser/test/increment_on_first_iteration.js +22 -0
- package/dist/node_modules/cron-parser/test/index-ts3.test-d.ts +133 -0
- package/dist/node_modules/cron-parser/test/index.test-d.ts +138 -0
- package/dist/node_modules/cron-parser/test/leap_year.js +17 -0
- package/dist/node_modules/cron-parser/test/parser.js +46 -0
- package/dist/node_modules/cron-parser/test/parser_crondate_formats.js +145 -0
- package/dist/node_modules/cron-parser/test/parser_day_of_month.js +169 -0
- package/dist/node_modules/cron-parser/test/prev_date.js +32 -0
- package/dist/node_modules/cron-parser/test/stringify.js +402 -0
- package/dist/node_modules/cron-parser/test/timezone.js +422 -0
- package/dist/node_modules/cron-parser/types/common.d.ts +131 -0
- package/dist/node_modules/cron-parser/types/index.d.ts +45 -0
- package/dist/node_modules/cron-parser/types/ts3/index.d.ts +28 -0
- package/dist/node_modules/light-my-request/.gitattributes +2 -0
- package/dist/node_modules/light-my-request/.github/dependabot.yml +13 -0
- package/dist/node_modules/light-my-request/.github/stale.yml +21 -0
- package/dist/node_modules/light-my-request/.github/workflows/benchmark.yml +30 -0
- package/dist/node_modules/light-my-request/.github/workflows/ci.yml +23 -0
- package/dist/node_modules/light-my-request/LICENSE +32 -0
- package/dist/node_modules/light-my-request/benchmark/benchmark.js +164 -0
- package/dist/node_modules/light-my-request/build/build-validation.js +100 -0
- package/dist/node_modules/light-my-request/eslint.config.js +9 -0
- package/dist/node_modules/light-my-request/index.js +2 -0
- package/dist/node_modules/light-my-request/lib/config-validator.js +919 -0
- package/dist/node_modules/light-my-request/lib/form-data.js +79 -0
- package/dist/node_modules/light-my-request/lib/parse-url.js +47 -0
- package/dist/node_modules/light-my-request/lib/request.js +290 -0
- package/dist/node_modules/light-my-request/lib/response.js +240 -0
- package/dist/node_modules/light-my-request/node_modules/cookie/dist/index.d.ts +148 -0
- package/dist/node_modules/light-my-request/node_modules/cookie/dist/index.js +350 -0
- package/dist/node_modules/light-my-request/node_modules/cookie/package.json +47 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/.gitattributes +2 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/.github/dependabot.yml +13 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/.github/workflows/ci.yml +24 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/.taprc +2 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/benchmarks/warn.js +25 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/eslint.config.js +6 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/examples/example.js +11 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/index.js +124 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/package.json +73 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/emit-interpolated-string.test.js +29 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/emit-once-only.test.js +28 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/emit-reset.test.js +36 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/emit-set.test.js +30 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/emit-unlimited.test.js +37 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/index.test.js +99 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/issue-88.test.js +33 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/jest.test.js +22 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/test/no-warnings.test.js +80 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/types/index.d.ts +37 -0
- package/dist/node_modules/light-my-request/node_modules/process-warning/types/index.test-d.ts +36 -0
- package/dist/node_modules/light-my-request/package.json +1 -0
- package/dist/node_modules/light-my-request/test/async-await.test.js +55 -0
- package/dist/node_modules/light-my-request/test/index.test.js +2316 -0
- package/dist/node_modules/light-my-request/test/request.test.js +16 -0
- package/dist/node_modules/light-my-request/test/response.test.js +19 -0
- package/dist/node_modules/light-my-request/test/stream.test.js +359 -0
- package/dist/node_modules/light-my-request/types/index.d.ts +128 -0
- package/dist/node_modules/light-my-request/types/index.test-d.ts +149 -0
- package/dist/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/zod/index.cjs +1 -0
- package/dist/node_modules/zod/index.d.cts +4 -0
- package/dist/node_modules/zod/index.d.ts +4 -0
- package/dist/node_modules/zod/index.js +4 -0
- package/dist/node_modules/zod/locales/index.cjs +17 -0
- package/dist/node_modules/zod/locales/index.d.cts +1 -0
- package/dist/node_modules/zod/locales/index.d.ts +1 -0
- package/dist/node_modules/zod/locales/index.js +1 -0
- package/dist/node_modules/zod/locales/package.json +6 -0
- package/dist/node_modules/zod/mini/index.cjs +17 -0
- package/dist/node_modules/zod/mini/index.d.cts +1 -0
- package/dist/node_modules/zod/mini/index.d.ts +1 -0
- package/dist/node_modules/zod/mini/index.js +1 -0
- package/dist/node_modules/zod/mini/package.json +6 -0
- package/dist/node_modules/zod/package.json +1 -0
- package/dist/node_modules/zod/src/index.ts +4 -0
- package/dist/node_modules/zod/src/locales/index.ts +1 -0
- package/dist/node_modules/zod/src/mini/index.ts +1 -0
- package/dist/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/dist/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/dist/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/dist/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/dist/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/dist/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/dist/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/dist/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/dist/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/dist/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/zod/src/v3/types.ts +5138 -0
- package/dist/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/dist/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/dist/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/dist/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/dist/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/dist/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/dist/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/dist/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/dist/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/dist/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/dist/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/dist/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/dist/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/dist/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
- package/dist/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
- package/dist/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/dist/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/dist/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/dist/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
- package/dist/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/dist/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/dist/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/dist/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/dist/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/dist/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
- package/dist/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
- package/dist/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
- package/dist/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/record.test.ts +600 -0
- package/dist/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
- package/dist/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
- package/dist/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/dist/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/dist/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/dist/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2975 -0
- package/dist/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
- package/dist/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/dist/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
- package/dist/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/dist/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/dist/node_modules/zod/src/v4/core/config.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/core.ts +138 -0
- package/dist/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/dist/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/dist/node_modules/zod/src/v4/core/index.ts +16 -0
- package/dist/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/dist/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/dist/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/dist/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/dist/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/dist/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/dist/node_modules/zod/src/v4/core/schemas.ts +4543 -0
- package/dist/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/dist/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/dist/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
- package/dist/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
- package/dist/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/dist/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/dist/node_modules/zod/src/v4/core/util.ts +966 -0
- package/dist/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/dist/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/dist/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/dist/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/dist/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/dist/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/dist/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/dist/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/dist/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/dist/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/dist/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/dist/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/dist/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/dist/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/dist/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/dist/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/dist/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/dist/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/dist/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/dist/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/dist/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/dist/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/dist/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/dist/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/dist/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/dist/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/dist/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/dist/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/dist/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/dist/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/dist/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/dist/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
- package/dist/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/dist/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/dist/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
- package/dist/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/dist/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/dist/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/dist/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/dist/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
- package/dist/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/dist/node_modules/zod/v3/ZodError.cjs +138 -0
- package/dist/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/zod/v3/errors.cjs +17 -0
- package/dist/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/external.cjs +22 -0
- package/dist/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/dist/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/zod/v3/index.cjs +33 -0
- package/dist/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/zod/v3/locales/en.cjs +112 -0
- package/dist/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/zod/v3/package.json +6 -0
- package/dist/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/zod/v3/types.cjs +3777 -0
- package/dist/node_modules/zod/v3/types.d.cts +1034 -0
- package/dist/node_modules/zod/v3/types.d.ts +1034 -0
- package/dist/node_modules/zod/v3/types.js +3695 -0
- package/dist/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/dist/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/dist/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/dist/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/dist/node_modules/zod/v4/classic/compat.js +31 -0
- package/dist/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/dist/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.js +48 -0
- package/dist/node_modules/zod/v4/classic/external.cjs +73 -0
- package/dist/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/dist/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/dist/node_modules/zod/v4/classic/external.js +20 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/dist/node_modules/zod/v4/classic/index.cjs +33 -0
- package/dist/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/dist/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/dist/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.js +30 -0
- package/dist/node_modules/zod/v4/classic/package.json +6 -0
- package/dist/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/dist/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/dist/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/dist/node_modules/zod/v4/classic/parse.js +15 -0
- package/dist/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/dist/node_modules/zod/v4/core/api.cjs +1222 -0
- package/dist/node_modules/zod/v4/core/api.d.cts +304 -0
- package/dist/node_modules/zod/v4/core/api.d.ts +304 -0
- package/dist/node_modules/zod/v4/core/api.js +1082 -0
- package/dist/node_modules/zod/v4/core/checks.cjs +601 -0
- package/dist/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/dist/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/dist/node_modules/zod/v4/core/checks.js +575 -0
- package/dist/node_modules/zod/v4/core/core.cjs +83 -0
- package/dist/node_modules/zod/v4/core/core.d.cts +70 -0
- package/dist/node_modules/zod/v4/core/core.d.ts +70 -0
- package/dist/node_modules/zod/v4/core/core.js +76 -0
- package/dist/node_modules/zod/v4/core/doc.cjs +39 -0
- package/dist/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/dist/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/dist/node_modules/zod/v4/core/doc.js +35 -0
- package/dist/node_modules/zod/v4/core/errors.cjs +213 -0
- package/dist/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/dist/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/dist/node_modules/zod/v4/core/errors.js +182 -0
- package/dist/node_modules/zod/v4/core/index.cjs +47 -0
- package/dist/node_modules/zod/v4/core/index.d.cts +16 -0
- package/dist/node_modules/zod/v4/core/index.d.ts +16 -0
- package/dist/node_modules/zod/v4/core/index.js +16 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/dist/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/dist/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/package.json +6 -0
- package/dist/node_modules/zod/v4/core/parse.cjs +131 -0
- package/dist/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/dist/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/dist/node_modules/zod/v4/core/parse.js +93 -0
- package/dist/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/dist/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/dist/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/dist/node_modules/zod/v4/core/regexes.js +133 -0
- package/dist/node_modules/zod/v4/core/registries.cjs +56 -0
- package/dist/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/zod/v4/core/schemas.cjs +2126 -0
- package/dist/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/dist/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/dist/node_modules/zod/v4/core/schemas.js +2095 -0
- package/dist/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/dist/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/dist/node_modules/zod/v4/core/util.cjs +710 -0
- package/dist/node_modules/zod/v4/core/util.d.cts +199 -0
- package/dist/node_modules/zod/v4/core/util.d.ts +199 -0
- package/dist/node_modules/zod/v4/core/util.js +651 -0
- package/dist/node_modules/zod/v4/core/versions.cjs +8 -0
- package/dist/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/zod/v4/index.cjs +22 -0
- package/dist/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/index.js +3 -0
- package/dist/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/dist/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.js +106 -0
- package/dist/node_modules/zod/v4/locales/az.cjs +132 -0
- package/dist/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/az.js +105 -0
- package/dist/node_modules/zod/v4/locales/be.cjs +183 -0
- package/dist/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/be.js +156 -0
- package/dist/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/dist/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/bg.js +120 -0
- package/dist/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.js +107 -0
- package/dist/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.js +111 -0
- package/dist/node_modules/zod/v4/locales/da.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/da.js +115 -0
- package/dist/node_modules/zod/v4/locales/de.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/de.js +108 -0
- package/dist/node_modules/zod/v4/locales/en.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/en.js +109 -0
- package/dist/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/eo.js +109 -0
- package/dist/node_modules/zod/v4/locales/es.cjs +159 -0
- package/dist/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/es.js +132 -0
- package/dist/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.js +114 -0
- package/dist/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.js +112 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/dist/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.js +108 -0
- package/dist/node_modules/zod/v4/locales/he.cjs +241 -0
- package/dist/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/he.js +214 -0
- package/dist/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.js +108 -0
- package/dist/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/dist/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hy.js +147 -0
- package/dist/node_modules/zod/v4/locales/id.cjs +133 -0
- package/dist/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/id.js +106 -0
- package/dist/node_modules/zod/v4/locales/index.cjs +104 -0
- package/dist/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/dist/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/dist/node_modules/zod/v4/locales/index.js +49 -0
- package/dist/node_modules/zod/v4/locales/is.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/is.js +109 -0
- package/dist/node_modules/zod/v4/locales/it.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/it.js +108 -0
- package/dist/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.js +107 -0
- package/dist/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ka.js +112 -0
- package/dist/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/dist/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/kh.js +5 -0
- package/dist/node_modules/zod/v4/locales/km.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/km.js +110 -0
- package/dist/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.js +111 -0
- package/dist/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/dist/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/lt.js +203 -0
- package/dist/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.js +109 -0
- package/dist/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.js +107 -0
- package/dist/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.js +110 -0
- package/dist/node_modules/zod/v4/locales/no.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/no.js +108 -0
- package/dist/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.js +109 -0
- package/dist/node_modules/zod/v4/locales/package.json +6 -0
- package/dist/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.js +109 -0
- package/dist/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.js +114 -0
- package/dist/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.js +108 -0
- package/dist/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/dist/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.js +156 -0
- package/dist/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.js +109 -0
- package/dist/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.js +110 -0
- package/dist/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.js +110 -0
- package/dist/node_modules/zod/v4/locales/th.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/th.js +110 -0
- package/dist/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/dist/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/tr.js +105 -0
- package/dist/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/dist/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/ua.js +5 -0
- package/dist/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/uk.js +108 -0
- package/dist/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.js +110 -0
- package/dist/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/uz.js +109 -0
- package/dist/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/dist/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.js +108 -0
- package/dist/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/yo.js +107 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/dist/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/dist/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.js +22 -0
- package/dist/node_modules/zod/v4/mini/external.cjs +63 -0
- package/dist/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/dist/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/dist/node_modules/zod/v4/mini/external.js +14 -0
- package/dist/node_modules/zod/v4/mini/index.cjs +32 -0
- package/dist/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/dist/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.js +34 -0
- package/dist/node_modules/zod/v4/mini/package.json +6 -0
- package/dist/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/dist/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/dist/node_modules/zod/v4/mini/schemas.js +925 -0
- package/dist/node_modules/zod/v4/package.json +6 -0
- package/dist/node_modules/zod/v4-mini/index.cjs +17 -0
- package/dist/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/dist/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/dist/node_modules/zod/v4-mini/index.js +1 -0
- package/dist/node_modules/zod/v4-mini/package.json +6 -0
- package/dist/server/collections/appBuilderExecutions.js +47 -0
- package/dist/server/collections/appBuilderGrants.js +44 -0
- package/dist/server/collections/appBuilderPlans.js +56 -0
- package/dist/server/collections/appBuilderPolicies.js +46 -0
- package/dist/server/collections/appBuilderWorkflows.js +46 -0
- package/dist/server/column-continuation.js +230 -0
- package/dist/server/contracts.js +214 -0
- package/dist/server/index.js +42 -0
- package/dist/server/native.js +208 -0
- package/dist/server/plans.js +321 -0
- package/dist/server/plugin.js +204 -0
- package/dist/server/records.js +323 -0
- package/dist/server/surfaces.js +339 -0
- package/dist/server/workflows.js +446 -0
- package/dist/shared/constants.js +86 -0
- package/dist/shared/tabs.js +68 -0
- package/package.json +65 -4
- package/server.d.ts +1 -0
- package/server.js +1 -0
- package/src/ai/skills/app-builder-records/SKILLS.md +8 -0
- package/src/ai/skills/app-builder-ui/SKILLS.md +14 -0
- package/src/ai/skills/app-builder-workflows/SKILLS.md +8 -0
- package/src/client/index.tsx +28 -0
- package/src/client-v2/builder.tsx +374 -0
- package/src/client-v2/index.tsx +32 -0
- package/src/index.ts +10 -0
- package/src/locale/en-US.json +122 -0
- package/src/locale/vi-VN.json +122 -0
- package/src/locale/zh-CN.json +122 -0
- package/src/server/collections/appBuilderExecutions.ts +26 -0
- package/src/server/collections/appBuilderGrants.ts +23 -0
- package/src/server/collections/appBuilderPlans.ts +35 -0
- package/src/server/collections/appBuilderPolicies.ts +25 -0
- package/src/server/collections/appBuilderWorkflows.ts +25 -0
- package/src/server/column-continuation.ts +239 -0
- package/src/server/contracts.ts +196 -0
- package/src/server/index.ts +10 -0
- package/src/server/native.ts +183 -0
- package/src/server/plans.ts +334 -0
- package/src/server/plugin.ts +211 -0
- package/src/server/records.ts +338 -0
- package/src/server/surfaces.ts +372 -0
- package/src/server/workflows.ts +467 -0
- package/src/shared/constants.ts +43 -0
- package/src/shared/tabs.ts +45 -0
- package/README.md +0 -3
|
@@ -0,0 +1,919 @@
|
|
|
1
|
+
// This file is autogenerated by build/build-validation.js, do not edit
|
|
2
|
+
/* c8 ignore start */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
"use strict";
|
|
5
|
+
module.exports = validate10;
|
|
6
|
+
module.exports.default = validate10;
|
|
7
|
+
const schema11 = {"type":"object","properties":{"url":{"oneOf":[{"type":"string"},{"type":"object","properties":{"protocol":{"type":"string"},"hostname":{"type":"string"},"pathname":{"type":"string"}},"additionalProperties":true,"required":["pathname"]}]},"path":{"oneOf":[{"type":"string"},{"type":"object","properties":{"protocol":{"type":"string"},"hostname":{"type":"string"},"pathname":{"type":"string"}},"additionalProperties":true,"required":["pathname"]}]},"cookies":{"type":"object","additionalProperties":true},"headers":{"type":"object","additionalProperties":true},"query":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"string"}]},"simulate":{"type":"object","properties":{"end":{"type":"boolean"},"split":{"type":"boolean"},"error":{"type":"boolean"},"close":{"type":"boolean"}}},"authority":{"type":"string"},"remoteAddress":{"type":"string"},"method":{"type":"string","enum":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","QUERY","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE","acl","bind","checkout","connect","copy","delete","get","head","link","lock","m-search","merge","mkactivity","mkcalendar","mkcol","move","notify","options","patch","post","propfind","proppatch","purge","put","query","rebind","report","search","source","subscribe","trace","unbind","unlink","unlock","unsubscribe"]},"validate":{"type":"boolean"}},"additionalProperties":true,"oneOf":[{"required":["url"]},{"required":["path"]}]};
|
|
8
|
+
|
|
9
|
+
function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){
|
|
10
|
+
let vErrors = null;
|
|
11
|
+
let errors = 0;
|
|
12
|
+
const _errs1 = errors;
|
|
13
|
+
let valid0 = false;
|
|
14
|
+
let passing0 = null;
|
|
15
|
+
const _errs2 = errors;
|
|
16
|
+
if(data && typeof data == "object" && !Array.isArray(data)){
|
|
17
|
+
let missing0;
|
|
18
|
+
if((data.url === undefined) && (missing0 = "url")){
|
|
19
|
+
const err0 = {instancePath,schemaPath:"#/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};
|
|
20
|
+
if(vErrors === null){
|
|
21
|
+
vErrors = [err0];
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
vErrors.push(err0);
|
|
25
|
+
}
|
|
26
|
+
errors++;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
var _valid0 = _errs2 === errors;
|
|
30
|
+
if(_valid0){
|
|
31
|
+
valid0 = true;
|
|
32
|
+
passing0 = 0;
|
|
33
|
+
}
|
|
34
|
+
const _errs3 = errors;
|
|
35
|
+
if(data && typeof data == "object" && !Array.isArray(data)){
|
|
36
|
+
let missing1;
|
|
37
|
+
if((data.path === undefined) && (missing1 = "path")){
|
|
38
|
+
const err1 = {instancePath,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};
|
|
39
|
+
if(vErrors === null){
|
|
40
|
+
vErrors = [err1];
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
vErrors.push(err1);
|
|
44
|
+
}
|
|
45
|
+
errors++;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
var _valid0 = _errs3 === errors;
|
|
49
|
+
if(_valid0 && valid0){
|
|
50
|
+
valid0 = false;
|
|
51
|
+
passing0 = [passing0, 1];
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
if(_valid0){
|
|
55
|
+
valid0 = true;
|
|
56
|
+
passing0 = 1;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if(!valid0){
|
|
60
|
+
const err2 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};
|
|
61
|
+
if(vErrors === null){
|
|
62
|
+
vErrors = [err2];
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
vErrors.push(err2);
|
|
66
|
+
}
|
|
67
|
+
errors++;
|
|
68
|
+
validate10.errors = vErrors;
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
errors = _errs1;
|
|
73
|
+
if(vErrors !== null){
|
|
74
|
+
if(_errs1){
|
|
75
|
+
vErrors.length = _errs1;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
vErrors = null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if(errors === 0){
|
|
83
|
+
if(data && typeof data == "object" && !Array.isArray(data)){
|
|
84
|
+
if(data.url !== undefined){
|
|
85
|
+
let data0 = data.url;
|
|
86
|
+
const _errs5 = errors;
|
|
87
|
+
const _errs6 = errors;
|
|
88
|
+
let valid2 = false;
|
|
89
|
+
let passing1 = null;
|
|
90
|
+
const _errs7 = errors;
|
|
91
|
+
if(typeof data0 !== "string"){
|
|
92
|
+
let dataType0 = typeof data0;
|
|
93
|
+
let coerced0 = undefined;
|
|
94
|
+
if(!(coerced0 !== undefined)){
|
|
95
|
+
if(dataType0 == "number" || dataType0 == "boolean"){
|
|
96
|
+
coerced0 = "" + data0;
|
|
97
|
+
}
|
|
98
|
+
else if(data0 === null){
|
|
99
|
+
coerced0 = "";
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
const err3 = {instancePath:instancePath+"/url",schemaPath:"#/properties/url/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
103
|
+
if(vErrors === null){
|
|
104
|
+
vErrors = [err3];
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
vErrors.push(err3);
|
|
108
|
+
}
|
|
109
|
+
errors++;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
if(coerced0 !== undefined){
|
|
113
|
+
data0 = coerced0;
|
|
114
|
+
if(data !== undefined){
|
|
115
|
+
data["url"] = coerced0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
var _valid1 = _errs7 === errors;
|
|
120
|
+
if(_valid1){
|
|
121
|
+
valid2 = true;
|
|
122
|
+
passing1 = 0;
|
|
123
|
+
}
|
|
124
|
+
const _errs9 = errors;
|
|
125
|
+
if(errors === _errs9){
|
|
126
|
+
if(data0 && typeof data0 == "object" && !Array.isArray(data0)){
|
|
127
|
+
let missing2;
|
|
128
|
+
if((data0.pathname === undefined) && (missing2 = "pathname")){
|
|
129
|
+
const err4 = {instancePath:instancePath+"/url",schemaPath:"#/properties/url/oneOf/1/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};
|
|
130
|
+
if(vErrors === null){
|
|
131
|
+
vErrors = [err4];
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
vErrors.push(err4);
|
|
135
|
+
}
|
|
136
|
+
errors++;
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
if(data0.protocol !== undefined){
|
|
140
|
+
let data1 = data0.protocol;
|
|
141
|
+
const _errs12 = errors;
|
|
142
|
+
if(typeof data1 !== "string"){
|
|
143
|
+
let dataType1 = typeof data1;
|
|
144
|
+
let coerced1 = undefined;
|
|
145
|
+
if(!(coerced1 !== undefined)){
|
|
146
|
+
if(dataType1 == "number" || dataType1 == "boolean"){
|
|
147
|
+
coerced1 = "" + data1;
|
|
148
|
+
}
|
|
149
|
+
else if(data1 === null){
|
|
150
|
+
coerced1 = "";
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
const err5 = {instancePath:instancePath+"/url/protocol",schemaPath:"#/properties/url/oneOf/1/properties/protocol/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
154
|
+
if(vErrors === null){
|
|
155
|
+
vErrors = [err5];
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
vErrors.push(err5);
|
|
159
|
+
}
|
|
160
|
+
errors++;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
if(coerced1 !== undefined){
|
|
164
|
+
data1 = coerced1;
|
|
165
|
+
if(data0 !== undefined){
|
|
166
|
+
data0["protocol"] = coerced1;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
var valid3 = _errs12 === errors;
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
var valid3 = true;
|
|
174
|
+
}
|
|
175
|
+
if(valid3){
|
|
176
|
+
if(data0.hostname !== undefined){
|
|
177
|
+
let data2 = data0.hostname;
|
|
178
|
+
const _errs14 = errors;
|
|
179
|
+
if(typeof data2 !== "string"){
|
|
180
|
+
let dataType2 = typeof data2;
|
|
181
|
+
let coerced2 = undefined;
|
|
182
|
+
if(!(coerced2 !== undefined)){
|
|
183
|
+
if(dataType2 == "number" || dataType2 == "boolean"){
|
|
184
|
+
coerced2 = "" + data2;
|
|
185
|
+
}
|
|
186
|
+
else if(data2 === null){
|
|
187
|
+
coerced2 = "";
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
const err6 = {instancePath:instancePath+"/url/hostname",schemaPath:"#/properties/url/oneOf/1/properties/hostname/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
191
|
+
if(vErrors === null){
|
|
192
|
+
vErrors = [err6];
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
vErrors.push(err6);
|
|
196
|
+
}
|
|
197
|
+
errors++;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
if(coerced2 !== undefined){
|
|
201
|
+
data2 = coerced2;
|
|
202
|
+
if(data0 !== undefined){
|
|
203
|
+
data0["hostname"] = coerced2;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
var valid3 = _errs14 === errors;
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
var valid3 = true;
|
|
211
|
+
}
|
|
212
|
+
if(valid3){
|
|
213
|
+
if(data0.pathname !== undefined){
|
|
214
|
+
let data3 = data0.pathname;
|
|
215
|
+
const _errs16 = errors;
|
|
216
|
+
if(typeof data3 !== "string"){
|
|
217
|
+
let dataType3 = typeof data3;
|
|
218
|
+
let coerced3 = undefined;
|
|
219
|
+
if(!(coerced3 !== undefined)){
|
|
220
|
+
if(dataType3 == "number" || dataType3 == "boolean"){
|
|
221
|
+
coerced3 = "" + data3;
|
|
222
|
+
}
|
|
223
|
+
else if(data3 === null){
|
|
224
|
+
coerced3 = "";
|
|
225
|
+
}
|
|
226
|
+
else {
|
|
227
|
+
const err7 = {instancePath:instancePath+"/url/pathname",schemaPath:"#/properties/url/oneOf/1/properties/pathname/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
228
|
+
if(vErrors === null){
|
|
229
|
+
vErrors = [err7];
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
vErrors.push(err7);
|
|
233
|
+
}
|
|
234
|
+
errors++;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
if(coerced3 !== undefined){
|
|
238
|
+
data3 = coerced3;
|
|
239
|
+
if(data0 !== undefined){
|
|
240
|
+
data0["pathname"] = coerced3;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
var valid3 = _errs16 === errors;
|
|
245
|
+
}
|
|
246
|
+
else {
|
|
247
|
+
var valid3 = true;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
else {
|
|
254
|
+
const err8 = {instancePath:instancePath+"/url",schemaPath:"#/properties/url/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};
|
|
255
|
+
if(vErrors === null){
|
|
256
|
+
vErrors = [err8];
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
vErrors.push(err8);
|
|
260
|
+
}
|
|
261
|
+
errors++;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
var _valid1 = _errs9 === errors;
|
|
265
|
+
if(_valid1 && valid2){
|
|
266
|
+
valid2 = false;
|
|
267
|
+
passing1 = [passing1, 1];
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
if(_valid1){
|
|
271
|
+
valid2 = true;
|
|
272
|
+
passing1 = 1;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
if(!valid2){
|
|
276
|
+
const err9 = {instancePath:instancePath+"/url",schemaPath:"#/properties/url/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};
|
|
277
|
+
if(vErrors === null){
|
|
278
|
+
vErrors = [err9];
|
|
279
|
+
}
|
|
280
|
+
else {
|
|
281
|
+
vErrors.push(err9);
|
|
282
|
+
}
|
|
283
|
+
errors++;
|
|
284
|
+
validate10.errors = vErrors;
|
|
285
|
+
return false;
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
errors = _errs6;
|
|
289
|
+
if(vErrors !== null){
|
|
290
|
+
if(_errs6){
|
|
291
|
+
vErrors.length = _errs6;
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
vErrors = null;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
var valid1 = _errs5 === errors;
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
var valid1 = true;
|
|
302
|
+
}
|
|
303
|
+
if(valid1){
|
|
304
|
+
if(data.path !== undefined){
|
|
305
|
+
let data4 = data.path;
|
|
306
|
+
const _errs18 = errors;
|
|
307
|
+
const _errs19 = errors;
|
|
308
|
+
let valid4 = false;
|
|
309
|
+
let passing2 = null;
|
|
310
|
+
const _errs20 = errors;
|
|
311
|
+
if(typeof data4 !== "string"){
|
|
312
|
+
let dataType4 = typeof data4;
|
|
313
|
+
let coerced4 = undefined;
|
|
314
|
+
if(!(coerced4 !== undefined)){
|
|
315
|
+
if(dataType4 == "number" || dataType4 == "boolean"){
|
|
316
|
+
coerced4 = "" + data4;
|
|
317
|
+
}
|
|
318
|
+
else if(data4 === null){
|
|
319
|
+
coerced4 = "";
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
const err10 = {instancePath:instancePath+"/path",schemaPath:"#/properties/path/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
323
|
+
if(vErrors === null){
|
|
324
|
+
vErrors = [err10];
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
vErrors.push(err10);
|
|
328
|
+
}
|
|
329
|
+
errors++;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
if(coerced4 !== undefined){
|
|
333
|
+
data4 = coerced4;
|
|
334
|
+
if(data !== undefined){
|
|
335
|
+
data["path"] = coerced4;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
var _valid2 = _errs20 === errors;
|
|
340
|
+
if(_valid2){
|
|
341
|
+
valid4 = true;
|
|
342
|
+
passing2 = 0;
|
|
343
|
+
}
|
|
344
|
+
const _errs22 = errors;
|
|
345
|
+
if(errors === _errs22){
|
|
346
|
+
if(data4 && typeof data4 == "object" && !Array.isArray(data4)){
|
|
347
|
+
let missing3;
|
|
348
|
+
if((data4.pathname === undefined) && (missing3 = "pathname")){
|
|
349
|
+
const err11 = {instancePath:instancePath+"/path",schemaPath:"#/properties/path/oneOf/1/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};
|
|
350
|
+
if(vErrors === null){
|
|
351
|
+
vErrors = [err11];
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
vErrors.push(err11);
|
|
355
|
+
}
|
|
356
|
+
errors++;
|
|
357
|
+
}
|
|
358
|
+
else {
|
|
359
|
+
if(data4.protocol !== undefined){
|
|
360
|
+
let data5 = data4.protocol;
|
|
361
|
+
const _errs25 = errors;
|
|
362
|
+
if(typeof data5 !== "string"){
|
|
363
|
+
let dataType5 = typeof data5;
|
|
364
|
+
let coerced5 = undefined;
|
|
365
|
+
if(!(coerced5 !== undefined)){
|
|
366
|
+
if(dataType5 == "number" || dataType5 == "boolean"){
|
|
367
|
+
coerced5 = "" + data5;
|
|
368
|
+
}
|
|
369
|
+
else if(data5 === null){
|
|
370
|
+
coerced5 = "";
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
const err12 = {instancePath:instancePath+"/path/protocol",schemaPath:"#/properties/path/oneOf/1/properties/protocol/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
374
|
+
if(vErrors === null){
|
|
375
|
+
vErrors = [err12];
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
vErrors.push(err12);
|
|
379
|
+
}
|
|
380
|
+
errors++;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if(coerced5 !== undefined){
|
|
384
|
+
data5 = coerced5;
|
|
385
|
+
if(data4 !== undefined){
|
|
386
|
+
data4["protocol"] = coerced5;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
var valid5 = _errs25 === errors;
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
var valid5 = true;
|
|
394
|
+
}
|
|
395
|
+
if(valid5){
|
|
396
|
+
if(data4.hostname !== undefined){
|
|
397
|
+
let data6 = data4.hostname;
|
|
398
|
+
const _errs27 = errors;
|
|
399
|
+
if(typeof data6 !== "string"){
|
|
400
|
+
let dataType6 = typeof data6;
|
|
401
|
+
let coerced6 = undefined;
|
|
402
|
+
if(!(coerced6 !== undefined)){
|
|
403
|
+
if(dataType6 == "number" || dataType6 == "boolean"){
|
|
404
|
+
coerced6 = "" + data6;
|
|
405
|
+
}
|
|
406
|
+
else if(data6 === null){
|
|
407
|
+
coerced6 = "";
|
|
408
|
+
}
|
|
409
|
+
else {
|
|
410
|
+
const err13 = {instancePath:instancePath+"/path/hostname",schemaPath:"#/properties/path/oneOf/1/properties/hostname/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
411
|
+
if(vErrors === null){
|
|
412
|
+
vErrors = [err13];
|
|
413
|
+
}
|
|
414
|
+
else {
|
|
415
|
+
vErrors.push(err13);
|
|
416
|
+
}
|
|
417
|
+
errors++;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
if(coerced6 !== undefined){
|
|
421
|
+
data6 = coerced6;
|
|
422
|
+
if(data4 !== undefined){
|
|
423
|
+
data4["hostname"] = coerced6;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
var valid5 = _errs27 === errors;
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
var valid5 = true;
|
|
431
|
+
}
|
|
432
|
+
if(valid5){
|
|
433
|
+
if(data4.pathname !== undefined){
|
|
434
|
+
let data7 = data4.pathname;
|
|
435
|
+
const _errs29 = errors;
|
|
436
|
+
if(typeof data7 !== "string"){
|
|
437
|
+
let dataType7 = typeof data7;
|
|
438
|
+
let coerced7 = undefined;
|
|
439
|
+
if(!(coerced7 !== undefined)){
|
|
440
|
+
if(dataType7 == "number" || dataType7 == "boolean"){
|
|
441
|
+
coerced7 = "" + data7;
|
|
442
|
+
}
|
|
443
|
+
else if(data7 === null){
|
|
444
|
+
coerced7 = "";
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
const err14 = {instancePath:instancePath+"/path/pathname",schemaPath:"#/properties/path/oneOf/1/properties/pathname/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
448
|
+
if(vErrors === null){
|
|
449
|
+
vErrors = [err14];
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
vErrors.push(err14);
|
|
453
|
+
}
|
|
454
|
+
errors++;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
if(coerced7 !== undefined){
|
|
458
|
+
data7 = coerced7;
|
|
459
|
+
if(data4 !== undefined){
|
|
460
|
+
data4["pathname"] = coerced7;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
var valid5 = _errs29 === errors;
|
|
465
|
+
}
|
|
466
|
+
else {
|
|
467
|
+
var valid5 = true;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
const err15 = {instancePath:instancePath+"/path",schemaPath:"#/properties/path/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};
|
|
475
|
+
if(vErrors === null){
|
|
476
|
+
vErrors = [err15];
|
|
477
|
+
}
|
|
478
|
+
else {
|
|
479
|
+
vErrors.push(err15);
|
|
480
|
+
}
|
|
481
|
+
errors++;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
var _valid2 = _errs22 === errors;
|
|
485
|
+
if(_valid2 && valid4){
|
|
486
|
+
valid4 = false;
|
|
487
|
+
passing2 = [passing2, 1];
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
if(_valid2){
|
|
491
|
+
valid4 = true;
|
|
492
|
+
passing2 = 1;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
if(!valid4){
|
|
496
|
+
const err16 = {instancePath:instancePath+"/path",schemaPath:"#/properties/path/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};
|
|
497
|
+
if(vErrors === null){
|
|
498
|
+
vErrors = [err16];
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
vErrors.push(err16);
|
|
502
|
+
}
|
|
503
|
+
errors++;
|
|
504
|
+
validate10.errors = vErrors;
|
|
505
|
+
return false;
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
errors = _errs19;
|
|
509
|
+
if(vErrors !== null){
|
|
510
|
+
if(_errs19){
|
|
511
|
+
vErrors.length = _errs19;
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
vErrors = null;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
var valid1 = _errs18 === errors;
|
|
519
|
+
}
|
|
520
|
+
else {
|
|
521
|
+
var valid1 = true;
|
|
522
|
+
}
|
|
523
|
+
if(valid1){
|
|
524
|
+
if(data.cookies !== undefined){
|
|
525
|
+
let data8 = data.cookies;
|
|
526
|
+
const _errs31 = errors;
|
|
527
|
+
if(errors === _errs31){
|
|
528
|
+
if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){
|
|
529
|
+
validate10.errors = [{instancePath:instancePath+"/cookies",schemaPath:"#/properties/cookies/type",keyword:"type",params:{type: "object"},message:"must be object"}];
|
|
530
|
+
return false;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
var valid1 = _errs31 === errors;
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
var valid1 = true;
|
|
537
|
+
}
|
|
538
|
+
if(valid1){
|
|
539
|
+
if(data.headers !== undefined){
|
|
540
|
+
let data9 = data.headers;
|
|
541
|
+
const _errs34 = errors;
|
|
542
|
+
if(errors === _errs34){
|
|
543
|
+
if(!(data9 && typeof data9 == "object" && !Array.isArray(data9))){
|
|
544
|
+
validate10.errors = [{instancePath:instancePath+"/headers",schemaPath:"#/properties/headers/type",keyword:"type",params:{type: "object"},message:"must be object"}];
|
|
545
|
+
return false;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
var valid1 = _errs34 === errors;
|
|
549
|
+
}
|
|
550
|
+
else {
|
|
551
|
+
var valid1 = true;
|
|
552
|
+
}
|
|
553
|
+
if(valid1){
|
|
554
|
+
if(data.query !== undefined){
|
|
555
|
+
let data10 = data.query;
|
|
556
|
+
const _errs37 = errors;
|
|
557
|
+
const _errs38 = errors;
|
|
558
|
+
let valid6 = false;
|
|
559
|
+
const _errs39 = errors;
|
|
560
|
+
if(errors === _errs39){
|
|
561
|
+
if(!(data10 && typeof data10 == "object" && !Array.isArray(data10))){
|
|
562
|
+
const err17 = {instancePath:instancePath+"/query",schemaPath:"#/properties/query/anyOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};
|
|
563
|
+
if(vErrors === null){
|
|
564
|
+
vErrors = [err17];
|
|
565
|
+
}
|
|
566
|
+
else {
|
|
567
|
+
vErrors.push(err17);
|
|
568
|
+
}
|
|
569
|
+
errors++;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
var _valid3 = _errs39 === errors;
|
|
573
|
+
valid6 = valid6 || _valid3;
|
|
574
|
+
if(!valid6){
|
|
575
|
+
const _errs42 = errors;
|
|
576
|
+
if(typeof data10 !== "string"){
|
|
577
|
+
let dataType8 = typeof data10;
|
|
578
|
+
let coerced8 = undefined;
|
|
579
|
+
if(!(coerced8 !== undefined)){
|
|
580
|
+
if(dataType8 == "number" || dataType8 == "boolean"){
|
|
581
|
+
coerced8 = "" + data10;
|
|
582
|
+
}
|
|
583
|
+
else if(data10 === null){
|
|
584
|
+
coerced8 = "";
|
|
585
|
+
}
|
|
586
|
+
else {
|
|
587
|
+
const err18 = {instancePath:instancePath+"/query",schemaPath:"#/properties/query/anyOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};
|
|
588
|
+
if(vErrors === null){
|
|
589
|
+
vErrors = [err18];
|
|
590
|
+
}
|
|
591
|
+
else {
|
|
592
|
+
vErrors.push(err18);
|
|
593
|
+
}
|
|
594
|
+
errors++;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
if(coerced8 !== undefined){
|
|
598
|
+
data10 = coerced8;
|
|
599
|
+
if(data !== undefined){
|
|
600
|
+
data["query"] = coerced8;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
var _valid3 = _errs42 === errors;
|
|
605
|
+
valid6 = valid6 || _valid3;
|
|
606
|
+
}
|
|
607
|
+
if(!valid6){
|
|
608
|
+
const err19 = {instancePath:instancePath+"/query",schemaPath:"#/properties/query/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};
|
|
609
|
+
if(vErrors === null){
|
|
610
|
+
vErrors = [err19];
|
|
611
|
+
}
|
|
612
|
+
else {
|
|
613
|
+
vErrors.push(err19);
|
|
614
|
+
}
|
|
615
|
+
errors++;
|
|
616
|
+
validate10.errors = vErrors;
|
|
617
|
+
return false;
|
|
618
|
+
}
|
|
619
|
+
else {
|
|
620
|
+
errors = _errs38;
|
|
621
|
+
if(vErrors !== null){
|
|
622
|
+
if(_errs38){
|
|
623
|
+
vErrors.length = _errs38;
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
vErrors = null;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
var valid1 = _errs37 === errors;
|
|
631
|
+
}
|
|
632
|
+
else {
|
|
633
|
+
var valid1 = true;
|
|
634
|
+
}
|
|
635
|
+
if(valid1){
|
|
636
|
+
if(data.simulate !== undefined){
|
|
637
|
+
let data11 = data.simulate;
|
|
638
|
+
const _errs44 = errors;
|
|
639
|
+
if(errors === _errs44){
|
|
640
|
+
if(data11 && typeof data11 == "object" && !Array.isArray(data11)){
|
|
641
|
+
if(data11.end !== undefined){
|
|
642
|
+
let data12 = data11.end;
|
|
643
|
+
const _errs46 = errors;
|
|
644
|
+
if(typeof data12 !== "boolean"){
|
|
645
|
+
let coerced9 = undefined;
|
|
646
|
+
if(!(coerced9 !== undefined)){
|
|
647
|
+
if(data12 === "false" || data12 === 0 || data12 === null){
|
|
648
|
+
coerced9 = false;
|
|
649
|
+
}
|
|
650
|
+
else if(data12 === "true" || data12 === 1){
|
|
651
|
+
coerced9 = true;
|
|
652
|
+
}
|
|
653
|
+
else {
|
|
654
|
+
validate10.errors = [{instancePath:instancePath+"/simulate/end",schemaPath:"#/properties/simulate/properties/end/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];
|
|
655
|
+
return false;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
if(coerced9 !== undefined){
|
|
659
|
+
data12 = coerced9;
|
|
660
|
+
if(data11 !== undefined){
|
|
661
|
+
data11["end"] = coerced9;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
var valid7 = _errs46 === errors;
|
|
666
|
+
}
|
|
667
|
+
else {
|
|
668
|
+
var valid7 = true;
|
|
669
|
+
}
|
|
670
|
+
if(valid7){
|
|
671
|
+
if(data11.split !== undefined){
|
|
672
|
+
let data13 = data11.split;
|
|
673
|
+
const _errs48 = errors;
|
|
674
|
+
if(typeof data13 !== "boolean"){
|
|
675
|
+
let coerced10 = undefined;
|
|
676
|
+
if(!(coerced10 !== undefined)){
|
|
677
|
+
if(data13 === "false" || data13 === 0 || data13 === null){
|
|
678
|
+
coerced10 = false;
|
|
679
|
+
}
|
|
680
|
+
else if(data13 === "true" || data13 === 1){
|
|
681
|
+
coerced10 = true;
|
|
682
|
+
}
|
|
683
|
+
else {
|
|
684
|
+
validate10.errors = [{instancePath:instancePath+"/simulate/split",schemaPath:"#/properties/simulate/properties/split/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];
|
|
685
|
+
return false;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
if(coerced10 !== undefined){
|
|
689
|
+
data13 = coerced10;
|
|
690
|
+
if(data11 !== undefined){
|
|
691
|
+
data11["split"] = coerced10;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
var valid7 = _errs48 === errors;
|
|
696
|
+
}
|
|
697
|
+
else {
|
|
698
|
+
var valid7 = true;
|
|
699
|
+
}
|
|
700
|
+
if(valid7){
|
|
701
|
+
if(data11.error !== undefined){
|
|
702
|
+
let data14 = data11.error;
|
|
703
|
+
const _errs50 = errors;
|
|
704
|
+
if(typeof data14 !== "boolean"){
|
|
705
|
+
let coerced11 = undefined;
|
|
706
|
+
if(!(coerced11 !== undefined)){
|
|
707
|
+
if(data14 === "false" || data14 === 0 || data14 === null){
|
|
708
|
+
coerced11 = false;
|
|
709
|
+
}
|
|
710
|
+
else if(data14 === "true" || data14 === 1){
|
|
711
|
+
coerced11 = true;
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
validate10.errors = [{instancePath:instancePath+"/simulate/error",schemaPath:"#/properties/simulate/properties/error/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];
|
|
715
|
+
return false;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
if(coerced11 !== undefined){
|
|
719
|
+
data14 = coerced11;
|
|
720
|
+
if(data11 !== undefined){
|
|
721
|
+
data11["error"] = coerced11;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
var valid7 = _errs50 === errors;
|
|
726
|
+
}
|
|
727
|
+
else {
|
|
728
|
+
var valid7 = true;
|
|
729
|
+
}
|
|
730
|
+
if(valid7){
|
|
731
|
+
if(data11.close !== undefined){
|
|
732
|
+
let data15 = data11.close;
|
|
733
|
+
const _errs52 = errors;
|
|
734
|
+
if(typeof data15 !== "boolean"){
|
|
735
|
+
let coerced12 = undefined;
|
|
736
|
+
if(!(coerced12 !== undefined)){
|
|
737
|
+
if(data15 === "false" || data15 === 0 || data15 === null){
|
|
738
|
+
coerced12 = false;
|
|
739
|
+
}
|
|
740
|
+
else if(data15 === "true" || data15 === 1){
|
|
741
|
+
coerced12 = true;
|
|
742
|
+
}
|
|
743
|
+
else {
|
|
744
|
+
validate10.errors = [{instancePath:instancePath+"/simulate/close",schemaPath:"#/properties/simulate/properties/close/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];
|
|
745
|
+
return false;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
if(coerced12 !== undefined){
|
|
749
|
+
data15 = coerced12;
|
|
750
|
+
if(data11 !== undefined){
|
|
751
|
+
data11["close"] = coerced12;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
var valid7 = _errs52 === errors;
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
758
|
+
var valid7 = true;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
else {
|
|
765
|
+
validate10.errors = [{instancePath:instancePath+"/simulate",schemaPath:"#/properties/simulate/type",keyword:"type",params:{type: "object"},message:"must be object"}];
|
|
766
|
+
return false;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
var valid1 = _errs44 === errors;
|
|
770
|
+
}
|
|
771
|
+
else {
|
|
772
|
+
var valid1 = true;
|
|
773
|
+
}
|
|
774
|
+
if(valid1){
|
|
775
|
+
if(data.authority !== undefined){
|
|
776
|
+
let data16 = data.authority;
|
|
777
|
+
const _errs54 = errors;
|
|
778
|
+
if(typeof data16 !== "string"){
|
|
779
|
+
let dataType13 = typeof data16;
|
|
780
|
+
let coerced13 = undefined;
|
|
781
|
+
if(!(coerced13 !== undefined)){
|
|
782
|
+
if(dataType13 == "number" || dataType13 == "boolean"){
|
|
783
|
+
coerced13 = "" + data16;
|
|
784
|
+
}
|
|
785
|
+
else if(data16 === null){
|
|
786
|
+
coerced13 = "";
|
|
787
|
+
}
|
|
788
|
+
else {
|
|
789
|
+
validate10.errors = [{instancePath:instancePath+"/authority",schemaPath:"#/properties/authority/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
790
|
+
return false;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
if(coerced13 !== undefined){
|
|
794
|
+
data16 = coerced13;
|
|
795
|
+
if(data !== undefined){
|
|
796
|
+
data["authority"] = coerced13;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
var valid1 = _errs54 === errors;
|
|
801
|
+
}
|
|
802
|
+
else {
|
|
803
|
+
var valid1 = true;
|
|
804
|
+
}
|
|
805
|
+
if(valid1){
|
|
806
|
+
if(data.remoteAddress !== undefined){
|
|
807
|
+
let data17 = data.remoteAddress;
|
|
808
|
+
const _errs56 = errors;
|
|
809
|
+
if(typeof data17 !== "string"){
|
|
810
|
+
let dataType14 = typeof data17;
|
|
811
|
+
let coerced14 = undefined;
|
|
812
|
+
if(!(coerced14 !== undefined)){
|
|
813
|
+
if(dataType14 == "number" || dataType14 == "boolean"){
|
|
814
|
+
coerced14 = "" + data17;
|
|
815
|
+
}
|
|
816
|
+
else if(data17 === null){
|
|
817
|
+
coerced14 = "";
|
|
818
|
+
}
|
|
819
|
+
else {
|
|
820
|
+
validate10.errors = [{instancePath:instancePath+"/remoteAddress",schemaPath:"#/properties/remoteAddress/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
821
|
+
return false;
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
if(coerced14 !== undefined){
|
|
825
|
+
data17 = coerced14;
|
|
826
|
+
if(data !== undefined){
|
|
827
|
+
data["remoteAddress"] = coerced14;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
var valid1 = _errs56 === errors;
|
|
832
|
+
}
|
|
833
|
+
else {
|
|
834
|
+
var valid1 = true;
|
|
835
|
+
}
|
|
836
|
+
if(valid1){
|
|
837
|
+
if(data.method !== undefined){
|
|
838
|
+
let data18 = data.method;
|
|
839
|
+
const _errs58 = errors;
|
|
840
|
+
if(typeof data18 !== "string"){
|
|
841
|
+
let dataType15 = typeof data18;
|
|
842
|
+
let coerced15 = undefined;
|
|
843
|
+
if(!(coerced15 !== undefined)){
|
|
844
|
+
if(dataType15 == "number" || dataType15 == "boolean"){
|
|
845
|
+
coerced15 = "" + data18;
|
|
846
|
+
}
|
|
847
|
+
else if(data18 === null){
|
|
848
|
+
coerced15 = "";
|
|
849
|
+
}
|
|
850
|
+
else {
|
|
851
|
+
validate10.errors = [{instancePath:instancePath+"/method",schemaPath:"#/properties/method/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
852
|
+
return false;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
if(coerced15 !== undefined){
|
|
856
|
+
data18 = coerced15;
|
|
857
|
+
if(data !== undefined){
|
|
858
|
+
data["method"] = coerced15;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
if(!((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((data18 === "ACL") || (data18 === "BIND")) || (data18 === "CHECKOUT")) || (data18 === "CONNECT")) || (data18 === "COPY")) || (data18 === "DELETE")) || (data18 === "GET")) || (data18 === "HEAD")) || (data18 === "LINK")) || (data18 === "LOCK")) || (data18 === "M-SEARCH")) || (data18 === "MERGE")) || (data18 === "MKACTIVITY")) || (data18 === "MKCALENDAR")) || (data18 === "MKCOL")) || (data18 === "MOVE")) || (data18 === "NOTIFY")) || (data18 === "OPTIONS")) || (data18 === "PATCH")) || (data18 === "POST")) || (data18 === "PROPFIND")) || (data18 === "PROPPATCH")) || (data18 === "PURGE")) || (data18 === "PUT")) || (data18 === "QUERY")) || (data18 === "REBIND")) || (data18 === "REPORT")) || (data18 === "SEARCH")) || (data18 === "SOURCE")) || (data18 === "SUBSCRIBE")) || (data18 === "TRACE")) || (data18 === "UNBIND")) || (data18 === "UNLINK")) || (data18 === "UNLOCK")) || (data18 === "UNSUBSCRIBE")) || (data18 === "acl")) || (data18 === "bind")) || (data18 === "checkout")) || (data18 === "connect")) || (data18 === "copy")) || (data18 === "delete")) || (data18 === "get")) || (data18 === "head")) || (data18 === "link")) || (data18 === "lock")) || (data18 === "m-search")) || (data18 === "merge")) || (data18 === "mkactivity")) || (data18 === "mkcalendar")) || (data18 === "mkcol")) || (data18 === "move")) || (data18 === "notify")) || (data18 === "options")) || (data18 === "patch")) || (data18 === "post")) || (data18 === "propfind")) || (data18 === "proppatch")) || (data18 === "purge")) || (data18 === "put")) || (data18 === "query")) || (data18 === "rebind")) || (data18 === "report")) || (data18 === "search")) || (data18 === "source")) || (data18 === "subscribe")) || (data18 === "trace")) || (data18 === "unbind")) || (data18 === "unlink")) || (data18 === "unlock")) || (data18 === "unsubscribe"))){
|
|
863
|
+
validate10.errors = [{instancePath:instancePath+"/method",schemaPath:"#/properties/method/enum",keyword:"enum",params:{allowedValues: schema11.properties.method.enum},message:"must be equal to one of the allowed values"}];
|
|
864
|
+
return false;
|
|
865
|
+
}
|
|
866
|
+
var valid1 = _errs58 === errors;
|
|
867
|
+
}
|
|
868
|
+
else {
|
|
869
|
+
var valid1 = true;
|
|
870
|
+
}
|
|
871
|
+
if(valid1){
|
|
872
|
+
if(data.validate !== undefined){
|
|
873
|
+
let data19 = data.validate;
|
|
874
|
+
const _errs60 = errors;
|
|
875
|
+
if(typeof data19 !== "boolean"){
|
|
876
|
+
let coerced16 = undefined;
|
|
877
|
+
if(!(coerced16 !== undefined)){
|
|
878
|
+
if(data19 === "false" || data19 === 0 || data19 === null){
|
|
879
|
+
coerced16 = false;
|
|
880
|
+
}
|
|
881
|
+
else if(data19 === "true" || data19 === 1){
|
|
882
|
+
coerced16 = true;
|
|
883
|
+
}
|
|
884
|
+
else {
|
|
885
|
+
validate10.errors = [{instancePath:instancePath+"/validate",schemaPath:"#/properties/validate/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];
|
|
886
|
+
return false;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
if(coerced16 !== undefined){
|
|
890
|
+
data19 = coerced16;
|
|
891
|
+
if(data !== undefined){
|
|
892
|
+
data["validate"] = coerced16;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
var valid1 = _errs60 === errors;
|
|
897
|
+
}
|
|
898
|
+
else {
|
|
899
|
+
var valid1 = true;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
else {
|
|
912
|
+
validate10.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];
|
|
913
|
+
return false;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
validate10.errors = vErrors;
|
|
917
|
+
return errors === 0;
|
|
918
|
+
}
|
|
919
|
+
|