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,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Hyphen = exports.DollarSign = exports.Dot = exports.UnderScore = exports.NewLine = exports.WhiteSpace = exports.Digit = exports.NonZero = exports.Zero = exports.Alpha = void 0;
|
|
6
|
+
// ------------------------------------------------------------------
|
|
7
|
+
// Range
|
|
8
|
+
// ------------------------------------------------------------------
|
|
9
|
+
function Range(start, end) {
|
|
10
|
+
return Array.from({ length: end - start + 1 }, (_, i) => String.fromCharCode(start + i));
|
|
11
|
+
}
|
|
12
|
+
exports.Alpha = [
|
|
13
|
+
...Range(97, 122), // Lowercase
|
|
14
|
+
...Range(65, 90) // Uppercase
|
|
15
|
+
];
|
|
16
|
+
exports.Zero = '0';
|
|
17
|
+
exports.NonZero = Range(49, 57); // 1 - 9
|
|
18
|
+
exports.Digit = [exports.Zero, ...exports.NonZero];
|
|
19
|
+
// ------------------------------------------------------------------
|
|
20
|
+
// Characters
|
|
21
|
+
// ------------------------------------------------------------------
|
|
22
|
+
exports.WhiteSpace = ' ';
|
|
23
|
+
exports.NewLine = '\n';
|
|
24
|
+
exports.UnderScore = '_';
|
|
25
|
+
exports.Dot = '.';
|
|
26
|
+
exports.DollarSign = '$';
|
|
27
|
+
exports.Hyphen = '-';
|
|
28
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IsArray, IsEqual, IsString } from '../../../../guard/guard';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.IsString = exports.IsEqual = exports.IsArray = void 0;
|
|
5
|
+
var guard_1 = require("../../../../guard/guard");
|
|
6
|
+
Object.defineProperty(exports, "IsArray", { enumerable: true, get: function () { return guard_1.IsArray; } });
|
|
7
|
+
Object.defineProperty(exports, "IsEqual", { enumerable: true, get: function () { return guard_1.IsEqual; } });
|
|
8
|
+
Object.defineProperty(exports, "IsString", { enumerable: true, get: function () { return guard_1.IsString; } });
|
|
9
|
+
// ------------------------------------------------------------------
|
|
10
|
+
// Internal Guards to ensure Token is portable.
|
|
11
|
+
// ------------------------------------------------------------------
|
|
12
|
+
// export function IsArray(value: unknown): value is unknown[] {
|
|
13
|
+
// return Array.isArray(value)
|
|
14
|
+
// }
|
|
15
|
+
// export function IsString(value: unknown): value is string {
|
|
16
|
+
// return IsEqual(typeof value, 'string')
|
|
17
|
+
// }
|
|
18
|
+
// export function IsEqual(left: unknown, right: unknown): boolean {
|
|
19
|
+
// return left === right
|
|
20
|
+
// }
|
|
21
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TTake } from './take';
|
|
2
|
+
type TIsDiscard<Discard extends string[], Input extends string> = (Discard extends [infer Left extends string, ...infer Right extends string[]] ? Input extends Left ? true : TIsDiscard<Right, Input> : false);
|
|
3
|
+
/** Takes characters from the Input until no-match. The Discard set is used to omit characters from the match */
|
|
4
|
+
export type TMany<Allowed extends string[], Discard extends string[], Input extends string, Result extends string = ''> = (TTake<Allowed, Input> extends [infer Char extends string, infer Rest extends string] ? TIsDiscard<Discard, Char> extends true ? TMany<Allowed, Discard, Rest, Result> : TMany<Allowed, Discard, Rest, `${Result}${Char}`> : [Result, Input]);
|
|
5
|
+
/** Takes characters from the Input until no-match. The Discard set is used to omit characters from the match */
|
|
6
|
+
export declare function Many<Allowed extends string[], Discard extends string[], Input extends string>(allowed: [...Allowed], discard: [...Discard], input: Input, result?: string): TMany<Allowed, Discard, Input>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Many = Many;
|
|
6
|
+
const result_1 = require("./result");
|
|
7
|
+
const take_1 = require("./take");
|
|
8
|
+
function IsDiscard(discard, input) {
|
|
9
|
+
return discard.includes(input);
|
|
10
|
+
}
|
|
11
|
+
/** Takes characters from the Input until no-match. The Discard set is used to omit characters from the match */
|
|
12
|
+
function Many(allowed, discard, input, result = '') {
|
|
13
|
+
const takeResult = (0, take_1.Take)(allowed, input);
|
|
14
|
+
return ((0, result_1.IsResult)(takeResult)
|
|
15
|
+
? IsDiscard(discard, takeResult[0])
|
|
16
|
+
? Many(allowed, discard, takeResult[1], result)
|
|
17
|
+
: Many(allowed, discard, takeResult[1], `${result}${takeResult[0]}`)
|
|
18
|
+
: [result, input]);
|
|
19
|
+
}
|
|
20
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TTake } from './take';
|
|
2
|
+
/** Matches the given Value or empty string if no match. This function never fails */
|
|
3
|
+
export type TOptional<Value extends string, Input extends string> = (TTake<[Value], Input> extends [infer Optional extends string, infer Rest extends string] ? [Optional, Rest] : ['', Input]);
|
|
4
|
+
/** Matches the given Value or empty string if no match. This function never fails */
|
|
5
|
+
export declare function Optional<Value extends string, Input extends string>(value: Value, input: Input): TOptional<Value, Value>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Optional = Optional;
|
|
6
|
+
const result_1 = require("./result");
|
|
7
|
+
const take_1 = require("./take");
|
|
8
|
+
/** Matches the given Value or empty string if no match. This function never fails */
|
|
9
|
+
function Optional(value, input) {
|
|
10
|
+
const result = (0, take_1.Take)([value], input);
|
|
11
|
+
return ((0, result_1.IsResult)(result)
|
|
12
|
+
? result
|
|
13
|
+
: ['', input]);
|
|
14
|
+
}
|
|
15
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.IsResult = IsResult;
|
|
5
|
+
const guard_1 = require("./guard");
|
|
6
|
+
/** Checks the value is a Tuple-2 [string, string] result */
|
|
7
|
+
function IsResult(value) {
|
|
8
|
+
return (0, guard_1.IsArray)(value) && (0, guard_1.IsEqual)(value.length, 2);
|
|
9
|
+
}
|
|
10
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Take = Take;
|
|
6
|
+
const guard_1 = require("./guard");
|
|
7
|
+
function TakeVariant(variant, input) {
|
|
8
|
+
return ((0, guard_1.IsEqual)(input.indexOf(variant), 0)
|
|
9
|
+
? [variant, input.slice(variant.length)]
|
|
10
|
+
: []);
|
|
11
|
+
}
|
|
12
|
+
/** Takes one of the given variants or fail */
|
|
13
|
+
function Take(variants, input) {
|
|
14
|
+
const [left, ...right] = variants;
|
|
15
|
+
return ((0, guard_1.IsString)(left)
|
|
16
|
+
? (() => {
|
|
17
|
+
const result = TakeVariant(left, input);
|
|
18
|
+
return (0, guard_1.IsEqual)(result.length, 2) ? result : Take(right, input);
|
|
19
|
+
})()
|
|
20
|
+
: []);
|
|
21
|
+
}
|
|
22
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Char from './char';
|
|
2
|
+
type LineComment = typeof LineComment;
|
|
3
|
+
type OpenComment = typeof OpenComment;
|
|
4
|
+
type CloseComment = typeof CloseComment;
|
|
5
|
+
declare const LineComment = "//";
|
|
6
|
+
declare const OpenComment = "/*";
|
|
7
|
+
declare const CloseComment = "*/";
|
|
8
|
+
type TDiscardMultiLineComment<Input extends string> = (Input extends `${string}${CloseComment}${infer Rest extends string}` ? Rest : '');
|
|
9
|
+
type TDiscardLineComment<Input extends string> = (Input extends `${string}${Char.TNewLine}${infer Rest extends string}` ? TTrimWhitespace<`${Char.TNewLine}${Rest}`> : '');
|
|
10
|
+
type W4 = `${W3}${W3}`;
|
|
11
|
+
type W3 = `${W2}${W2}`;
|
|
12
|
+
type W2 = `${W1}${W1}`;
|
|
13
|
+
type W1 = `${W0}${W0}`;
|
|
14
|
+
type W0 = ` `;
|
|
15
|
+
export type TTrimWhitespace<Input extends string> = (Input extends `${OpenComment}${infer Rest extends string}` ? TTrimWhitespace<TDiscardMultiLineComment<Rest>> : Input extends `${LineComment}${infer Rest extends string}` ? TTrimWhitespace<TDiscardLineComment<Rest>> : Input extends `${W4}${infer Rest extends string}` ? TTrimWhitespace<Rest> : Input extends `${W3}${infer Rest extends string}` ? TTrimWhitespace<Rest> : Input extends `${W1}${infer Rest extends string}` ? TTrimWhitespace<Rest> : Input extends `${W0}${infer Rest extends string}` ? TTrimWhitespace<Rest> : Input);
|
|
16
|
+
export declare function TrimWhitespace<Input extends string>(input: Input): TTrimWhitespace<Input>;
|
|
17
|
+
export type TTrim<Input extends string> = (Input extends `${OpenComment}${infer Rest extends string}` ? TTrim<TDiscardMultiLineComment<Rest>> : Input extends `${LineComment}${infer Rest extends string}` ? TTrim<TDiscardLineComment<Rest>> : Input extends `${Char.TNewLine}${infer Rest extends string}` ? TTrim<Rest> : Input extends `${W4}${infer Rest extends string}` ? TTrim<Rest> : Input extends `${W3}${infer Rest extends string}` ? TTrim<Rest> : Input extends `${W1}${infer Rest extends string}` ? TTrim<Rest> : Input extends `${W0}${infer Rest extends string}` ? TTrim<Rest> : Input);
|
|
18
|
+
export declare function Trim<Input extends string>(input: Input): TTrim<Input>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TrimWhitespace = TrimWhitespace;
|
|
6
|
+
exports.Trim = Trim;
|
|
7
|
+
const guard_1 = require("./guard");
|
|
8
|
+
const Char = require("./char");
|
|
9
|
+
const LineComment = '//';
|
|
10
|
+
const OpenComment = '/*';
|
|
11
|
+
const CloseComment = '*/';
|
|
12
|
+
function DiscardMultilineComment(input) {
|
|
13
|
+
const index = input.indexOf(CloseComment);
|
|
14
|
+
const result = (0, guard_1.IsEqual)(index, -1) ? '' : input.slice(index + 2);
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
function DiscardLineComment(input) {
|
|
18
|
+
const index = input.indexOf(Char.NewLine);
|
|
19
|
+
const result = (0, guard_1.IsEqual)(index, -1) ? '' : input.slice(index);
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
// ...
|
|
23
|
+
function TrimStartUntilNewline(input) {
|
|
24
|
+
return input.replace(/^[ \t\r\f\v]+/, '');
|
|
25
|
+
}
|
|
26
|
+
function TrimWhitespace(input) {
|
|
27
|
+
const trimmed = TrimStartUntilNewline(input);
|
|
28
|
+
return (trimmed.startsWith(OpenComment) ? TrimWhitespace(DiscardMultilineComment(trimmed.slice(2))) :
|
|
29
|
+
trimmed.startsWith(LineComment) ? TrimWhitespace(DiscardLineComment(trimmed.slice(2))) :
|
|
30
|
+
trimmed);
|
|
31
|
+
}
|
|
32
|
+
function Trim(input) {
|
|
33
|
+
const trimmed = input.trimStart();
|
|
34
|
+
return (trimmed.startsWith(OpenComment) ? Trim(DiscardMultilineComment(trimmed.slice(2))) :
|
|
35
|
+
trimmed.startsWith(LineComment) ? Trim(DiscardLineComment(trimmed.slice(2))) :
|
|
36
|
+
trimmed);
|
|
37
|
+
}
|
|
38
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type TTrim } from './internal/trim';
|
|
2
|
+
import { type TTake } from './internal/take';
|
|
3
|
+
import { type TMany } from './internal/many';
|
|
4
|
+
import { type TOptional } from './internal/optional';
|
|
5
|
+
import { type TDigit, TUnderScore } from './internal/char';
|
|
6
|
+
import { type TDot } from './internal/char';
|
|
7
|
+
import { type THyphen } from './internal/char';
|
|
8
|
+
import { type TInteger } from './integer';
|
|
9
|
+
type TAllowedDigits = [...TDigit, TUnderScore];
|
|
10
|
+
type TTakeSign<Input extends string> = (TOptional<THyphen, Input>);
|
|
11
|
+
type TIsLeadingDot<Input extends string> = (TTake<[TDot], Input> extends [string, string] ? true : false);
|
|
12
|
+
type TTakeFractional<Input extends string> = (TMany<TAllowedDigits, [TUnderScore], Input> extends [infer Digits extends string, infer Rest extends string] ? Digits extends '' ? [] : [Digits, Rest] : []);
|
|
13
|
+
type TLeadingDot<Sign extends string, Input extends string> = (TTake<[TDot], Input> extends [infer Dot extends string, infer Rest extends string] ? TTakeFractional<Rest> extends [infer Fractional extends string, infer Rest extends string] ? [`${Sign}0${Dot}${Fractional}`, Rest] : [] : []);
|
|
14
|
+
type TLeadingInteger<Sign extends string, Input extends string> = (TInteger<Input> extends [infer Integer extends string, infer IntegerRest extends string] ? TTake<[TDot], IntegerRest> extends [infer Dot extends string, infer DotRest extends string] ? TTakeFractional<DotRest> extends [infer Fractional extends string, infer FractionalRest extends string] ? [`${Sign}${Integer}${Dot}${Fractional}`, FractionalRest] : [`${Sign}${Integer}`, DotRest] : [`${Sign}${Integer}`, IntegerRest] : []);
|
|
15
|
+
type TTakeNumber<Input extends string> = (TTakeSign<Input> extends [infer Sign extends string, infer SignRest extends string] ? TIsLeadingDot<SignRest> extends true ? TLeadingDot<Sign, SignRest> : TLeadingInteger<Sign, SignRest> : []);
|
|
16
|
+
/** Matches if next is a literal Number */
|
|
17
|
+
export type TNumber<Input extends string> = (TTakeNumber<TTrim<Input>>);
|
|
18
|
+
/** Matches if next is a literal Number */
|
|
19
|
+
export declare function Number<Input extends string>(input: Input): TNumber<Input>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Number = Number;
|
|
6
|
+
const guard_1 = require("./internal/guard");
|
|
7
|
+
const result_1 = require("./internal/result");
|
|
8
|
+
const trim_1 = require("./internal/trim");
|
|
9
|
+
const take_1 = require("./internal/take");
|
|
10
|
+
const many_1 = require("./internal/many");
|
|
11
|
+
const optional_1 = require("./internal/optional");
|
|
12
|
+
const char_1 = require("./internal/char");
|
|
13
|
+
const char_2 = require("./internal/char");
|
|
14
|
+
const char_3 = require("./internal/char");
|
|
15
|
+
const integer_1 = require("./integer");
|
|
16
|
+
const AllowedDigits = [...char_1.Digit, char_1.UnderScore];
|
|
17
|
+
function TakeSign(input) {
|
|
18
|
+
return (0, optional_1.Optional)(char_3.Hyphen, input);
|
|
19
|
+
}
|
|
20
|
+
function IsLeadingDot(input) {
|
|
21
|
+
return (0, result_1.IsResult)((0, take_1.Take)([char_2.Dot], input));
|
|
22
|
+
}
|
|
23
|
+
function TakeFractional(input) {
|
|
24
|
+
const digits = (0, many_1.Many)(AllowedDigits, [char_1.UnderScore], input);
|
|
25
|
+
return ((0, result_1.IsResult)(digits)
|
|
26
|
+
? (0, guard_1.IsEqual)(digits[0], '')
|
|
27
|
+
? [] // fail: no Digits
|
|
28
|
+
: [digits[0], digits[1]]
|
|
29
|
+
: [] // fail: did not match Digits
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function LeadingDot(sign, input) {
|
|
33
|
+
const dot = (0, take_1.Take)([char_2.Dot], input);
|
|
34
|
+
return ((0, result_1.IsResult)(dot) ? (() => {
|
|
35
|
+
const fractional = TakeFractional(dot[1]);
|
|
36
|
+
return (0, result_1.IsResult)(fractional)
|
|
37
|
+
? [`${sign}0${dot[0]}${fractional[0]}`, fractional[1]]
|
|
38
|
+
: []; // fail: did not match Fractional
|
|
39
|
+
})() : [] // fail: did not match Dot
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
function LeadingInteger(sign, input) {
|
|
43
|
+
const integer = (0, integer_1.Integer)(input);
|
|
44
|
+
return ((0, result_1.IsResult)(integer) ? (() => {
|
|
45
|
+
const dot = (0, take_1.Take)([char_2.Dot], integer[1]);
|
|
46
|
+
return (0, result_1.IsResult)(dot) ? (() => {
|
|
47
|
+
const fractional = TakeFractional(dot[1]);
|
|
48
|
+
return (0, result_1.IsResult)(fractional)
|
|
49
|
+
? [`${sign}${integer[0]}${dot[0]}${fractional[0]}`, fractional[1]]
|
|
50
|
+
: [`${sign}${integer[0]}`, dot[1]]; // fail: did not match Fractional, use Integer
|
|
51
|
+
})() : [`${sign}${integer[0]}`, integer[1]]; // fail: did not match Dot, use Integer
|
|
52
|
+
})() : [] // fail: did not match Integer
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
function TakeNumber(input) {
|
|
56
|
+
const sign = TakeSign(input);
|
|
57
|
+
return ((0, result_1.IsResult)(sign)
|
|
58
|
+
? IsLeadingDot(sign[1])
|
|
59
|
+
? LeadingDot(sign[0], sign[1])
|
|
60
|
+
: LeadingInteger(sign[0], sign[1])
|
|
61
|
+
: [] // fail: did not match Sign
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
/** Matches if next is a literal Number */
|
|
65
|
+
function Number(input) {
|
|
66
|
+
return TakeNumber((0, trim_1.Trim)(input));
|
|
67
|
+
}
|
|
68
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type TTrim } from './internal/trim';
|
|
2
|
+
import { type TNewLine } from './internal/char';
|
|
3
|
+
import { type TUntil } from './until';
|
|
4
|
+
type TMultiLine<Start extends string, End extends string, Input extends string> = (Input extends `${Start}${infer Rest extends string}` ? TUntil<[End], Rest> extends [infer Until extends string, infer UntilRest extends string] ? UntilRest extends `${End}${infer Rest extends string}` ? [`${Until}`, Rest] : [] : [] : []);
|
|
5
|
+
type TSingleLine<Start extends string, End extends string, Input extends string> = (Input extends `${Start}${infer Rest extends string}` ? TUntil<[TNewLine, End], Rest> extends [infer Until extends string, infer UntilRest extends string] ? UntilRest extends `${End}${infer EndRest extends string}` ? [`${Until}`, EndRest] : [] : [] : []);
|
|
6
|
+
/** Matches from Start and End capturing everything in-between. Start and End are consumed. */
|
|
7
|
+
export type TSpan<Start extends string, End extends string, MultiLine extends boolean, Input extends string> = (MultiLine extends true ? TMultiLine<Start, End, TTrim<Input>> : TSingleLine<Start, End, TTrim<Input>>);
|
|
8
|
+
/** Matches from Start and End capturing everything in-between. Start and End are consumed. */
|
|
9
|
+
export declare function Span<Start extends string, End extends string, MultiLine extends boolean, Input extends string>(start: Start, end: End, multiLine: MultiLine, input: Input): TSpan<Start, End, MultiLine, Input>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Span = Span;
|
|
6
|
+
const result_1 = require("./internal/result");
|
|
7
|
+
const trim_1 = require("./internal/trim");
|
|
8
|
+
const char_1 = require("./internal/char");
|
|
9
|
+
const until_1 = require("./until");
|
|
10
|
+
function MultiLine(start, end, input) {
|
|
11
|
+
return (input.startsWith(start) ? (() => {
|
|
12
|
+
const until = (0, until_1.Until)([end], input.slice(start.length));
|
|
13
|
+
return (0, result_1.IsResult)(until) ? (() => {
|
|
14
|
+
return until[1].startsWith(end)
|
|
15
|
+
? [`${until[0]}`, until[1].slice(end.length)]
|
|
16
|
+
: []; // fail: did not match End
|
|
17
|
+
})() : []; // fail: did not match Until
|
|
18
|
+
})() : [] // fail: did not match Start
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
function SingleLine(start, end, input) {
|
|
22
|
+
return (input.startsWith(start) ? (() => {
|
|
23
|
+
const until = (0, until_1.Until)([char_1.NewLine, end], input.slice(start.length));
|
|
24
|
+
return (0, result_1.IsResult)(until) ? (() => {
|
|
25
|
+
return until[1].startsWith(end)
|
|
26
|
+
? [`${until[0]}`, until[1].slice(end.length)]
|
|
27
|
+
: []; // fail: did not match End
|
|
28
|
+
})() : []; // fail: did not match Until
|
|
29
|
+
})() : [] // fail: not match Start
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
/** Matches from Start and End capturing everything in-between. Start and End are consumed. */
|
|
33
|
+
function Span(start, end, multiLine, input) {
|
|
34
|
+
return (multiLine
|
|
35
|
+
? MultiLine(start, end, (0, trim_1.Trim)(input))
|
|
36
|
+
: SingleLine(start, end, (0, trim_1.Trim)(input)));
|
|
37
|
+
}
|
|
38
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type TTake } from './internal/take';
|
|
2
|
+
import { type TTrim } from './internal/trim';
|
|
3
|
+
import { type TSpan } from './span';
|
|
4
|
+
type TTakeInitial<Quotes extends string[], Input extends string> = (TTake<Quotes, Input>);
|
|
5
|
+
type TTakeSpan<Quote extends string, Input extends string> = (TSpan<Quote, Quote, false, Input>);
|
|
6
|
+
type TTakeString<Quotes extends string[], Input extends string> = (TTakeInitial<Quotes, Input> extends [infer Initial extends string, infer InitialRest extends string] ? TTakeSpan<Initial, `${Initial}${InitialRest}`> : []);
|
|
7
|
+
/** Matches a literal String with the given quotes */
|
|
8
|
+
export type TString<Quotes extends string[], Input extends string> = (TTakeString<Quotes, TTrim<Input>>);
|
|
9
|
+
/** Matches a literal String with the given quotes */
|
|
10
|
+
export declare function String<Quotes extends string[], Input extends string>(quotes: [...Quotes], input: Input): TString<Quotes, Input>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.String = String;
|
|
6
|
+
const result_1 = require("./internal/result");
|
|
7
|
+
const take_1 = require("./internal/take");
|
|
8
|
+
const trim_1 = require("./internal/trim");
|
|
9
|
+
const span_1 = require("./span");
|
|
10
|
+
function TakeInitial(quotes, input) {
|
|
11
|
+
return (0, take_1.Take)(quotes, input);
|
|
12
|
+
}
|
|
13
|
+
function TakeSpan(quote, input) {
|
|
14
|
+
return (0, span_1.Span)(quote, quote, false, input);
|
|
15
|
+
}
|
|
16
|
+
function TakeString(quotes, input) {
|
|
17
|
+
const initial = TakeInitial(quotes, input);
|
|
18
|
+
return ((0, result_1.IsResult)(initial)
|
|
19
|
+
? TakeSpan(initial[0], `${initial[0]}${initial[1]}`)
|
|
20
|
+
: [] // fail: did not match Initial
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
/** Matches a literal String with the given quotes */
|
|
24
|
+
function String(quotes, input) {
|
|
25
|
+
return TakeString(quotes, (0, trim_1.Trim)(input));
|
|
26
|
+
}
|
|
27
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Until = Until;
|
|
6
|
+
const guard_1 = require("./internal/guard");
|
|
7
|
+
function IsEnd(end, input) {
|
|
8
|
+
const [left, ...right] = end;
|
|
9
|
+
return ((0, guard_1.IsString)(left)
|
|
10
|
+
? input.startsWith(left)
|
|
11
|
+
? true
|
|
12
|
+
: IsEnd(right, input)
|
|
13
|
+
: false);
|
|
14
|
+
}
|
|
15
|
+
/** Match Input until but not including End. No match if End not found. */
|
|
16
|
+
function Until(end, input, result = '') {
|
|
17
|
+
return ((0, guard_1.IsEqual)(input, '')
|
|
18
|
+
? [] // fail: Input is empty
|
|
19
|
+
: IsEnd(end, input) ? [result, input] : (() => {
|
|
20
|
+
const [left, right] = [input.slice(0, 1), input.slice(1)];
|
|
21
|
+
return Until(end, right, `${result}${left}`);
|
|
22
|
+
})());
|
|
23
|
+
}
|
|
24
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TUntil } from './until';
|
|
2
|
+
/** Match Input until but not including End. No match if End not found or match is zero-length. */
|
|
3
|
+
export type TUntil_1<End extends string[], Input extends string> = (TUntil<End, Input> extends [infer Until extends string, infer UntilRest extends string] ? Until extends '' ? [] : [Until, UntilRest] : []);
|
|
4
|
+
/** Match Input until but not including End. No match if End not found or match is zero-length. */
|
|
5
|
+
export declare function Until_1<End extends string[], Input extends string>(end: [...End], input: Input): TUntil_1<End, Input>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-coverage-ignore-start - parsebox tested
|
|
3
|
+
// deno-fmt-ignore-file
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Until_1 = Until_1;
|
|
6
|
+
const guard_1 = require("./internal/guard");
|
|
7
|
+
const result_1 = require("./internal/result");
|
|
8
|
+
const until_1 = require("./until");
|
|
9
|
+
/** Match Input until but not including End. No match if End not found or match is zero-length. */
|
|
10
|
+
function Until_1(end, input) {
|
|
11
|
+
const until = (0, until_1.Until)(end, input);
|
|
12
|
+
return ((0, result_1.IsResult)(until)
|
|
13
|
+
? (0, guard_1.IsEqual)(until[0], '')
|
|
14
|
+
? [] // fail: match has no characters
|
|
15
|
+
: until
|
|
16
|
+
: [] // fail: did not match Until
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
// deno-coverage-ignore-stop
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StaticDirection, type StaticType } from './static';
|
|
2
|
+
import { type TSchema } from './schema';
|
|
3
|
+
import { type TProperties } from './properties';
|
|
4
|
+
export type StaticCodec<Stack extends string[], Direction extends StaticDirection, Context extends TProperties, This extends TProperties, Type extends TSchema, Decoded extends unknown> = Direction extends 'Decode' ? Decoded : StaticType<Stack, Direction, Context, This, Type>;
|
|
5
|
+
export type TDecodeCallback<Type extends TSchema, Decoded = unknown> = (input: StaticType<[], 'Decode', {}, {}, Type>) => Decoded;
|
|
6
|
+
export type TEncodeCallback<Type extends TSchema, Decoded = unknown> = (input: Decoded) => StaticType<[], 'Decode', {}, {}, Type>;
|
|
7
|
+
export type TCodec<Type extends TSchema = TSchema, Decoded extends unknown = unknown> = Type & {
|
|
8
|
+
'~codec': {
|
|
9
|
+
encode: TDecodeCallback<Type, Decoded>;
|
|
10
|
+
decode: TEncodeCallback<Type, Decoded>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare class EncodeBuilder<Type extends TSchema, Decoded extends unknown> {
|
|
14
|
+
private readonly type;
|
|
15
|
+
private readonly decode;
|
|
16
|
+
constructor(type: Type, decode: Function);
|
|
17
|
+
Encode<Callback extends TEncodeCallback<Type, Decoded>>(callback: Callback): TCodec<Type, Decoded>;
|
|
18
|
+
}
|
|
19
|
+
export declare class DecodeBuilder<Type extends TSchema> {
|
|
20
|
+
private readonly type;
|
|
21
|
+
constructor(type: Type);
|
|
22
|
+
Decode<Callback extends TDecodeCallback<Type>>(callback: Callback): EncodeBuilder<Type, ReturnType<Callback>>;
|
|
23
|
+
}
|
|
24
|
+
/** Creates a bi-directional Codec. Codec functions are called on Value.Decode and Value.Encode. */
|
|
25
|
+
export declare function Codec<Type extends TSchema>(type: Type): DecodeBuilder<Type>;
|
|
26
|
+
/** Createsa uni-directional Codec with Decode only. The Decode function is called on Value.Decode */
|
|
27
|
+
export declare function Decode<Type extends TSchema, Callback extends TDecodeCallback<Type>>(type: Type, callback: Callback): TCodec<Type, ReturnType<Callback>>;
|
|
28
|
+
/** Creates a uni-directional Codec with Encode only. The Encode function is called on Value.Encode */
|
|
29
|
+
export declare function Encode<Type extends TSchema, Callback extends TEncodeCallback<Type, unknown>>(type: Type, callback: Callback): TCodec<Type, unknown>;
|
|
30
|
+
export declare function IsCodec(value: unknown): value is TCodec;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DecodeBuilder = exports.EncodeBuilder = void 0;
|
|
4
|
+
exports.Codec = Codec;
|
|
5
|
+
exports.Decode = Decode;
|
|
6
|
+
exports.Encode = Encode;
|
|
7
|
+
exports.IsCodec = IsCodec;
|
|
8
|
+
const index_1 = require("../../system/index");
|
|
9
|
+
const index_2 = require("../../guard/index");
|
|
10
|
+
const schema_1 = require("./schema");
|
|
11
|
+
// ------------------------------------------------------------------
|
|
12
|
+
// Factory
|
|
13
|
+
// ------------------------------------------------------------------
|
|
14
|
+
class EncodeBuilder {
|
|
15
|
+
constructor(type, decode) {
|
|
16
|
+
this.type = type;
|
|
17
|
+
this.decode = decode;
|
|
18
|
+
}
|
|
19
|
+
Encode(callback) {
|
|
20
|
+
const type = this.type;
|
|
21
|
+
const decode = IsCodec(type) ? (value) => this.decode(type['~codec'].decode(value)) : this.decode;
|
|
22
|
+
const encode = IsCodec(type) ? (value) => type['~codec'].encode(callback(value)) : callback;
|
|
23
|
+
const codec = { decode, encode };
|
|
24
|
+
return index_1.Memory.Update(this.type, { '~codec': codec }, {});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.EncodeBuilder = EncodeBuilder;
|
|
28
|
+
class DecodeBuilder {
|
|
29
|
+
constructor(type) {
|
|
30
|
+
this.type = type;
|
|
31
|
+
}
|
|
32
|
+
Decode(callback) {
|
|
33
|
+
return new EncodeBuilder(this.type, callback);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DecodeBuilder = DecodeBuilder;
|
|
37
|
+
// ------------------------------------------------------------------
|
|
38
|
+
// Bidirectional
|
|
39
|
+
// ------------------------------------------------------------------
|
|
40
|
+
/** Creates a bi-directional Codec. Codec functions are called on Value.Decode and Value.Encode. */
|
|
41
|
+
function Codec(type) {
|
|
42
|
+
return new DecodeBuilder(type);
|
|
43
|
+
}
|
|
44
|
+
// ------------------------------------------------------------------
|
|
45
|
+
// Unidirectional
|
|
46
|
+
// ------------------------------------------------------------------
|
|
47
|
+
/** Createsa uni-directional Codec with Decode only. The Decode function is called on Value.Decode */
|
|
48
|
+
function Decode(type, callback) {
|
|
49
|
+
return Codec(type).Decode(callback).Encode(() => {
|
|
50
|
+
throw Error('Encode not implemented');
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/** Creates a uni-directional Codec with Encode only. The Encode function is called on Value.Encode */
|
|
54
|
+
function Encode(type, callback) {
|
|
55
|
+
return Codec(type).Decode(() => {
|
|
56
|
+
throw Error('Decode not implemented');
|
|
57
|
+
}).Encode(callback);
|
|
58
|
+
}
|
|
59
|
+
// ------------------------------------------------------------------
|
|
60
|
+
// Guard
|
|
61
|
+
// ------------------------------------------------------------------
|
|
62
|
+
function IsCodec(value) {
|
|
63
|
+
return (0, schema_1.IsSchema)(value) &&
|
|
64
|
+
index_2.Guard.HasPropertyKey(value, '~codec') &&
|
|
65
|
+
index_2.Guard.IsObject(value['~codec']) &&
|
|
66
|
+
index_2.Guard.HasPropertyKey(value['~codec'], 'encode') &&
|
|
67
|
+
index_2.Guard.HasPropertyKey(value['~codec'], 'decode');
|
|
68
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TSchema } from './schema';
|
|
2
|
+
/** Removes Optional from the given type. */
|
|
3
|
+
export type TOptionalRemove<Type extends TSchema, Result extends TSchema = Type extends TOptional<infer Type extends TSchema> ? Type : Type> = Result;
|
|
4
|
+
/** Removes Optional from the given type. */
|
|
5
|
+
export declare function OptionalRemove<Type extends TSchema>(type: Type): TOptionalRemove<Type>;
|
|
6
|
+
/** Adds Optional to the given type. */
|
|
7
|
+
export type TOptionalAdd<Type extends TSchema = TSchema, Result extends TSchema = '~optional' extends keyof Type ? Type : TOptional<Type>> = Result;
|
|
8
|
+
/** Adds Optional to the given type. */
|
|
9
|
+
export declare function OptionalAdd<Type extends TSchema>(type: Type): TOptionalAdd<Type>;
|
|
10
|
+
export type TOptional<Type extends TSchema = TSchema> = (Type & {
|
|
11
|
+
'~optional': true;
|
|
12
|
+
});
|
|
13
|
+
/** Applies an Optional modifier to the given type. */
|
|
14
|
+
export declare function Optional<Type extends TSchema>(type: Type): TOptionalAdd<Type>;
|
|
15
|
+
/** Returns true if the given value is TOptional */
|
|
16
|
+
export declare function IsOptional(value: unknown): value is TOptional<TSchema>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// deno-fmt-ignore-file
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OptionalRemove = OptionalRemove;
|
|
5
|
+
exports.OptionalAdd = OptionalAdd;
|
|
6
|
+
exports.Optional = Optional;
|
|
7
|
+
exports.IsOptional = IsOptional;
|
|
8
|
+
const index_1 = require("../../guard/index");
|
|
9
|
+
const index_2 = require("../../system/memory/index");
|
|
10
|
+
const schema_1 = require("./schema");
|
|
11
|
+
/** Removes Optional from the given type. */
|
|
12
|
+
function OptionalRemove(type) {
|
|
13
|
+
const result = index_2.Memory.Discard(type, ['~optional']);
|
|
14
|
+
return result;
|
|
15
|
+
}
|
|
16
|
+
/** Adds Optional to the given type. */
|
|
17
|
+
function OptionalAdd(type) {
|
|
18
|
+
return index_2.Memory.Update(type, { '~optional': true }, {});
|
|
19
|
+
}
|
|
20
|
+
// ------------------------------------------------------------------
|
|
21
|
+
// Factory
|
|
22
|
+
// ------------------------------------------------------------------
|
|
23
|
+
/** Applies an Optional modifier to the given type. */
|
|
24
|
+
function Optional(type) {
|
|
25
|
+
return OptionalAdd(type);
|
|
26
|
+
}
|
|
27
|
+
// ------------------------------------------------------------------
|
|
28
|
+
// Guard
|
|
29
|
+
// ------------------------------------------------------------------
|
|
30
|
+
/** Returns true if the given value is TOptional */
|
|
31
|
+
function IsOptional(value) {
|
|
32
|
+
return (0, schema_1.IsSchema)(value) && index_1.Guard.HasPropertyKey(value, '~optional');
|
|
33
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TSchema } from './schema';
|
|
2
|
+
/** Removes Readaonly from the given type. */
|
|
3
|
+
export type TReadonlyRemove<Type extends TSchema, Result extends TSchema = Type extends TReadonly<infer Type extends TSchema> ? Type : Type> = Result;
|
|
4
|
+
/** Removes Readaonly from the given type. */
|
|
5
|
+
export declare function ReadonlyRemove<Type extends TSchema>(type: Type): TReadonlyRemove<Type>;
|
|
6
|
+
/** Adds Readonly to the given type. */
|
|
7
|
+
export type TReadonlyAdd<Type extends TSchema = TSchema> = ('readOnly' extends keyof Type ? Type : TReadonly<Type>);
|
|
8
|
+
/** Adds Readonly to the given type. */
|
|
9
|
+
export declare function ReadonlyAdd<Type extends TSchema>(type: Type): TReadonlyAdd<Type>;
|
|
10
|
+
export type TReadonly<Type extends TSchema = TSchema> = (Type & {
|
|
11
|
+
readOnly: true;
|
|
12
|
+
});
|
|
13
|
+
/** Applies an Readonly modifier to the given type. */
|
|
14
|
+
export declare function Readonly<Type extends TSchema>(type: Type): TReadonlyAdd<Type>;
|
|
15
|
+
/** Returns true if the given value is a TReadonly */
|
|
16
|
+
export declare function IsReadonly(value: unknown): value is TReadonly<TSchema>;
|