typebox 1.0.31 → 1.0.33
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/build/cjs/compile/code.d.ts +12 -0
- package/build/cjs/compile/code.js +68 -0
- package/build/cjs/compile/compile.d.ts +6 -0
- package/build/cjs/compile/compile.js +14 -0
- package/build/cjs/compile/index.d.ts +12 -0
- package/build/cjs/compile/index.js +29 -0
- package/build/cjs/compile/validator.d.ts +37 -0
- package/build/cjs/compile/validator.js +96 -0
- package/build/cjs/error/errors.js +21 -0
- package/build/cjs/error/index.d.ts +1 -0
- package/build/cjs/error/index.js +17 -0
- package/build/cjs/format/_registry.js +105 -0
- package/build/cjs/format/date-time.js +14 -0
- package/build/cjs/format/date.js +22 -0
- package/build/cjs/format/duration.js +11 -0
- package/build/cjs/format/email.js +8 -0
- package/build/cjs/format/format.d.ts +22 -0
- package/build/cjs/format/format.js +38 -0
- package/build/cjs/format/hostname.js +8 -0
- package/build/cjs/format/idn-email.js +8 -0
- package/build/cjs/format/idn-hostname.js +131 -0
- package/build/cjs/format/index.d.ts +4 -0
- package/build/cjs/format/index.js +21 -0
- package/build/cjs/format/ipv4.js +12 -0
- package/build/cjs/format/ipv6.js +12 -0
- package/build/cjs/format/iri-reference.js +62 -0
- package/build/cjs/format/iri.js +16 -0
- package/build/cjs/format/json-pointer-uri-fragment.js +12 -0
- package/build/cjs/format/json-pointer.js +12 -0
- package/build/cjs/format/regex.js +20 -0
- package/build/cjs/format/relative-json-pointer.js +12 -0
- package/build/cjs/format/time.js +30 -0
- package/build/cjs/format/uri-reference.js +12 -0
- package/build/cjs/format/uri-template.js +13 -0
- package/build/cjs/format/uri.js +12 -0
- package/build/cjs/format/url.js +12 -0
- package/build/cjs/format/uuid.js +12 -0
- package/build/cjs/guard/emit.js +237 -0
- package/build/cjs/guard/globals.js +111 -0
- package/build/cjs/guard/guard.js +233 -0
- package/build/cjs/guard/index.d.ts +6 -0
- package/build/cjs/guard/index.js +9 -0
- package/build/cjs/guard/native.js +72 -0
- package/build/cjs/index.d.ts +8 -0
- package/build/cjs/index.js +31 -0
- package/build/cjs/schema/build.d.ts +35 -0
- package/build/cjs/schema/build.js +102 -0
- package/build/cjs/schema/check.d.ts +5 -0
- package/build/cjs/schema/check.js +15 -0
- package/build/cjs/schema/deref/deref.d.ts +4 -0
- package/build/cjs/schema/deref/deref.js +81 -0
- package/build/cjs/schema/deref/index.d.ts +1 -0
- package/build/cjs/schema/deref/index.js +5 -0
- package/build/cjs/schema/engine/_context.d.ts +42 -0
- package/build/cjs/schema/engine/_context.js +130 -0
- package/build/cjs/schema/engine/_exact_optional.js +25 -0
- package/build/cjs/schema/engine/_externals.js +39 -0
- package/build/cjs/schema/engine/_functions.d.ts +5 -0
- package/build/cjs/schema/engine/_functions.js +51 -0
- package/build/cjs/schema/engine/_guard.d.ts +5 -0
- package/build/cjs/schema/engine/_guard.js +31 -0
- package/build/cjs/schema/engine/_reducer.d.ts +3 -0
- package/build/cjs/schema/engine/_reducer.js +48 -0
- package/build/cjs/schema/engine/_refine.d.ts +5 -0
- package/build/cjs/schema/engine/_refine.js +34 -0
- package/build/cjs/schema/engine/additionalItems.d.ts +5 -0
- package/build/cjs/schema/engine/additionalItems.js +53 -0
- package/build/cjs/schema/engine/additionalProperties.d.ts +8 -0
- package/build/cjs/schema/engine/additionalProperties.js +111 -0
- package/build/cjs/schema/engine/allOf.d.ts +5 -0
- package/build/cjs/schema/engine/allOf.js +52 -0
- package/build/cjs/schema/engine/anyOf.d.ts +5 -0
- package/build/cjs/schema/engine/anyOf.js +57 -0
- package/build/cjs/schema/engine/boolean.d.ts +4 -0
- package/build/cjs/schema/engine/boolean.js +30 -0
- package/build/cjs/schema/engine/const.d.ts +5 -0
- package/build/cjs/schema/engine/const.js +35 -0
- package/build/cjs/schema/engine/contains.d.ts +5 -0
- package/build/cjs/schema/engine/contains.js +45 -0
- package/build/cjs/schema/engine/dependencies.d.ts +5 -0
- package/build/cjs/schema/engine/dependencies.js +50 -0
- package/build/cjs/schema/engine/dependentRequired.d.ts +5 -0
- package/build/cjs/schema/engine/dependentRequired.js +45 -0
- package/build/cjs/schema/engine/dependentSchemas.d.ts +5 -0
- package/build/cjs/schema/engine/dependentSchemas.js +43 -0
- package/build/cjs/schema/engine/enum.d.ts +5 -0
- package/build/cjs/schema/engine/enum.js +38 -0
- package/build/cjs/schema/engine/exclusiveMaximum.d.ts +5 -0
- package/build/cjs/schema/engine/exclusiveMaximum.js +30 -0
- package/build/cjs/schema/engine/exclusiveMinimum.d.ts +5 -0
- package/build/cjs/schema/engine/exclusiveMinimum.js +30 -0
- package/build/cjs/schema/engine/format.d.ts +5 -0
- package/build/cjs/schema/engine/format.js +31 -0
- package/build/cjs/schema/engine/if.d.ts +5 -0
- package/build/cjs/schema/engine/if.js +52 -0
- package/build/cjs/schema/engine/index.d.ts +47 -0
- package/build/cjs/schema/engine/index.js +69 -0
- package/build/cjs/schema/engine/items.d.ts +5 -0
- package/build/cjs/schema/engine/items.js +73 -0
- package/build/cjs/schema/engine/maxContains.d.ts +5 -0
- package/build/cjs/schema/engine/maxContains.js +45 -0
- package/build/cjs/schema/engine/maxItems.d.ts +5 -0
- package/build/cjs/schema/engine/maxItems.js +30 -0
- package/build/cjs/schema/engine/maxLength.d.ts +5 -0
- package/build/cjs/schema/engine/maxLength.js +30 -0
- package/build/cjs/schema/engine/maxProperties.d.ts +5 -0
- package/build/cjs/schema/engine/maxProperties.js +30 -0
- package/build/cjs/schema/engine/maximum.d.ts +5 -0
- package/build/cjs/schema/engine/maximum.js +30 -0
- package/build/cjs/schema/engine/minContains.d.ts +5 -0
- package/build/cjs/schema/engine/minContains.js +44 -0
- package/build/cjs/schema/engine/minItems.d.ts +5 -0
- package/build/cjs/schema/engine/minItems.js +30 -0
- package/build/cjs/schema/engine/minLength.d.ts +5 -0
- package/build/cjs/schema/engine/minLength.js +30 -0
- package/build/cjs/schema/engine/minProperties.d.ts +5 -0
- package/build/cjs/schema/engine/minProperties.js +30 -0
- package/build/cjs/schema/engine/minimum.d.ts +5 -0
- package/build/cjs/schema/engine/minimum.js +30 -0
- package/build/cjs/schema/engine/multipleOf.d.ts +5 -0
- package/build/cjs/schema/engine/multipleOf.js +30 -0
- package/build/cjs/schema/engine/not.d.ts +5 -0
- package/build/cjs/schema/engine/not.js +41 -0
- package/build/cjs/schema/engine/oneOf.d.ts +5 -0
- package/build/cjs/schema/engine/oneOf.js +63 -0
- package/build/cjs/schema/engine/pattern.d.ts +5 -0
- package/build/cjs/schema/engine/pattern.js +33 -0
- package/build/cjs/schema/engine/patternProperties.d.ts +5 -0
- package/build/cjs/schema/engine/patternProperties.js +47 -0
- package/build/cjs/schema/engine/prefixItems.d.ts +5 -0
- package/build/cjs/schema/engine/prefixItems.js +40 -0
- package/build/cjs/schema/engine/properties.d.ts +5 -0
- package/build/cjs/schema/engine/properties.js +80 -0
- package/build/cjs/schema/engine/propertyNames.d.ts +5 -0
- package/build/cjs/schema/engine/propertyNames.js +42 -0
- package/build/cjs/schema/engine/ref.d.ts +5 -0
- package/build/cjs/schema/engine/ref.js +48 -0
- package/build/cjs/schema/engine/required.d.ts +5 -0
- package/build/cjs/schema/engine/required.js +37 -0
- package/build/cjs/schema/engine/schema.d.ts +5 -0
- package/build/cjs/schema/engine/schema.js +327 -0
- package/build/cjs/schema/engine/type.d.ts +5 -0
- package/build/cjs/schema/engine/type.js +79 -0
- package/build/cjs/schema/engine/unevaluatedItems.d.ts +5 -0
- package/build/cjs/schema/engine/unevaluatedItems.js +54 -0
- package/build/cjs/schema/engine/unevaluatedProperties.d.ts +5 -0
- package/build/cjs/schema/engine/unevaluatedProperties.js +54 -0
- package/build/cjs/schema/engine/uniqueItems.d.ts +5 -0
- package/build/cjs/schema/engine/uniqueItems.js +56 -0
- package/build/cjs/schema/errors.d.ts +6 -0
- package/build/cjs/schema/errors.js +27 -0
- package/build/cjs/schema/index.d.ts +3 -0
- package/build/cjs/schema/index.js +25 -0
- package/build/cjs/schema/schema.d.ts +5 -0
- package/build/cjs/schema/schema.js +21 -0
- package/build/cjs/schema/types/_guard.d.ts +10 -0
- package/build/cjs/schema/types/_guard.js +20 -0
- package/build/cjs/schema/types/_refine.d.ts +13 -0
- package/build/cjs/schema/types/_refine.js +21 -0
- package/build/cjs/schema/types/additionalItems.d.ts +9 -0
- package/build/cjs/schema/types/additionalItems.js +17 -0
- package/build/cjs/schema/types/additionalProperties.d.ts +9 -0
- package/build/cjs/schema/types/additionalProperties.js +17 -0
- package/build/cjs/schema/types/allOf.d.ts +9 -0
- package/build/cjs/schema/types/allOf.js +18 -0
- package/build/cjs/schema/types/anyOf.d.ts +9 -0
- package/build/cjs/schema/types/anyOf.js +18 -0
- package/build/cjs/schema/types/const.d.ts +9 -0
- package/build/cjs/schema/types/const.js +15 -0
- package/build/cjs/schema/types/contains.d.ts +9 -0
- package/build/cjs/schema/types/contains.js +17 -0
- package/build/cjs/schema/types/contentEncoding.d.ts +9 -0
- package/build/cjs/schema/types/contentEncoding.js +16 -0
- package/build/cjs/schema/types/contentMediaType.d.ts +9 -0
- package/build/cjs/schema/types/contentMediaType.js +16 -0
- package/build/cjs/schema/types/default.d.ts +9 -0
- package/build/cjs/schema/types/default.js +15 -0
- package/build/cjs/schema/types/defs.d.ts +6 -0
- package/build/cjs/schema/types/defs.js +15 -0
- package/build/cjs/schema/types/dependencies.d.ts +11 -0
- package/build/cjs/schema/types/dependencies.js +19 -0
- package/build/cjs/schema/types/dependentRequired.d.ts +9 -0
- package/build/cjs/schema/types/dependentRequired.js +18 -0
- package/build/cjs/schema/types/dependentSchemas.d.ts +9 -0
- package/build/cjs/schema/types/dependentSchemas.js +18 -0
- package/build/cjs/schema/types/else.d.ts +9 -0
- package/build/cjs/schema/types/else.js +17 -0
- package/build/cjs/schema/types/enum.d.ts +9 -0
- package/build/cjs/schema/types/enum.js +16 -0
- package/build/cjs/schema/types/exclusiveMaximum.d.ts +9 -0
- package/build/cjs/schema/types/exclusiveMaximum.js +16 -0
- package/build/cjs/schema/types/exclusiveMinimum.d.ts +9 -0
- package/build/cjs/schema/types/exclusiveMinimum.js +16 -0
- package/build/cjs/schema/types/format.d.ts +9 -0
- package/build/cjs/schema/types/format.js +16 -0
- package/build/cjs/schema/types/id.d.ts +9 -0
- package/build/cjs/schema/types/id.js +16 -0
- package/build/cjs/schema/types/if.d.ts +9 -0
- package/build/cjs/schema/types/if.js +17 -0
- package/build/cjs/schema/types/index.d.ts +51 -0
- package/build/cjs/schema/types/index.js +73 -0
- package/build/cjs/schema/types/items.d.ts +19 -0
- package/build/cjs/schema/types/items.js +31 -0
- package/build/cjs/schema/types/maxContains.d.ts +9 -0
- package/build/cjs/schema/types/maxContains.js +16 -0
- package/build/cjs/schema/types/maxItems.d.ts +9 -0
- package/build/cjs/schema/types/maxItems.js +16 -0
- package/build/cjs/schema/types/maxLength.d.ts +9 -0
- package/build/cjs/schema/types/maxLength.js +16 -0
- package/build/cjs/schema/types/maxProperties.d.ts +9 -0
- package/build/cjs/schema/types/maxProperties.js +16 -0
- package/build/cjs/schema/types/maximum.d.ts +9 -0
- package/build/cjs/schema/types/maximum.js +16 -0
- package/build/cjs/schema/types/minContains.d.ts +9 -0
- package/build/cjs/schema/types/minContains.js +16 -0
- package/build/cjs/schema/types/minItems.d.ts +9 -0
- package/build/cjs/schema/types/minItems.js +16 -0
- package/build/cjs/schema/types/minLength.d.ts +9 -0
- package/build/cjs/schema/types/minLength.js +16 -0
- package/build/cjs/schema/types/minProperties.d.ts +9 -0
- package/build/cjs/schema/types/minProperties.js +16 -0
- package/build/cjs/schema/types/minimum.d.ts +9 -0
- package/build/cjs/schema/types/minimum.js +16 -0
- package/build/cjs/schema/types/multipleOf.d.ts +9 -0
- package/build/cjs/schema/types/multipleOf.js +16 -0
- package/build/cjs/schema/types/not.d.ts +9 -0
- package/build/cjs/schema/types/not.js +17 -0
- package/build/cjs/schema/types/oneOf.d.ts +9 -0
- package/build/cjs/schema/types/oneOf.js +18 -0
- package/build/cjs/schema/types/pattern.d.ts +9 -0
- package/build/cjs/schema/types/pattern.js +17 -0
- package/build/cjs/schema/types/patternProperties.d.ts +9 -0
- package/build/cjs/schema/types/patternProperties.js +18 -0
- package/build/cjs/schema/types/prefixItems.d.ts +8 -0
- package/build/cjs/schema/types/prefixItems.js +17 -0
- package/build/cjs/schema/types/properties.d.ts +9 -0
- package/build/cjs/schema/types/properties.js +18 -0
- package/build/cjs/schema/types/propertyNames.d.ts +9 -0
- package/build/cjs/schema/types/propertyNames.js +18 -0
- package/build/cjs/schema/types/ref.d.ts +9 -0
- package/build/cjs/schema/types/ref.js +16 -0
- package/build/cjs/schema/types/required.d.ts +9 -0
- package/build/cjs/schema/types/required.js +17 -0
- package/build/cjs/schema/types/schema.js +19 -0
- package/build/cjs/schema/types/static.d.ts +113 -0
- package/build/cjs/schema/types/static.js +3 -0
- package/build/cjs/schema/types/then.d.ts +9 -0
- package/build/cjs/schema/types/then.js +17 -0
- package/build/cjs/schema/types/type.d.ts +9 -0
- package/build/cjs/schema/types/type.js +18 -0
- package/build/cjs/schema/types/unevaluatedItems.d.ts +9 -0
- package/build/cjs/schema/types/unevaluatedItems.js +17 -0
- package/build/cjs/schema/types/unevaluatedProperties.d.ts +9 -0
- package/build/cjs/schema/types/unevaluatedProperties.js +17 -0
- package/build/cjs/schema/types/uniqueItems.d.ts +9 -0
- package/build/cjs/schema/types/uniqueItems.js +16 -0
- package/build/cjs/system/arguments/arguments.js +12 -0
- package/build/cjs/system/arguments/index.d.ts +1 -0
- package/build/cjs/system/arguments/index.js +4 -0
- package/build/cjs/system/environment/can-evaluate.js +29 -0
- package/build/cjs/system/environment/environment.d.ts +1 -0
- package/build/cjs/system/environment/environment.js +17 -0
- package/build/cjs/system/environment/index.d.ts +1 -0
- package/build/cjs/system/environment/index.js +4 -0
- package/build/cjs/system/hashing/hash.js +236 -0
- package/build/cjs/system/hashing/index.d.ts +1 -0
- package/build/cjs/system/hashing/index.js +4 -0
- package/build/cjs/system/index.d.ts +4 -0
- package/build/cjs/system/index.js +21 -0
- package/build/cjs/system/locale/_config.d.ts +7 -0
- package/build/cjs/system/locale/_config.js +20 -0
- package/build/cjs/system/locale/_locale.d.ts +40 -0
- package/build/cjs/system/locale/_locale.js +56 -0
- package/build/cjs/system/locale/ar_001.d.ts +3 -0
- package/build/cjs/system/locale/ar_001.js +44 -0
- package/build/cjs/system/locale/bn_BD.d.ts +3 -0
- package/build/cjs/system/locale/bn_BD.js +44 -0
- package/build/cjs/system/locale/cs_CZ.d.ts +3 -0
- package/build/cjs/system/locale/cs_CZ.js +44 -0
- package/build/cjs/system/locale/de_DE.d.ts +3 -0
- package/build/cjs/system/locale/de_DE.js +44 -0
- package/build/cjs/system/locale/el_GR.d.ts +3 -0
- package/build/cjs/system/locale/el_GR.js +44 -0
- package/build/cjs/system/locale/en_US.d.ts +3 -0
- package/build/cjs/system/locale/en_US.js +43 -0
- package/build/cjs/system/locale/es_419.d.ts +3 -0
- package/build/cjs/system/locale/es_419.js +44 -0
- package/build/cjs/system/locale/es_AR.d.ts +3 -0
- package/build/cjs/system/locale/es_AR.js +44 -0
- package/build/cjs/system/locale/es_ES.d.ts +3 -0
- package/build/cjs/system/locale/es_ES.js +44 -0
- package/build/cjs/system/locale/es_MX.d.ts +3 -0
- package/build/cjs/system/locale/es_MX.js +44 -0
- package/build/cjs/system/locale/fa_IR.d.ts +3 -0
- package/build/cjs/system/locale/fa_IR.js +44 -0
- package/build/cjs/system/locale/fil_PH.d.ts +3 -0
- package/build/cjs/system/locale/fil_PH.js +44 -0
- package/build/cjs/system/locale/fr_CA.d.ts +3 -0
- package/build/cjs/system/locale/fr_CA.js +44 -0
- package/build/cjs/system/locale/fr_FR.d.ts +3 -0
- package/build/cjs/system/locale/fr_FR.js +44 -0
- package/build/cjs/system/locale/ha_NG.d.ts +3 -0
- package/build/cjs/system/locale/ha_NG.js +44 -0
- package/build/cjs/system/locale/hi_IN.d.ts +3 -0
- package/build/cjs/system/locale/hi_IN.js +44 -0
- package/build/cjs/system/locale/hu_HU.d.ts +3 -0
- package/build/cjs/system/locale/hu_HU.js +44 -0
- package/build/cjs/system/locale/id_ID.d.ts +3 -0
- package/build/cjs/system/locale/id_ID.js +44 -0
- package/build/cjs/system/locale/index.d.ts +1 -0
- package/build/cjs/system/locale/index.js +4 -0
- package/build/cjs/system/locale/it_IT.d.ts +3 -0
- package/build/cjs/system/locale/it_IT.js +44 -0
- package/build/cjs/system/locale/ja_JP.d.ts +3 -0
- package/build/cjs/system/locale/ja_JP.js +44 -0
- package/build/cjs/system/locale/ko_KR.d.ts +3 -0
- package/build/cjs/system/locale/ko_KR.js +44 -0
- package/build/cjs/system/locale/ms_MY.d.ts +3 -0
- package/build/cjs/system/locale/ms_MY.js +44 -0
- package/build/cjs/system/locale/nl_NL.d.ts +3 -0
- package/build/cjs/system/locale/nl_NL.js +44 -0
- package/build/cjs/system/locale/pl_PL.d.ts +3 -0
- package/build/cjs/system/locale/pl_PL.js +44 -0
- package/build/cjs/system/locale/pt_BR.d.ts +3 -0
- package/build/cjs/system/locale/pt_BR.js +44 -0
- package/build/cjs/system/locale/pt_PT.d.ts +3 -0
- package/build/cjs/system/locale/pt_PT.js +44 -0
- package/build/cjs/system/locale/ro_RO.d.ts +3 -0
- package/build/cjs/system/locale/ro_RO.js +44 -0
- package/build/cjs/system/locale/ru_RU.d.ts +3 -0
- package/build/cjs/system/locale/ru_RU.js +44 -0
- package/build/cjs/system/locale/sv_SE.d.ts +3 -0
- package/build/cjs/system/locale/sv_SE.js +44 -0
- package/build/cjs/system/locale/sw_TZ.d.ts +3 -0
- package/build/cjs/system/locale/sw_TZ.js +44 -0
- package/build/cjs/system/locale/th_TH.d.ts +3 -0
- package/build/cjs/system/locale/th_TH.js +44 -0
- package/build/cjs/system/locale/tr_TR.d.ts +3 -0
- package/build/cjs/system/locale/tr_TR.js +44 -0
- package/build/cjs/system/locale/uk_UA.d.ts +3 -0
- package/build/cjs/system/locale/uk_UA.js +44 -0
- package/build/cjs/system/locale/ur_PK.d.ts +3 -0
- package/build/cjs/system/locale/ur_PK.js +44 -0
- package/build/cjs/system/locale/vi_VN.d.ts +3 -0
- package/build/cjs/system/locale/vi_VN.js +44 -0
- package/build/cjs/system/locale/yo_NG.d.ts +3 -0
- package/build/cjs/system/locale/yo_NG.js +44 -0
- package/build/cjs/system/locale/zh_Hans.d.ts +3 -0
- package/build/cjs/system/locale/zh_Hans.js +44 -0
- package/build/cjs/system/locale/zh_Hant.d.ts +3 -0
- package/build/cjs/system/locale/zh_Hant.js +44 -0
- package/build/cjs/system/memory/assign.js +13 -0
- package/build/cjs/system/memory/clone.js +66 -0
- package/build/cjs/system/memory/create.js +26 -0
- package/build/cjs/system/memory/discard.js +19 -0
- package/build/cjs/system/memory/index.d.ts +1 -0
- package/build/cjs/system/memory/index.js +4 -0
- package/build/cjs/system/memory/memory.d.ts +6 -0
- package/build/cjs/system/memory/memory.js +23 -0
- package/build/cjs/system/memory/metrics.js +11 -0
- package/build/cjs/system/memory/update.js +35 -0
- package/build/cjs/system/settings/index.d.ts +1 -0
- package/build/cjs/system/settings/index.js +4 -0
- package/build/cjs/system/settings/settings.js +35 -0
- package/build/cjs/system/system.d.ts +6 -0
- package/build/cjs/system/system.js +22 -0
- package/build/cjs/system/unreachable/index.d.ts +1 -0
- package/build/cjs/system/unreachable/index.js +17 -0
- package/build/cjs/system/unreachable/unreachable.js +9 -0
- package/build/cjs/type/action/_optional.d.ts +19 -0
- package/build/cjs/type/action/_optional.js +46 -0
- package/build/cjs/type/action/_readonly.d.ts +19 -0
- package/build/cjs/type/action/_readonly.js +46 -0
- package/build/cjs/type/action/awaited.d.ts +11 -0
- package/build/cjs/type/action/awaited.js +15 -0
- package/build/cjs/type/action/capitalize.d.ts +11 -0
- package/build/cjs/type/action/capitalize.js +15 -0
- package/build/cjs/type/action/conditional.d.ts +11 -0
- package/build/cjs/type/action/conditional.js +15 -0
- package/build/cjs/type/action/constructor-parameters.d.ts +11 -0
- package/build/cjs/type/action/constructor-parameters.js +15 -0
- package/build/cjs/type/action/evaluate.d.ts +11 -0
- package/build/cjs/type/action/evaluate.js +15 -0
- package/build/cjs/type/action/exclude.d.ts +11 -0
- package/build/cjs/type/action/exclude.js +15 -0
- package/build/cjs/type/action/extract.d.ts +11 -0
- package/build/cjs/type/action/extract.js +15 -0
- package/build/cjs/type/action/index.d.ts +26 -0
- package/build/cjs/type/action/index.js +42 -0
- package/build/cjs/type/action/indexed.d.ts +14 -0
- package/build/cjs/type/action/indexed.js +18 -0
- package/build/cjs/type/action/instance-type.d.ts +11 -0
- package/build/cjs/type/action/instance-type.js +15 -0
- package/build/cjs/type/action/interface.d.ts +14 -0
- package/build/cjs/type/action/interface.js +24 -0
- package/build/cjs/type/action/keyof.d.ts +11 -0
- package/build/cjs/type/action/keyof.js +15 -0
- package/build/cjs/type/action/lowercase.d.ts +11 -0
- package/build/cjs/type/action/lowercase.js +15 -0
- package/build/cjs/type/action/mapped.d.ts +12 -0
- package/build/cjs/type/action/mapped.js +15 -0
- package/build/cjs/type/action/module.d.ts +12 -0
- package/build/cjs/type/action/module.js +15 -0
- package/build/cjs/type/action/non-nullable.d.ts +11 -0
- package/build/cjs/type/action/non-nullable.js +15 -0
- package/build/cjs/type/action/omit.d.ts +14 -0
- package/build/cjs/type/action/omit.js +18 -0
- package/build/cjs/type/action/options.d.ts +12 -0
- package/build/cjs/type/action/options.js +15 -0
- package/build/cjs/type/action/parameters.d.ts +11 -0
- package/build/cjs/type/action/parameters.js +15 -0
- package/build/cjs/type/action/partial.d.ts +11 -0
- package/build/cjs/type/action/partial.js +15 -0
- package/build/cjs/type/action/pick.d.ts +14 -0
- package/build/cjs/type/action/pick.js +18 -0
- package/build/cjs/type/action/required.d.ts +11 -0
- package/build/cjs/type/action/required.js +15 -0
- package/build/cjs/type/action/return-type.d.ts +11 -0
- package/build/cjs/type/action/return-type.js +15 -0
- package/build/cjs/type/action/uncapitalize.d.ts +11 -0
- package/build/cjs/type/action/uncapitalize.js +15 -0
- package/build/cjs/type/action/uppercase.d.ts +11 -0
- package/build/cjs/type/action/uppercase.js +15 -0
- package/build/cjs/type/engine/awaited/index.d.ts +1 -0
- package/build/cjs/type/engine/awaited/index.js +17 -0
- package/build/cjs/type/engine/awaited/instantiate.d.ts +10 -0
- package/build/cjs/type/engine/awaited/instantiate.js +22 -0
- package/build/cjs/type/engine/call/instantiate.d.ts +20 -0
- package/build/cjs/type/engine/call/instantiate.js +41 -0
- package/build/cjs/type/engine/call/resolve-arguments.d.ts +13 -0
- package/build/cjs/type/engine/call/resolve-arguments.js +42 -0
- package/build/cjs/type/engine/call/resolve-target.d.ts +25 -0
- package/build/cjs/type/engine/call/resolve-target.js +30 -0
- package/build/cjs/type/engine/conditional/index.d.ts +1 -0
- package/build/cjs/type/engine/conditional/index.js +17 -0
- package/build/cjs/type/engine/conditional/instantiate.d.ts +10 -0
- package/build/cjs/type/engine/conditional/instantiate.js +22 -0
- package/build/cjs/type/engine/constructor-parameters/index.d.ts +1 -0
- package/build/cjs/type/engine/constructor-parameters/index.js +17 -0
- package/build/cjs/type/engine/constructor-parameters/instantiate.d.ts +14 -0
- package/build/cjs/type/engine/constructor-parameters/instantiate.js +24 -0
- package/build/cjs/type/engine/cyclic/candidates.d.ts +9 -0
- package/build/cjs/type/engine/cyclic/candidates.js +22 -0
- package/build/cjs/type/engine/cyclic/check.d.ts +24 -0
- package/build/cjs/type/engine/cyclic/check.js +57 -0
- package/build/cjs/type/engine/cyclic/dependencies.d.ts +25 -0
- package/build/cjs/type/engine/cyclic/dependencies.js +56 -0
- package/build/cjs/type/engine/cyclic/extends.d.ts +31 -0
- package/build/cjs/type/engine/cyclic/extends.js +56 -0
- package/build/cjs/type/engine/cyclic/index.d.ts +6 -0
- package/build/cjs/type/engine/cyclic/index.js +22 -0
- package/build/cjs/type/engine/cyclic/instantiate.d.ts +20 -0
- package/build/cjs/type/engine/cyclic/instantiate.js +32 -0
- package/build/cjs/type/engine/cyclic/target.d.ts +10 -0
- package/build/cjs/type/engine/cyclic/target.js +19 -0
- package/build/cjs/type/engine/enum/enum-to-union.d.ts +14 -0
- package/build/cjs/type/engine/enum/enum-to-union.js +29 -0
- package/build/cjs/type/engine/enum/index.d.ts +2 -0
- package/build/cjs/type/engine/enum/index.js +18 -0
- package/build/cjs/type/engine/enum/typescript-enum-to-enum-values.d.ts +8 -0
- package/build/cjs/type/engine/enum/typescript-enum-to-enum-values.js +13 -0
- package/build/cjs/type/engine/evaluate/broaden.d.ts +16 -0
- package/build/cjs/type/engine/evaluate/broaden.js +51 -0
- package/build/cjs/type/engine/evaluate/compare.d.ts +15 -0
- package/build/cjs/type/engine/evaluate/compare.js +25 -0
- package/build/cjs/type/engine/evaluate/composite.d.ts +30 -0
- package/build/cjs/type/engine/evaluate/composite.js +66 -0
- package/build/cjs/type/engine/evaluate/distribute.d.ts +26 -0
- package/build/cjs/type/engine/evaluate/distribute.js +56 -0
- package/build/cjs/type/engine/evaluate/evaluate.d.ts +11 -0
- package/build/cjs/type/engine/evaluate/evaluate.js +24 -0
- package/build/cjs/type/engine/evaluate/flatten.d.ts +6 -0
- package/build/cjs/type/engine/evaluate/flatten.js +14 -0
- package/build/cjs/type/engine/evaluate/index.d.ts +8 -0
- package/build/cjs/type/engine/evaluate/index.js +24 -0
- package/build/cjs/type/engine/evaluate/instantiate.d.ts +8 -0
- package/build/cjs/type/engine/evaluate/instantiate.js +20 -0
- package/build/cjs/type/engine/evaluate/narrow.d.ts +5 -0
- package/build/cjs/type/engine/evaluate/narrow.js +14 -0
- package/build/cjs/type/engine/exclude/index.d.ts +1 -0
- package/build/cjs/type/engine/exclude/index.js +17 -0
- package/build/cjs/type/engine/exclude/instantiate.d.ts +16 -0
- package/build/cjs/type/engine/exclude/instantiate.js +39 -0
- package/build/cjs/type/engine/extract/index.d.ts +1 -0
- package/build/cjs/type/engine/extract/index.js +17 -0
- package/build/cjs/type/engine/extract/instantiate.d.ts +16 -0
- package/build/cjs/type/engine/extract/instantiate.js +39 -0
- package/build/cjs/type/engine/helpers/index.d.ts +3 -0
- package/build/cjs/type/engine/helpers/index.js +19 -0
- package/build/cjs/type/engine/helpers/keys-to-indexer.d.ts +7 -0
- package/build/cjs/type/engine/helpers/keys-to-indexer.js +18 -0
- package/build/cjs/type/engine/helpers/keys.d.ts +3 -0
- package/build/cjs/type/engine/helpers/keys.js +11 -0
- package/build/cjs/type/engine/helpers/union.js +3 -0
- package/build/cjs/type/engine/index.d.ts +30 -0
- package/build/cjs/type/engine/index.js +54 -0
- package/build/cjs/type/engine/indexable/from-cyclic.d.ts +6 -0
- package/build/cjs/type/engine/indexable/from-cyclic.js +11 -0
- package/build/cjs/type/engine/indexable/from-enum.d.ts +6 -0
- package/build/cjs/type/engine/indexable/from-enum.js +11 -0
- package/build/cjs/type/engine/indexable/from-intersect.d.ts +5 -0
- package/build/cjs/type/engine/indexable/from-intersect.js +11 -0
- package/build/cjs/type/engine/indexable/from-literal.d.ts +3 -0
- package/build/cjs/type/engine/indexable/from-literal.js +8 -0
- package/build/cjs/type/engine/indexable/from-template-literal.d.ts +5 -0
- package/build/cjs/type/engine/indexable/from-template-literal.js +11 -0
- package/build/cjs/type/engine/indexable/from-type.d.ts +17 -0
- package/build/cjs/type/engine/indexable/from-type.js +25 -0
- package/build/cjs/type/engine/indexable/from-union.d.ts +4 -0
- package/build/cjs/type/engine/indexable/from-union.js +10 -0
- package/build/cjs/type/engine/indexable/to-indexable-keys.d.ts +10 -0
- package/build/cjs/type/engine/indexable/to-indexable-keys.js +15 -0
- package/build/cjs/type/engine/indexable/to-indexable.d.ts +9 -0
- package/build/cjs/type/engine/indexable/to-indexable.js +17 -0
- package/build/cjs/type/engine/indexed/array-indexer.d.ts +12 -0
- package/build/cjs/type/engine/indexed/array-indexer.js +21 -0
- package/build/cjs/type/engine/indexed/from-array.d.ts +15 -0
- package/build/cjs/type/engine/indexed/from-array.js +30 -0
- package/build/cjs/type/engine/indexed/from-object.d.ts +9 -0
- package/build/cjs/type/engine/indexed/from-object.js +21 -0
- package/build/cjs/type/engine/indexed/from-tuple.d.ts +13 -0
- package/build/cjs/type/engine/indexed/from-tuple.js +31 -0
- package/build/cjs/type/engine/indexed/index.d.ts +1 -0
- package/build/cjs/type/engine/indexed/index.js +17 -0
- package/build/cjs/type/engine/indexed/instantiate.d.ts +21 -0
- package/build/cjs/type/engine/indexed/instantiate.js +40 -0
- package/build/cjs/type/engine/instance-type/index.d.ts +1 -0
- package/build/cjs/type/engine/instance-type/index.js +17 -0
- package/build/cjs/type/engine/instance-type/instantiate.d.ts +12 -0
- package/build/cjs/type/engine/instance-type/instantiate.js +24 -0
- package/build/cjs/type/engine/instantiate.d.ts +162 -0
- package/build/cjs/type/engine/instantiate.js +173 -0
- package/build/cjs/type/engine/interface/index.d.ts +1 -0
- package/build/cjs/type/engine/interface/index.js +17 -0
- package/build/cjs/type/engine/interface/instantiate.d.ts +16 -0
- package/build/cjs/type/engine/interface/instantiate.js +22 -0
- package/build/cjs/type/engine/intrinsics/from-literal.d.ts +5 -0
- package/build/cjs/type/engine/intrinsics/from-literal.js +12 -0
- package/build/cjs/type/engine/intrinsics/from-template-literal.d.ts +6 -0
- package/build/cjs/type/engine/intrinsics/from-template-literal.js +11 -0
- package/build/cjs/type/engine/intrinsics/from-type.d.ts +10 -0
- package/build/cjs/type/engine/intrinsics/from-type.js +16 -0
- package/build/cjs/type/engine/intrinsics/from-union.d.ts +6 -0
- package/build/cjs/type/engine/intrinsics/from-union.js +10 -0
- package/build/cjs/type/engine/intrinsics/index.d.ts +1 -0
- package/build/cjs/type/engine/intrinsics/index.js +17 -0
- package/build/cjs/type/engine/intrinsics/instantiate.d.ts +34 -0
- package/build/cjs/type/engine/intrinsics/instantiate.js +54 -0
- package/build/cjs/type/engine/intrinsics/mapping.js +7 -0
- package/build/cjs/type/engine/keyof/from-array.d.ts +4 -0
- package/build/cjs/type/engine/keyof/from-array.js +8 -0
- package/build/cjs/type/engine/keyof/from-object.d.ts +10 -0
- package/build/cjs/type/engine/keyof/from-object.js +23 -0
- package/build/cjs/type/engine/keyof/from-record.d.ts +4 -0
- package/build/cjs/type/engine/keyof/from-record.js +8 -0
- package/build/cjs/type/engine/keyof/from-tuple.d.ts +5 -0
- package/build/cjs/type/engine/keyof/from-tuple.js +10 -0
- package/build/cjs/type/engine/keyof/index.d.ts +1 -0
- package/build/cjs/type/engine/keyof/index.js +17 -0
- package/build/cjs/type/engine/keyof/instantiate.d.ts +25 -0
- package/build/cjs/type/engine/keyof/instantiate.js +47 -0
- package/build/cjs/type/engine/mapped/index.d.ts +1 -0
- package/build/cjs/type/engine/mapped/index.js +17 -0
- package/build/cjs/type/engine/mapped/instantiate.d.ts +28 -0
- package/build/cjs/type/engine/mapped/instantiate.js +50 -0
- package/build/cjs/type/engine/mapped/mapped-keys.d.ts +14 -0
- package/build/cjs/type/engine/mapped/mapped-keys.js +32 -0
- package/build/cjs/type/engine/module/index.d.ts +1 -0
- package/build/cjs/type/engine/module/index.js +17 -0
- package/build/cjs/type/engine/module/instantiate.d.ts +21 -0
- package/build/cjs/type/engine/module/instantiate.js +36 -0
- package/build/cjs/type/engine/non-nullable/index.d.ts +1 -0
- package/build/cjs/type/engine/non-nullable/index.js +17 -0
- package/build/cjs/type/engine/non-nullable/instantiate.d.ts +15 -0
- package/build/cjs/type/engine/non-nullable/instantiate.js +24 -0
- package/build/cjs/type/engine/object/collapse.d.ts +12 -0
- package/build/cjs/type/engine/object/collapse.js +17 -0
- package/build/cjs/type/engine/object/from-cyclic.d.ts +6 -0
- package/build/cjs/type/engine/object/from-cyclic.js +11 -0
- package/build/cjs/type/engine/object/from-intersect.d.ts +17 -0
- package/build/cjs/type/engine/object/from-intersect.js +24 -0
- package/build/cjs/type/engine/object/from-object.d.ts +3 -0
- package/build/cjs/type/engine/object/from-object.js +7 -0
- package/build/cjs/type/engine/object/from-tuple.d.ts +6 -0
- package/build/cjs/type/engine/object/from-tuple.js +12 -0
- package/build/cjs/type/engine/object/from-type.d.ts +14 -0
- package/build/cjs/type/engine/object/from-type.js +22 -0
- package/build/cjs/type/engine/object/from-union.d.ts +12 -0
- package/build/cjs/type/engine/object/from-union.js +29 -0
- package/build/cjs/type/engine/object/index.d.ts +1 -0
- package/build/cjs/type/engine/object/index.js +17 -0
- package/build/cjs/type/engine/omit/index.d.ts +1 -0
- package/build/cjs/type/engine/omit/index.js +17 -0
- package/build/cjs/type/engine/omit/instantiate.d.ts +16 -0
- package/build/cjs/type/engine/omit/instantiate.js +34 -0
- package/build/cjs/type/engine/options/index.d.ts +1 -0
- package/build/cjs/type/engine/options/index.js +17 -0
- package/build/cjs/type/engine/options/instantiate.d.ts +8 -0
- package/build/cjs/type/engine/options/instantiate.js +16 -0
- package/build/cjs/type/engine/parameters/index.d.ts +1 -0
- package/build/cjs/type/engine/parameters/index.js +17 -0
- package/build/cjs/type/engine/parameters/instantiate.d.ts +14 -0
- package/build/cjs/type/engine/parameters/instantiate.js +24 -0
- package/build/cjs/type/engine/partial/from-cyclic.d.ts +10 -0
- package/build/cjs/type/engine/partial/from-cyclic.js +14 -0
- package/build/cjs/type/engine/partial/from-intersect.d.ts +5 -0
- package/build/cjs/type/engine/partial/from-intersect.js +10 -0
- package/build/cjs/type/engine/partial/from-object.d.ts +8 -0
- package/build/cjs/type/engine/partial/from-object.js +14 -0
- package/build/cjs/type/engine/partial/from-type.d.ts +12 -0
- package/build/cjs/type/engine/partial/from-type.js +19 -0
- package/build/cjs/type/engine/partial/from-union.d.ts +5 -0
- package/build/cjs/type/engine/partial/from-union.js +10 -0
- package/build/cjs/type/engine/partial/index.d.ts +1 -0
- package/build/cjs/type/engine/partial/index.js +17 -0
- package/build/cjs/type/engine/partial/instantiate.d.ts +9 -0
- package/build/cjs/type/engine/partial/instantiate.js +17 -0
- package/build/cjs/type/engine/patterns/index.d.ts +2 -0
- package/build/cjs/type/engine/patterns/index.js +18 -0
- package/build/cjs/type/engine/patterns/pattern.d.ts +7 -0
- package/build/cjs/type/engine/patterns/pattern.js +16 -0
- package/build/cjs/type/engine/patterns/template.d.ts +7 -0
- package/build/cjs/type/engine/patterns/template.js +23 -0
- package/build/cjs/type/engine/pick/index.d.ts +1 -0
- package/build/cjs/type/engine/pick/index.js +17 -0
- package/build/cjs/type/engine/pick/instantiate.d.ts +17 -0
- package/build/cjs/type/engine/pick/instantiate.js +34 -0
- package/build/cjs/type/engine/record/from-key-any.d.ts +4 -0
- package/build/cjs/type/engine/record/from-key-any.js +9 -0
- package/build/cjs/type/engine/record/from-key-boolean.d.ts +7 -0
- package/build/cjs/type/engine/record/from-key-boolean.js +8 -0
- package/build/cjs/type/engine/record/from-key-enum.d.ts +6 -0
- package/build/cjs/type/engine/record/from-key-enum.js +11 -0
- package/build/cjs/type/engine/record/from-key-integer.d.ts +5 -0
- package/build/cjs/type/engine/record/from-key-integer.js +10 -0
- package/build/cjs/type/engine/record/from-key-intersect.d.ts +5 -0
- package/build/cjs/type/engine/record/from-key-intersect.js +11 -0
- package/build/cjs/type/engine/record/from-key-literal.d.ts +11 -0
- package/build/cjs/type/engine/record/from-key-literal.js +13 -0
- package/build/cjs/type/engine/record/from-key-number.d.ts +5 -0
- package/build/cjs/type/engine/record/from-key-number.js +10 -0
- package/build/cjs/type/engine/record/from-key-string.d.ts +5 -0
- package/build/cjs/type/engine/record/from-key-string.js +15 -0
- package/build/cjs/type/engine/record/from-key-template-literal.d.ts +8 -0
- package/build/cjs/type/engine/record/from-key-template-literal.js +15 -0
- package/build/cjs/type/engine/record/from-key-union.d.ts +20 -0
- package/build/cjs/type/engine/record/from-key-union.js +42 -0
- package/build/cjs/type/engine/record/from-key.d.ts +24 -0
- package/build/cjs/type/engine/record/from-key.js +43 -0
- package/build/cjs/type/engine/record/index.d.ts +1 -0
- package/build/cjs/type/engine/record/index.js +17 -0
- package/build/cjs/type/engine/record/instantiate.d.ts +9 -0
- package/build/cjs/type/engine/record/instantiate.js +19 -0
- package/build/cjs/type/engine/record/record-create.d.ts +3 -0
- package/build/cjs/type/engine/record/record-create.js +10 -0
- package/build/cjs/type/engine/ref/index.d.ts +1 -0
- package/build/cjs/type/engine/ref/index.js +17 -0
- package/build/cjs/type/engine/ref/instantiate.d.ts +6 -0
- package/build/cjs/type/engine/ref/instantiate.js +14 -0
- package/build/cjs/type/engine/required/from-cyclic.d.ts +10 -0
- package/build/cjs/type/engine/required/from-cyclic.js +14 -0
- package/build/cjs/type/engine/required/from-intersect.d.ts +5 -0
- package/build/cjs/type/engine/required/from-intersect.js +10 -0
- package/build/cjs/type/engine/required/from-object.d.ts +8 -0
- package/build/cjs/type/engine/required/from-object.js +14 -0
- package/build/cjs/type/engine/required/from-type.d.ts +12 -0
- package/build/cjs/type/engine/required/from-type.js +19 -0
- package/build/cjs/type/engine/required/from-union.d.ts +5 -0
- package/build/cjs/type/engine/required/from-union.js +10 -0
- package/build/cjs/type/engine/required/index.d.ts +1 -0
- package/build/cjs/type/engine/required/index.js +17 -0
- package/build/cjs/type/engine/required/instantiate.d.ts +9 -0
- package/build/cjs/type/engine/required/instantiate.js +17 -0
- package/build/cjs/type/engine/rest/index.d.ts +1 -0
- package/build/cjs/type/engine/rest/index.js +17 -0
- package/build/cjs/type/engine/rest/spread.d.ts +12 -0
- package/build/cjs/type/engine/rest/spread.js +22 -0
- package/build/cjs/type/engine/return-type/index.d.ts +1 -0
- package/build/cjs/type/engine/return-type/index.js +17 -0
- package/build/cjs/type/engine/return-type/instantiate.d.ts +11 -0
- package/build/cjs/type/engine/return-type/instantiate.js +21 -0
- package/build/cjs/type/engine/template-literal/create.js +8 -0
- package/build/cjs/type/engine/template-literal/decode.d.ts +20 -0
- package/build/cjs/type/engine/template-literal/decode.js +76 -0
- package/build/cjs/type/engine/template-literal/encode.d.ts +31 -0
- package/build/cjs/type/engine/template-literal/encode.js +83 -0
- package/build/cjs/type/engine/template-literal/finite.d.ts +12 -0
- package/build/cjs/type/engine/template-literal/finite.js +33 -0
- package/build/cjs/type/engine/template-literal/index.d.ts +5 -0
- package/build/cjs/type/engine/template-literal/index.js +21 -0
- package/build/cjs/type/engine/template-literal/instantiate.d.ts +9 -0
- package/build/cjs/type/engine/template-literal/instantiate.js +17 -0
- package/build/cjs/type/engine/template-literal/static.d.ts +18 -0
- package/build/cjs/type/engine/template-literal/static.js +3 -0
- package/build/cjs/type/engine/tuple/to-object.d.ts +12 -0
- package/build/cjs/type/engine/tuple/to-object.js +17 -0
- package/build/cjs/type/extends/any.d.ts +9 -0
- package/build/cjs/type/extends/any.js +15 -0
- package/build/cjs/type/extends/array.d.ts +7 -0
- package/build/cjs/type/extends/array.js +12 -0
- package/build/cjs/type/extends/async-iterator.d.ts +7 -0
- package/build/cjs/type/extends/async-iterator.js +12 -0
- package/build/cjs/type/extends/bigint.d.ts +7 -0
- package/build/cjs/type/extends/bigint.js +12 -0
- package/build/cjs/type/extends/boolean.d.ts +7 -0
- package/build/cjs/type/extends/boolean.js +12 -0
- package/build/cjs/type/extends/constructor.d.ts +8 -0
- package/build/cjs/type/extends/constructor.js +19 -0
- package/build/cjs/type/extends/enum.d.ts +7 -0
- package/build/cjs/type/extends/enum.js +9 -0
- package/build/cjs/type/extends/extends-left.d.ts +55 -0
- package/build/cjs/type/extends/extends-left.js +86 -0
- package/build/cjs/type/extends/extends-right.d.ts +25 -0
- package/build/cjs/type/extends/extends-right.js +62 -0
- package/build/cjs/type/extends/extends.d.ts +11 -0
- package/build/cjs/type/extends/extends.js +18 -0
- package/build/cjs/type/extends/function.d.ts +8 -0
- package/build/cjs/type/extends/function.js +19 -0
- package/build/cjs/type/extends/index.d.ts +2 -0
- package/build/cjs/type/extends/index.js +6 -0
- package/build/cjs/type/extends/inference.d.ts +34 -0
- package/build/cjs/type/extends/inference.js +80 -0
- package/build/cjs/type/extends/integer.d.ts +8 -0
- package/build/cjs/type/extends/integer.js +13 -0
- package/build/cjs/type/extends/intersect.d.ts +6 -0
- package/build/cjs/type/extends/intersect.js +18 -0
- package/build/cjs/type/extends/iterator.d.ts +7 -0
- package/build/cjs/type/extends/iterator.js +12 -0
- package/build/cjs/type/extends/literal.d.ts +17 -0
- package/build/cjs/type/extends/literal.js +44 -0
- package/build/cjs/type/extends/never.d.ts +8 -0
- package/build/cjs/type/extends/never.js +12 -0
- package/build/cjs/type/extends/null.d.ts +7 -0
- package/build/cjs/type/extends/null.js +12 -0
- package/build/cjs/type/extends/number.d.ts +7 -0
- package/build/cjs/type/extends/number.js +12 -0
- package/build/cjs/type/extends/object.d.ts +25 -0
- package/build/cjs/type/extends/object.js +92 -0
- package/build/cjs/type/extends/parameters.d.ts +15 -0
- package/build/cjs/type/extends/parameters.js +40 -0
- package/build/cjs/type/extends/promise.d.ts +7 -0
- package/build/cjs/type/extends/promise.js +12 -0
- package/build/cjs/type/extends/result.d.ts +21 -0
- package/build/cjs/type/extends/result.js +42 -0
- package/build/cjs/type/extends/return-type.d.ts +7 -0
- package/build/cjs/type/extends/return-type.js +12 -0
- package/build/cjs/type/extends/string.d.ts +7 -0
- package/build/cjs/type/extends/string.js +12 -0
- package/build/cjs/type/extends/symbol.d.ts +7 -0
- package/build/cjs/type/extends/symbol.js +12 -0
- package/build/cjs/type/extends/template-literal.d.ts +6 -0
- package/build/cjs/type/extends/template-literal.js +10 -0
- package/build/cjs/type/extends/tuple.d.ts +25 -0
- package/build/cjs/type/extends/tuple.js +85 -0
- package/build/cjs/type/extends/undefined.d.ts +8 -0
- package/build/cjs/type/extends/undefined.js +13 -0
- package/build/cjs/type/extends/union.d.ts +11 -0
- package/build/cjs/type/extends/union.js +39 -0
- package/build/cjs/type/extends/unknown.d.ts +9 -0
- package/build/cjs/type/extends/unknown.js +15 -0
- package/build/cjs/type/extends/void.d.ts +7 -0
- package/build/cjs/type/extends/void.js +12 -0
- package/build/cjs/type/index.d.ts +5 -0
- package/build/cjs/type/index.js +21 -0
- package/build/cjs/type/script/index.d.ts +1 -0
- package/build/cjs/type/script/index.js +17 -0
- package/build/cjs/type/script/mapping.d.ts +358 -0
- package/build/cjs/type/script/mapping.js +644 -0
- package/build/cjs/type/script/parser.d.ts +256 -0
- package/build/cjs/type/script/parser.js +264 -0
- package/build/cjs/type/script/script.d.ts +17 -0
- package/build/cjs/type/script/script.js +24 -0
- package/build/cjs/type/script/token/bigint.d.ts +8 -0
- package/build/cjs/type/script/token/bigint.js +23 -0
- package/build/cjs/type/script/token/const.d.ts +11 -0
- package/build/cjs/type/script/token/const.js +21 -0
- package/build/cjs/type/script/token/ident.d.ts +16 -0
- package/build/cjs/type/script/token/ident.js +38 -0
- package/build/cjs/type/script/token/index.d.ts +9 -0
- package/build/cjs/type/script/token/index.js +25 -0
- package/build/cjs/type/script/token/integer.d.ts +19 -0
- package/build/cjs/type/script/token/integer.js +48 -0
- package/build/cjs/type/script/token/internal/char.js +28 -0
- package/build/cjs/type/script/token/internal/guard.d.ts +1 -0
- package/build/cjs/type/script/token/internal/guard.js +21 -0
- package/build/cjs/type/script/token/internal/many.d.ts +7 -0
- package/build/cjs/type/script/token/internal/many.js +20 -0
- package/build/cjs/type/script/token/internal/optional.d.ts +5 -0
- package/build/cjs/type/script/token/internal/optional.js +15 -0
- package/build/cjs/type/script/token/internal/result.js +10 -0
- package/build/cjs/type/script/token/internal/take.js +22 -0
- package/build/cjs/type/script/token/internal/trim.d.ts +19 -0
- package/build/cjs/type/script/token/internal/trim.js +38 -0
- package/build/cjs/type/script/token/number.d.ts +20 -0
- package/build/cjs/type/script/token/number.js +68 -0
- package/build/cjs/type/script/token/span.d.ts +10 -0
- package/build/cjs/type/script/token/span.js +38 -0
- package/build/cjs/type/script/token/string.d.ts +11 -0
- package/build/cjs/type/script/token/string.js +27 -0
- package/build/cjs/type/script/token/until.js +24 -0
- package/build/cjs/type/script/token/until_1.d.ts +5 -0
- package/build/cjs/type/script/token/until_1.js +19 -0
- package/build/cjs/type/types/_codec.d.ts +30 -0
- package/build/cjs/type/types/_codec.js +68 -0
- package/build/cjs/type/types/_optional.d.ts +16 -0
- package/build/cjs/type/types/_optional.js +33 -0
- package/build/cjs/type/types/_readonly.d.ts +16 -0
- package/build/cjs/type/types/_readonly.js +32 -0
- package/build/cjs/type/types/_refine.d.ts +19 -0
- package/build/cjs/type/types/_refine.js +25 -0
- package/build/cjs/type/types/any.d.ts +10 -0
- package/build/cjs/type/types/any.js +22 -0
- package/build/cjs/type/types/array.d.ts +16 -0
- package/build/cjs/type/types/array.js +29 -0
- package/build/cjs/type/types/async-iterator.d.ts +16 -0
- package/build/cjs/type/types/async-iterator.js +29 -0
- package/build/cjs/type/types/base.d.ts +29 -0
- package/build/cjs/type/types/base.js +72 -0
- package/build/cjs/type/types/bigint.d.ts +12 -0
- package/build/cjs/type/types/bigint.js +26 -0
- package/build/cjs/type/types/boolean.d.ts +11 -0
- package/build/cjs/type/types/boolean.js +21 -0
- package/build/cjs/type/types/call.d.ts +16 -0
- package/build/cjs/type/types/call.js +26 -0
- package/build/cjs/type/types/constructor.d.ts +18 -0
- package/build/cjs/type/types/constructor.js +29 -0
- package/build/cjs/type/types/cyclic.d.ts +16 -0
- package/build/cjs/type/types/cyclic.js +34 -0
- package/build/cjs/type/types/deferred.d.ts +12 -0
- package/build/cjs/type/types/deferred.js +20 -0
- package/build/cjs/type/types/enum.d.ts +16 -0
- package/build/cjs/type/types/enum.js +21 -0
- package/build/cjs/type/types/function.d.ts +20 -0
- package/build/cjs/type/types/function.js +29 -0
- package/build/cjs/type/types/generic.d.ts +13 -0
- package/build/cjs/type/types/generic.js +21 -0
- package/build/cjs/type/types/identifier.d.ts +11 -0
- package/build/cjs/type/types/identifier.js +21 -0
- package/build/cjs/type/types/index.d.ts +47 -0
- package/build/cjs/type/types/index.js +69 -0
- package/build/cjs/type/types/infer.d.ts +15 -0
- package/build/cjs/type/types/infer.js +24 -0
- package/build/cjs/type/types/integer.d.ts +12 -0
- package/build/cjs/type/types/integer.js +26 -0
- package/build/cjs/type/types/intersect.d.ts +15 -0
- package/build/cjs/type/types/intersect.js +29 -0
- package/build/cjs/type/types/iterator.d.ts +16 -0
- package/build/cjs/type/types/iterator.js +29 -0
- package/build/cjs/type/types/literal.d.ts +22 -0
- package/build/cjs/type/types/literal.js +50 -0
- package/build/cjs/type/types/never.d.ts +12 -0
- package/build/cjs/type/types/never.js +26 -0
- package/build/cjs/type/types/null.d.ts +11 -0
- package/build/cjs/type/types/null.js +21 -0
- package/build/cjs/type/types/number.d.ts +12 -0
- package/build/cjs/type/types/number.js +26 -0
- package/build/cjs/type/types/object.d.ts +20 -0
- package/build/cjs/type/types/object.js +34 -0
- package/build/cjs/type/types/parameter.d.ts +17 -0
- package/build/cjs/type/types/parameter.js +25 -0
- package/build/cjs/type/types/promise.d.ts +16 -0
- package/build/cjs/type/types/promise.js +29 -0
- package/build/cjs/type/types/properties.d.ts +42 -0
- package/build/cjs/type/types/properties.js +21 -0
- package/build/cjs/type/types/record.d.ts +44 -0
- package/build/cjs/type/types/record.js +73 -0
- package/build/cjs/type/types/ref.d.ts +19 -0
- package/build/cjs/type/types/ref.js +21 -0
- package/build/cjs/type/types/rest.d.ts +11 -0
- package/build/cjs/type/types/rest.js +21 -0
- package/build/cjs/type/types/schema.js +19 -0
- package/build/cjs/type/types/static.d.ts +47 -0
- package/build/cjs/type/types/static.js +4 -0
- package/build/cjs/type/types/string.d.ts +12 -0
- package/build/cjs/type/types/string.js +27 -0
- package/build/cjs/type/types/symbol.d.ts +11 -0
- package/build/cjs/type/types/symbol.js +21 -0
- package/build/cjs/type/types/template-literal.d.ts +24 -0
- package/build/cjs/type/types/template-literal.js +32 -0
- package/build/cjs/type/types/this.d.ts +14 -0
- package/build/cjs/type/types/this.js +21 -0
- package/build/cjs/type/types/tuple.d.ts +37 -0
- package/build/cjs/type/types/tuple.js +30 -0
- package/build/cjs/type/types/undefined.d.ts +11 -0
- package/build/cjs/type/types/undefined.js +21 -0
- package/build/cjs/type/types/union.d.ts +15 -0
- package/build/cjs/type/types/union.js +29 -0
- package/build/cjs/type/types/unknown.d.ts +10 -0
- package/build/cjs/type/types/unknown.js +21 -0
- package/build/cjs/type/types/unsafe.d.ts +11 -0
- package/build/cjs/type/types/unsafe.js +22 -0
- package/build/cjs/type/types/void.d.ts +11 -0
- package/build/cjs/type/types/void.js +21 -0
- package/build/cjs/typebox.d.ts +71 -0
- package/build/cjs/typebox.js +211 -0
- package/build/cjs/value/assert/assert.d.ts +14 -0
- package/build/cjs/value/assert/assert.js +32 -0
- package/build/cjs/value/assert/index.d.ts +1 -0
- package/build/cjs/value/assert/index.js +17 -0
- package/build/cjs/value/check/check.d.ts +5 -0
- package/build/cjs/value/check/check.js +14 -0
- package/build/cjs/value/check/index.d.ts +1 -0
- package/build/cjs/value/check/index.js +17 -0
- package/build/cjs/value/clean/additional.d.ts +2 -0
- package/build/cjs/value/clean/additional.js +9 -0
- package/build/cjs/value/clean/clean.d.ts +15 -0
- package/build/cjs/value/clean/clean.js +18 -0
- package/build/cjs/value/clean/from-array.d.ts +2 -0
- package/build/cjs/value/clean/from-array.js +11 -0
- package/build/cjs/value/clean/from-base.d.ts +2 -0
- package/build/cjs/value/clean/from-base.js +7 -0
- package/build/cjs/value/clean/from-cyclic.d.ts +2 -0
- package/build/cjs/value/clean/from-cyclic.js +9 -0
- package/build/cjs/value/clean/from-intersect.d.ts +2 -0
- package/build/cjs/value/clean/from-intersect.js +28 -0
- package/build/cjs/value/clean/from-object.d.ts +2 -0
- package/build/cjs/value/clean/from-object.js +34 -0
- package/build/cjs/value/clean/from-record.d.ts +2 -0
- package/build/cjs/value/clean/from-record.js +35 -0
- package/build/cjs/value/clean/from-ref.d.ts +2 -0
- package/build/cjs/value/clean/from-ref.js +11 -0
- package/build/cjs/value/clean/from-tuple.d.ts +2 -0
- package/build/cjs/value/clean/from-tuple.js +17 -0
- package/build/cjs/value/clean/from-type.d.ts +2 -0
- package/build/cjs/value/clean/from-type.js +26 -0
- package/build/cjs/value/clean/from-union.d.ts +2 -0
- package/build/cjs/value/clean/from-union.js +15 -0
- package/build/cjs/value/clean/index.d.ts +1 -0
- package/build/cjs/value/clean/index.js +17 -0
- package/build/cjs/value/clone/clone.js +85 -0
- package/build/cjs/value/clone/index.d.ts +1 -0
- package/build/cjs/value/clone/index.js +17 -0
- package/build/cjs/value/codec/callback.d.ts +2 -0
- package/build/cjs/value/codec/callback.js +28 -0
- package/build/cjs/value/codec/decode.d.ts +22 -0
- package/build/cjs/value/codec/decode.js +61 -0
- package/build/cjs/value/codec/encode.d.ts +12 -0
- package/build/cjs/value/codec/encode.js +56 -0
- package/build/cjs/value/codec/from-array.d.ts +2 -0
- package/build/cjs/value/codec/from-array.js +41 -0
- package/build/cjs/value/codec/from-cyclic.d.ts +2 -0
- package/build/cjs/value/codec/from-cyclic.js +11 -0
- package/build/cjs/value/codec/from-intersect.d.ts +2 -0
- package/build/cjs/value/codec/from-intersect.js +31 -0
- package/build/cjs/value/codec/from-object.d.ts +2 -0
- package/build/cjs/value/codec/from-object.js +48 -0
- package/build/cjs/value/codec/from-record.d.ts +2 -0
- package/build/cjs/value/codec/from-record.js +47 -0
- package/build/cjs/value/codec/from-ref.d.ts +2 -0
- package/build/cjs/value/codec/from-ref.js +13 -0
- package/build/cjs/value/codec/from-tuple.d.ts +2 -0
- package/build/cjs/value/codec/from-tuple.js +38 -0
- package/build/cjs/value/codec/from-type.d.ts +2 -0
- package/build/cjs/value/codec/from-type.js +25 -0
- package/build/cjs/value/codec/from-union.d.ts +2 -0
- package/build/cjs/value/codec/from-union.js +45 -0
- package/build/cjs/value/codec/has.d.ts +5 -0
- package/build/cjs/value/codec/has.js +96 -0
- package/build/cjs/value/codec/index.d.ts +3 -0
- package/build/cjs/value/codec/index.js +19 -0
- package/build/cjs/value/convert/convert.d.ts +13 -0
- package/build/cjs/value/convert/convert.js +18 -0
- package/build/cjs/value/convert/from-additional.d.ts +6 -0
- package/build/cjs/value/convert/from-additional.js +21 -0
- package/build/cjs/value/convert/from-array.d.ts +2 -0
- package/build/cjs/value/convert/from-array.js +11 -0
- package/build/cjs/value/convert/from-base.d.ts +2 -0
- package/build/cjs/value/convert/from-base.js +7 -0
- package/build/cjs/value/convert/from-bigint.d.ts +2 -0
- package/build/cjs/value/convert/from-bigint.js +12 -0
- package/build/cjs/value/convert/from-boolean.d.ts +2 -0
- package/build/cjs/value/convert/from-boolean.js +12 -0
- package/build/cjs/value/convert/from-cyclic.d.ts +2 -0
- package/build/cjs/value/convert/from-cyclic.js +9 -0
- package/build/cjs/value/convert/from-enum.d.ts +2 -0
- package/build/cjs/value/convert/from-enum.js +10 -0
- package/build/cjs/value/convert/from-integer.d.ts +2 -0
- package/build/cjs/value/convert/from-integer.js +12 -0
- package/build/cjs/value/convert/from-intersect.d.ts +2 -0
- package/build/cjs/value/convert/from-intersect.js +10 -0
- package/build/cjs/value/convert/from-literal.d.ts +2 -0
- package/build/cjs/value/convert/from-literal.js +47 -0
- package/build/cjs/value/convert/from-null.d.ts +2 -0
- package/build/cjs/value/convert/from-null.js +12 -0
- package/build/cjs/value/convert/from-number.d.ts +2 -0
- package/build/cjs/value/convert/from-number.js +12 -0
- package/build/cjs/value/convert/from-object.d.ts +2 -0
- package/build/cjs/value/convert/from-object.js +31 -0
- package/build/cjs/value/convert/from-record.d.ts +2 -0
- package/build/cjs/value/convert/from-record.js +26 -0
- package/build/cjs/value/convert/from-ref.d.ts +2 -0
- package/build/cjs/value/convert/from-ref.js +11 -0
- package/build/cjs/value/convert/from-string.d.ts +2 -0
- package/build/cjs/value/convert/from-string.js +12 -0
- package/build/cjs/value/convert/from-template-literal.d.ts +2 -0
- package/build/cjs/value/convert/from-template-literal.js +10 -0
- package/build/cjs/value/convert/from-tuple.d.ts +2 -0
- package/build/cjs/value/convert/from-tuple.js +14 -0
- package/build/cjs/value/convert/from-type.d.ts +2 -0
- package/build/cjs/value/convert/from-type.js +48 -0
- package/build/cjs/value/convert/from-undefined.d.ts +2 -0
- package/build/cjs/value/convert/from-undefined.js +12 -0
- package/build/cjs/value/convert/from-union.d.ts +2 -0
- package/build/cjs/value/convert/from-union.js +16 -0
- package/build/cjs/value/convert/from-void.d.ts +2 -0
- package/build/cjs/value/convert/from-void.js +12 -0
- package/build/cjs/value/convert/index.d.ts +1 -0
- package/build/cjs/value/convert/index.js +17 -0
- package/build/cjs/value/convert/try/index.d.ts +1 -0
- package/build/cjs/value/convert/try/index.js +4 -0
- package/build/cjs/value/convert/try/try-bigint.d.ts +2 -0
- package/build/cjs/value/convert/try/try-bigint.js +77 -0
- package/build/cjs/value/convert/try/try-boolean.d.ts +2 -0
- package/build/cjs/value/convert/try/try-boolean.js +67 -0
- package/build/cjs/value/convert/try/try-null.d.ts +2 -0
- package/build/cjs/value/convert/try/try-null.js +64 -0
- package/build/cjs/value/convert/try/try-number.d.ts +2 -0
- package/build/cjs/value/convert/try/try-number.js +79 -0
- package/build/cjs/value/convert/try/try-result.js +23 -0
- package/build/cjs/value/convert/try/try-string.d.ts +2 -0
- package/build/cjs/value/convert/try/try-string.js +59 -0
- package/build/cjs/value/convert/try/try-undefined.d.ts +2 -0
- package/build/cjs/value/convert/try/try-undefined.js +64 -0
- package/build/cjs/value/convert/try/try.d.ts +7 -0
- package/build/cjs/value/convert/try/try.js +23 -0
- package/build/cjs/value/create/create.d.ts +5 -0
- package/build/cjs/value/create/create.js +14 -0
- package/build/cjs/value/create/error.d.ts +5 -0
- package/build/cjs/value/create/error.js +11 -0
- package/build/cjs/value/create/from-array.d.ts +2 -0
- package/build/cjs/value/create/from-array.js +13 -0
- package/build/cjs/value/create/from-async-iterator.d.ts +2 -0
- package/build/cjs/value/create/from-async-iterator.js +8 -0
- package/build/cjs/value/create/from-base.d.ts +2 -0
- package/build/cjs/value/create/from-base.js +7 -0
- package/build/cjs/value/create/from-bigint.d.ts +2 -0
- package/build/cjs/value/create/from-bigint.js +10 -0
- package/build/cjs/value/create/from-boolean.d.ts +2 -0
- package/build/cjs/value/create/from-boolean.js +7 -0
- package/build/cjs/value/create/from-constructor.d.ts +2 -0
- package/build/cjs/value/create/from-constructor.js +13 -0
- package/build/cjs/value/create/from-cyclic.d.ts +2 -0
- package/build/cjs/value/create/from-cyclic.js +9 -0
- package/build/cjs/value/create/from-default.d.ts +3 -0
- package/build/cjs/value/create/from-default.js +13 -0
- package/build/cjs/value/create/from-enum.d.ts +2 -0
- package/build/cjs/value/create/from-enum.js +9 -0
- package/build/cjs/value/create/from-function.d.ts +2 -0
- package/build/cjs/value/create/from-function.js +9 -0
- package/build/cjs/value/create/from-integer.d.ts +2 -0
- package/build/cjs/value/create/from-integer.js +11 -0
- package/build/cjs/value/create/from-intersect.d.ts +2 -0
- package/build/cjs/value/create/from-intersect.js +9 -0
- package/build/cjs/value/create/from-iterator.d.ts +2 -0
- package/build/cjs/value/create/from-iterator.js +8 -0
- package/build/cjs/value/create/from-literal.d.ts +2 -0
- package/build/cjs/value/create/from-literal.js +7 -0
- package/build/cjs/value/create/from-never.d.ts +2 -0
- package/build/cjs/value/create/from-never.js +8 -0
- package/build/cjs/value/create/from-null.d.ts +2 -0
- package/build/cjs/value/create/from-null.js +7 -0
- package/build/cjs/value/create/from-number.d.ts +2 -0
- package/build/cjs/value/create/from-number.js +11 -0
- package/build/cjs/value/create/from-object.d.ts +2 -0
- package/build/cjs/value/create/from-object.js +12 -0
- package/build/cjs/value/create/from-promise.d.ts +2 -0
- package/build/cjs/value/create/from-promise.js +8 -0
- package/build/cjs/value/create/from-record.d.ts +2 -0
- package/build/cjs/value/create/from-record.js +11 -0
- package/build/cjs/value/create/from-ref.d.ts +2 -0
- package/build/cjs/value/create/from-ref.js +12 -0
- package/build/cjs/value/create/from-string.d.ts +2 -0
- package/build/cjs/value/create/from-string.js +12 -0
- package/build/cjs/value/create/from-symbol.d.ts +2 -0
- package/build/cjs/value/create/from-symbol.js +7 -0
- package/build/cjs/value/create/from-template-literal.d.ts +2 -0
- package/build/cjs/value/create/from-template-literal.js +14 -0
- package/build/cjs/value/create/from-tuple.d.ts +2 -0
- package/build/cjs/value/create/from-tuple.js +8 -0
- package/build/cjs/value/create/from-type.d.ts +2 -0
- package/build/cjs/value/create/from-type.js +72 -0
- package/build/cjs/value/create/from-undefined.d.ts +2 -0
- package/build/cjs/value/create/from-undefined.js +7 -0
- package/build/cjs/value/create/from-union.d.ts +2 -0
- package/build/cjs/value/create/from-union.js +12 -0
- package/build/cjs/value/create/from-void.d.ts +2 -0
- package/build/cjs/value/create/from-void.js +7 -0
- package/build/cjs/value/create/index.d.ts +2 -0
- package/build/cjs/value/create/index.js +18 -0
- package/build/cjs/value/default/default.d.ts +13 -0
- package/build/cjs/value/default/default.js +18 -0
- package/build/cjs/value/default/from-array.d.ts +2 -0
- package/build/cjs/value/default/from-array.js +15 -0
- package/build/cjs/value/default/from-base.d.ts +2 -0
- package/build/cjs/value/default/from-base.js +8 -0
- package/build/cjs/value/default/from-cyclic.d.ts +2 -0
- package/build/cjs/value/default/from-cyclic.js +10 -0
- package/build/cjs/value/default/from-default.d.ts +3 -0
- package/build/cjs/value/default/from-default.js +16 -0
- package/build/cjs/value/default/from-intersect.d.ts +2 -0
- package/build/cjs/value/default/from-intersect.js +11 -0
- package/build/cjs/value/default/from-object.d.ts +2 -0
- package/build/cjs/value/default/from-object.js +33 -0
- package/build/cjs/value/default/from-record.d.ts +2 -0
- package/build/cjs/value/default/from-record.js +29 -0
- package/build/cjs/value/default/from-ref.d.ts +2 -0
- package/build/cjs/value/default/from-ref.js +12 -0
- package/build/cjs/value/default/from-tuple.d.ts +2 -0
- package/build/cjs/value/default/from-tuple.js +17 -0
- package/build/cjs/value/default/from-type.d.ts +2 -0
- package/build/cjs/value/default/from-type.js +30 -0
- package/build/cjs/value/default/from-union.d.ts +2 -0
- package/build/cjs/value/default/from-union.js +17 -0
- package/build/cjs/value/default/index.d.ts +1 -0
- package/build/cjs/value/default/index.js +17 -0
- package/build/cjs/value/delta/diff.d.ts +10 -0
- package/build/cjs/value/delta/diff.js +132 -0
- package/build/cjs/value/delta/edit.d.ts +24 -0
- package/build/cjs/value/delta/edit.js +20 -0
- package/build/cjs/value/delta/index.d.ts +3 -0
- package/build/cjs/value/delta/index.js +19 -0
- package/build/cjs/value/delta/patch.d.ts +8 -0
- package/build/cjs/value/delta/patch.js +45 -0
- package/build/cjs/value/equal/equal.js +9 -0
- package/build/cjs/value/equal/index.d.ts +1 -0
- package/build/cjs/value/equal/index.js +17 -0
- package/build/cjs/value/errors/errors.d.ts +16 -0
- package/build/cjs/value/errors/errors.js +20 -0
- package/build/cjs/value/errors/index.d.ts +1 -0
- package/build/cjs/value/errors/index.js +17 -0
- package/build/cjs/value/hash/hash.js +13 -0
- package/build/cjs/value/hash/index.d.ts +1 -0
- package/build/cjs/value/hash/index.js +17 -0
- package/build/cjs/value/index.d.ts +20 -0
- package/build/cjs/value/index.js +43 -0
- package/build/cjs/value/mutate/error.js +10 -0
- package/build/cjs/value/mutate/from-array.d.ts +2 -0
- package/build/cjs/value/mutate/from-array.js +19 -0
- package/build/cjs/value/mutate/from-object.d.ts +2 -0
- package/build/cjs/value/mutate/from-object.js +30 -0
- package/build/cjs/value/mutate/from-unknown.d.ts +2 -0
- package/build/cjs/value/mutate/from-unknown.js +10 -0
- package/build/cjs/value/mutate/from-value.d.ts +2 -0
- package/build/cjs/value/mutate/from-value.js +15 -0
- package/build/cjs/value/mutate/index.d.ts +1 -0
- package/build/cjs/value/mutate/index.js +17 -0
- package/build/cjs/value/mutate/mutate.js +42 -0
- package/build/cjs/value/parse/index.d.ts +1 -0
- package/build/cjs/value/parse/index.js +17 -0
- package/build/cjs/value/parse/parse.d.ts +21 -0
- package/build/cjs/value/parse/parse.js +52 -0
- package/build/cjs/value/pipeline/index.d.ts +1 -0
- package/build/cjs/value/pipeline/index.js +17 -0
- package/build/cjs/value/pipeline/pipeline.d.ts +10 -0
- package/build/cjs/value/pipeline/pipeline.js +18 -0
- package/build/cjs/value/pointer/index.d.ts +1 -0
- package/build/cjs/value/pointer/index.js +4 -0
- package/build/cjs/value/pointer/pointer.js +144 -0
- package/build/cjs/value/repair/error.d.ts +7 -0
- package/build/cjs/value/repair/error.js +12 -0
- package/build/cjs/value/repair/from-array.d.ts +2 -0
- package/build/cjs/value/repair/from-array.js +42 -0
- package/build/cjs/value/repair/from-base.d.ts +2 -0
- package/build/cjs/value/repair/from-base.js +11 -0
- package/build/cjs/value/repair/from-enum.d.ts +2 -0
- package/build/cjs/value/repair/from-enum.js +10 -0
- package/build/cjs/value/repair/from-intersect.d.ts +2 -0
- package/build/cjs/value/repair/from-intersect.js +10 -0
- package/build/cjs/value/repair/from-object.d.ts +2 -0
- package/build/cjs/value/repair/from-object.js +36 -0
- package/build/cjs/value/repair/from-record.d.ts +2 -0
- package/build/cjs/value/repair/from-record.js +36 -0
- package/build/cjs/value/repair/from-ref.d.ts +2 -0
- package/build/cjs/value/repair/from-ref.js +12 -0
- package/build/cjs/value/repair/from-template-literal.d.ts +2 -0
- package/build/cjs/value/repair/from-template-literal.js +10 -0
- package/build/cjs/value/repair/from-tuple.d.ts +2 -0
- package/build/cjs/value/repair/from-tuple.js +15 -0
- package/build/cjs/value/repair/from-type.d.ts +2 -0
- package/build/cjs/value/repair/from-type.js +67 -0
- package/build/cjs/value/repair/from-union.d.ts +2 -0
- package/build/cjs/value/repair/from-union.js +74 -0
- package/build/cjs/value/repair/from-unknown.d.ts +2 -0
- package/build/cjs/value/repair/from-unknown.js +15 -0
- package/build/cjs/value/repair/index.d.ts +1 -0
- package/build/cjs/value/repair/index.js +17 -0
- package/build/cjs/value/repair/repair.d.ts +17 -0
- package/build/cjs/value/repair/repair.js +23 -0
- package/build/cjs/value/shared/index.d.ts +1 -0
- package/build/cjs/value/shared/index.js +18 -0
- package/build/cjs/value/shared/optional-undefined.d.ts +2 -0
- package/build/cjs/value/shared/optional-undefined.js +18 -0
- package/build/cjs/value/value.d.ts +16 -0
- package/build/cjs/value/value.js +38 -0
- package/build/esm/error/errors.d.mts +214 -0
- package/build/esm/format/_registry.d.mts +15 -0
- package/build/esm/format/date-time.d.mts +6 -0
- package/build/esm/format/date.d.mts +6 -0
- package/build/esm/format/duration.d.mts +5 -0
- package/build/esm/format/email.d.mts +2 -0
- package/build/esm/format/hostname.d.mts +2 -0
- package/build/esm/format/idn-email.d.mts +2 -0
- package/build/esm/format/idn-hostname.d.mts +5 -0
- package/build/esm/format/ipv4.d.mts +6 -0
- package/build/esm/format/ipv6.d.mts +6 -0
- package/build/esm/format/iri-reference.d.mts +5 -0
- package/build/esm/format/iri.d.mts +5 -0
- package/build/esm/format/json-pointer-uri-fragment.d.mts +6 -0
- package/build/esm/format/json-pointer.d.mts +6 -0
- package/build/esm/format/regex.d.mts +6 -0
- package/build/esm/format/relative-json-pointer.d.mts +6 -0
- package/build/esm/format/time.d.mts +5 -0
- package/build/esm/format/uri-reference.d.mts +6 -0
- package/build/esm/format/uri-template.d.mts +6 -0
- package/build/esm/format/uri.d.mts +6 -0
- package/build/esm/format/url.d.mts +6 -0
- package/build/esm/format/uuid.d.mts +6 -0
- package/build/esm/guard/emit.d.mts +57 -0
- package/build/esm/guard/globals.d.mts +35 -0
- package/build/esm/guard/guard.d.mts +59 -0
- package/build/esm/guard/native.d.mts +20 -0
- package/build/esm/schema/engine/_exact_optional.d.mts +3 -0
- package/build/esm/schema/engine/_externals.d.mts +9 -0
- package/build/esm/schema/types/schema.d.mts +9 -0
- package/build/esm/system/arguments/arguments.d.mts +5 -0
- package/build/esm/system/environment/can-evaluate.d.mts +2 -0
- package/build/esm/system/hashing/hash.d.mts +4 -0
- package/build/esm/system/memory/assign.d.mts +14 -0
- package/build/esm/system/memory/clone.d.mts +6 -0
- package/build/esm/system/memory/create.d.mts +8 -0
- package/build/esm/system/memory/discard.d.mts +4 -0
- package/build/esm/system/memory/metrics.d.mts +14 -0
- package/build/esm/system/memory/update.d.mts +7 -0
- package/build/esm/system/settings/settings.d.mts +47 -0
- package/build/esm/system/unreachable/unreachable.d.mts +3 -0
- package/build/esm/type/engine/helpers/union.d.mts +7 -0
- package/build/esm/type/engine/intrinsics/mapping.d.mts +9 -0
- package/build/esm/type/engine/object/from-intersect.d.mts +17 -0
- package/build/esm/type/engine/object/from-intersect.mjs +21 -0
- package/build/esm/type/engine/object/from-union.d.mts +12 -0
- package/build/esm/type/engine/object/from-union.mjs +26 -0
- package/build/esm/type/engine/template-literal/create.d.mts +1 -0
- package/build/esm/type/script/mapping.d.mts +358 -0
- package/build/esm/type/script/mapping.mjs +525 -0
- package/build/esm/type/script/parser.d.mts +256 -0
- package/build/esm/type/script/parser.mjs +132 -0
- package/build/esm/type/script/token/internal/char.d.mts +73 -0
- package/build/esm/type/script/token/internal/result.d.mts +2 -0
- package/build/esm/type/script/token/internal/take.d.mts +6 -0
- package/build/esm/type/script/token/until.d.mts +6 -0
- package/build/esm/type/types/object.d.mts +20 -0
- package/build/esm/type/types/object.mjs +29 -0
- package/build/esm/type/types/schema.d.mts +199 -0
- package/build/esm/value/clone/clone.d.mts +5 -0
- package/build/esm/value/convert/try/try-result.d.mts +8 -0
- package/build/esm/value/equal/equal.d.mts +2 -0
- package/build/esm/value/hash/hash.d.mts +6 -0
- package/build/esm/value/mutate/error.d.mts +3 -0
- package/build/esm/value/mutate/mutate.d.mts +9 -0
- package/build/esm/value/pointer/pointer.d.mts +17 -0
- package/compile/package.json +4 -0
- package/error/package.json +4 -0
- package/format/package.json +4 -0
- package/guard/package.json +4 -0
- package/package.json +68 -31
- package/schema/package.json +4 -0
- package/system/package.json +4 -0
- package/type/package.json +4 -0
- package/value/package.json +4 -0
- package/build/type/engine/object/from-intersect.d.mts +0 -14
- package/build/type/engine/object/from-intersect.mjs +0 -17
- package/build/type/engine/object/from-union.d.mts +0 -12
- package/build/type/engine/object/from-union.mjs +0 -26
- package/build/type/script/mapping.d.mts +0 -358
- package/build/type/script/mapping.mjs +0 -525
- package/build/type/script/parser.d.mts +0 -256
- package/build/type/script/parser.mjs +0 -132
- package/build/type/types/object.d.mts +0 -17
- package/build/type/types/object.mjs +0 -27
- /package/build/{error/errors.d.mts → cjs/error/errors.d.ts} +0 -0
- /package/build/{format/_registry.d.mts → cjs/format/_registry.d.ts} +0 -0
- /package/build/{format/date-time.d.mts → cjs/format/date-time.d.ts} +0 -0
- /package/build/{format/date.d.mts → cjs/format/date.d.ts} +0 -0
- /package/build/{format/duration.d.mts → cjs/format/duration.d.ts} +0 -0
- /package/build/{format/email.d.mts → cjs/format/email.d.ts} +0 -0
- /package/build/{format/hostname.d.mts → cjs/format/hostname.d.ts} +0 -0
- /package/build/{format/idn-email.d.mts → cjs/format/idn-email.d.ts} +0 -0
- /package/build/{format/idn-hostname.d.mts → cjs/format/idn-hostname.d.ts} +0 -0
- /package/build/{format/ipv4.d.mts → cjs/format/ipv4.d.ts} +0 -0
- /package/build/{format/ipv6.d.mts → cjs/format/ipv6.d.ts} +0 -0
- /package/build/{format/iri-reference.d.mts → cjs/format/iri-reference.d.ts} +0 -0
- /package/build/{format/iri.d.mts → cjs/format/iri.d.ts} +0 -0
- /package/build/{format/json-pointer-uri-fragment.d.mts → cjs/format/json-pointer-uri-fragment.d.ts} +0 -0
- /package/build/{format/json-pointer.d.mts → cjs/format/json-pointer.d.ts} +0 -0
- /package/build/{format/regex.d.mts → cjs/format/regex.d.ts} +0 -0
- /package/build/{format/relative-json-pointer.d.mts → cjs/format/relative-json-pointer.d.ts} +0 -0
- /package/build/{format/time.d.mts → cjs/format/time.d.ts} +0 -0
- /package/build/{format/uri-reference.d.mts → cjs/format/uri-reference.d.ts} +0 -0
- /package/build/{format/uri-template.d.mts → cjs/format/uri-template.d.ts} +0 -0
- /package/build/{format/uri.d.mts → cjs/format/uri.d.ts} +0 -0
- /package/build/{format/url.d.mts → cjs/format/url.d.ts} +0 -0
- /package/build/{format/uuid.d.mts → cjs/format/uuid.d.ts} +0 -0
- /package/build/{guard/emit.d.mts → cjs/guard/emit.d.ts} +0 -0
- /package/build/{guard/globals.d.mts → cjs/guard/globals.d.ts} +0 -0
- /package/build/{guard/guard.d.mts → cjs/guard/guard.d.ts} +0 -0
- /package/build/{guard/native.d.mts → cjs/guard/native.d.ts} +0 -0
- /package/build/{schema/engine/_exact_optional.d.mts → cjs/schema/engine/_exact_optional.d.ts} +0 -0
- /package/build/{schema/engine/_externals.d.mts → cjs/schema/engine/_externals.d.ts} +0 -0
- /package/build/{schema/types/schema.d.mts → cjs/schema/types/schema.d.ts} +0 -0
- /package/build/{system/arguments/arguments.d.mts → cjs/system/arguments/arguments.d.ts} +0 -0
- /package/build/{system/environment/can-evaluate.d.mts → cjs/system/environment/can-evaluate.d.ts} +0 -0
- /package/build/{system/hashing/hash.d.mts → cjs/system/hashing/hash.d.ts} +0 -0
- /package/build/{system/memory/assign.d.mts → cjs/system/memory/assign.d.ts} +0 -0
- /package/build/{system/memory/clone.d.mts → cjs/system/memory/clone.d.ts} +0 -0
- /package/build/{system/memory/create.d.mts → cjs/system/memory/create.d.ts} +0 -0
- /package/build/{system/memory/discard.d.mts → cjs/system/memory/discard.d.ts} +0 -0
- /package/build/{system/memory/metrics.d.mts → cjs/system/memory/metrics.d.ts} +0 -0
- /package/build/{system/memory/update.d.mts → cjs/system/memory/update.d.ts} +0 -0
- /package/build/{system/settings/settings.d.mts → cjs/system/settings/settings.d.ts} +0 -0
- /package/build/{system/unreachable/unreachable.d.mts → cjs/system/unreachable/unreachable.d.ts} +0 -0
- /package/build/{type/engine/helpers/union.d.mts → cjs/type/engine/helpers/union.d.ts} +0 -0
- /package/build/{type/engine/intrinsics/mapping.d.mts → cjs/type/engine/intrinsics/mapping.d.ts} +0 -0
- /package/build/{type/engine/template-literal/create.d.mts → cjs/type/engine/template-literal/create.d.ts} +0 -0
- /package/build/{type/script/token/internal/char.d.mts → cjs/type/script/token/internal/char.d.ts} +0 -0
- /package/build/{type/script/token/internal/result.d.mts → cjs/type/script/token/internal/result.d.ts} +0 -0
- /package/build/{type/script/token/internal/take.d.mts → cjs/type/script/token/internal/take.d.ts} +0 -0
- /package/build/{type/script/token/until.d.mts → cjs/type/script/token/until.d.ts} +0 -0
- /package/build/{type/types/schema.d.mts → cjs/type/types/schema.d.ts} +0 -0
- /package/build/{value/clone/clone.d.mts → cjs/value/clone/clone.d.ts} +0 -0
- /package/build/{value/convert/try/try-result.d.mts → cjs/value/convert/try/try-result.d.ts} +0 -0
- /package/build/{value/equal/equal.d.mts → cjs/value/equal/equal.d.ts} +0 -0
- /package/build/{value/hash/hash.d.mts → cjs/value/hash/hash.d.ts} +0 -0
- /package/build/{value/mutate/error.d.mts → cjs/value/mutate/error.d.ts} +0 -0
- /package/build/{value/mutate/mutate.d.mts → cjs/value/mutate/mutate.d.ts} +0 -0
- /package/build/{value/pointer/pointer.d.mts → cjs/value/pointer/pointer.d.ts} +0 -0
- /package/build/{compile → esm/compile}/code.d.mts +0 -0
- /package/build/{compile → esm/compile}/code.mjs +0 -0
- /package/build/{compile → esm/compile}/compile.d.mts +0 -0
- /package/build/{compile → esm/compile}/compile.mjs +0 -0
- /package/build/{compile → esm/compile}/index.d.mts +0 -0
- /package/build/{compile → esm/compile}/index.mjs +0 -0
- /package/build/{compile → esm/compile}/validator.d.mts +0 -0
- /package/build/{compile → esm/compile}/validator.mjs +0 -0
- /package/build/{error → esm/error}/errors.mjs +0 -0
- /package/build/{error → esm/error}/index.d.mts +0 -0
- /package/build/{error → esm/error}/index.mjs +0 -0
- /package/build/{format → esm/format}/_registry.mjs +0 -0
- /package/build/{format → esm/format}/date-time.mjs +0 -0
- /package/build/{format → esm/format}/date.mjs +0 -0
- /package/build/{format → esm/format}/duration.mjs +0 -0
- /package/build/{format → esm/format}/email.mjs +0 -0
- /package/build/{format → esm/format}/format.d.mts +0 -0
- /package/build/{format → esm/format}/format.mjs +0 -0
- /package/build/{format → esm/format}/hostname.mjs +0 -0
- /package/build/{format → esm/format}/idn-email.mjs +0 -0
- /package/build/{format → esm/format}/idn-hostname.mjs +0 -0
- /package/build/{format → esm/format}/index.d.mts +0 -0
- /package/build/{format → esm/format}/index.mjs +0 -0
- /package/build/{format → esm/format}/ipv4.mjs +0 -0
- /package/build/{format → esm/format}/ipv6.mjs +0 -0
- /package/build/{format → esm/format}/iri-reference.mjs +0 -0
- /package/build/{format → esm/format}/iri.mjs +0 -0
- /package/build/{format → esm/format}/json-pointer-uri-fragment.mjs +0 -0
- /package/build/{format → esm/format}/json-pointer.mjs +0 -0
- /package/build/{format → esm/format}/regex.mjs +0 -0
- /package/build/{format → esm/format}/relative-json-pointer.mjs +0 -0
- /package/build/{format → esm/format}/time.mjs +0 -0
- /package/build/{format → esm/format}/uri-reference.mjs +0 -0
- /package/build/{format → esm/format}/uri-template.mjs +0 -0
- /package/build/{format → esm/format}/uri.mjs +0 -0
- /package/build/{format → esm/format}/url.mjs +0 -0
- /package/build/{format → esm/format}/uuid.mjs +0 -0
- /package/build/{guard → esm/guard}/emit.mjs +0 -0
- /package/build/{guard → esm/guard}/globals.mjs +0 -0
- /package/build/{guard → esm/guard}/guard.mjs +0 -0
- /package/build/{guard → esm/guard}/index.d.mts +0 -0
- /package/build/{guard → esm/guard}/index.mjs +0 -0
- /package/build/{guard → esm/guard}/native.mjs +0 -0
- /package/build/{index.d.mts → esm/index.d.mts} +0 -0
- /package/build/{index.mjs → esm/index.mjs} +0 -0
- /package/build/{schema → esm/schema}/build.d.mts +0 -0
- /package/build/{schema → esm/schema}/build.mjs +0 -0
- /package/build/{schema → esm/schema}/check.d.mts +0 -0
- /package/build/{schema → esm/schema}/check.mjs +0 -0
- /package/build/{schema → esm/schema}/deref/deref.d.mts +0 -0
- /package/build/{schema → esm/schema}/deref/deref.mjs +0 -0
- /package/build/{schema → esm/schema}/deref/index.d.mts +0 -0
- /package/build/{schema → esm/schema}/deref/index.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_context.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/_context.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_exact_optional.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_externals.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_functions.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/_functions.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_guard.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/_guard.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_reducer.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/_reducer.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/_refine.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/_refine.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/additionalItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/additionalItems.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/additionalProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/additionalProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/allOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/allOf.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/anyOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/anyOf.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/boolean.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/boolean.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/const.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/const.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/contains.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/contains.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/dependencies.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/dependencies.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/dependentRequired.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/dependentRequired.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/dependentSchemas.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/dependentSchemas.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/enum.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/enum.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/exclusiveMaximum.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/exclusiveMaximum.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/exclusiveMinimum.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/exclusiveMinimum.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/format.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/format.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/if.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/if.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/index.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/index.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/items.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/items.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/maxContains.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/maxContains.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/maxItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/maxItems.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/maxLength.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/maxLength.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/maxProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/maxProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/maximum.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/maximum.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/minContains.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/minContains.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/minItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/minItems.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/minLength.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/minLength.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/minProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/minProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/minimum.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/minimum.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/multipleOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/multipleOf.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/not.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/not.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/oneOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/oneOf.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/pattern.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/pattern.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/patternProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/patternProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/prefixItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/prefixItems.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/properties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/properties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/propertyNames.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/propertyNames.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/ref.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/ref.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/required.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/required.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/schema.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/schema.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/type.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/type.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/unevaluatedItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/unevaluatedItems.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/unevaluatedProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/unevaluatedProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/engine/uniqueItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/engine/uniqueItems.mjs +0 -0
- /package/build/{schema → esm/schema}/errors.d.mts +0 -0
- /package/build/{schema → esm/schema}/errors.mjs +0 -0
- /package/build/{schema → esm/schema}/index.d.mts +0 -0
- /package/build/{schema → esm/schema}/index.mjs +0 -0
- /package/build/{schema → esm/schema}/schema.d.mts +0 -0
- /package/build/{schema → esm/schema}/schema.mjs +0 -0
- /package/build/{schema → esm/schema}/types/_guard.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/_guard.mjs +0 -0
- /package/build/{schema → esm/schema}/types/_refine.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/_refine.mjs +0 -0
- /package/build/{schema → esm/schema}/types/additionalItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/additionalItems.mjs +0 -0
- /package/build/{schema → esm/schema}/types/additionalProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/additionalProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/allOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/allOf.mjs +0 -0
- /package/build/{schema → esm/schema}/types/anyOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/anyOf.mjs +0 -0
- /package/build/{schema → esm/schema}/types/const.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/const.mjs +0 -0
- /package/build/{schema → esm/schema}/types/contains.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/contains.mjs +0 -0
- /package/build/{schema → esm/schema}/types/contentEncoding.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/contentEncoding.mjs +0 -0
- /package/build/{schema → esm/schema}/types/contentMediaType.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/contentMediaType.mjs +0 -0
- /package/build/{schema → esm/schema}/types/default.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/default.mjs +0 -0
- /package/build/{schema → esm/schema}/types/defs.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/defs.mjs +0 -0
- /package/build/{schema → esm/schema}/types/dependencies.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/dependencies.mjs +0 -0
- /package/build/{schema → esm/schema}/types/dependentRequired.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/dependentRequired.mjs +0 -0
- /package/build/{schema → esm/schema}/types/dependentSchemas.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/dependentSchemas.mjs +0 -0
- /package/build/{schema → esm/schema}/types/else.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/else.mjs +0 -0
- /package/build/{schema → esm/schema}/types/enum.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/enum.mjs +0 -0
- /package/build/{schema → esm/schema}/types/exclusiveMaximum.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/exclusiveMaximum.mjs +0 -0
- /package/build/{schema → esm/schema}/types/exclusiveMinimum.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/exclusiveMinimum.mjs +0 -0
- /package/build/{schema → esm/schema}/types/format.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/format.mjs +0 -0
- /package/build/{schema → esm/schema}/types/id.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/id.mjs +0 -0
- /package/build/{schema → esm/schema}/types/if.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/if.mjs +0 -0
- /package/build/{schema → esm/schema}/types/index.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/index.mjs +0 -0
- /package/build/{schema → esm/schema}/types/items.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/items.mjs +0 -0
- /package/build/{schema → esm/schema}/types/maxContains.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/maxContains.mjs +0 -0
- /package/build/{schema → esm/schema}/types/maxItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/maxItems.mjs +0 -0
- /package/build/{schema → esm/schema}/types/maxLength.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/maxLength.mjs +0 -0
- /package/build/{schema → esm/schema}/types/maxProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/maxProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/maximum.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/maximum.mjs +0 -0
- /package/build/{schema → esm/schema}/types/minContains.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/minContains.mjs +0 -0
- /package/build/{schema → esm/schema}/types/minItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/minItems.mjs +0 -0
- /package/build/{schema → esm/schema}/types/minLength.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/minLength.mjs +0 -0
- /package/build/{schema → esm/schema}/types/minProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/minProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/minimum.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/minimum.mjs +0 -0
- /package/build/{schema → esm/schema}/types/multipleOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/multipleOf.mjs +0 -0
- /package/build/{schema → esm/schema}/types/not.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/not.mjs +0 -0
- /package/build/{schema → esm/schema}/types/oneOf.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/oneOf.mjs +0 -0
- /package/build/{schema → esm/schema}/types/pattern.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/pattern.mjs +0 -0
- /package/build/{schema → esm/schema}/types/patternProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/patternProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/prefixItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/prefixItems.mjs +0 -0
- /package/build/{schema → esm/schema}/types/properties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/properties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/propertyNames.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/propertyNames.mjs +0 -0
- /package/build/{schema → esm/schema}/types/ref.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/ref.mjs +0 -0
- /package/build/{schema → esm/schema}/types/required.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/required.mjs +0 -0
- /package/build/{schema → esm/schema}/types/schema.mjs +0 -0
- /package/build/{schema → esm/schema}/types/static.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/static.mjs +0 -0
- /package/build/{schema → esm/schema}/types/then.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/then.mjs +0 -0
- /package/build/{schema → esm/schema}/types/type.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/type.mjs +0 -0
- /package/build/{schema → esm/schema}/types/unevaluatedItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/unevaluatedItems.mjs +0 -0
- /package/build/{schema → esm/schema}/types/unevaluatedProperties.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/unevaluatedProperties.mjs +0 -0
- /package/build/{schema → esm/schema}/types/uniqueItems.d.mts +0 -0
- /package/build/{schema → esm/schema}/types/uniqueItems.mjs +0 -0
- /package/build/{system → esm/system}/arguments/arguments.mjs +0 -0
- /package/build/{system → esm/system}/arguments/index.d.mts +0 -0
- /package/build/{system → esm/system}/arguments/index.mjs +0 -0
- /package/build/{system → esm/system}/environment/can-evaluate.mjs +0 -0
- /package/build/{system → esm/system}/environment/environment.d.mts +0 -0
- /package/build/{system → esm/system}/environment/environment.mjs +0 -0
- /package/build/{system → esm/system}/environment/index.d.mts +0 -0
- /package/build/{system → esm/system}/environment/index.mjs +0 -0
- /package/build/{system → esm/system}/hashing/hash.mjs +0 -0
- /package/build/{system → esm/system}/hashing/index.d.mts +0 -0
- /package/build/{system → esm/system}/hashing/index.mjs +0 -0
- /package/build/{system → esm/system}/index.d.mts +0 -0
- /package/build/{system → esm/system}/index.mjs +0 -0
- /package/build/{system → esm/system}/locale/_config.d.mts +0 -0
- /package/build/{system → esm/system}/locale/_config.mjs +0 -0
- /package/build/{system → esm/system}/locale/_locale.d.mts +0 -0
- /package/build/{system → esm/system}/locale/_locale.mjs +0 -0
- /package/build/{system → esm/system}/locale/ar_001.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ar_001.mjs +0 -0
- /package/build/{system → esm/system}/locale/bn_BD.d.mts +0 -0
- /package/build/{system → esm/system}/locale/bn_BD.mjs +0 -0
- /package/build/{system → esm/system}/locale/cs_CZ.d.mts +0 -0
- /package/build/{system → esm/system}/locale/cs_CZ.mjs +0 -0
- /package/build/{system → esm/system}/locale/de_DE.d.mts +0 -0
- /package/build/{system → esm/system}/locale/de_DE.mjs +0 -0
- /package/build/{system → esm/system}/locale/el_GR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/el_GR.mjs +0 -0
- /package/build/{system → esm/system}/locale/en_US.d.mts +0 -0
- /package/build/{system → esm/system}/locale/en_US.mjs +0 -0
- /package/build/{system → esm/system}/locale/es_419.d.mts +0 -0
- /package/build/{system → esm/system}/locale/es_419.mjs +0 -0
- /package/build/{system → esm/system}/locale/es_AR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/es_AR.mjs +0 -0
- /package/build/{system → esm/system}/locale/es_ES.d.mts +0 -0
- /package/build/{system → esm/system}/locale/es_ES.mjs +0 -0
- /package/build/{system → esm/system}/locale/es_MX.d.mts +0 -0
- /package/build/{system → esm/system}/locale/es_MX.mjs +0 -0
- /package/build/{system → esm/system}/locale/fa_IR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/fa_IR.mjs +0 -0
- /package/build/{system → esm/system}/locale/fil_PH.d.mts +0 -0
- /package/build/{system → esm/system}/locale/fil_PH.mjs +0 -0
- /package/build/{system → esm/system}/locale/fr_CA.d.mts +0 -0
- /package/build/{system → esm/system}/locale/fr_CA.mjs +0 -0
- /package/build/{system → esm/system}/locale/fr_FR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/fr_FR.mjs +0 -0
- /package/build/{system → esm/system}/locale/ha_NG.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ha_NG.mjs +0 -0
- /package/build/{system → esm/system}/locale/hi_IN.d.mts +0 -0
- /package/build/{system → esm/system}/locale/hi_IN.mjs +0 -0
- /package/build/{system → esm/system}/locale/hu_HU.d.mts +0 -0
- /package/build/{system → esm/system}/locale/hu_HU.mjs +0 -0
- /package/build/{system → esm/system}/locale/id_ID.d.mts +0 -0
- /package/build/{system → esm/system}/locale/id_ID.mjs +0 -0
- /package/build/{system → esm/system}/locale/index.d.mts +0 -0
- /package/build/{system → esm/system}/locale/index.mjs +0 -0
- /package/build/{system → esm/system}/locale/it_IT.d.mts +0 -0
- /package/build/{system → esm/system}/locale/it_IT.mjs +0 -0
- /package/build/{system → esm/system}/locale/ja_JP.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ja_JP.mjs +0 -0
- /package/build/{system → esm/system}/locale/ko_KR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ko_KR.mjs +0 -0
- /package/build/{system → esm/system}/locale/ms_MY.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ms_MY.mjs +0 -0
- /package/build/{system → esm/system}/locale/nl_NL.d.mts +0 -0
- /package/build/{system → esm/system}/locale/nl_NL.mjs +0 -0
- /package/build/{system → esm/system}/locale/pl_PL.d.mts +0 -0
- /package/build/{system → esm/system}/locale/pl_PL.mjs +0 -0
- /package/build/{system → esm/system}/locale/pt_BR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/pt_BR.mjs +0 -0
- /package/build/{system → esm/system}/locale/pt_PT.d.mts +0 -0
- /package/build/{system → esm/system}/locale/pt_PT.mjs +0 -0
- /package/build/{system → esm/system}/locale/ro_RO.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ro_RO.mjs +0 -0
- /package/build/{system → esm/system}/locale/ru_RU.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ru_RU.mjs +0 -0
- /package/build/{system → esm/system}/locale/sv_SE.d.mts +0 -0
- /package/build/{system → esm/system}/locale/sv_SE.mjs +0 -0
- /package/build/{system → esm/system}/locale/sw_TZ.d.mts +0 -0
- /package/build/{system → esm/system}/locale/sw_TZ.mjs +0 -0
- /package/build/{system → esm/system}/locale/th_TH.d.mts +0 -0
- /package/build/{system → esm/system}/locale/th_TH.mjs +0 -0
- /package/build/{system → esm/system}/locale/tr_TR.d.mts +0 -0
- /package/build/{system → esm/system}/locale/tr_TR.mjs +0 -0
- /package/build/{system → esm/system}/locale/uk_UA.d.mts +0 -0
- /package/build/{system → esm/system}/locale/uk_UA.mjs +0 -0
- /package/build/{system → esm/system}/locale/ur_PK.d.mts +0 -0
- /package/build/{system → esm/system}/locale/ur_PK.mjs +0 -0
- /package/build/{system → esm/system}/locale/vi_VN.d.mts +0 -0
- /package/build/{system → esm/system}/locale/vi_VN.mjs +0 -0
- /package/build/{system → esm/system}/locale/yo_NG.d.mts +0 -0
- /package/build/{system → esm/system}/locale/yo_NG.mjs +0 -0
- /package/build/{system → esm/system}/locale/zh_Hans.d.mts +0 -0
- /package/build/{system → esm/system}/locale/zh_Hans.mjs +0 -0
- /package/build/{system → esm/system}/locale/zh_Hant.d.mts +0 -0
- /package/build/{system → esm/system}/locale/zh_Hant.mjs +0 -0
- /package/build/{system → esm/system}/memory/assign.mjs +0 -0
- /package/build/{system → esm/system}/memory/clone.mjs +0 -0
- /package/build/{system → esm/system}/memory/create.mjs +0 -0
- /package/build/{system → esm/system}/memory/discard.mjs +0 -0
- /package/build/{system → esm/system}/memory/index.d.mts +0 -0
- /package/build/{system → esm/system}/memory/index.mjs +0 -0
- /package/build/{system → esm/system}/memory/memory.d.mts +0 -0
- /package/build/{system → esm/system}/memory/memory.mjs +0 -0
- /package/build/{system → esm/system}/memory/metrics.mjs +0 -0
- /package/build/{system → esm/system}/memory/update.mjs +0 -0
- /package/build/{system → esm/system}/settings/index.d.mts +0 -0
- /package/build/{system → esm/system}/settings/index.mjs +0 -0
- /package/build/{system → esm/system}/settings/settings.mjs +0 -0
- /package/build/{system → esm/system}/system.d.mts +0 -0
- /package/build/{system → esm/system}/system.mjs +0 -0
- /package/build/{system → esm/system}/unreachable/index.d.mts +0 -0
- /package/build/{system → esm/system}/unreachable/index.mjs +0 -0
- /package/build/{system → esm/system}/unreachable/unreachable.mjs +0 -0
- /package/build/{type → esm/type}/action/_optional.d.mts +0 -0
- /package/build/{type → esm/type}/action/_optional.mjs +0 -0
- /package/build/{type → esm/type}/action/_readonly.d.mts +0 -0
- /package/build/{type → esm/type}/action/_readonly.mjs +0 -0
- /package/build/{type → esm/type}/action/awaited.d.mts +0 -0
- /package/build/{type → esm/type}/action/awaited.mjs +0 -0
- /package/build/{type → esm/type}/action/capitalize.d.mts +0 -0
- /package/build/{type → esm/type}/action/capitalize.mjs +0 -0
- /package/build/{type → esm/type}/action/conditional.d.mts +0 -0
- /package/build/{type → esm/type}/action/conditional.mjs +0 -0
- /package/build/{type → esm/type}/action/constructor-parameters.d.mts +0 -0
- /package/build/{type → esm/type}/action/constructor-parameters.mjs +0 -0
- /package/build/{type → esm/type}/action/evaluate.d.mts +0 -0
- /package/build/{type → esm/type}/action/evaluate.mjs +0 -0
- /package/build/{type → esm/type}/action/exclude.d.mts +0 -0
- /package/build/{type → esm/type}/action/exclude.mjs +0 -0
- /package/build/{type → esm/type}/action/extract.d.mts +0 -0
- /package/build/{type → esm/type}/action/extract.mjs +0 -0
- /package/build/{type → esm/type}/action/index.d.mts +0 -0
- /package/build/{type → esm/type}/action/index.mjs +0 -0
- /package/build/{type → esm/type}/action/indexed.d.mts +0 -0
- /package/build/{type → esm/type}/action/indexed.mjs +0 -0
- /package/build/{type → esm/type}/action/instance-type.d.mts +0 -0
- /package/build/{type → esm/type}/action/instance-type.mjs +0 -0
- /package/build/{type → esm/type}/action/interface.d.mts +0 -0
- /package/build/{type → esm/type}/action/interface.mjs +0 -0
- /package/build/{type → esm/type}/action/keyof.d.mts +0 -0
- /package/build/{type → esm/type}/action/keyof.mjs +0 -0
- /package/build/{type → esm/type}/action/lowercase.d.mts +0 -0
- /package/build/{type → esm/type}/action/lowercase.mjs +0 -0
- /package/build/{type → esm/type}/action/mapped.d.mts +0 -0
- /package/build/{type → esm/type}/action/mapped.mjs +0 -0
- /package/build/{type → esm/type}/action/module.d.mts +0 -0
- /package/build/{type → esm/type}/action/module.mjs +0 -0
- /package/build/{type → esm/type}/action/non-nullable.d.mts +0 -0
- /package/build/{type → esm/type}/action/non-nullable.mjs +0 -0
- /package/build/{type → esm/type}/action/omit.d.mts +0 -0
- /package/build/{type → esm/type}/action/omit.mjs +0 -0
- /package/build/{type → esm/type}/action/options.d.mts +0 -0
- /package/build/{type → esm/type}/action/options.mjs +0 -0
- /package/build/{type → esm/type}/action/parameters.d.mts +0 -0
- /package/build/{type → esm/type}/action/parameters.mjs +0 -0
- /package/build/{type → esm/type}/action/partial.d.mts +0 -0
- /package/build/{type → esm/type}/action/partial.mjs +0 -0
- /package/build/{type → esm/type}/action/pick.d.mts +0 -0
- /package/build/{type → esm/type}/action/pick.mjs +0 -0
- /package/build/{type → esm/type}/action/required.d.mts +0 -0
- /package/build/{type → esm/type}/action/required.mjs +0 -0
- /package/build/{type → esm/type}/action/return-type.d.mts +0 -0
- /package/build/{type → esm/type}/action/return-type.mjs +0 -0
- /package/build/{type → esm/type}/action/uncapitalize.d.mts +0 -0
- /package/build/{type → esm/type}/action/uncapitalize.mjs +0 -0
- /package/build/{type → esm/type}/action/uppercase.d.mts +0 -0
- /package/build/{type → esm/type}/action/uppercase.mjs +0 -0
- /package/build/{type → esm/type}/engine/awaited/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/awaited/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/awaited/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/awaited/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/call/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/call/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/call/resolve-arguments.d.mts +0 -0
- /package/build/{type → esm/type}/engine/call/resolve-arguments.mjs +0 -0
- /package/build/{type → esm/type}/engine/call/resolve-target.d.mts +0 -0
- /package/build/{type → esm/type}/engine/call/resolve-target.mjs +0 -0
- /package/build/{type → esm/type}/engine/conditional/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/conditional/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/conditional/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/conditional/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/constructor-parameters/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/constructor-parameters/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/constructor-parameters/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/constructor-parameters/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/candidates.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/candidates.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/check.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/check.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/dependencies.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/dependencies.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/extends.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/extends.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/cyclic/target.d.mts +0 -0
- /package/build/{type → esm/type}/engine/cyclic/target.mjs +0 -0
- /package/build/{type → esm/type}/engine/enum/enum-to-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/enum/enum-to-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/enum/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/enum/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/enum/typescript-enum-to-enum-values.d.mts +0 -0
- /package/build/{type → esm/type}/engine/enum/typescript-enum-to-enum-values.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/broaden.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/broaden.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/compare.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/compare.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/composite.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/composite.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/distribute.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/distribute.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/evaluate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/evaluate.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/flatten.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/flatten.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/evaluate/narrow.d.mts +0 -0
- /package/build/{type → esm/type}/engine/evaluate/narrow.mjs +0 -0
- /package/build/{type → esm/type}/engine/exclude/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/exclude/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/exclude/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/exclude/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/extract/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/extract/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/extract/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/extract/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/helpers/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/helpers/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/helpers/keys-to-indexer.d.mts +0 -0
- /package/build/{type → esm/type}/engine/helpers/keys-to-indexer.mjs +0 -0
- /package/build/{type → esm/type}/engine/helpers/keys.d.mts +0 -0
- /package/build/{type → esm/type}/engine/helpers/keys.mjs +0 -0
- /package/build/{type → esm/type}/engine/helpers/union.mjs +0 -0
- /package/build/{type → esm/type}/engine/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-cyclic.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-cyclic.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-enum.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-enum.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-intersect.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-intersect.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-template-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-template-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-type.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-type.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/from-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/to-indexable-keys.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/to-indexable-keys.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexable/to-indexable.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexable/to-indexable.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/array-indexer.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/array-indexer.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-array.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-array.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-object.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-tuple.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/from-tuple.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/indexed/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/indexed/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/instance-type/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/instance-type/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/instance-type/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/instance-type/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/interface/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/interface/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/interface/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/interface/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-template-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-template-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-type.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-type.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/from-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/intrinsics/mapping.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-array.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-array.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-object.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-record.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-record.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-tuple.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/from-tuple.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/keyof/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/keyof/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/mapped/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/mapped/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/mapped/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/mapped/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/mapped/mapped-keys.d.mts +0 -0
- /package/build/{type → esm/type}/engine/mapped/mapped-keys.mjs +0 -0
- /package/build/{type → esm/type}/engine/module/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/module/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/module/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/module/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/non-nullable/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/non-nullable/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/non-nullable/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/non-nullable/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/collapse.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/collapse.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/from-cyclic.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/from-cyclic.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/from-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/from-object.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/from-tuple.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/from-tuple.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/from-type.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/from-type.mjs +0 -0
- /package/build/{type → esm/type}/engine/object/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/object/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/omit/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/omit/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/omit/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/omit/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/options/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/options/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/options/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/options/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/parameters/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/parameters/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/parameters/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/parameters/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/from-cyclic.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/from-cyclic.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/from-intersect.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/from-intersect.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/from-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/from-object.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/from-type.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/from-type.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/from-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/from-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/partial/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/partial/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/patterns/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/patterns/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/patterns/pattern.d.mts +0 -0
- /package/build/{type → esm/type}/engine/patterns/pattern.mjs +0 -0
- /package/build/{type → esm/type}/engine/patterns/template.d.mts +0 -0
- /package/build/{type → esm/type}/engine/patterns/template.mjs +0 -0
- /package/build/{type → esm/type}/engine/pick/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/pick/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/pick/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/pick/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-any.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-any.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-boolean.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-boolean.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-enum.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-enum.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-integer.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-integer.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-intersect.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-intersect.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-number.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-number.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-string.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-string.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-template-literal.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-template-literal.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/from-key.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/from-key.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/record/record-create.d.mts +0 -0
- /package/build/{type → esm/type}/engine/record/record-create.mjs +0 -0
- /package/build/{type → esm/type}/engine/ref/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/ref/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/ref/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/ref/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/from-cyclic.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/from-cyclic.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/from-intersect.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/from-intersect.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/from-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/from-object.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/from-type.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/from-type.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/from-union.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/from-union.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/required/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/required/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/rest/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/rest/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/rest/spread.d.mts +0 -0
- /package/build/{type → esm/type}/engine/rest/spread.mjs +0 -0
- /package/build/{type → esm/type}/engine/return-type/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/return-type/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/return-type/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/return-type/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/create.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/decode.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/decode.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/encode.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/encode.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/finite.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/finite.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/index.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/index.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/instantiate.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/instantiate.mjs +0 -0
- /package/build/{type → esm/type}/engine/template-literal/static.d.mts +0 -0
- /package/build/{type → esm/type}/engine/template-literal/static.mjs +0 -0
- /package/build/{type → esm/type}/engine/tuple/to-object.d.mts +0 -0
- /package/build/{type → esm/type}/engine/tuple/to-object.mjs +0 -0
- /package/build/{type → esm/type}/extends/any.d.mts +0 -0
- /package/build/{type → esm/type}/extends/any.mjs +0 -0
- /package/build/{type → esm/type}/extends/array.d.mts +0 -0
- /package/build/{type → esm/type}/extends/array.mjs +0 -0
- /package/build/{type → esm/type}/extends/async-iterator.d.mts +0 -0
- /package/build/{type → esm/type}/extends/async-iterator.mjs +0 -0
- /package/build/{type → esm/type}/extends/bigint.d.mts +0 -0
- /package/build/{type → esm/type}/extends/bigint.mjs +0 -0
- /package/build/{type → esm/type}/extends/boolean.d.mts +0 -0
- /package/build/{type → esm/type}/extends/boolean.mjs +0 -0
- /package/build/{type → esm/type}/extends/constructor.d.mts +0 -0
- /package/build/{type → esm/type}/extends/constructor.mjs +0 -0
- /package/build/{type → esm/type}/extends/enum.d.mts +0 -0
- /package/build/{type → esm/type}/extends/enum.mjs +0 -0
- /package/build/{type → esm/type}/extends/extends-left.d.mts +0 -0
- /package/build/{type → esm/type}/extends/extends-left.mjs +0 -0
- /package/build/{type → esm/type}/extends/extends-right.d.mts +0 -0
- /package/build/{type → esm/type}/extends/extends-right.mjs +0 -0
- /package/build/{type → esm/type}/extends/extends.d.mts +0 -0
- /package/build/{type → esm/type}/extends/extends.mjs +0 -0
- /package/build/{type → esm/type}/extends/function.d.mts +0 -0
- /package/build/{type → esm/type}/extends/function.mjs +0 -0
- /package/build/{type → esm/type}/extends/index.d.mts +0 -0
- /package/build/{type → esm/type}/extends/index.mjs +0 -0
- /package/build/{type → esm/type}/extends/inference.d.mts +0 -0
- /package/build/{type → esm/type}/extends/inference.mjs +0 -0
- /package/build/{type → esm/type}/extends/integer.d.mts +0 -0
- /package/build/{type → esm/type}/extends/integer.mjs +0 -0
- /package/build/{type → esm/type}/extends/intersect.d.mts +0 -0
- /package/build/{type → esm/type}/extends/intersect.mjs +0 -0
- /package/build/{type → esm/type}/extends/iterator.d.mts +0 -0
- /package/build/{type → esm/type}/extends/iterator.mjs +0 -0
- /package/build/{type → esm/type}/extends/literal.d.mts +0 -0
- /package/build/{type → esm/type}/extends/literal.mjs +0 -0
- /package/build/{type → esm/type}/extends/never.d.mts +0 -0
- /package/build/{type → esm/type}/extends/never.mjs +0 -0
- /package/build/{type → esm/type}/extends/null.d.mts +0 -0
- /package/build/{type → esm/type}/extends/null.mjs +0 -0
- /package/build/{type → esm/type}/extends/number.d.mts +0 -0
- /package/build/{type → esm/type}/extends/number.mjs +0 -0
- /package/build/{type → esm/type}/extends/object.d.mts +0 -0
- /package/build/{type → esm/type}/extends/object.mjs +0 -0
- /package/build/{type → esm/type}/extends/parameters.d.mts +0 -0
- /package/build/{type → esm/type}/extends/parameters.mjs +0 -0
- /package/build/{type → esm/type}/extends/promise.d.mts +0 -0
- /package/build/{type → esm/type}/extends/promise.mjs +0 -0
- /package/build/{type → esm/type}/extends/result.d.mts +0 -0
- /package/build/{type → esm/type}/extends/result.mjs +0 -0
- /package/build/{type → esm/type}/extends/return-type.d.mts +0 -0
- /package/build/{type → esm/type}/extends/return-type.mjs +0 -0
- /package/build/{type → esm/type}/extends/string.d.mts +0 -0
- /package/build/{type → esm/type}/extends/string.mjs +0 -0
- /package/build/{type → esm/type}/extends/symbol.d.mts +0 -0
- /package/build/{type → esm/type}/extends/symbol.mjs +0 -0
- /package/build/{type → esm/type}/extends/template-literal.d.mts +0 -0
- /package/build/{type → esm/type}/extends/template-literal.mjs +0 -0
- /package/build/{type → esm/type}/extends/tuple.d.mts +0 -0
- /package/build/{type → esm/type}/extends/tuple.mjs +0 -0
- /package/build/{type → esm/type}/extends/undefined.d.mts +0 -0
- /package/build/{type → esm/type}/extends/undefined.mjs +0 -0
- /package/build/{type → esm/type}/extends/union.d.mts +0 -0
- /package/build/{type → esm/type}/extends/union.mjs +0 -0
- /package/build/{type → esm/type}/extends/unknown.d.mts +0 -0
- /package/build/{type → esm/type}/extends/unknown.mjs +0 -0
- /package/build/{type → esm/type}/extends/void.d.mts +0 -0
- /package/build/{type → esm/type}/extends/void.mjs +0 -0
- /package/build/{type → esm/type}/index.d.mts +0 -0
- /package/build/{type → esm/type}/index.mjs +0 -0
- /package/build/{type → esm/type}/script/index.d.mts +0 -0
- /package/build/{type → esm/type}/script/index.mjs +0 -0
- /package/build/{type → esm/type}/script/script.d.mts +0 -0
- /package/build/{type → esm/type}/script/script.mjs +0 -0
- /package/build/{type → esm/type}/script/token/bigint.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/bigint.mjs +0 -0
- /package/build/{type → esm/type}/script/token/const.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/const.mjs +0 -0
- /package/build/{type → esm/type}/script/token/ident.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/ident.mjs +0 -0
- /package/build/{type → esm/type}/script/token/index.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/index.mjs +0 -0
- /package/build/{type → esm/type}/script/token/integer.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/integer.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/char.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/guard.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/internal/guard.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/many.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/internal/many.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/optional.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/internal/optional.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/result.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/take.mjs +0 -0
- /package/build/{type → esm/type}/script/token/internal/trim.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/internal/trim.mjs +0 -0
- /package/build/{type → esm/type}/script/token/number.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/number.mjs +0 -0
- /package/build/{type → esm/type}/script/token/span.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/span.mjs +0 -0
- /package/build/{type → esm/type}/script/token/string.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/string.mjs +0 -0
- /package/build/{type → esm/type}/script/token/until.mjs +0 -0
- /package/build/{type → esm/type}/script/token/until_1.d.mts +0 -0
- /package/build/{type → esm/type}/script/token/until_1.mjs +0 -0
- /package/build/{type → esm/type}/types/_codec.d.mts +0 -0
- /package/build/{type → esm/type}/types/_codec.mjs +0 -0
- /package/build/{type → esm/type}/types/_optional.d.mts +0 -0
- /package/build/{type → esm/type}/types/_optional.mjs +0 -0
- /package/build/{type → esm/type}/types/_readonly.d.mts +0 -0
- /package/build/{type → esm/type}/types/_readonly.mjs +0 -0
- /package/build/{type → esm/type}/types/_refine.d.mts +0 -0
- /package/build/{type → esm/type}/types/_refine.mjs +0 -0
- /package/build/{type → esm/type}/types/any.d.mts +0 -0
- /package/build/{type → esm/type}/types/any.mjs +0 -0
- /package/build/{type → esm/type}/types/array.d.mts +0 -0
- /package/build/{type → esm/type}/types/array.mjs +0 -0
- /package/build/{type → esm/type}/types/async-iterator.d.mts +0 -0
- /package/build/{type → esm/type}/types/async-iterator.mjs +0 -0
- /package/build/{type → esm/type}/types/base.d.mts +0 -0
- /package/build/{type → esm/type}/types/base.mjs +0 -0
- /package/build/{type → esm/type}/types/bigint.d.mts +0 -0
- /package/build/{type → esm/type}/types/bigint.mjs +0 -0
- /package/build/{type → esm/type}/types/boolean.d.mts +0 -0
- /package/build/{type → esm/type}/types/boolean.mjs +0 -0
- /package/build/{type → esm/type}/types/call.d.mts +0 -0
- /package/build/{type → esm/type}/types/call.mjs +0 -0
- /package/build/{type → esm/type}/types/constructor.d.mts +0 -0
- /package/build/{type → esm/type}/types/constructor.mjs +0 -0
- /package/build/{type → esm/type}/types/cyclic.d.mts +0 -0
- /package/build/{type → esm/type}/types/cyclic.mjs +0 -0
- /package/build/{type → esm/type}/types/deferred.d.mts +0 -0
- /package/build/{type → esm/type}/types/deferred.mjs +0 -0
- /package/build/{type → esm/type}/types/enum.d.mts +0 -0
- /package/build/{type → esm/type}/types/enum.mjs +0 -0
- /package/build/{type → esm/type}/types/function.d.mts +0 -0
- /package/build/{type → esm/type}/types/function.mjs +0 -0
- /package/build/{type → esm/type}/types/generic.d.mts +0 -0
- /package/build/{type → esm/type}/types/generic.mjs +0 -0
- /package/build/{type → esm/type}/types/identifier.d.mts +0 -0
- /package/build/{type → esm/type}/types/identifier.mjs +0 -0
- /package/build/{type → esm/type}/types/index.d.mts +0 -0
- /package/build/{type → esm/type}/types/index.mjs +0 -0
- /package/build/{type → esm/type}/types/infer.d.mts +0 -0
- /package/build/{type → esm/type}/types/infer.mjs +0 -0
- /package/build/{type → esm/type}/types/integer.d.mts +0 -0
- /package/build/{type → esm/type}/types/integer.mjs +0 -0
- /package/build/{type → esm/type}/types/intersect.d.mts +0 -0
- /package/build/{type → esm/type}/types/intersect.mjs +0 -0
- /package/build/{type → esm/type}/types/iterator.d.mts +0 -0
- /package/build/{type → esm/type}/types/iterator.mjs +0 -0
- /package/build/{type → esm/type}/types/literal.d.mts +0 -0
- /package/build/{type → esm/type}/types/literal.mjs +0 -0
- /package/build/{type → esm/type}/types/never.d.mts +0 -0
- /package/build/{type → esm/type}/types/never.mjs +0 -0
- /package/build/{type → esm/type}/types/null.d.mts +0 -0
- /package/build/{type → esm/type}/types/null.mjs +0 -0
- /package/build/{type → esm/type}/types/number.d.mts +0 -0
- /package/build/{type → esm/type}/types/number.mjs +0 -0
- /package/build/{type → esm/type}/types/parameter.d.mts +0 -0
- /package/build/{type → esm/type}/types/parameter.mjs +0 -0
- /package/build/{type → esm/type}/types/promise.d.mts +0 -0
- /package/build/{type → esm/type}/types/promise.mjs +0 -0
- /package/build/{type → esm/type}/types/properties.d.mts +0 -0
- /package/build/{type → esm/type}/types/properties.mjs +0 -0
- /package/build/{type → esm/type}/types/record.d.mts +0 -0
- /package/build/{type → esm/type}/types/record.mjs +0 -0
- /package/build/{type → esm/type}/types/ref.d.mts +0 -0
- /package/build/{type → esm/type}/types/ref.mjs +0 -0
- /package/build/{type → esm/type}/types/rest.d.mts +0 -0
- /package/build/{type → esm/type}/types/rest.mjs +0 -0
- /package/build/{type → esm/type}/types/schema.mjs +0 -0
- /package/build/{type → esm/type}/types/static.d.mts +0 -0
- /package/build/{type → esm/type}/types/static.mjs +0 -0
- /package/build/{type → esm/type}/types/string.d.mts +0 -0
- /package/build/{type → esm/type}/types/string.mjs +0 -0
- /package/build/{type → esm/type}/types/symbol.d.mts +0 -0
- /package/build/{type → esm/type}/types/symbol.mjs +0 -0
- /package/build/{type → esm/type}/types/template-literal.d.mts +0 -0
- /package/build/{type → esm/type}/types/template-literal.mjs +0 -0
- /package/build/{type → esm/type}/types/this.d.mts +0 -0
- /package/build/{type → esm/type}/types/this.mjs +0 -0
- /package/build/{type → esm/type}/types/tuple.d.mts +0 -0
- /package/build/{type → esm/type}/types/tuple.mjs +0 -0
- /package/build/{type → esm/type}/types/undefined.d.mts +0 -0
- /package/build/{type → esm/type}/types/undefined.mjs +0 -0
- /package/build/{type → esm/type}/types/union.d.mts +0 -0
- /package/build/{type → esm/type}/types/union.mjs +0 -0
- /package/build/{type → esm/type}/types/unknown.d.mts +0 -0
- /package/build/{type → esm/type}/types/unknown.mjs +0 -0
- /package/build/{type → esm/type}/types/unsafe.d.mts +0 -0
- /package/build/{type → esm/type}/types/unsafe.mjs +0 -0
- /package/build/{type → esm/type}/types/void.d.mts +0 -0
- /package/build/{type → esm/type}/types/void.mjs +0 -0
- /package/build/{typebox.d.mts → esm/typebox.d.mts} +0 -0
- /package/build/{typebox.mjs → esm/typebox.mjs} +0 -0
- /package/build/{value → esm/value}/assert/assert.d.mts +0 -0
- /package/build/{value → esm/value}/assert/assert.mjs +0 -0
- /package/build/{value → esm/value}/assert/index.d.mts +0 -0
- /package/build/{value → esm/value}/assert/index.mjs +0 -0
- /package/build/{value → esm/value}/check/check.d.mts +0 -0
- /package/build/{value → esm/value}/check/check.mjs +0 -0
- /package/build/{value → esm/value}/check/index.d.mts +0 -0
- /package/build/{value → esm/value}/check/index.mjs +0 -0
- /package/build/{value → esm/value}/clean/additional.d.mts +0 -0
- /package/build/{value → esm/value}/clean/additional.mjs +0 -0
- /package/build/{value → esm/value}/clean/clean.d.mts +0 -0
- /package/build/{value → esm/value}/clean/clean.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-array.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-base.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-base.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-cyclic.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-cyclic.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-object.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-record.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-type.mjs +0 -0
- /package/build/{value → esm/value}/clean/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/clean/from-union.mjs +0 -0
- /package/build/{value → esm/value}/clean/index.d.mts +0 -0
- /package/build/{value → esm/value}/clean/index.mjs +0 -0
- /package/build/{value → esm/value}/clone/clone.mjs +0 -0
- /package/build/{value → esm/value}/clone/index.d.mts +0 -0
- /package/build/{value → esm/value}/clone/index.mjs +0 -0
- /package/build/{value → esm/value}/codec/callback.d.mts +0 -0
- /package/build/{value → esm/value}/codec/callback.mjs +0 -0
- /package/build/{value → esm/value}/codec/decode.d.mts +0 -0
- /package/build/{value → esm/value}/codec/decode.mjs +0 -0
- /package/build/{value → esm/value}/codec/encode.d.mts +0 -0
- /package/build/{value → esm/value}/codec/encode.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-array.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-cyclic.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-cyclic.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-object.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-record.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-type.mjs +0 -0
- /package/build/{value → esm/value}/codec/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/codec/from-union.mjs +0 -0
- /package/build/{value → esm/value}/codec/has.d.mts +0 -0
- /package/build/{value → esm/value}/codec/has.mjs +0 -0
- /package/build/{value → esm/value}/codec/index.d.mts +0 -0
- /package/build/{value → esm/value}/codec/index.mjs +0 -0
- /package/build/{value → esm/value}/convert/convert.d.mts +0 -0
- /package/build/{value → esm/value}/convert/convert.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-additional.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-additional.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-array.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-base.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-base.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-bigint.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-bigint.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-boolean.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-boolean.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-cyclic.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-cyclic.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-enum.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-enum.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-integer.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-integer.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-literal.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-literal.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-null.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-null.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-number.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-number.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-object.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-record.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-string.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-string.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-template-literal.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-template-literal.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-type.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-undefined.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-undefined.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-union.mjs +0 -0
- /package/build/{value → esm/value}/convert/from-void.d.mts +0 -0
- /package/build/{value → esm/value}/convert/from-void.mjs +0 -0
- /package/build/{value → esm/value}/convert/index.d.mts +0 -0
- /package/build/{value → esm/value}/convert/index.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/index.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/index.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-bigint.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-bigint.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-boolean.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-boolean.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-null.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-null.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-number.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-number.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-result.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-string.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-string.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try-undefined.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try-undefined.mjs +0 -0
- /package/build/{value → esm/value}/convert/try/try.d.mts +0 -0
- /package/build/{value → esm/value}/convert/try/try.mjs +0 -0
- /package/build/{value → esm/value}/create/create.d.mts +0 -0
- /package/build/{value → esm/value}/create/create.mjs +0 -0
- /package/build/{value → esm/value}/create/error.d.mts +0 -0
- /package/build/{value → esm/value}/create/error.mjs +0 -0
- /package/build/{value → esm/value}/create/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-array.mjs +0 -0
- /package/build/{value → esm/value}/create/from-async-iterator.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-async-iterator.mjs +0 -0
- /package/build/{value → esm/value}/create/from-base.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-base.mjs +0 -0
- /package/build/{value → esm/value}/create/from-bigint.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-bigint.mjs +0 -0
- /package/build/{value → esm/value}/create/from-boolean.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-boolean.mjs +0 -0
- /package/build/{value → esm/value}/create/from-constructor.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-constructor.mjs +0 -0
- /package/build/{value → esm/value}/create/from-cyclic.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-cyclic.mjs +0 -0
- /package/build/{value → esm/value}/create/from-default.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-default.mjs +0 -0
- /package/build/{value → esm/value}/create/from-enum.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-enum.mjs +0 -0
- /package/build/{value → esm/value}/create/from-function.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-function.mjs +0 -0
- /package/build/{value → esm/value}/create/from-integer.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-integer.mjs +0 -0
- /package/build/{value → esm/value}/create/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/create/from-iterator.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-iterator.mjs +0 -0
- /package/build/{value → esm/value}/create/from-literal.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-literal.mjs +0 -0
- /package/build/{value → esm/value}/create/from-never.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-never.mjs +0 -0
- /package/build/{value → esm/value}/create/from-null.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-null.mjs +0 -0
- /package/build/{value → esm/value}/create/from-number.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-number.mjs +0 -0
- /package/build/{value → esm/value}/create/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-object.mjs +0 -0
- /package/build/{value → esm/value}/create/from-promise.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-promise.mjs +0 -0
- /package/build/{value → esm/value}/create/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-record.mjs +0 -0
- /package/build/{value → esm/value}/create/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/create/from-string.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-string.mjs +0 -0
- /package/build/{value → esm/value}/create/from-symbol.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-symbol.mjs +0 -0
- /package/build/{value → esm/value}/create/from-template-literal.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-template-literal.mjs +0 -0
- /package/build/{value → esm/value}/create/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/create/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-type.mjs +0 -0
- /package/build/{value → esm/value}/create/from-undefined.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-undefined.mjs +0 -0
- /package/build/{value → esm/value}/create/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-union.mjs +0 -0
- /package/build/{value → esm/value}/create/from-void.d.mts +0 -0
- /package/build/{value → esm/value}/create/from-void.mjs +0 -0
- /package/build/{value → esm/value}/create/index.d.mts +0 -0
- /package/build/{value → esm/value}/create/index.mjs +0 -0
- /package/build/{value → esm/value}/default/default.d.mts +0 -0
- /package/build/{value → esm/value}/default/default.mjs +0 -0
- /package/build/{value → esm/value}/default/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-array.mjs +0 -0
- /package/build/{value → esm/value}/default/from-base.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-base.mjs +0 -0
- /package/build/{value → esm/value}/default/from-cyclic.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-cyclic.mjs +0 -0
- /package/build/{value → esm/value}/default/from-default.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-default.mjs +0 -0
- /package/build/{value → esm/value}/default/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/default/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-object.mjs +0 -0
- /package/build/{value → esm/value}/default/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-record.mjs +0 -0
- /package/build/{value → esm/value}/default/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/default/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/default/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-type.mjs +0 -0
- /package/build/{value → esm/value}/default/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/default/from-union.mjs +0 -0
- /package/build/{value → esm/value}/default/index.d.mts +0 -0
- /package/build/{value → esm/value}/default/index.mjs +0 -0
- /package/build/{value → esm/value}/delta/diff.d.mts +0 -0
- /package/build/{value → esm/value}/delta/diff.mjs +0 -0
- /package/build/{value → esm/value}/delta/edit.d.mts +0 -0
- /package/build/{value → esm/value}/delta/edit.mjs +0 -0
- /package/build/{value → esm/value}/delta/index.d.mts +0 -0
- /package/build/{value → esm/value}/delta/index.mjs +0 -0
- /package/build/{value → esm/value}/delta/patch.d.mts +0 -0
- /package/build/{value → esm/value}/delta/patch.mjs +0 -0
- /package/build/{value → esm/value}/equal/equal.mjs +0 -0
- /package/build/{value → esm/value}/equal/index.d.mts +0 -0
- /package/build/{value → esm/value}/equal/index.mjs +0 -0
- /package/build/{value → esm/value}/errors/errors.d.mts +0 -0
- /package/build/{value → esm/value}/errors/errors.mjs +0 -0
- /package/build/{value → esm/value}/errors/index.d.mts +0 -0
- /package/build/{value → esm/value}/errors/index.mjs +0 -0
- /package/build/{value → esm/value}/hash/hash.mjs +0 -0
- /package/build/{value → esm/value}/hash/index.d.mts +0 -0
- /package/build/{value → esm/value}/hash/index.mjs +0 -0
- /package/build/{value → esm/value}/index.d.mts +0 -0
- /package/build/{value → esm/value}/index.mjs +0 -0
- /package/build/{value → esm/value}/mutate/error.mjs +0 -0
- /package/build/{value → esm/value}/mutate/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/mutate/from-array.mjs +0 -0
- /package/build/{value → esm/value}/mutate/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/mutate/from-object.mjs +0 -0
- /package/build/{value → esm/value}/mutate/from-unknown.d.mts +0 -0
- /package/build/{value → esm/value}/mutate/from-unknown.mjs +0 -0
- /package/build/{value → esm/value}/mutate/from-value.d.mts +0 -0
- /package/build/{value → esm/value}/mutate/from-value.mjs +0 -0
- /package/build/{value → esm/value}/mutate/index.d.mts +0 -0
- /package/build/{value → esm/value}/mutate/index.mjs +0 -0
- /package/build/{value → esm/value}/mutate/mutate.mjs +0 -0
- /package/build/{value → esm/value}/parse/index.d.mts +0 -0
- /package/build/{value → esm/value}/parse/index.mjs +0 -0
- /package/build/{value → esm/value}/parse/parse.d.mts +0 -0
- /package/build/{value → esm/value}/parse/parse.mjs +0 -0
- /package/build/{value → esm/value}/pipeline/index.d.mts +0 -0
- /package/build/{value → esm/value}/pipeline/index.mjs +0 -0
- /package/build/{value → esm/value}/pipeline/pipeline.d.mts +0 -0
- /package/build/{value → esm/value}/pipeline/pipeline.mjs +0 -0
- /package/build/{value → esm/value}/pointer/index.d.mts +0 -0
- /package/build/{value → esm/value}/pointer/index.mjs +0 -0
- /package/build/{value → esm/value}/pointer/pointer.mjs +0 -0
- /package/build/{value → esm/value}/repair/error.d.mts +0 -0
- /package/build/{value → esm/value}/repair/error.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-array.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-array.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-base.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-base.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-enum.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-enum.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-intersect.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-intersect.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-object.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-object.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-record.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-record.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-ref.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-ref.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-template-literal.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-template-literal.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-tuple.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-tuple.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-type.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-type.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-union.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-union.mjs +0 -0
- /package/build/{value → esm/value}/repair/from-unknown.d.mts +0 -0
- /package/build/{value → esm/value}/repair/from-unknown.mjs +0 -0
- /package/build/{value → esm/value}/repair/index.d.mts +0 -0
- /package/build/{value → esm/value}/repair/index.mjs +0 -0
- /package/build/{value → esm/value}/repair/repair.d.mts +0 -0
- /package/build/{value → esm/value}/repair/repair.mjs +0 -0
- /package/build/{value → esm/value}/shared/index.d.mts +0 -0
- /package/build/{value → esm/value}/shared/index.mjs +0 -0
- /package/build/{value → esm/value}/shared/optional-undefined.d.mts +0 -0
- /package/build/{value → esm/value}/shared/optional-undefined.mjs +0 -0
- /package/build/{value → esm/value}/value.d.mts +0 -0
- /package/build/{value → esm/value}/value.mjs +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
// deno-lint-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CanInstantiate = CanInstantiate;
|
|
6
|
+
exports.InstantiateProperties = InstantiateProperties;
|
|
7
|
+
exports.InstantiateElements = InstantiateElements;
|
|
8
|
+
exports.InstantiateTypes = InstantiateTypes;
|
|
9
|
+
exports.InstantiateType = InstantiateType;
|
|
10
|
+
exports.Instantiate = Instantiate;
|
|
11
|
+
const index_1 = require("../../guard/index");
|
|
12
|
+
// ------------------------------------------------------------------
|
|
13
|
+
// Modifiers
|
|
14
|
+
// ------------------------------------------------------------------
|
|
15
|
+
const _optional_1 = require("../types/_optional");
|
|
16
|
+
const _readonly_1 = require("../types/_readonly");
|
|
17
|
+
// ------------------------------------------------------------------
|
|
18
|
+
// Types
|
|
19
|
+
// ------------------------------------------------------------------
|
|
20
|
+
const schema_1 = require("../types/schema");
|
|
21
|
+
const array_1 = require("../types/array");
|
|
22
|
+
const async_iterator_1 = require("../types/async-iterator");
|
|
23
|
+
const constructor_1 = require("../types/constructor");
|
|
24
|
+
const deferred_1 = require("../types/deferred");
|
|
25
|
+
const function_1 = require("../types/function");
|
|
26
|
+
const call_1 = require("../types/call");
|
|
27
|
+
const intersect_1 = require("../types/intersect");
|
|
28
|
+
const iterator_1 = require("../types/iterator");
|
|
29
|
+
const object_1 = require("../types/object");
|
|
30
|
+
const promise_1 = require("../types/promise");
|
|
31
|
+
const record_1 = require("../types/record");
|
|
32
|
+
const tuple_1 = require("../types/tuple");
|
|
33
|
+
const union_1 = require("../types/union");
|
|
34
|
+
const ref_1 = require("../types/ref");
|
|
35
|
+
const rest_1 = require("../types/rest");
|
|
36
|
+
// ------------------------------------------------------------------
|
|
37
|
+
// Modifier Actions
|
|
38
|
+
// ------------------------------------------------------------------
|
|
39
|
+
const _readonly_2 = require("../action/_readonly");
|
|
40
|
+
const _optional_2 = require("../action/_optional");
|
|
41
|
+
// ------------------------------------------------------------------
|
|
42
|
+
// Instantiate
|
|
43
|
+
// ------------------------------------------------------------------
|
|
44
|
+
const instantiate_1 = require("./awaited/instantiate");
|
|
45
|
+
const instantiate_2 = require("./call/instantiate");
|
|
46
|
+
const instantiate_3 = require("./intrinsics/instantiate");
|
|
47
|
+
const index_2 = require("./conditional/index");
|
|
48
|
+
const instantiate_4 = require("./constructor-parameters/instantiate");
|
|
49
|
+
const instantiate_5 = require("./evaluate/instantiate");
|
|
50
|
+
const instantiate_6 = require("./exclude/instantiate");
|
|
51
|
+
const instantiate_7 = require("./extract/instantiate");
|
|
52
|
+
const instantiate_8 = require("./indexed/instantiate");
|
|
53
|
+
const instantiate_9 = require("./instance-type/instantiate");
|
|
54
|
+
const instantiate_10 = require("./interface/instantiate");
|
|
55
|
+
const instantiate_11 = require("./keyof/instantiate");
|
|
56
|
+
const instantiate_12 = require("./intrinsics/instantiate");
|
|
57
|
+
const instantiate_13 = require("./mapped/instantiate");
|
|
58
|
+
const instantiate_14 = require("./module/instantiate");
|
|
59
|
+
const instantiate_15 = require("./non-nullable/instantiate");
|
|
60
|
+
const instantiate_16 = require("./omit/instantiate");
|
|
61
|
+
const instantiate_17 = require("./options/instantiate");
|
|
62
|
+
const instantiate_18 = require("./parameters/instantiate");
|
|
63
|
+
const instantiate_19 = require("./partial/instantiate");
|
|
64
|
+
const instantiate_20 = require("./pick/instantiate");
|
|
65
|
+
const instantiate_21 = require("./record/instantiate");
|
|
66
|
+
const instantiate_22 = require("./ref/instantiate");
|
|
67
|
+
const instantiate_23 = require("./required/instantiate");
|
|
68
|
+
const instantiate_24 = require("./return-type/instantiate");
|
|
69
|
+
const instantiate_25 = require("./template-literal/instantiate");
|
|
70
|
+
const instantiate_26 = require("./intrinsics/instantiate");
|
|
71
|
+
const instantiate_27 = require("./intrinsics/instantiate");
|
|
72
|
+
const index_3 = require("./rest/index");
|
|
73
|
+
function CanInstantiateRef(context, ref) {
|
|
74
|
+
return (ref in context);
|
|
75
|
+
}
|
|
76
|
+
function CanInstantiateType(context, type) {
|
|
77
|
+
return ((0, intersect_1.IsIntersect)(type) ? CanInstantiate(context, type.allOf) :
|
|
78
|
+
(0, union_1.IsUnion)(type) ? CanInstantiate(context, type.anyOf) :
|
|
79
|
+
(0, ref_1.IsRef)(type) ? CanInstantiateRef(context, type.$ref) :
|
|
80
|
+
true);
|
|
81
|
+
}
|
|
82
|
+
function CanInstantiate(context, types) {
|
|
83
|
+
const [left, ...right] = types;
|
|
84
|
+
return ((0, schema_1.IsSchema)(left)
|
|
85
|
+
? CanInstantiateType(context, left)
|
|
86
|
+
? CanInstantiate(context, right)
|
|
87
|
+
: false
|
|
88
|
+
: true);
|
|
89
|
+
}
|
|
90
|
+
function ModifierActions(type, readonly, optional) {
|
|
91
|
+
return ((0, _readonly_2.IsReadonlyRemoveAction)(type) ? ModifierActions(type.type, 'remove', optional) :
|
|
92
|
+
(0, _optional_2.IsOptionalRemoveAction)(type) ? ModifierActions(type.type, readonly, 'remove') :
|
|
93
|
+
(0, _readonly_2.IsReadonlyAddAction)(type) ? ModifierActions(type.type, 'add', optional) :
|
|
94
|
+
(0, _optional_2.IsOptionalAddAction)(type) ? ModifierActions(type.type, readonly, 'add') :
|
|
95
|
+
[type, readonly, optional]);
|
|
96
|
+
}
|
|
97
|
+
function ApplyReadonly(action, type) {
|
|
98
|
+
return (index_1.Guard.IsEqual(action, 'remove') ? (0, _readonly_1.ReadonlyRemove)(type) :
|
|
99
|
+
index_1.Guard.IsEqual(action, 'add') ? (0, _readonly_1.ReadonlyAdd)(type) :
|
|
100
|
+
type);
|
|
101
|
+
}
|
|
102
|
+
function ApplyOptional(action, type) {
|
|
103
|
+
return (index_1.Guard.IsEqual(action, 'remove') ? (0, _optional_1.OptionalRemove)(type) :
|
|
104
|
+
index_1.Guard.IsEqual(action, 'add') ? (0, _optional_1.OptionalAdd)(type) :
|
|
105
|
+
type);
|
|
106
|
+
}
|
|
107
|
+
function InstantiateProperties(context, state, properties) {
|
|
108
|
+
return index_1.Guard.Keys(properties).reduce((result, key) => {
|
|
109
|
+
return { ...result, [key]: InstantiateType(context, state, properties[key]) };
|
|
110
|
+
}, {});
|
|
111
|
+
}
|
|
112
|
+
function InstantiateElements(context, state, types) {
|
|
113
|
+
const elements = InstantiateTypes(context, state, types);
|
|
114
|
+
const result = (0, index_3.RestSpread)(elements);
|
|
115
|
+
return result;
|
|
116
|
+
}
|
|
117
|
+
function InstantiateTypes(context, state, types) {
|
|
118
|
+
return types.map(type => InstantiateType(context, state, type));
|
|
119
|
+
}
|
|
120
|
+
function InstantiateDeferred(context, state, action, parameters, options) {
|
|
121
|
+
return (index_1.Guard.IsEqual(action, 'Awaited') ? (0, instantiate_1.AwaitedInstantiate)(context, state, parameters[0], options) :
|
|
122
|
+
index_1.Guard.IsEqual(action, 'Capitalize') ? (0, instantiate_3.CapitalizeInstantiate)(context, state, parameters[0], options) :
|
|
123
|
+
index_1.Guard.IsEqual(action, 'Conditional') ? (0, index_2.ConditionalInstantiate)(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) :
|
|
124
|
+
index_1.Guard.IsEqual(action, 'ConstructorParameters') ? (0, instantiate_4.ConstructorParametersInstantiate)(context, state, parameters[0], options) :
|
|
125
|
+
index_1.Guard.IsEqual(action, 'Evaluate') ? (0, instantiate_5.EvaluateInstantiate)(context, state, parameters[0], options) :
|
|
126
|
+
index_1.Guard.IsEqual(action, 'Exclude') ? (0, instantiate_6.ExcludeInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
127
|
+
index_1.Guard.IsEqual(action, 'Extract') ? (0, instantiate_7.ExtractInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
128
|
+
index_1.Guard.IsEqual(action, 'Index') ? (0, instantiate_8.IndexInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
129
|
+
index_1.Guard.IsEqual(action, 'InstanceType') ? (0, instantiate_9.InstanceTypeInstantiate)(context, state, parameters[0], options) :
|
|
130
|
+
index_1.Guard.IsEqual(action, 'Interface') ? (0, instantiate_10.InterfaceInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
131
|
+
index_1.Guard.IsEqual(action, 'KeyOf') ? (0, instantiate_11.KeyOfInstantiate)(context, state, parameters[0], options) :
|
|
132
|
+
index_1.Guard.IsEqual(action, 'Lowercase') ? (0, instantiate_12.LowercaseInstantiate)(context, state, parameters[0], options) :
|
|
133
|
+
index_1.Guard.IsEqual(action, 'Mapped') ? (0, instantiate_13.MappedInstantiate)(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) :
|
|
134
|
+
index_1.Guard.IsEqual(action, 'Module') ? (0, instantiate_14.ModuleInstantiate)(context, state, parameters[0], options) :
|
|
135
|
+
index_1.Guard.IsEqual(action, 'NonNullable') ? (0, instantiate_15.NonNullableInstantiate)(context, state, parameters[0], options) :
|
|
136
|
+
index_1.Guard.IsEqual(action, 'Pick') ? (0, instantiate_20.PickInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
137
|
+
index_1.Guard.IsEqual(action, 'Options') ? (0, instantiate_17.OptionsInstantiate)(context, state, parameters[0], parameters[1]) :
|
|
138
|
+
index_1.Guard.IsEqual(action, 'Parameters') ? (0, instantiate_18.ParametersInstantiate)(context, state, parameters[0], options) :
|
|
139
|
+
index_1.Guard.IsEqual(action, 'Partial') ? (0, instantiate_19.PartialInstantiate)(context, state, parameters[0], options) :
|
|
140
|
+
index_1.Guard.IsEqual(action, 'Omit') ? (0, instantiate_16.OmitInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
141
|
+
index_1.Guard.IsEqual(action, 'Record') ? (0, instantiate_21.RecordInstantiate)(context, state, parameters[0], parameters[1], options) :
|
|
142
|
+
index_1.Guard.IsEqual(action, 'Required') ? (0, instantiate_23.RequiredInstantiate)(context, state, parameters[0], options) :
|
|
143
|
+
index_1.Guard.IsEqual(action, 'ReturnType') ? (0, instantiate_24.ReturnTypeInstantiate)(context, state, parameters[0], options) :
|
|
144
|
+
index_1.Guard.IsEqual(action, 'TemplateLiteral') ? (0, instantiate_25.TemplateLiteralInstantiate)(context, state, parameters[0], options) :
|
|
145
|
+
index_1.Guard.IsEqual(action, 'Uncapitalize') ? (0, instantiate_26.UncapitalizeInstantiate)(context, state, parameters[0], options) :
|
|
146
|
+
index_1.Guard.IsEqual(action, 'Uppercase') ? (0, instantiate_27.UppercaseInstantiate)(context, state, parameters[0], options) :
|
|
147
|
+
(0, deferred_1.Deferred)(action, parameters, options));
|
|
148
|
+
}
|
|
149
|
+
function InstantiateType(context, state, input) {
|
|
150
|
+
const modifierActions = ModifierActions(input, (0, _readonly_1.IsReadonly)(input) ? 'add' : 'none', (0, _optional_1.IsOptional)(input) ? 'add' : 'none');
|
|
151
|
+
const type = modifierActions[0];
|
|
152
|
+
const instantiated = ((0, ref_1.IsRef)(type) ? (0, instantiate_22.RefInstantiate)(context, state, type.$ref) :
|
|
153
|
+
(0, array_1.IsArray)(type) ? (0, array_1.Array)(InstantiateType(context, state, type.items), (0, array_1.ArrayOptions)(type)) :
|
|
154
|
+
(0, async_iterator_1.IsAsyncIterator)(type) ? (0, async_iterator_1.AsyncIterator)(InstantiateType(context, state, type.iteratorItems), (0, async_iterator_1.AsyncIteratorOptions)(type)) :
|
|
155
|
+
(0, call_1.IsCall)(type) ? (0, instantiate_2.CallInstantiate)(context, state, type.target, type.arguments) :
|
|
156
|
+
(0, constructor_1.IsConstructor)(type) ? (0, constructor_1.Constructor)(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.instanceType), (0, constructor_1.ConstructorOptions)(type)) :
|
|
157
|
+
(0, deferred_1.IsDeferred)(type) ? InstantiateDeferred(context, state, type.action, type.parameters, type.options) :
|
|
158
|
+
(0, function_1.IsFunction)(type) ? (0, function_1.Function)(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.returnType), (0, function_1.FunctionOptions)(type)) :
|
|
159
|
+
(0, intersect_1.IsIntersect)(type) ? (0, intersect_1.Intersect)(InstantiateTypes(context, state, type.allOf), (0, intersect_1.IntersectOptions)(type)) :
|
|
160
|
+
(0, iterator_1.IsIterator)(type) ? (0, iterator_1.Iterator)(InstantiateType(context, state, type.iteratorItems), (0, iterator_1.IteratorOptions)(type)) :
|
|
161
|
+
(0, object_1.IsObject)(type) ? (0, object_1.Object)(InstantiateProperties(context, state, type.properties), (0, object_1.ObjectOptions)(type)) :
|
|
162
|
+
(0, promise_1.IsPromise)(type) ? (0, promise_1.Promise)(InstantiateType(context, state, type.item), (0, promise_1.PromiseOptions)(type)) :
|
|
163
|
+
(0, record_1.IsRecord)(type) ? (0, record_1.RecordFromPattern)((0, record_1.RecordPattern)(type), InstantiateType(context, state, (0, record_1.RecordValue)(type))) :
|
|
164
|
+
(0, rest_1.IsRest)(type) ? (0, rest_1.Rest)(InstantiateType(context, state, type.items)) :
|
|
165
|
+
(0, tuple_1.IsTuple)(type) ? (0, tuple_1.Tuple)(InstantiateElements(context, state, type.items), (0, tuple_1.TupleOptions)(type)) :
|
|
166
|
+
(0, union_1.IsUnion)(type) ? (0, union_1.Union)(InstantiateTypes(context, state, type.anyOf), (0, union_1.UnionOptions)(type)) :
|
|
167
|
+
type);
|
|
168
|
+
return ApplyReadonly(modifierActions[1], ApplyOptional(modifierActions[2], instantiated));
|
|
169
|
+
}
|
|
170
|
+
/** Instantiates computed schematics using the given context and type. */
|
|
171
|
+
function Instantiate(context, type) {
|
|
172
|
+
return InstantiateType(context, { callstack: [] }, type);
|
|
173
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './instantiate';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./instantiate"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TSchema, type TSchemaOptions } from '../../types/schema';
|
|
2
|
+
import { type TProperties } from '../../types/properties';
|
|
3
|
+
import { type TObject } from '../../types/object';
|
|
4
|
+
import { type TEvaluateIntersect } from '../evaluate/evaluate';
|
|
5
|
+
import { type TInterfaceDeferred } from '../../action/index';
|
|
6
|
+
import { type TState, type TCanInstantiate } from '../instantiate';
|
|
7
|
+
import { type TInstantiateProperties } from '../instantiate';
|
|
8
|
+
import { type TInstantiateTypes } from '../instantiate';
|
|
9
|
+
type TInterfaceImmediate<Context extends TProperties, State extends TState, Heritage extends TSchema[], Properties extends TProperties, InstantiatedHeritage extends TSchema[] = TInstantiateTypes<Context, {
|
|
10
|
+
callstack: [];
|
|
11
|
+
}, Heritage>, instantiatedProperties extends TProperties = TInstantiateProperties<Context, {
|
|
12
|
+
callstack: [];
|
|
13
|
+
}, Properties>, EvaluatedInterface extends TSchema = TEvaluateIntersect<[...InstantiatedHeritage, TObject<instantiatedProperties>]>> = EvaluatedInterface;
|
|
14
|
+
export type TInterfaceInstantiate<Context extends TProperties, State extends TState, Heritage extends TSchema[], Properties extends TProperties> = TCanInstantiate<Context, Heritage> extends true ? TInterfaceImmediate<Context, State, Heritage, Properties> : TInterfaceDeferred<Heritage, Properties>;
|
|
15
|
+
export declare function InterfaceInstantiate<Context extends TProperties, State extends TState, Heritage extends TSchema[], Properties extends TProperties>(context: Context, state: State, heritage: [...Heritage], properties: Properties, options: TSchemaOptions): TInterfaceInstantiate<Context, State, Heritage, Properties>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.InterfaceInstantiate = InterfaceInstantiate;
|
|
5
|
+
const index_1 = require("../../../system/memory/index");
|
|
6
|
+
const object_1 = require("../../types/object");
|
|
7
|
+
const evaluate_1 = require("../evaluate/evaluate");
|
|
8
|
+
const index_2 = require("../../action/index");
|
|
9
|
+
const instantiate_1 = require("../instantiate");
|
|
10
|
+
const instantiate_2 = require("../instantiate");
|
|
11
|
+
const instantiate_3 = require("../instantiate");
|
|
12
|
+
function InterfaceImmediate(context, state, heritage, properties, options) {
|
|
13
|
+
const instantiatedHeritage = (0, instantiate_3.InstantiateTypes)(context, { callstack: [] }, heritage);
|
|
14
|
+
const instantiatedProperties = (0, instantiate_2.InstantiateProperties)(context, { callstack: [] }, properties);
|
|
15
|
+
const evaluatedInterface = (0, evaluate_1.EvaluateIntersect)([...instantiatedHeritage, (0, object_1.Object)(instantiatedProperties)]);
|
|
16
|
+
return index_1.Memory.Update(evaluatedInterface, {}, options);
|
|
17
|
+
}
|
|
18
|
+
function InterfaceInstantiate(context, state, heritage, properties, options) {
|
|
19
|
+
return ((0, instantiate_1.CanInstantiate)(context, heritage)
|
|
20
|
+
? InterfaceImmediate(context, state, heritage, properties, options)
|
|
21
|
+
: (0, index_2.InterfaceDeferred)(heritage, properties, options));
|
|
22
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/schema';
|
|
2
|
+
import { type TLiteral, type TLiteralValue } from '../../types/literal';
|
|
3
|
+
import { type TMappingType, type TMappingFunc, type TApplyMapping } from './mapping';
|
|
4
|
+
export type TFromLiteral<Mapping extends TMappingType, Value extends TLiteralValue> = (Value extends string ? TLiteral<TApplyMapping<Mapping, Value>> : TLiteral<Value>);
|
|
5
|
+
export declare function FromLiteral(mapping: TMappingFunc, value: TLiteralValue): TSchema;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromLiteral = FromLiteral;
|
|
5
|
+
const index_1 = require("../../../guard/index");
|
|
6
|
+
const literal_1 = require("../../types/literal");
|
|
7
|
+
const mapping_1 = require("./mapping");
|
|
8
|
+
function FromLiteral(mapping, value) {
|
|
9
|
+
return (index_1.Guard.IsString(value)
|
|
10
|
+
? (0, literal_1.Literal)((0, mapping_1.ApplyMapping)(mapping, value))
|
|
11
|
+
: (0, literal_1.Literal)(value));
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/schema';
|
|
2
|
+
import { type TMappingType, type TMappingFunc } from './mapping';
|
|
3
|
+
import { type TTemplateLiteralDecode } from '../template-literal/decode';
|
|
4
|
+
import { type TFromType } from './from-type';
|
|
5
|
+
export type TFromTemplateLiteral<Mapping extends TMappingType, Pattern extends string, Decoded extends TSchema = TTemplateLiteralDecode<Pattern>, Result extends TSchema = TFromType<Mapping, Decoded>> = Result;
|
|
6
|
+
export declare function FromTemplateLiteral(mapping: TMappingFunc, pattern: string): TSchema;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromTemplateLiteral = FromTemplateLiteral;
|
|
5
|
+
const decode_1 = require("../template-literal/decode");
|
|
6
|
+
const from_type_1 = require("./from-type");
|
|
7
|
+
function FromTemplateLiteral(mapping, pattern) {
|
|
8
|
+
const decoded = (0, decode_1.TemplateLiteralDecode)(pattern);
|
|
9
|
+
const result = (0, from_type_1.FromType)(mapping, decoded);
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/schema';
|
|
2
|
+
import { type TLiteral, type TLiteralValue } from '../../types/literal';
|
|
3
|
+
import { type TTemplateLiteral } from '../../types/template-literal';
|
|
4
|
+
import { type TUnion } from '../../types/union';
|
|
5
|
+
import { type TMappingType, type TMappingFunc } from './mapping';
|
|
6
|
+
import { type TFromLiteral } from './from-literal';
|
|
7
|
+
import { type TFromTemplateLiteral } from './from-template-literal';
|
|
8
|
+
import { type TFromUnion } from './from-union';
|
|
9
|
+
export type TFromType<Mapping extends TMappingType, Type extends TSchema> = (Type extends TLiteral<infer Value extends TLiteralValue> ? TFromLiteral<Mapping, Value> : Type extends TTemplateLiteral<infer Pattern extends string> ? TFromTemplateLiteral<Mapping, Pattern> : Type extends TUnion<infer Types extends TSchema[]> ? TFromUnion<Mapping, Types> : Type);
|
|
10
|
+
export declare function FromType(mapping: TMappingFunc, type: TSchema): TSchema;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromType = FromType;
|
|
5
|
+
const literal_1 = require("../../types/literal");
|
|
6
|
+
const template_literal_1 = require("../../types/template-literal");
|
|
7
|
+
const union_1 = require("../../types/union");
|
|
8
|
+
const from_literal_1 = require("./from-literal");
|
|
9
|
+
const from_template_literal_1 = require("./from-template-literal");
|
|
10
|
+
const from_union_1 = require("./from-union");
|
|
11
|
+
function FromType(mapping, type) {
|
|
12
|
+
return ((0, literal_1.IsLiteral)(type) ? (0, from_literal_1.FromLiteral)(mapping, type.const) :
|
|
13
|
+
(0, template_literal_1.IsTemplateLiteral)(type) ? (0, from_template_literal_1.FromTemplateLiteral)(mapping, type.pattern) :
|
|
14
|
+
(0, union_1.IsUnion)(type) ? (0, from_union_1.FromUnion)(mapping, type.anyOf) :
|
|
15
|
+
type);
|
|
16
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/schema';
|
|
2
|
+
import { type TUnion } from '../../types/union';
|
|
3
|
+
import { type TMappingType, type TMappingFunc } from './mapping';
|
|
4
|
+
import { type TFromType } from './from-type';
|
|
5
|
+
export type TFromUnion<Mapping extends TMappingType, Types extends TSchema[], Result extends TSchema[] = []> = (Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TFromUnion<Mapping, Right, [...Result, TFromType<Mapping, Left>]> : TUnion<Result>);
|
|
6
|
+
export declare function FromUnion(mapping: TMappingFunc, types: TSchema[]): TSchema;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromUnion = FromUnion;
|
|
5
|
+
const union_1 = require("../../types/union");
|
|
6
|
+
const from_type_1 = require("./from-type");
|
|
7
|
+
function FromUnion(mapping, types) {
|
|
8
|
+
const result = types.map(type => (0, from_type_1.FromType)(mapping, type));
|
|
9
|
+
return (0, union_1.Union)(result);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './instantiate';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./instantiate"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type TSchema, type TSchemaOptions } from '../../types/schema';
|
|
2
|
+
import { type TProperties } from '../../types/properties';
|
|
3
|
+
import { type TMappingType } from './mapping';
|
|
4
|
+
import { type TFromType } from './from-type';
|
|
5
|
+
import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate';
|
|
6
|
+
import { type TCapitalizeDeferred } from '../../action/capitalize';
|
|
7
|
+
import { type TLowercaseDeferred } from '../../action/lowercase';
|
|
8
|
+
import { type TUncapitalizeDeferred } from '../../action/uncapitalize';
|
|
9
|
+
import { type TUppercaseDeferred } from '../../action/uppercase';
|
|
10
|
+
interface TCapitalizeMapping extends TMappingType {
|
|
11
|
+
output: Capitalize<this['input']>;
|
|
12
|
+
}
|
|
13
|
+
interface TLowercaseMapping extends TMappingType {
|
|
14
|
+
output: Lowercase<this['input']>;
|
|
15
|
+
}
|
|
16
|
+
interface TUncapitalizeMapping extends TMappingType {
|
|
17
|
+
output: Uncapitalize<this['input']>;
|
|
18
|
+
}
|
|
19
|
+
interface TUppercaseMapping extends TMappingType {
|
|
20
|
+
output: Uppercase<this['input']>;
|
|
21
|
+
}
|
|
22
|
+
type TCapitalizeImmediate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TFromType<TCapitalizeMapping, InstantiatedType>;
|
|
23
|
+
export type TCapitalizeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema> = TCanInstantiate<Context, [Type]> extends true ? TCapitalizeImmediate<Context, State, Type> : TCapitalizeDeferred<Type>;
|
|
24
|
+
export declare function CapitalizeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TCapitalizeInstantiate<Context, State, Type>;
|
|
25
|
+
type TLowercaseImmediate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TFromType<TLowercaseMapping, InstantiatedType>;
|
|
26
|
+
export type TLowercaseInstantiate<Context extends TProperties, State extends TState, Type extends TSchema> = TCanInstantiate<Context, [Type]> extends true ? TLowercaseImmediate<Context, State, Type> : TLowercaseDeferred<Type>;
|
|
27
|
+
export declare function LowercaseInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TLowercaseInstantiate<Context, State, Type>;
|
|
28
|
+
type TUncapitalizeImmediate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TFromType<TUncapitalizeMapping, InstantiatedType>;
|
|
29
|
+
export type TUncapitalizeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema> = TCanInstantiate<Context, [Type]> extends true ? TUncapitalizeImmediate<Context, State, Type> : TUncapitalizeDeferred<Type>;
|
|
30
|
+
export declare function UncapitalizeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TUncapitalizeInstantiate<Context, State, Type>;
|
|
31
|
+
type TUppercaseImmediate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TFromType<TUppercaseMapping, InstantiatedType>;
|
|
32
|
+
export type TUppercaseInstantiate<Context extends TProperties, State extends TState, Type extends TSchema> = TCanInstantiate<Context, [Type]> extends true ? TUppercaseImmediate<Context, State, Type> : TUppercaseDeferred<Type>;
|
|
33
|
+
export declare function UppercaseInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TUppercaseInstantiate<Context, State, Type>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CapitalizeInstantiate = CapitalizeInstantiate;
|
|
5
|
+
exports.LowercaseInstantiate = LowercaseInstantiate;
|
|
6
|
+
exports.UncapitalizeInstantiate = UncapitalizeInstantiate;
|
|
7
|
+
exports.UppercaseInstantiate = UppercaseInstantiate;
|
|
8
|
+
const index_1 = require("../../../system/memory/index");
|
|
9
|
+
const from_type_1 = require("./from-type");
|
|
10
|
+
const instantiate_1 = require("../instantiate");
|
|
11
|
+
const capitalize_1 = require("../../action/capitalize");
|
|
12
|
+
const lowercase_1 = require("../../action/lowercase");
|
|
13
|
+
const uncapitalize_1 = require("../../action/uncapitalize");
|
|
14
|
+
const uppercase_1 = require("../../action/uppercase");
|
|
15
|
+
const CapitalizeMapping = (input) => input[0].toUpperCase() + input.slice(1);
|
|
16
|
+
const LowercaseMapping = (input) => input.toLowerCase();
|
|
17
|
+
const UncapitalizeMapping = (input) => input[0].toLowerCase() + input.slice(1);
|
|
18
|
+
const UppercaseMapping = (input) => input.toUpperCase();
|
|
19
|
+
function CapitalizeImmediate(context, state, type, options) {
|
|
20
|
+
const instantiatedType = (0, instantiate_1.InstantiateType)(context, state, type);
|
|
21
|
+
return index_1.Memory.Update((0, from_type_1.FromType)(CapitalizeMapping, instantiatedType), {}, options);
|
|
22
|
+
}
|
|
23
|
+
function CapitalizeInstantiate(context, state, type, options) {
|
|
24
|
+
return ((0, instantiate_1.CanInstantiate)(context, [type])
|
|
25
|
+
? CapitalizeImmediate(context, state, type, options)
|
|
26
|
+
: (0, capitalize_1.CapitalizeDeferred)(type, options));
|
|
27
|
+
}
|
|
28
|
+
function LowercaseImmediate(context, state, type, options) {
|
|
29
|
+
const instantiatedType = (0, instantiate_1.InstantiateType)(context, state, type);
|
|
30
|
+
return index_1.Memory.Update((0, from_type_1.FromType)(LowercaseMapping, instantiatedType), {}, options);
|
|
31
|
+
}
|
|
32
|
+
function LowercaseInstantiate(context, state, type, options) {
|
|
33
|
+
return ((0, instantiate_1.CanInstantiate)(context, [type])
|
|
34
|
+
? LowercaseImmediate(context, state, type, options)
|
|
35
|
+
: (0, lowercase_1.LowercaseDeferred)(type, options));
|
|
36
|
+
}
|
|
37
|
+
function UncapitalizeImmediate(context, state, type, options) {
|
|
38
|
+
const instantiatedType = (0, instantiate_1.InstantiateType)(context, state, type);
|
|
39
|
+
return index_1.Memory.Update((0, from_type_1.FromType)(UncapitalizeMapping, instantiatedType), {}, options);
|
|
40
|
+
}
|
|
41
|
+
function UncapitalizeInstantiate(context, state, type, options) {
|
|
42
|
+
return ((0, instantiate_1.CanInstantiate)(context, [type])
|
|
43
|
+
? UncapitalizeImmediate(context, state, type, options)
|
|
44
|
+
: (0, uncapitalize_1.UncapitalizeDeferred)(type, options));
|
|
45
|
+
}
|
|
46
|
+
function UppercaseImmediate(context, state, type, options) {
|
|
47
|
+
const instantiatedType = (0, instantiate_1.InstantiateType)(context, state, type);
|
|
48
|
+
return index_1.Memory.Update((0, from_type_1.FromType)(UppercaseMapping, instantiatedType), {}, options);
|
|
49
|
+
}
|
|
50
|
+
function UppercaseInstantiate(context, state, type, options) {
|
|
51
|
+
return ((0, instantiate_1.CanInstantiate)(context, [type])
|
|
52
|
+
? UppercaseImmediate(context, state, type, options)
|
|
53
|
+
: (0, uppercase_1.UppercaseDeferred)(type, options));
|
|
54
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type TUnreachable } from '../../../system/unreachable/index';
|
|
2
|
+
import { type TSchema } from '../../types/index';
|
|
3
|
+
import { type TUnionToTuple } from '../helpers/index';
|
|
4
|
+
import { type TProperties } from '../../types/properties';
|
|
5
|
+
import { type TLiteral, type TLiteralValue } from '../../types/literal';
|
|
6
|
+
import { type TEvaluateUnion } from '../evaluate/evaluate';
|
|
7
|
+
type TFromPropertyKeys<Keys extends PropertyKey[], Result extends TSchema[] = []> = (Keys extends [infer Left extends PropertyKey, ...infer Right extends PropertyKey[]] ? Left extends TLiteralValue ? TFromPropertyKeys<Right, [...Result, TLiteral<Left>]> : TUnreachable : Result);
|
|
8
|
+
export type TFromObject<Properties extends TProperties, PropertyKeys extends PropertyKey[] = TUnionToTuple<keyof Properties>, Variants extends TSchema[] = TFromPropertyKeys<PropertyKeys>, Result extends TSchema = TEvaluateUnion<Variants>> = Result;
|
|
9
|
+
export declare function FromObject<Properties extends TProperties>(properties: Properties): TFromObject<Properties>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromObject = FromObject;
|
|
5
|
+
const index_1 = require("../../../system/unreachable/index");
|
|
6
|
+
const index_2 = require("../../../guard/index");
|
|
7
|
+
const literal_1 = require("../../types/literal");
|
|
8
|
+
const keys_1 = require("../helpers/keys");
|
|
9
|
+
const evaluate_1 = require("../evaluate/evaluate");
|
|
10
|
+
function FromPropertyKeys(keys) {
|
|
11
|
+
const result = keys.reduce((result, left) => {
|
|
12
|
+
return (0, literal_1.IsLiteralValue)(left)
|
|
13
|
+
? [...result, (0, literal_1.Literal)((0, keys_1.ConvertToIntegerKey)(left))]
|
|
14
|
+
: (0, index_1.Unreachable)();
|
|
15
|
+
}, []);
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
function FromObject(properties) {
|
|
19
|
+
const propertyKeys = index_2.Guard.Keys(properties);
|
|
20
|
+
const variants = FromPropertyKeys(propertyKeys);
|
|
21
|
+
const result = (0, evaluate_1.EvaluateUnion)(variants);
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/index';
|
|
2
|
+
import { type TRecord, type TRecordKey } from '../../types/record';
|
|
3
|
+
export type TFromRecord<Type extends TRecord, Result extends TSchema = TRecordKey<Type>> = Result;
|
|
4
|
+
export declare function FromRecord<Type extends TRecord>(type: Type): TFromRecord<Type>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TSchema } from '../../types/index';
|
|
2
|
+
import { type TLiteral } from '../../types/literal';
|
|
3
|
+
import { type TEvaluateUnion } from '../evaluate/evaluate';
|
|
4
|
+
export type TFromTuple<Types extends TSchema[], Result extends TSchema[] = []> = (Types extends [...infer Left extends TSchema[], infer _ extends TSchema] ? TFromTuple<Left, [TLiteral<Left['length']>, ...Result]> : TEvaluateUnion<Result>);
|
|
5
|
+
export declare function FromTuple<Types extends TSchema[]>(types: [...Types]): TFromTuple<Types>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FromTuple = FromTuple;
|
|
5
|
+
const literal_1 = require("../../types/literal");
|
|
6
|
+
const evaluate_1 = require("../evaluate/evaluate");
|
|
7
|
+
function FromTuple(types) {
|
|
8
|
+
const result = types.map((_, index) => (0, literal_1.Literal)(index));
|
|
9
|
+
return (0, evaluate_1.EvaluateUnion)(result);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './instantiate';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./instantiate"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type TSchema, type TSchemaOptions } from '../../types/schema';
|
|
2
|
+
import { type TProperties } from '../../types/properties';
|
|
3
|
+
import { type TArray } from '../../types/array';
|
|
4
|
+
import { type TCyclic } from '../../types/cyclic';
|
|
5
|
+
import { type TIntersect } from '../../types/intersect';
|
|
6
|
+
import { type TNever } from '../../types/never';
|
|
7
|
+
import { type TObject } from '../../types/object';
|
|
8
|
+
import { type TRecord } from '../../types/record';
|
|
9
|
+
import { type TTuple } from '../../types/tuple';
|
|
10
|
+
import { type TUnion } from '../../types/union';
|
|
11
|
+
import { type TKeyOfDeferred } from '../../action/keyof';
|
|
12
|
+
import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate';
|
|
13
|
+
import { type TCollapseToObject } from '../object/index';
|
|
14
|
+
import { type TFromArray } from "./from-array";
|
|
15
|
+
import { type TFromObject } from './from-object';
|
|
16
|
+
import { type TFromRecord } from './from-record';
|
|
17
|
+
import { type TFromTuple } from './from-tuple';
|
|
18
|
+
type TNormalizeType<Type extends TSchema, Result extends TSchema = (Type extends TCyclic | TIntersect | TUnion ? TCollapseToObject<Type> : Type)> = Result;
|
|
19
|
+
export type TKeyOfAction<Type extends TSchema, Normalized extends TSchema = TNormalizeType<Type>> = (Normalized extends TArray<infer Type extends TSchema> ? TFromArray<Type> : Normalized extends TObject<infer Properties extends TProperties> ? TFromObject<Properties> : Normalized extends TRecord ? TFromRecord<Normalized> : Normalized extends TTuple<infer Types extends TSchema[]> ? TFromTuple<Types> : TNever);
|
|
20
|
+
export declare function KeyOfAction<Type extends TSchema>(type: Type): TKeyOfAction<Type>;
|
|
21
|
+
export type TKeyOfImmediate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TKeyOfAction<InstantiatedType>;
|
|
22
|
+
export declare function KeyOfImmediate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TKeyOfImmediate<Context, State, Type>;
|
|
23
|
+
export type TKeyOfInstantiate<Context extends TProperties, State extends TState, Type extends TSchema> = TCanInstantiate<Context, [Type]> extends true ? TKeyOfImmediate<Context, State, Type> : TKeyOfDeferred<Type>;
|
|
24
|
+
export declare function KeyOfInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TKeyOfInstantiate<Context, State, Type>;
|
|
25
|
+
export {};
|