@es-joy/jsoe 0.24.3 → 0.25.0
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/.claude/settings.local.json +9 -0
- package/.ncurc.cjs +2 -2
- package/CHANGES.md +47 -0
- package/README.md +23 -13
- package/badges/coverage-badge.svg +1 -1
- package/dist/eslint.config.d.ts +3 -0
- package/dist/eslint.config.d.ts.map +1 -0
- package/dist/formatAndTypeChoices.d.ts +28 -30
- package/dist/formatAndTypeChoices.d.ts.map +1 -1
- package/dist/formats/indexedDBKey.d.ts.map +1 -1
- package/dist/formats/schema.d.ts +46 -3
- package/dist/formats/schema.d.ts.map +1 -1
- package/dist/formats/structuredCloning.d.ts +3 -0
- package/dist/formats/structuredCloning.d.ts.map +1 -1
- package/dist/formats.d.ts +24 -6
- package/dist/formats.d.ts.map +1 -1
- package/dist/fundamentalTypes/BooleanObjectType.d.ts.map +1 -1
- package/dist/fundamentalTypes/NumberObjectType.d.ts.map +1 -1
- package/dist/fundamentalTypes/StringObjectType.d.ts.map +1 -1
- package/dist/fundamentalTypes/arrayReferenceType.d.ts.map +1 -1
- package/dist/fundamentalTypes/arrayType.d.ts +7 -0
- package/dist/fundamentalTypes/arrayType.d.ts.map +1 -1
- package/dist/fundamentalTypes/bigintObjectType.d.ts.map +1 -1
- package/dist/fundamentalTypes/bigintType.d.ts +10 -0
- package/dist/fundamentalTypes/bigintType.d.ts.map +1 -1
- package/dist/fundamentalTypes/blobType.d.ts.map +1 -1
- package/dist/fundamentalTypes/booleanType.d.ts.map +1 -1
- package/dist/fundamentalTypes/catchType.d.ts +2 -2
- package/dist/fundamentalTypes/catchType.d.ts.map +1 -1
- package/dist/fundamentalTypes/dateType.d.ts.map +1 -1
- package/dist/fundamentalTypes/domexceptionType.d.ts.map +1 -1
- package/dist/fundamentalTypes/enumType.d.ts +2 -2
- package/dist/fundamentalTypes/enumType.d.ts.map +1 -1
- package/dist/fundamentalTypes/errorType.d.ts.map +1 -1
- package/dist/fundamentalTypes/fileType.d.ts +6 -0
- package/dist/fundamentalTypes/fileType.d.ts.map +1 -1
- package/dist/fundamentalTypes/functionType.d.ts.map +1 -1
- package/dist/fundamentalTypes/literalType.d.ts +3 -2
- package/dist/fundamentalTypes/literalType.d.ts.map +1 -1
- package/dist/fundamentalTypes/looseRecordType.d.ts +6 -0
- package/dist/fundamentalTypes/looseRecordType.d.ts.map +1 -0
- package/dist/fundamentalTypes/nanType.d.ts.map +1 -1
- package/dist/fundamentalTypes/neverType.d.ts +2 -2
- package/dist/fundamentalTypes/neverType.d.ts.map +1 -1
- package/dist/fundamentalTypes/noneditableType.d.ts.map +1 -1
- package/dist/fundamentalTypes/nullType.d.ts.map +1 -1
- package/dist/fundamentalTypes/numberType.d.ts.map +1 -1
- package/dist/fundamentalTypes/promiseType.d.ts.map +1 -1
- package/dist/fundamentalTypes/regexpType.d.ts.map +1 -1
- package/dist/fundamentalTypes/stringType.d.ts.map +1 -1
- package/dist/fundamentalTypes/symbolType.d.ts.map +1 -1
- package/dist/fundamentalTypes/undefinedType.d.ts.map +1 -1
- package/dist/fundamentalTypes/voidType.d.ts +2 -2
- package/dist/fundamentalTypes/voidType.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/rollup.config.d.ts +30 -0
- package/dist/rollup.config.d.ts.map +1 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/src/formatAndTypeChoices.d.ts +108 -0
- package/dist/src/formatAndTypeChoices.d.ts.map +1 -0
- package/dist/src/formats/arbitraryJS.d.ts +4 -0
- package/dist/src/formats/arbitraryJS.d.ts.map +1 -0
- package/dist/src/formats/indexedDBKey.d.ts +4 -0
- package/dist/src/formats/indexedDBKey.d.ts.map +1 -0
- package/dist/src/formats/json.d.ts +4 -0
- package/dist/src/formats/json.d.ts.map +1 -0
- package/dist/src/formats/schema.d.ts +17 -0
- package/dist/src/formats/schema.d.ts.map +1 -0
- package/dist/src/formats/structuredCloning.d.ts +19 -0
- package/dist/src/formats/structuredCloning.d.ts.map +1 -0
- package/dist/src/formats.d.ts +135 -0
- package/dist/src/formats.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/BooleanObjectType.d.ts +8 -0
- package/dist/src/fundamentalTypes/BooleanObjectType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/NumberObjectType.d.ts +6 -0
- package/dist/src/fundamentalTypes/NumberObjectType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/StringObjectType.d.ts +6 -0
- package/dist/src/fundamentalTypes/StringObjectType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/arrayReferenceType.d.ts +8 -0
- package/dist/src/fundamentalTypes/arrayReferenceType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/arrayType.d.ts +29 -0
- package/dist/src/fundamentalTypes/arrayType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/bigintObjectType.d.ts +6 -0
- package/dist/src/fundamentalTypes/bigintObjectType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/bigintType.d.ts +6 -0
- package/dist/src/fundamentalTypes/bigintType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/blobType.d.ts +11 -0
- package/dist/src/fundamentalTypes/blobType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/booleanType.d.ts +8 -0
- package/dist/src/fundamentalTypes/booleanType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/catchType.d.ts +6 -0
- package/dist/src/fundamentalTypes/catchType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/dateType.d.ts +26 -0
- package/dist/src/fundamentalTypes/dateType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/domexceptionType.d.ts +6 -0
- package/dist/src/fundamentalTypes/domexceptionType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/enumType.d.ts +6 -0
- package/dist/src/fundamentalTypes/enumType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/errorType.d.ts +6 -0
- package/dist/src/fundamentalTypes/errorType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/fileType.d.ts +13 -0
- package/dist/src/fundamentalTypes/fileType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/filelistType.d.ts +6 -0
- package/dist/src/fundamentalTypes/filelistType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/functionType.d.ts +7 -0
- package/dist/src/fundamentalTypes/functionType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/literalType.d.ts +6 -0
- package/dist/src/fundamentalTypes/literalType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/mapType.d.ts +6 -0
- package/dist/src/fundamentalTypes/mapType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/nanType.d.ts +6 -0
- package/dist/src/fundamentalTypes/nanType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/neverType.d.ts +6 -0
- package/dist/src/fundamentalTypes/neverType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/noneditableType.d.ts +6 -0
- package/dist/src/fundamentalTypes/noneditableType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/nullType.d.ts +6 -0
- package/dist/src/fundamentalTypes/nullType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/numberType.d.ts +6 -0
- package/dist/src/fundamentalTypes/numberType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/objectReferenceType.d.ts +8 -0
- package/dist/src/fundamentalTypes/objectReferenceType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/objectType.d.ts +6 -0
- package/dist/src/fundamentalTypes/objectType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/promiseType.d.ts +6 -0
- package/dist/src/fundamentalTypes/promiseType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/recordType.d.ts +6 -0
- package/dist/src/fundamentalTypes/recordType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/regexpType.d.ts +8 -0
- package/dist/src/fundamentalTypes/regexpType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/setType.d.ts +6 -0
- package/dist/src/fundamentalTypes/setType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/sparseUndefinedType.d.ts +6 -0
- package/dist/src/fundamentalTypes/sparseUndefinedType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/stringType.d.ts +6 -0
- package/dist/src/fundamentalTypes/stringType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/symbolType.d.ts +8 -0
- package/dist/src/fundamentalTypes/symbolType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/tupleType.d.ts +6 -0
- package/dist/src/fundamentalTypes/tupleType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/undefinedType.d.ts +6 -0
- package/dist/src/fundamentalTypes/undefinedType.d.ts.map +1 -0
- package/dist/src/fundamentalTypes/voidType.d.ts +6 -0
- package/dist/src/fundamentalTypes/voidType.d.ts.map +1 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/subTypes/blobHTMLType.d.ts +20 -0
- package/dist/src/subTypes/blobHTMLType.d.ts.map +1 -0
- package/dist/src/subTypes/falseType.d.ts +8 -0
- package/dist/src/subTypes/falseType.d.ts.map +1 -0
- package/dist/src/subTypes/trueType.d.ts +8 -0
- package/dist/src/subTypes/trueType.d.ts.map +1 -0
- package/dist/src/superTypes/SpecialNumberType.d.ts +6 -0
- package/dist/src/superTypes/SpecialNumberType.d.ts.map +1 -0
- package/dist/src/superTypes/SpecialRealNumberType.d.ts +6 -0
- package/dist/src/superTypes/SpecialRealNumberType.d.ts.map +1 -0
- package/dist/src/superTypes/buffersourceType.d.ts +8 -0
- package/dist/src/superTypes/buffersourceType.d.ts.map +1 -0
- package/dist/src/superTypes/dommatrixType.d.ts +6 -0
- package/dist/src/superTypes/dommatrixType.d.ts.map +1 -0
- package/dist/src/superTypes/dompointType.d.ts +6 -0
- package/dist/src/superTypes/dompointType.d.ts.map +1 -0
- package/dist/src/superTypes/domrectType.d.ts +6 -0
- package/dist/src/superTypes/domrectType.d.ts.map +1 -0
- package/dist/src/superTypes/errorsSpecialType.d.ts +8 -0
- package/dist/src/superTypes/errorsSpecialType.d.ts.map +1 -0
- package/dist/src/typeChoices.d.ts +140 -0
- package/dist/src/typeChoices.d.ts.map +1 -0
- package/dist/src/types.d.ts +758 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/utils/FileList.d.ts +26 -0
- package/dist/src/utils/FileList.d.ts.map +1 -0
- package/dist/src/utils/dialogs.d.ts +111 -0
- package/dist/src/utils/dialogs.d.ts.map +1 -0
- package/dist/src/utils/jsonPointer.d.ts +46 -0
- package/dist/src/utils/jsonPointer.d.ts.map +1 -0
- package/dist/src/utils/media.d.ts +18 -0
- package/dist/src/utils/media.d.ts.map +1 -0
- package/dist/src/utils/objects.d.ts +16 -0
- package/dist/src/utils/objects.d.ts.map +1 -0
- package/dist/src/utils/templateUtils.d.ts +59 -0
- package/dist/src/utils/templateUtils.d.ts.map +1 -0
- package/dist/src/utils/types.d.ts +2 -0
- package/dist/src/utils/types.d.ts.map +1 -0
- package/dist/src/vendor-imports.d.ts +4 -0
- package/dist/src/vendor-imports.d.ts.map +1 -0
- package/dist/subTypes/blobHTMLType.d.ts.map +1 -1
- package/dist/superTypes/SpecialRealNumberType.d.ts.map +1 -1
- package/dist/superTypes/buffersourceType.d.ts.map +1 -1
- package/dist/superTypes/dommatrixType.d.ts.map +1 -1
- package/dist/superTypes/dompointType.d.ts.map +1 -1
- package/dist/superTypes/domrectType.d.ts.map +1 -1
- package/dist/superTypes/errorsSpecialType.d.ts.map +1 -1
- package/dist/typeChoices.d.ts +21 -87
- package/dist/typeChoices.d.ts.map +1 -1
- package/dist/types.d.ts +90 -64
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/FileList.d.ts +4 -3
- package/dist/utils/FileList.d.ts.map +1 -1
- package/dist/utils/dialogs.d.ts +4 -4
- package/dist/utils/dialogs.d.ts.map +1 -1
- package/dist/utils/media.d.ts.map +1 -1
- package/dist/utils/schemaMeta.d.ts +92 -0
- package/dist/utils/schemaMeta.d.ts.map +1 -0
- package/dist/utils/templateUtils.d.ts +3 -3
- package/dist/utils/templateUtils.d.ts.map +1 -1
- package/dist/utils/timing.d.ts +2 -0
- package/dist/utils/timing.d.ts.map +1 -0
- package/dist/utils/types.d.ts +1 -0
- package/dist/utils/types.d.ts.map +1 -1
- package/dist/vendor-imports.d.ts +3 -1
- package/docs/proposals/schema-meta.md +233 -0
- package/eslint.config.js +51 -4
- package/licenseInfo.json +1 -1
- package/package.json +52 -42
- package/pnpm-workspace.yaml +57 -0
- package/rollup.config.js +20 -18
- package/server.js +3 -3
- package/src/deepEqual.js.map +1 -1
- package/src/formatAndTypeChoices.js +62 -58
- package/src/formats/indexedDBKey.js +3 -4
- package/src/formats/schema.js +824 -475
- package/src/formats/structuredCloning.js +189 -79
- package/src/formats.js +17 -5
- package/src/fundamentalTypes/BooleanObjectType.js +4 -5
- package/src/fundamentalTypes/NumberObjectType.js +4 -4
- package/src/fundamentalTypes/StringObjectType.js +3 -4
- package/src/fundamentalTypes/arrayReferenceType.js +0 -2
- package/src/fundamentalTypes/arrayType.js +624 -389
- package/src/fundamentalTypes/bigintObjectType.js +3 -2
- package/src/fundamentalTypes/bigintType.js +79 -17
- package/src/fundamentalTypes/blobType.js +35 -35
- package/src/fundamentalTypes/booleanType.js +16 -8
- package/src/fundamentalTypes/dateType.js +6 -8
- package/src/fundamentalTypes/domexceptionType.js +5 -4
- package/src/fundamentalTypes/errorType.js +39 -32
- package/src/fundamentalTypes/fileType.js +238 -52
- package/src/fundamentalTypes/functionType.js +61 -41
- package/src/fundamentalTypes/nanType.js +5 -4
- package/src/fundamentalTypes/noneditableType.js +4 -3
- package/src/fundamentalTypes/nullType.js +3 -2
- package/src/fundamentalTypes/numberType.js +72 -20
- package/src/fundamentalTypes/promiseType.js +16 -40
- package/src/fundamentalTypes/regexpType.js +7 -13
- package/src/fundamentalTypes/stringType.js +176 -110
- package/src/fundamentalTypes/symbolType.js +3 -2
- package/src/fundamentalTypes/undefinedType.js +3 -2
- package/src/index.js +6 -5
- package/src/jsoe.css +107 -8
- package/src/subTypes/blobHTMLType.js +23 -10
- package/src/superTypes/SpecialNumberType.js +6 -6
- package/src/superTypes/SpecialRealNumberType.js +10 -9
- package/src/superTypes/buffersourceType.js +86 -75
- package/src/superTypes/dommatrixType.js +6 -5
- package/src/superTypes/dompointType.js +6 -5
- package/src/superTypes/domrectType.js +6 -5
- package/src/superTypes/errorsSpecialType.js +54 -35
- package/src/typeChoices.js +373 -53
- package/src/types.js +157 -97
- package/src/utils/FileList.js +3 -3
- package/src/utils/dialogs.js +5 -7
- package/src/utils/jsonPointer.js +1 -1
- package/src/utils/media.js +1 -0
- package/src/utils/schemaMeta.js +257 -0
- package/src/utils/templateUtils.js +3 -3
- package/src/utils/timing.js +12 -0
- package/src/utils/types.js +19 -0
- package/src/vendor-imports.js +10 -2
- package/tsconfig.json +2 -0
- package/vendor/acorn/dist/acorn.d.mts +46 -5
- package/vendor/acorn/dist/acorn.d.ts +46 -5
- package/vendor/acorn/dist/acorn.js +394 -117
- package/vendor/acorn/dist/acorn.mjs +394 -117
- package/vendor/acorn/dist/bin.js +1 -1
- package/vendor/jamilih/dist/{jml-es.js → jml.mjs} +590 -312
- package/vendor/jamilih/package.json +1 -1
- package/vendor/mime/dist/types/other.js +719 -0
- package/vendor/mime/dist/types/standard.js +366 -0
- package/vendor/typeson-registry/dist/index.js +519 -99
- package/vendor/zod/classic/checks.d.ts +1 -0
- package/vendor/zod/classic/checks.js +1 -0
- package/vendor/zod/classic/coerce.d.ts +17 -0
- package/vendor/zod/classic/coerce.js +17 -0
- package/vendor/zod/classic/compat.d.ts +48 -0
- package/vendor/zod/classic/compat.js +31 -0
- package/vendor/zod/classic/deep-partial.d.ts +14 -0
- package/vendor/zod/classic/deep-partial.js +13 -0
- package/vendor/zod/classic/errors.d.ts +29 -0
- package/vendor/zod/classic/errors.js +57 -0
- package/vendor/zod/classic/external.d.ts +19 -0
- package/vendor/zod/classic/external.js +17 -0
- package/vendor/zod/classic/from-json-schema.d.ts +12 -0
- package/vendor/zod/classic/from-json-schema.js +660 -0
- package/vendor/zod/classic/in-out.d.ts +8 -0
- package/vendor/zod/classic/in-out.js +36 -0
- package/vendor/zod/classic/index.d.ts +3 -0
- package/vendor/zod/classic/index.js +4 -0
- package/vendor/zod/classic/iso.d.ts +7 -0
- package/vendor/zod/classic/iso.js +15 -0
- package/vendor/zod/classic/package.json +7 -0
- package/vendor/zod/classic/parse.d.ts +44 -0
- package/vendor/zod/classic/parse.js +16 -0
- package/vendor/zod/classic/schemas.d.ts +802 -0
- package/vendor/zod/classic/schemas.js +1491 -0
- package/vendor/zod/core/api.d.ts +329 -0
- package/vendor/zod/core/api.js +1104 -0
- package/vendor/zod/core/checks.d.ts +278 -0
- package/vendor/zod/core/checks.js +581 -0
- package/vendor/zod/core/compile.d.ts +51 -0
- package/vendor/zod/core/compile.js +1783 -0
- package/vendor/zod/core/core.d.ts +82 -0
- package/vendor/zod/core/core.js +141 -0
- package/vendor/zod/core/doc.d.ts +16 -0
- package/vendor/zod/core/doc.js +33 -0
- package/vendor/zod/core/errors.d.ts +225 -0
- package/vendor/zod/core/errors.js +270 -0
- package/vendor/zod/core/index.d.ts +19 -0
- package/vendor/zod/core/index.js +19 -0
- package/vendor/zod/core/json-schema-generator.d.ts +65 -0
- package/vendor/zod/core/json-schema-generator.js +99 -0
- package/vendor/zod/core/json-schema-processors.d.ts +49 -0
- package/vendor/zod/core/json-schema-processors.js +747 -0
- package/vendor/zod/core/json-schema.d.ts +89 -0
- package/vendor/zod/core/memoizer.d.ts +15 -0
- package/vendor/zod/core/memoizer.js +265 -0
- package/vendor/zod/core/package.json +7 -0
- package/vendor/zod/core/parse.d.ts +52 -0
- package/vendor/zod/core/parse.js +154 -0
- package/vendor/zod/core/regexes.d.ts +87 -0
- package/vendor/zod/core/regexes.js +150 -0
- package/vendor/zod/core/registries.d.ts +35 -0
- package/vendor/zod/core/registries.js +51 -0
- package/vendor/zod/core/schemas.d.ts +1253 -0
- package/vendor/zod/core/schemas.js +2440 -0
- package/vendor/zod/core/standard-schema.d.ts +126 -0
- package/vendor/zod/core/to-json-schema.d.ts +153 -0
- package/vendor/zod/core/to-json-schema.js +650 -0
- package/vendor/zod/core/util.d.ts +257 -0
- package/vendor/zod/core/util.js +846 -0
- package/vendor/zod/core/versions.d.ts +5 -0
- package/vendor/zod/core/versions.js +5 -0
- package/vendor/zod/core/visit.d.ts +30 -0
- package/vendor/zod/core/visit.js +169 -0
- package/vendor/zod/index.d.ts +3 -0
- package/vendor/zod/index.js +4 -0
- package/vendor/zod/locales/ar.d.ts +4 -0
- package/vendor/zod/locales/ar.js +109 -0
- package/vendor/zod/locales/az.d.ts +4 -0
- package/vendor/zod/locales/az.js +108 -0
- package/vendor/zod/locales/be.d.ts +4 -0
- package/vendor/zod/locales/be.js +166 -0
- package/vendor/zod/locales/bg.d.ts +4 -0
- package/vendor/zod/locales/bg.js +123 -0
- package/vendor/zod/locales/bn.d.ts +4 -0
- package/vendor/zod/locales/bn.js +111 -0
- package/vendor/zod/locales/ca.d.ts +4 -0
- package/vendor/zod/locales/ca.js +110 -0
- package/vendor/zod/locales/ckb.d.ts +4 -0
- package/vendor/zod/locales/ckb.js +131 -0
- package/vendor/zod/locales/cs.d.ts +4 -0
- package/vendor/zod/locales/cs.js +114 -0
- package/vendor/zod/locales/da.d.ts +4 -0
- package/vendor/zod/locales/da.js +118 -0
- package/vendor/zod/locales/de.d.ts +4 -0
- package/vendor/zod/locales/de.js +111 -0
- package/vendor/zod/locales/el.d.ts +4 -0
- package/vendor/zod/locales/el.js +110 -0
- package/vendor/zod/locales/en.d.ts +4 -0
- package/vendor/zod/locales/en.js +123 -0
- package/vendor/zod/locales/eo.d.ts +4 -0
- package/vendor/zod/locales/eo.js +112 -0
- package/vendor/zod/locales/es.d.ts +4 -0
- package/vendor/zod/locales/es.js +134 -0
- package/vendor/zod/locales/fa.d.ts +4 -0
- package/vendor/zod/locales/fa.js +117 -0
- package/vendor/zod/locales/fi.d.ts +4 -0
- package/vendor/zod/locales/fi.js +115 -0
- package/vendor/zod/locales/fr-CA.d.ts +4 -0
- package/vendor/zod/locales/fr-CA.js +110 -0
- package/vendor/zod/locales/fr.d.ts +4 -0
- package/vendor/zod/locales/fr.js +127 -0
- package/vendor/zod/locales/gu.d.ts +4 -0
- package/vendor/zod/locales/gu.js +111 -0
- package/vendor/zod/locales/he.d.ts +4 -0
- package/vendor/zod/locales/he.js +219 -0
- package/vendor/zod/locales/hi.d.ts +4 -0
- package/vendor/zod/locales/hi.js +109 -0
- package/vendor/zod/locales/hr.d.ts +4 -0
- package/vendor/zod/locales/hr.js +124 -0
- package/vendor/zod/locales/hu.d.ts +4 -0
- package/vendor/zod/locales/hu.js +111 -0
- package/vendor/zod/locales/hy.d.ts +4 -0
- package/vendor/zod/locales/hy.js +156 -0
- package/vendor/zod/locales/id.d.ts +4 -0
- package/vendor/zod/locales/id.js +109 -0
- package/vendor/zod/locales/index.d.ts +62 -0
- package/vendor/zod/locales/index.js +62 -0
- package/vendor/zod/locales/is.d.ts +4 -0
- package/vendor/zod/locales/is.js +112 -0
- package/vendor/zod/locales/it.d.ts +4 -0
- package/vendor/zod/locales/it.js +111 -0
- package/vendor/zod/locales/ja.d.ts +4 -0
- package/vendor/zod/locales/ja.js +110 -0
- package/vendor/zod/locales/ka.d.ts +4 -0
- package/vendor/zod/locales/ka.js +115 -0
- package/vendor/zod/locales/kh.d.ts +5 -0
- package/vendor/zod/locales/kh.js +5 -0
- package/vendor/zod/locales/km.d.ts +4 -0
- package/vendor/zod/locales/km.js +113 -0
- package/vendor/zod/locales/kn.d.ts +4 -0
- package/vendor/zod/locales/kn.js +114 -0
- package/vendor/zod/locales/ko.d.ts +4 -0
- package/vendor/zod/locales/ko.js +114 -0
- package/vendor/zod/locales/lt.d.ts +4 -0
- package/vendor/zod/locales/lt.js +205 -0
- package/vendor/zod/locales/mk.d.ts +4 -0
- package/vendor/zod/locales/mk.js +112 -0
- package/vendor/zod/locales/ms.d.ts +4 -0
- package/vendor/zod/locales/ms.js +110 -0
- package/vendor/zod/locales/ne.d.ts +4 -0
- package/vendor/zod/locales/ne.js +109 -0
- package/vendor/zod/locales/nl.d.ts +4 -0
- package/vendor/zod/locales/nl.js +113 -0
- package/vendor/zod/locales/nn.d.ts +4 -0
- package/vendor/zod/locales/nn.js +111 -0
- package/vendor/zod/locales/no.d.ts +4 -0
- package/vendor/zod/locales/no.js +111 -0
- package/vendor/zod/locales/ota.d.ts +4 -0
- package/vendor/zod/locales/ota.js +112 -0
- package/vendor/zod/locales/package.json +7 -0
- package/vendor/zod/locales/pl.d.ts +4 -0
- package/vendor/zod/locales/pl.js +112 -0
- package/vendor/zod/locales/ps.d.ts +4 -0
- package/vendor/zod/locales/ps.js +117 -0
- package/vendor/zod/locales/pt-BR.d.ts +4 -0
- package/vendor/zod/locales/pt-BR.js +141 -0
- package/vendor/zod/locales/pt.d.ts +4 -0
- package/vendor/zod/locales/pt.js +140 -0
- package/vendor/zod/locales/ro.d.ts +4 -0
- package/vendor/zod/locales/ro.js +120 -0
- package/vendor/zod/locales/ru.d.ts +4 -0
- package/vendor/zod/locales/ru.js +166 -0
- package/vendor/zod/locales/sk.d.ts +4 -0
- package/vendor/zod/locales/sk.js +114 -0
- package/vendor/zod/locales/sl.d.ts +4 -0
- package/vendor/zod/locales/sl.js +112 -0
- package/vendor/zod/locales/sv.d.ts +4 -0
- package/vendor/zod/locales/sv.js +113 -0
- package/vendor/zod/locales/ta.d.ts +4 -0
- package/vendor/zod/locales/ta.js +113 -0
- package/vendor/zod/locales/th.d.ts +4 -0
- package/vendor/zod/locales/th.js +113 -0
- package/vendor/zod/locales/tk.d.ts +4 -0
- package/vendor/zod/locales/tk.js +105 -0
- package/vendor/zod/locales/tr.d.ts +4 -0
- package/vendor/zod/locales/tr.js +108 -0
- package/vendor/zod/locales/ua.d.ts +5 -0
- package/vendor/zod/locales/ua.js +5 -0
- package/vendor/zod/locales/uk.d.ts +4 -0
- package/vendor/zod/locales/uk.js +111 -0
- package/vendor/zod/locales/ur.d.ts +4 -0
- package/vendor/zod/locales/ur.js +113 -0
- package/vendor/zod/locales/uz.d.ts +4 -0
- package/vendor/zod/locales/uz.js +111 -0
- package/vendor/zod/locales/vi.d.ts +4 -0
- package/vendor/zod/locales/vi.js +111 -0
- package/vendor/zod/locales/yo.d.ts +4 -0
- package/vendor/zod/locales/yo.js +110 -0
- package/vendor/zod/locales/zh-CN.d.ts +4 -0
- package/vendor/zod/locales/zh-CN.js +112 -0
- package/vendor/zod/locales/zh-TW.d.ts +4 -0
- package/vendor/zod/locales/zh-TW.js +110 -0
- package/vendor/zod/mini/checks.d.ts +1 -0
- package/vendor/zod/mini/checks.js +1 -0
- package/vendor/zod/mini/coerce.d.ts +7 -0
- package/vendor/zod/mini/coerce.js +22 -0
- package/vendor/zod/mini/deep-partial.d.ts +14 -0
- package/vendor/zod/mini/deep-partial.js +13 -0
- package/vendor/zod/mini/external.d.ts +16 -0
- package/vendor/zod/mini/external.js +16 -0
- package/vendor/zod/mini/in-out.d.ts +8 -0
- package/vendor/zod/mini/in-out.js +36 -0
- package/vendor/zod/mini/index.d.ts +3 -0
- package/vendor/zod/mini/index.js +3 -0
- package/vendor/zod/mini/iso.d.ts +22 -0
- package/vendor/zod/mini/iso.js +34 -0
- package/vendor/zod/mini/package.json +7 -0
- package/vendor/zod/mini/parse.d.ts +1 -0
- package/vendor/zod/mini/parse.js +1 -0
- package/vendor/zod/mini/schemas.d.ts +475 -0
- package/vendor/zod/mini/schemas.js +987 -0
- package/vendor/zod/package.json +7 -0
- package/vendor/zodexy/dist/esm/index.js +1274 -0
- package/vendor/zodexy/dist/index.js +1088 -0
- package/vendor/zodexy/dist/schema.zodexy.json +1036 -0
- package/dist/fundamentalTypes/nativeEnumType.d.ts +0 -6
- package/dist/fundamentalTypes/nativeEnumType.d.ts.map +0 -1
- package/src/fundamentalTypes/catchType.js +0 -140
- package/src/fundamentalTypes/enumType.js +0 -52
- package/src/fundamentalTypes/literalType.js +0 -81
- package/src/fundamentalTypes/nativeEnumType.js +0 -157
- package/src/fundamentalTypes/neverType.js +0 -49
- package/src/fundamentalTypes/recordType.js +0 -42
- package/src/fundamentalTypes/tupleType.js +0 -39
- package/src/fundamentalTypes/voidType.js +0 -48
- package/vendor/zod/lib/index.mjs +0 -4236
- package/vendor/zodex/dist/esm/dezerialize.d.ts +0 -26
- package/vendor/zodex/dist/esm/dezerialize.js +0 -393
- package/vendor/zodex/dist/esm/index.d.ts +0 -9
- package/vendor/zodex/dist/esm/index.js +0 -4
- package/vendor/zodex/dist/esm/infer.d.ts +0 -29
- package/vendor/zodex/dist/esm/package.json +0 -1
- package/vendor/zodex/dist/esm/types.d.ts +0 -201
- package/vendor/zodex/dist/esm/types.js +0 -13
- package/vendor/zodex/dist/esm/ui.d.ts +0 -23
- package/vendor/zodex/dist/esm/ui.js +0 -10
- package/vendor/zodex/dist/esm/zerialize.d.ts +0 -50
- package/vendor/zodex/dist/esm/zerialize.js +0 -417
- package/vendor/zodex/dist/esm/zod-types.d.ts +0 -11
- /package/vendor/{zodex/dist/esm/infer.js → zod/core/json-schema.js} +0 -0
- /package/vendor/{zodex/dist/esm/zod-types.js → zod/core/standard-schema.js} +0 -0
|
@@ -0,0 +1,1036 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"reference-or-type": {
|
|
4
|
+
"type": "union",
|
|
5
|
+
"options": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "#/$defs/type"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "#/$defs/reference"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"reference": {
|
|
15
|
+
"meta": { "title": "JSON Reference" },
|
|
16
|
+
"type": "object",
|
|
17
|
+
"catchall": { "type": "never" },
|
|
18
|
+
"properties": {
|
|
19
|
+
"$ref": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"string": {
|
|
25
|
+
"type": "intersection",
|
|
26
|
+
"left": {
|
|
27
|
+
"meta": { "title": "String basics" },
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"type": {
|
|
31
|
+
"type": "literal",
|
|
32
|
+
"values": ["string"]
|
|
33
|
+
},
|
|
34
|
+
"coerce": { "type": "boolean", "isOptional": true },
|
|
35
|
+
"min": { "type": "number", "isOptional": true },
|
|
36
|
+
"max": { "type": "number", "isOptional": true },
|
|
37
|
+
"length": { "type": "number", "isOptional": true },
|
|
38
|
+
"startsWith": { "type": "string", "isOptional": true },
|
|
39
|
+
"endsWith": { "type": "string", "isOptional": true },
|
|
40
|
+
|
|
41
|
+
"toLowerCase": { "type": "boolean", "isOptional": true },
|
|
42
|
+
"toUpperCase": { "type": "boolean", "isOptional": true },
|
|
43
|
+
"trim": { "type": "boolean", "isOptional": true }
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"right": {
|
|
47
|
+
"type": "intersection",
|
|
48
|
+
"left": {
|
|
49
|
+
"type": "union",
|
|
50
|
+
"options": [
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "object",
|
|
57
|
+
"meta": { "title": "Includes" },
|
|
58
|
+
"properties": {
|
|
59
|
+
"includes": { "type": "string" },
|
|
60
|
+
"position": { "type": "number", "isOptional": true }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"right": {
|
|
66
|
+
"type": "union",
|
|
67
|
+
"options": [
|
|
68
|
+
{
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "object",
|
|
74
|
+
"meta": { "title": "IP type" },
|
|
75
|
+
"properties": {
|
|
76
|
+
"kind": {
|
|
77
|
+
"type": "literal",
|
|
78
|
+
"values": ["ip"]
|
|
79
|
+
},
|
|
80
|
+
"version": {
|
|
81
|
+
"type": "enum",
|
|
82
|
+
"values": {
|
|
83
|
+
"v4": "v4",
|
|
84
|
+
"v6": "v6"
|
|
85
|
+
},
|
|
86
|
+
"isOptional": true
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "object",
|
|
92
|
+
"meta": { "title": "UUID type" },
|
|
93
|
+
"properties": {
|
|
94
|
+
"kind": {
|
|
95
|
+
"type": "literal",
|
|
96
|
+
"values": ["uuid"]
|
|
97
|
+
},
|
|
98
|
+
"version": {
|
|
99
|
+
"type": "enum",
|
|
100
|
+
"values": {
|
|
101
|
+
"v4": "v4",
|
|
102
|
+
"v6": "v6"
|
|
103
|
+
},
|
|
104
|
+
"isOptional": true
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "object",
|
|
110
|
+
"meta": { "title": "CIDR type" },
|
|
111
|
+
"properties": {
|
|
112
|
+
"kind": {
|
|
113
|
+
"type": "literal",
|
|
114
|
+
"values": ["cidr"]
|
|
115
|
+
},
|
|
116
|
+
"version": {
|
|
117
|
+
"type": "enum",
|
|
118
|
+
"values": {
|
|
119
|
+
"v4": "v4",
|
|
120
|
+
"v6": "v6"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "object",
|
|
127
|
+
"meta": { "title": "Regex" },
|
|
128
|
+
"properties": {
|
|
129
|
+
"regex": { "type": "string" },
|
|
130
|
+
"flags": { "type": "string", "isOptional": true }
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "object",
|
|
135
|
+
"meta": { "title": "Email" },
|
|
136
|
+
"properties": {
|
|
137
|
+
"kind": {
|
|
138
|
+
"type": "literal",
|
|
139
|
+
"values": ["email"]
|
|
140
|
+
},
|
|
141
|
+
"pattern": { "type": "string", "isOptional": true },
|
|
142
|
+
"flags": { "type": "string", "isOptional": true }
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "object",
|
|
147
|
+
"meta": { "title": "Time" },
|
|
148
|
+
"properties": {
|
|
149
|
+
"kind": {
|
|
150
|
+
"type": "literal",
|
|
151
|
+
"values": ["time"]
|
|
152
|
+
},
|
|
153
|
+
"precision": { "type": "number", "isOptional": true }
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"type": "object",
|
|
158
|
+
"meta": { "title": "Datetime" },
|
|
159
|
+
"properties": {
|
|
160
|
+
"kind": {
|
|
161
|
+
"type": "literal",
|
|
162
|
+
"values": ["datetime"]
|
|
163
|
+
},
|
|
164
|
+
"offset": { "type": "boolean", "isOptional": true },
|
|
165
|
+
"local": { "type": "boolean", "isOptional": true },
|
|
166
|
+
"precision": { "type": "number", "isOptional": true }
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "object",
|
|
171
|
+
"meta": { "title": "jwt type" },
|
|
172
|
+
"properties": {
|
|
173
|
+
"kind": {
|
|
174
|
+
"type": "literal",
|
|
175
|
+
"values": ["jwt"]
|
|
176
|
+
},
|
|
177
|
+
"algorithm": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"isOptional": true
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "object",
|
|
185
|
+
"meta": { "title": "nanoid type" },
|
|
186
|
+
"properties": {
|
|
187
|
+
"kind": {
|
|
188
|
+
"type": "literal",
|
|
189
|
+
"values": ["nanoid"]
|
|
190
|
+
},
|
|
191
|
+
"length": {
|
|
192
|
+
"type": "number",
|
|
193
|
+
"isOptional": true
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "object",
|
|
199
|
+
"meta": { "title": "Kind" },
|
|
200
|
+
"properties": {
|
|
201
|
+
"kind": {
|
|
202
|
+
"type": "enum",
|
|
203
|
+
"values": {
|
|
204
|
+
"xid": "xid",
|
|
205
|
+
"guid": "guid",
|
|
206
|
+
"ksuid": "ksuid",
|
|
207
|
+
"url": "url",
|
|
208
|
+
"emoji": "emoji",
|
|
209
|
+
"e164": "e164",
|
|
210
|
+
"credit_card": "credit_card",
|
|
211
|
+
"cuid": "cuid",
|
|
212
|
+
"cuid2": "cuid2",
|
|
213
|
+
"ulid": "ulid",
|
|
214
|
+
"date": "date",
|
|
215
|
+
"duration": "duration",
|
|
216
|
+
"base64": "base64",
|
|
217
|
+
"base64url": "base64url"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"number": {
|
|
227
|
+
"meta": { "title": "Number" },
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"type": {
|
|
231
|
+
"type": "literal",
|
|
232
|
+
"values": ["number"]
|
|
233
|
+
},
|
|
234
|
+
"coerce": { "type": "boolean", "isOptional": true },
|
|
235
|
+
"format": {
|
|
236
|
+
"type": "enum",
|
|
237
|
+
"values": {
|
|
238
|
+
"int32": "int32",
|
|
239
|
+
"uint32": "uint32",
|
|
240
|
+
"float32": "float32",
|
|
241
|
+
"float64": "float64",
|
|
242
|
+
"safeint": "safeint"
|
|
243
|
+
},
|
|
244
|
+
"isOptional": true
|
|
245
|
+
},
|
|
246
|
+
"min": { "type": "number", "isOptional": true },
|
|
247
|
+
"max": { "type": "number", "isOptional": true },
|
|
248
|
+
"minInclusive": { "type": "boolean", "isOptional": true },
|
|
249
|
+
"maxInclusive": { "type": "boolean", "isOptional": true },
|
|
250
|
+
"multipleOf": { "type": "number", "isOptional": true }
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"symbol": {
|
|
254
|
+
"meta": { "title": "Symbol" },
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"type": {
|
|
258
|
+
"type": "literal",
|
|
259
|
+
"values": ["symbol"]
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"key": {
|
|
264
|
+
"meta": { "title": "Key" },
|
|
265
|
+
"type": "intersection",
|
|
266
|
+
"right": {
|
|
267
|
+
"type": "union",
|
|
268
|
+
"options": [
|
|
269
|
+
{
|
|
270
|
+
"$ref": "#/$defs/string"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"$ref": "#/$defs/number"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"$ref": "#/$defs/symbol"
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"left": {
|
|
281
|
+
"$ref": "#/$defs/modifiers"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"tuple": {
|
|
285
|
+
"meta": { "title": "Tuple" },
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"type": {
|
|
289
|
+
"type": "literal",
|
|
290
|
+
"values": ["tuple"]
|
|
291
|
+
},
|
|
292
|
+
"items": {
|
|
293
|
+
"type": "array",
|
|
294
|
+
"element": {
|
|
295
|
+
"$ref": "#/$defs/reference-or-type"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"rest": {
|
|
299
|
+
"type": "union",
|
|
300
|
+
"options": [
|
|
301
|
+
{
|
|
302
|
+
"$ref": "#/$defs/reference-or-type"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"isOptional": true
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"modifiers": {
|
|
310
|
+
"meta": { "title": "Modifiers" },
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {
|
|
313
|
+
"checks": {
|
|
314
|
+
"type": "array",
|
|
315
|
+
"element": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"name": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"isOptional": true
|
|
324
|
+
},
|
|
325
|
+
"error": {
|
|
326
|
+
"type": "union",
|
|
327
|
+
"options": [
|
|
328
|
+
{
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "object",
|
|
333
|
+
"properties": {
|
|
334
|
+
"key": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"isOptional": true
|
|
341
|
+
},
|
|
342
|
+
"isNullable": { "type": "boolean", "isOptional": true },
|
|
343
|
+
"isOptional": { "type": "boolean", "isOptional": true },
|
|
344
|
+
"defaultValue": {
|
|
345
|
+
"type": "union",
|
|
346
|
+
"options": [
|
|
347
|
+
{
|
|
348
|
+
"type": "any"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"isOptional": true
|
|
352
|
+
},
|
|
353
|
+
"description": { "type": "string", "isOptional": true },
|
|
354
|
+
"meta": {
|
|
355
|
+
"type": "intersection",
|
|
356
|
+
"isOptional": true,
|
|
357
|
+
"right": {
|
|
358
|
+
"type": "record",
|
|
359
|
+
"key": { "type": "string" },
|
|
360
|
+
"value": {
|
|
361
|
+
"type": "unknown"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"left": {
|
|
365
|
+
"type": "object",
|
|
366
|
+
"properties": {
|
|
367
|
+
"id": {
|
|
368
|
+
"type": "union",
|
|
369
|
+
"isOptional": true,
|
|
370
|
+
"options": [
|
|
371
|
+
{
|
|
372
|
+
"type": "undefined"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"type": "string"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"title": {
|
|
380
|
+
"type": "union",
|
|
381
|
+
"isOptional": true,
|
|
382
|
+
"options": [
|
|
383
|
+
{
|
|
384
|
+
"type": "undefined"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "string"
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
"description": {
|
|
392
|
+
"type": "union",
|
|
393
|
+
"isOptional": true,
|
|
394
|
+
"options": [
|
|
395
|
+
{
|
|
396
|
+
"type": "undefined"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "string"
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
"deprecated": {
|
|
404
|
+
"type": "union",
|
|
405
|
+
"isOptional": true,
|
|
406
|
+
"options": [
|
|
407
|
+
{
|
|
408
|
+
"type": "undefined"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"type": "boolean"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"readonly": { "type": "boolean", "isOptional": true }
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"type": {
|
|
422
|
+
"type": "intersection",
|
|
423
|
+
"left": {
|
|
424
|
+
"type": "union",
|
|
425
|
+
"options": [
|
|
426
|
+
{
|
|
427
|
+
"meta": { "title": "Boolean" },
|
|
428
|
+
"type": "object",
|
|
429
|
+
"properties": {
|
|
430
|
+
"type": {
|
|
431
|
+
"type": "literal",
|
|
432
|
+
"values": ["boolean"]
|
|
433
|
+
},
|
|
434
|
+
"coerce": {
|
|
435
|
+
"type": "boolean",
|
|
436
|
+
"isOptional": true
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"$ref": "#/$defs/number"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"meta": { "title": "BigInt" },
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"type": {
|
|
448
|
+
"type": "literal",
|
|
449
|
+
"values": ["bigInt"]
|
|
450
|
+
},
|
|
451
|
+
"coerce": { "type": "boolean", "isOptional": true },
|
|
452
|
+
"format": {
|
|
453
|
+
"type": "enum",
|
|
454
|
+
"values": {
|
|
455
|
+
"uint64": "uint64",
|
|
456
|
+
"int64": "int64"
|
|
457
|
+
},
|
|
458
|
+
"isOptional": true
|
|
459
|
+
},
|
|
460
|
+
"min": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"regex": "^-?[0-9]{1,}$",
|
|
463
|
+
"flags": "u",
|
|
464
|
+
"isOptional": true
|
|
465
|
+
},
|
|
466
|
+
"max": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"regex": "^-?[0-9]{1,}$",
|
|
469
|
+
"flags": "u",
|
|
470
|
+
"isOptional": true
|
|
471
|
+
},
|
|
472
|
+
"minInclusive": { "type": "boolean", "isOptional": true },
|
|
473
|
+
"maxInclusive": { "type": "boolean", "isOptional": true },
|
|
474
|
+
"multipleOf": {
|
|
475
|
+
"type": "string",
|
|
476
|
+
"regex": "^-?[0-9]{1,}$",
|
|
477
|
+
"flags": "u",
|
|
478
|
+
"isOptional": true
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"$ref": "#/$defs/string"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"meta": { "title": "Not a Number" },
|
|
487
|
+
"type": "object",
|
|
488
|
+
"properties": {
|
|
489
|
+
"type": {
|
|
490
|
+
"type": "literal",
|
|
491
|
+
"values": ["nan"]
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"meta": { "title": "File" },
|
|
497
|
+
"type": "object",
|
|
498
|
+
"properties": {
|
|
499
|
+
"type": {
|
|
500
|
+
"type": "literal",
|
|
501
|
+
"values": ["file"]
|
|
502
|
+
},
|
|
503
|
+
"min": {
|
|
504
|
+
"type": "number",
|
|
505
|
+
"isOptional": true
|
|
506
|
+
},
|
|
507
|
+
"max": {
|
|
508
|
+
"type": "number",
|
|
509
|
+
"isOptional": true
|
|
510
|
+
},
|
|
511
|
+
"mime": {
|
|
512
|
+
"type": "array",
|
|
513
|
+
"isOptional": true,
|
|
514
|
+
"element": {
|
|
515
|
+
"type": "string"
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"meta": { "title": "Date" },
|
|
522
|
+
"type": "object",
|
|
523
|
+
"properties": {
|
|
524
|
+
"type": {
|
|
525
|
+
"type": "literal",
|
|
526
|
+
"values": ["date"]
|
|
527
|
+
},
|
|
528
|
+
"coerce": { "type": "boolean", "isOptional": true },
|
|
529
|
+
"min": { "type": "number", "isOptional": true },
|
|
530
|
+
"max": { "type": "number", "isOptional": true }
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"meta": { "title": "Undefined" },
|
|
535
|
+
"type": "object",
|
|
536
|
+
"properties": {
|
|
537
|
+
"type": {
|
|
538
|
+
"type": "literal",
|
|
539
|
+
"values": ["undefined"]
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"meta": { "title": "Null" },
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"type": {
|
|
548
|
+
"type": "literal",
|
|
549
|
+
"values": ["null"]
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"meta": { "title": "Any" },
|
|
555
|
+
"type": "object",
|
|
556
|
+
"properties": {
|
|
557
|
+
"type": {
|
|
558
|
+
"type": "literal",
|
|
559
|
+
"values": ["any"]
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"meta": { "title": "Unknown" },
|
|
565
|
+
"type": "object",
|
|
566
|
+
"properties": {
|
|
567
|
+
"type": {
|
|
568
|
+
"type": "literal",
|
|
569
|
+
"values": ["unknown"]
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"meta": { "title": "Never" },
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"type": {
|
|
578
|
+
"type": "literal",
|
|
579
|
+
"values": ["never"]
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"meta": { "title": "Void" },
|
|
585
|
+
"type": "object",
|
|
586
|
+
"properties": {
|
|
587
|
+
"type": {
|
|
588
|
+
"type": "literal",
|
|
589
|
+
"values": ["void"]
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"$ref": "#/$defs/symbol"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"meta": { "title": "Literal" },
|
|
598
|
+
"type": "object",
|
|
599
|
+
"properties": {
|
|
600
|
+
"type": {
|
|
601
|
+
"type": "literal",
|
|
602
|
+
"values": ["literal"]
|
|
603
|
+
},
|
|
604
|
+
"values": {
|
|
605
|
+
"type": "array",
|
|
606
|
+
"element": {
|
|
607
|
+
"type": "union",
|
|
608
|
+
"options": [
|
|
609
|
+
{
|
|
610
|
+
"type": "boolean"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"type": "number"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "string"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "bigInt"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"type": "boolean"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"type": "null"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"type": "undefined"
|
|
629
|
+
}
|
|
630
|
+
]
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"meta": { "title": "Template literal" },
|
|
637
|
+
"type": "object",
|
|
638
|
+
"properties": {
|
|
639
|
+
"type": {
|
|
640
|
+
"type": "literal",
|
|
641
|
+
"values": ["templateLiteral"]
|
|
642
|
+
},
|
|
643
|
+
"format": {
|
|
644
|
+
"type": "string",
|
|
645
|
+
"isOptional": true
|
|
646
|
+
},
|
|
647
|
+
"parts": {
|
|
648
|
+
"type": "array",
|
|
649
|
+
"element": {
|
|
650
|
+
"type": "union",
|
|
651
|
+
"options": [
|
|
652
|
+
{
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"$ref": "#/$defs/reference-or-type"
|
|
657
|
+
}
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"meta": { "title": "Array" },
|
|
665
|
+
"type": "object",
|
|
666
|
+
"properties": {
|
|
667
|
+
"type": {
|
|
668
|
+
"type": "literal",
|
|
669
|
+
"values": ["array"]
|
|
670
|
+
},
|
|
671
|
+
"element": {
|
|
672
|
+
"$ref": "#/$defs/reference-or-type"
|
|
673
|
+
},
|
|
674
|
+
"minLength": { "type": "number", "isOptional": true },
|
|
675
|
+
"maxLength": { "type": "number", "isOptional": true }
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"meta": { "title": "Object" },
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"type": {
|
|
683
|
+
"type": "literal",
|
|
684
|
+
"values": ["object"]
|
|
685
|
+
},
|
|
686
|
+
"properties": {
|
|
687
|
+
"type": "record",
|
|
688
|
+
"key": { "type": "string" },
|
|
689
|
+
"value": {
|
|
690
|
+
"$ref": "#/$defs/reference-or-type"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"symbols": {
|
|
694
|
+
"type": "record",
|
|
695
|
+
"key": { "type": "number" },
|
|
696
|
+
"value": {
|
|
697
|
+
"$ref": "#/$defs/reference-or-type"
|
|
698
|
+
},
|
|
699
|
+
"isOptional": true
|
|
700
|
+
},
|
|
701
|
+
"catchall": {
|
|
702
|
+
"type": "union",
|
|
703
|
+
"options": [
|
|
704
|
+
{
|
|
705
|
+
"$ref": "#/$defs/reference-or-type"
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
"isOptional": true
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"meta": { "title": "Union" },
|
|
714
|
+
"type": "object",
|
|
715
|
+
"properties": {
|
|
716
|
+
"type": {
|
|
717
|
+
"type": "literal",
|
|
718
|
+
"values": ["union"]
|
|
719
|
+
},
|
|
720
|
+
"options": {
|
|
721
|
+
"type": "array",
|
|
722
|
+
"element": {
|
|
723
|
+
"$ref": "#/$defs/reference-or-type"
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"meta": { "title": "Discriminated Union" },
|
|
730
|
+
"type": "object",
|
|
731
|
+
"properties": {
|
|
732
|
+
"type": {
|
|
733
|
+
"type": "literal",
|
|
734
|
+
"values": ["discriminatedUnion"]
|
|
735
|
+
},
|
|
736
|
+
"discriminator": {
|
|
737
|
+
"type": "string"
|
|
738
|
+
},
|
|
739
|
+
"options": {
|
|
740
|
+
"type": "array",
|
|
741
|
+
"element": {
|
|
742
|
+
"$ref": "#/$defs/reference-or-type"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"meta": { "title": "Intersection" },
|
|
749
|
+
"type": "object",
|
|
750
|
+
"properties": {
|
|
751
|
+
"type": {
|
|
752
|
+
"type": "literal",
|
|
753
|
+
"values": ["intersection"]
|
|
754
|
+
},
|
|
755
|
+
"left": {
|
|
756
|
+
"$ref": "#/$defs/reference-or-type"
|
|
757
|
+
},
|
|
758
|
+
"right": {
|
|
759
|
+
"$ref": "#/$defs/reference-or-type"
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"meta": { "title": "XOR" },
|
|
765
|
+
"type": "object",
|
|
766
|
+
"properties": {
|
|
767
|
+
"type": {
|
|
768
|
+
"type": "literal",
|
|
769
|
+
"values": ["xor"]
|
|
770
|
+
},
|
|
771
|
+
"options": {
|
|
772
|
+
"type": "array",
|
|
773
|
+
"element": {
|
|
774
|
+
"$ref": "#/$defs/reference-or-type"
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"$ref": "#/$defs/tuple"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"meta": { "title": "Record" },
|
|
784
|
+
"type": "object",
|
|
785
|
+
"properties": {
|
|
786
|
+
"type": {
|
|
787
|
+
"type": "literal",
|
|
788
|
+
"values": ["record"]
|
|
789
|
+
},
|
|
790
|
+
"key": {
|
|
791
|
+
"$ref": "#/$defs/key"
|
|
792
|
+
},
|
|
793
|
+
"value": {
|
|
794
|
+
"$ref": "#/$defs/reference-or-type"
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"meta": { "title": "Loose Record" },
|
|
800
|
+
"type": "object",
|
|
801
|
+
"properties": {
|
|
802
|
+
"type": {
|
|
803
|
+
"type": "literal",
|
|
804
|
+
"values": ["looseRecord"]
|
|
805
|
+
},
|
|
806
|
+
"key": {
|
|
807
|
+
"$ref": "#/$defs/key"
|
|
808
|
+
},
|
|
809
|
+
"value": {
|
|
810
|
+
"$ref": "#/$defs/reference-or-type"
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"meta": { "title": "Map" },
|
|
816
|
+
"type": "object",
|
|
817
|
+
"properties": {
|
|
818
|
+
"type": {
|
|
819
|
+
"type": "literal",
|
|
820
|
+
"values": ["map"]
|
|
821
|
+
},
|
|
822
|
+
"key": {
|
|
823
|
+
"$ref": "#/$defs/reference-or-type"
|
|
824
|
+
},
|
|
825
|
+
"value": {
|
|
826
|
+
"$ref": "#/$defs/reference-or-type"
|
|
827
|
+
},
|
|
828
|
+
"min": { "type": "number", "isOptional": true },
|
|
829
|
+
"max": { "type": "number", "isOptional": true }
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"meta": { "title": "Set" },
|
|
834
|
+
"type": "object",
|
|
835
|
+
"properties": {
|
|
836
|
+
"type": {
|
|
837
|
+
"type": "literal",
|
|
838
|
+
"values": ["set"]
|
|
839
|
+
},
|
|
840
|
+
"value": {
|
|
841
|
+
"$ref": "#/$defs/reference-or-type"
|
|
842
|
+
},
|
|
843
|
+
"minSize": { "type": "number", "isOptional": true },
|
|
844
|
+
"maxSize": { "type": "number", "isOptional": true }
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"meta": { "title": "Enum" },
|
|
849
|
+
"type": "object",
|
|
850
|
+
"properties": {
|
|
851
|
+
"type": {
|
|
852
|
+
"type": "literal",
|
|
853
|
+
"values": ["enum"]
|
|
854
|
+
},
|
|
855
|
+
"values": {
|
|
856
|
+
"type": "record",
|
|
857
|
+
"key": {
|
|
858
|
+
"type": "union",
|
|
859
|
+
"options": [
|
|
860
|
+
{
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"type": "number"
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"value": {
|
|
869
|
+
"type": "union",
|
|
870
|
+
"options": [
|
|
871
|
+
{
|
|
872
|
+
"type": "string"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"type": "number"
|
|
876
|
+
}
|
|
877
|
+
]
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"meta": { "title": "Promise" },
|
|
884
|
+
"type": "object",
|
|
885
|
+
"properties": {
|
|
886
|
+
"type": {
|
|
887
|
+
"type": "literal",
|
|
888
|
+
"values": ["promise"]
|
|
889
|
+
},
|
|
890
|
+
"value": {
|
|
891
|
+
"$ref": "#/$defs/reference-or-type"
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"meta": { "title": "Function" },
|
|
897
|
+
"type": "object",
|
|
898
|
+
"properties": {
|
|
899
|
+
"type": {
|
|
900
|
+
"type": "literal",
|
|
901
|
+
"values": ["function"]
|
|
902
|
+
},
|
|
903
|
+
"input": {
|
|
904
|
+
"$ref": "#/$defs/tuple"
|
|
905
|
+
},
|
|
906
|
+
"output": {
|
|
907
|
+
"$ref": "#/$defs/reference-or-type"
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"meta": { "title": "Transform" },
|
|
913
|
+
"type": "object",
|
|
914
|
+
"properties": {
|
|
915
|
+
"type": {
|
|
916
|
+
"type": "literal",
|
|
917
|
+
"values": ["transform"]
|
|
918
|
+
},
|
|
919
|
+
"name": {
|
|
920
|
+
"type": "string"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"meta": { "title": "Pipe" },
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"type": {
|
|
929
|
+
"type": "literal",
|
|
930
|
+
"values": ["pipe"]
|
|
931
|
+
},
|
|
932
|
+
"inner": {
|
|
933
|
+
"$ref": "#/$defs/reference-or-type"
|
|
934
|
+
},
|
|
935
|
+
"outer": {
|
|
936
|
+
"$ref": "#/$defs/reference-or-type"
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"meta": { "title": "Stringbool" },
|
|
942
|
+
"type": "object",
|
|
943
|
+
"properties": {
|
|
944
|
+
"type": {
|
|
945
|
+
"type": "literal",
|
|
946
|
+
"values": ["pipe"]
|
|
947
|
+
},
|
|
948
|
+
"inner": {
|
|
949
|
+
"$ref": "#/$defs/reference-or-type"
|
|
950
|
+
},
|
|
951
|
+
"outer": {
|
|
952
|
+
"$ref": "#/$defs/reference-or-type"
|
|
953
|
+
},
|
|
954
|
+
"case": {
|
|
955
|
+
"type": "enum",
|
|
956
|
+
"values": {
|
|
957
|
+
"sensitive": "sensitive",
|
|
958
|
+
"insensitive": "insensitive"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"truthy": {
|
|
962
|
+
"type": "array",
|
|
963
|
+
"element": {
|
|
964
|
+
"type": "string"
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"falsy": {
|
|
968
|
+
"type": "array",
|
|
969
|
+
"element": {
|
|
970
|
+
"type": "string"
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"meta": { "title": "Named bidirectional codec" },
|
|
977
|
+
"type": "object",
|
|
978
|
+
"properties": {
|
|
979
|
+
"type": {
|
|
980
|
+
"type": "literal",
|
|
981
|
+
"values": ["codec"]
|
|
982
|
+
},
|
|
983
|
+
"name": {
|
|
984
|
+
"type": "string"
|
|
985
|
+
},
|
|
986
|
+
"input": {
|
|
987
|
+
"$ref": "#/$defs/reference-or-type"
|
|
988
|
+
},
|
|
989
|
+
"output": {
|
|
990
|
+
"$ref": "#/$defs/reference-or-type"
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"meta": { "title": "Instance of a registered constructor" },
|
|
996
|
+
"type": "object",
|
|
997
|
+
"properties": {
|
|
998
|
+
"type": {
|
|
999
|
+
"type": "literal",
|
|
1000
|
+
"values": ["instanceof"]
|
|
1001
|
+
},
|
|
1002
|
+
"name": {
|
|
1003
|
+
"type": "string"
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"meta": { "title": "Catch" },
|
|
1009
|
+
"type": "object",
|
|
1010
|
+
"properties": {
|
|
1011
|
+
"type": {
|
|
1012
|
+
"type": "literal",
|
|
1013
|
+
"values": ["catch"]
|
|
1014
|
+
},
|
|
1015
|
+
"value": {
|
|
1016
|
+
"type": "any"
|
|
1017
|
+
},
|
|
1018
|
+
"innerType": {
|
|
1019
|
+
"$ref": "#/$defs/reference-or-type"
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
},
|
|
1025
|
+
"right": {
|
|
1026
|
+
"$ref": "#/$defs/modifiers"
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"type": "union",
|
|
1031
|
+
"options": [
|
|
1032
|
+
{
|
|
1033
|
+
"$ref": "#/$defs/type"
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1036
|
+
}
|