inferred-types 0.46.1 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/Marked.d.ts +7 -0
- package/dist/constants/Marked.d.ts.map +1 -1
- package/dist/constants/Never.d.ts.map +1 -1
- package/dist/constants/TypeTokens.d.ts +15 -0
- package/dist/constants/TypeTokens.d.ts.map +1 -1
- package/dist/constants/TypeTokens.js +92 -0
- package/dist/constants/Wide.d.ts +2 -1
- package/dist/constants/Wide.d.ts.map +1 -1
- package/dist/constants/Wide.js +0 -1
- package/dist/constants/createConstant.d.ts.map +1 -1
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/index.cjs +1799 -1076
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/api/defineApi.d.ts +1 -36
- package/dist/runtime/api/defineApi.d.ts.map +1 -1
- package/dist/runtime/api/defineApi.js +90 -73
- package/dist/runtime/api/handleDoneFn.d.ts.map +1 -1
- package/dist/runtime/api/index.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifArray.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifChar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFalse.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifLength.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifTrue.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.js +1 -1
- package/dist/runtime/combinators/and.d.ts.map +1 -1
- package/dist/runtime/combinators/or.d.ts.map +1 -1
- package/dist/runtime/dictionary/entries.js +1 -1
- package/dist/runtime/dictionary/get.d.ts.map +1 -1
- package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
- package/dist/runtime/dictionary/omit.d.ts.map +1 -1
- package/dist/runtime/dictionary/retain.d.ts +4 -9
- package/dist/runtime/dictionary/retain.d.ts.map +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/takeProp.d.ts.map +1 -1
- package/dist/runtime/dictionary/valuesOf.d.ts.map +1 -1
- package/dist/runtime/dictionary/withDefaults.d.ts.map +1 -1
- package/dist/runtime/dictionary/withKeys.d.ts +2 -2
- package/dist/runtime/dictionary/withKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withoutKeys.d.ts +1 -13
- package/dist/runtime/dictionary/withoutKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withoutValue.d.ts.map +1 -1
- package/dist/runtime/errors/KindError.d.ts.map +1 -1
- package/dist/runtime/errors/TypedError.d.ts.map +1 -1
- package/dist/runtime/errors/createErrorCondition.d.ts +5 -0
- package/dist/runtime/errors/createErrorCondition.d.ts.map +1 -1
- package/dist/runtime/errors/createErrorCondition.js +5 -0
- package/dist/runtime/errors/kindedError.d.ts.map +1 -1
- package/dist/runtime/functions/fnMeta.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +2 -0
- package/dist/runtime/initializers/addFnToProps.d.ts +2 -2
- package/dist/runtime/initializers/addFnToProps.d.ts.map +1 -1
- package/dist/runtime/initializers/addPropsToFn.d.ts +2 -2
- package/dist/runtime/initializers/addPropsToFn.d.ts.map +1 -1
- package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
- package/dist/runtime/initializers/defineObj.d.ts +2 -2
- package/dist/runtime/initializers/defineObj.d.ts.map +1 -1
- package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
- package/dist/runtime/lists/asArray.d.ts.map +1 -1
- package/dist/runtime/lists/createComparison.d.ts +2 -3
- package/dist/runtime/lists/createComparison.d.ts.map +1 -1
- package/dist/runtime/lists/createComparison.js +1 -1
- package/dist/runtime/lists/createConverter.d.ts +1 -1
- package/dist/runtime/lists/createConverter.d.ts.map +1 -1
- package/dist/runtime/lists/filter.d.ts +1 -1
- package/dist/runtime/lists/filter.js +4 -4
- package/dist/runtime/lists/find.d.ts +1 -1
- package/dist/runtime/lists/find.d.ts.map +1 -1
- package/dist/runtime/lists/index.d.ts +0 -1
- package/dist/runtime/lists/index.d.ts.map +1 -1
- package/dist/runtime/lists/index.js +0 -1
- package/dist/runtime/lists/indexOf.d.ts.map +1 -1
- package/dist/runtime/lists/indexOf.js +8 -5
- package/dist/runtime/lists/intersection.d.ts.map +1 -1
- package/dist/runtime/lists/join.d.ts +1 -1
- package/dist/runtime/lists/join.d.ts.map +1 -1
- package/dist/runtime/lists/join.js +6 -2
- package/dist/runtime/lists/last.d.ts +2 -2
- package/dist/runtime/lists/last.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
- package/dist/runtime/lists/reverse.d.ts.map +1 -1
- package/dist/runtime/lists/shift.d.ts +17 -5
- package/dist/runtime/lists/shift.d.ts.map +1 -1
- package/dist/runtime/lists/shift.js +33 -5
- package/dist/runtime/lists/slice.d.ts +2 -2
- package/dist/runtime/lists/slice.d.ts.map +1 -1
- package/dist/runtime/lists/unique.d.ts +2 -2
- package/dist/runtime/lists/unique.d.ts.map +1 -1
- package/dist/runtime/literals/box.d.ts.map +1 -1
- package/dist/runtime/literals/ensureLeading.d.ts +2 -2
- package/dist/runtime/literals/ensureLeading.d.ts.map +1 -1
- package/dist/runtime/literals/ensureLeading.js +6 -2
- package/dist/runtime/literals/ensureSurround.d.ts.map +1 -1
- package/dist/runtime/literals/ensureSurround.js +3 -1
- package/dist/runtime/literals/identity.d.ts.map +1 -1
- package/dist/runtime/literals/index.d.ts +2 -1
- package/dist/runtime/literals/index.d.ts.map +1 -1
- package/dist/runtime/literals/index.js +2 -1
- package/dist/runtime/literals/narrow.d.ts.map +1 -1
- package/dist/runtime/literals/phone/asPhoneNumber.d.ts +2 -0
- package/dist/runtime/literals/phone/asPhoneNumber.d.ts.map +1 -0
- package/dist/runtime/literals/phone/asPhoneNumber.js +62 -0
- package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts +3 -0
- package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts.map +1 -0
- package/dist/runtime/literals/phone/getPhoneCountryCode.js +7 -0
- package/dist/runtime/literals/phone/index.d.ts +4 -0
- package/dist/runtime/literals/phone/index.d.ts.map +1 -0
- package/dist/runtime/literals/phone/index.js +3 -0
- package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts +3 -0
- package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts.map +1 -0
- package/dist/runtime/literals/phone/removePhoneCountryCode.js +7 -0
- package/dist/runtime/literals/pluralize.d.ts.map +1 -1
- package/dist/runtime/literals/pluralize.js +4 -1
- package/dist/runtime/literals/retainAfter.d.ts.map +1 -1
- package/dist/runtime/literals/retainChars.d.ts +1 -1
- package/dist/runtime/literals/retainChars.d.ts.map +1 -1
- package/dist/runtime/literals/retainChars.js +2 -1
- package/dist/runtime/literals/retainWhile.d.ts.map +1 -1
- package/dist/runtime/literals/split.d.ts.map +1 -1
- package/dist/runtime/literals/stripAfter.d.ts.map +1 -1
- package/dist/runtime/literals/stripBefore.d.ts.map +1 -1
- package/dist/runtime/literals/stripChars.d.ts +1 -1
- package/dist/runtime/literals/stripChars.d.ts.map +1 -1
- package/dist/runtime/literals/stripChars.js +2 -1
- package/dist/runtime/literals/stripLeading.d.ts +1 -1
- package/dist/runtime/literals/stripLeading.d.ts.map +1 -1
- package/dist/runtime/literals/stripLeading.js +8 -6
- package/dist/runtime/literals/stripSurround.d.ts +19 -0
- package/dist/runtime/literals/stripSurround.d.ts.map +1 -0
- package/dist/runtime/literals/stripSurround.js +30 -0
- package/dist/runtime/literals/stripTrailing.d.ts +2 -2
- package/dist/runtime/literals/stripTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/stripTrailing.js +9 -10
- package/dist/runtime/literals/stripUntil.d.ts.map +1 -1
- package/dist/runtime/literals/takeNumericCharacters.d.ts +2 -2
- package/dist/runtime/literals/takeNumericCharacters.d.ts.map +1 -1
- package/dist/runtime/literals/toKebabCase.d.ts.map +1 -1
- package/dist/runtime/literals/toNumericArray.d.ts +2 -2
- package/dist/runtime/literals/toNumericArray.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
- package/dist/runtime/literals/truncate.d.ts +1 -1
- package/dist/runtime/literals/truncate.d.ts.map +1 -1
- package/dist/runtime/literals/tuple.d.ts +1 -1
- package/dist/runtime/literals/tuple.d.ts.map +1 -1
- package/dist/runtime/meta/urlMeta.d.ts.map +1 -1
- package/dist/runtime/meta/urlMeta.js +8 -5
- package/dist/runtime/meta/youtube-meta.d.ts.map +1 -1
- package/dist/runtime/queues/fifo.d.ts +3 -0
- package/dist/runtime/queues/fifo.d.ts.map +1 -0
- package/dist/runtime/queues/fifo.js +40 -0
- package/dist/runtime/queues/index.d.ts +3 -0
- package/dist/runtime/queues/index.d.ts.map +1 -0
- package/dist/runtime/queues/index.js +2 -0
- package/dist/runtime/queues/lifo.d.ts +3 -0
- package/dist/runtime/queues/lifo.d.ts.map +1 -0
- package/dist/runtime/queues/lifo.js +34 -0
- package/dist/runtime/runtime-types/asToken.d.ts +35 -0
- package/dist/runtime/runtime-types/asToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/asToken.js +115 -0
- package/dist/runtime/runtime-types/asType.d.ts +4 -0
- package/dist/runtime/runtime-types/asType.d.ts.map +1 -0
- package/dist/runtime/runtime-types/asType.js +6 -0
- package/dist/runtime/runtime-types/choices.js +8 -8
- package/dist/runtime/runtime-types/index.d.ts +3 -2
- package/dist/runtime/runtime-types/index.d.ts.map +1 -1
- package/dist/runtime/runtime-types/index.js +3 -2
- package/dist/runtime/runtime-types/ip6Prefix.d.ts +2 -2
- package/dist/runtime/runtime-types/ip6Prefix.d.ts.map +1 -1
- package/dist/runtime/runtime-types/list.d.ts.map +1 -1
- package/dist/runtime/runtime-types/rec.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts +7 -2
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/functions.js +5 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts +2 -1
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts +2 -1
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts +12 -0
- package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/regexToken.js +39 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts +10 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/singletons.js +15 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts +5 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape-helpers/union.js +5 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts +1 -1
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape.d.ts +2 -2
- package/dist/runtime/runtime-types/shape.d.ts.map +1 -1
- package/dist/runtime/runtime-types/shape.js +1 -1
- package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts +30 -0
- package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/tokens/createTypeToken.js +29 -0
- package/dist/runtime/runtime-types/tokens/index.d.ts +3 -0
- package/dist/runtime/runtime-types/tokens/index.d.ts.map +1 -0
- package/dist/runtime/runtime-types/tokens/index.js +2 -0
- package/dist/runtime/runtime-types/tokens/simpleToken.d.ts +51 -0
- package/dist/runtime/runtime-types/tokens/simpleToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/tokens/simpleToken.js +64 -0
- package/dist/runtime/sets/uniqueKeys.d.ts.map +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-conversion/asChars.d.ts.map +1 -1
- package/dist/runtime/type-conversion/asRecord.d.ts +1 -1
- package/dist/runtime/type-conversion/asRecord.d.ts.map +1 -1
- package/dist/runtime/type-conversion/asString.d.ts +7 -1
- package/dist/runtime/type-conversion/asString.d.ts.map +1 -1
- package/dist/runtime/type-conversion/asString.js +11 -3
- package/dist/runtime/type-conversion/csv.d.ts +17 -0
- package/dist/runtime/type-conversion/csv.d.ts.map +1 -0
- package/dist/runtime/type-conversion/csv.js +31 -0
- package/dist/runtime/type-conversion/index.d.ts +2 -0
- package/dist/runtime/type-conversion/index.d.ts.map +1 -1
- package/dist/runtime/type-conversion/index.js +2 -0
- package/dist/runtime/type-conversion/ip6GroupExpansion.d.ts.map +1 -1
- package/dist/runtime/type-conversion/json.d.ts +18 -0
- package/dist/runtime/type-conversion/json.d.ts.map +1 -0
- package/dist/runtime/type-conversion/json.js +27 -0
- package/dist/runtime/type-conversion/mergeObjects.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mergeScalars.d.ts.map +1 -1
- package/dist/runtime/type-conversion/optional.d.ts +20 -4
- package/dist/runtime/type-conversion/optional.d.ts.map +1 -1
- package/dist/runtime/type-conversion/optional.js +24 -6
- package/dist/runtime/type-conversion/union.d.ts.map +1 -1
- package/dist/runtime/type-guards/api-tg.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasErrorConditions.d.ts +2 -4
- package/dist/runtime/type-guards/hasErrorConditions.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasIndexOf.d.ts +2 -2
- package/dist/runtime/type-guards/hasIndexOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasKeys.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasWhitespace.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasWhitespace.js +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.js +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.js +1 -5
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts +1 -2
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isTuple.js +1 -2
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +1 -2
- package/dist/runtime/type-guards/index.d.ts +5 -0
- package/dist/runtime/type-guards/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/index.js +5 -0
- package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
- package/dist/runtime/type-guards/isBooleanLike.d.ts +9 -0
- package/dist/runtime/type-guards/isBooleanLike.d.ts.map +1 -0
- package/dist/runtime/type-guards/isBooleanLike.js +11 -0
- package/dist/runtime/type-guards/isCssAspectRatio.d.ts +1 -1
- package/dist/runtime/type-guards/isCssAspectRatio.d.ts.map +1 -1
- package/dist/runtime/type-guards/isDoneFn.d.ts.map +1 -1
- package/dist/runtime/type-guards/isEmail.d.ts +2 -1
- package/dist/runtime/type-guards/isEmail.d.ts.map +1 -1
- package/dist/runtime/type-guards/isEmail.js +10 -4
- package/dist/runtime/type-guards/isFalsy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isHexadecimal.d.ts.map +1 -1
- package/dist/runtime/type-guards/isInlineSvg.d.ts +2 -1
- package/dist/runtime/type-guards/isInlineSvg.d.ts.map +1 -1
- package/dist/runtime/type-guards/isLeftRight.d.ts +2 -2
- package/dist/runtime/type-guards/isLeftRight.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNever.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.d.ts +8 -0
- package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.js +11 -0
- package/dist/runtime/type-guards/isPhoneNumber.d.ts +1 -1
- package/dist/runtime/type-guards/isPhoneNumber.d.ts.map +1 -1
- package/dist/runtime/type-guards/isPhoneNumber.js +16 -10
- package/dist/runtime/type-guards/isRegExp.d.ts +17 -0
- package/dist/runtime/type-guards/isRegExp.d.ts.map +1 -0
- package/dist/runtime/type-guards/isRegExp.js +32 -0
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts.map +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTrimmable.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTruthy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isUnset.d.ts.map +1 -1
- package/dist/runtime/type-guards/isUrl.d.ts +3 -3
- package/dist/runtime/type-guards/isUrl.d.ts.map +1 -1
- package/dist/runtime/type-guards/network-tg.d.ts +6 -7
- package/dist/runtime/type-guards/network-tg.d.ts.map +1 -1
- package/dist/runtime/type-guards/network-tg.js +4 -9
- package/dist/runtime/type-guards/repos.d.ts +9 -7
- package/dist/runtime/type-guards/repos.d.ts.map +1 -1
- package/dist/runtime/type-guards/repos.js +1 -3
- package/dist/runtime/type-guards/tokens/index.d.ts +6 -0
- package/dist/runtime/type-guards/tokens/index.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/index.js +5 -0
- package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts +9 -0
- package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isAtomicToken.js +12 -0
- package/dist/runtime/type-guards/tokens/isContainerToken.d.ts +21 -0
- package/dist/runtime/type-guards/tokens/isContainerToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isContainerToken.js +48 -0
- package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts +4 -0
- package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isFunctionToken.js +7 -0
- package/dist/runtime/type-guards/tokens/isShapeToken.d.ts +9 -0
- package/dist/runtime/type-guards/tokens/isShapeToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isShapeToken.js +21 -0
- package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts +53 -0
- package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isSimpleToken.js +74 -0
- package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts +9 -0
- package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isSingletonToken.js +12 -0
- package/dist/runtime/type-guards/tokens/isTupleToken.d.ts +1 -0
- package/dist/runtime/type-guards/tokens/isTupleToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isTupleToken.js +1 -0
- package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts +1 -0
- package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isUnionSetToken.js +1 -0
- package/dist/runtime/type-guards/tokens/isUnionToken.d.ts +9 -0
- package/dist/runtime/type-guards/tokens/isUnionToken.d.ts.map +1 -0
- package/dist/runtime/type-guards/tokens/isUnionToken.js +12 -0
- package/dist/runtime/type-guards/youtube.d.ts +5 -5
- package/dist/runtime/type-guards/youtube.d.ts.map +1 -1
- package/dist/runtime/type-guards/youtube.js +1 -3
- package/dist/runtime/vuejs/asVueRef.d.ts +1 -1
- package/dist/runtime/vuejs/asVueRef.d.ts.map +1 -1
- package/dist/types/base-types/LikeRegExp.d.ts +9 -0
- package/dist/types/base-types/LikeRegExp.d.ts.map +1 -0
- package/dist/types/base-types/Something.d.ts.map +1 -1
- package/dist/types/base-types/Something.js +1 -0
- package/dist/types/base-types/fns/AnyFunction.d.ts.map +1 -1
- package/dist/types/base-types/fns/AnyFunction.js +1 -1
- package/dist/types/base-types/fns/FnAllowingProps.d.ts +11 -0
- package/dist/types/base-types/fns/FnAllowingProps.d.ts.map +1 -0
- package/dist/types/base-types/fns/index.d.ts +1 -2
- package/dist/types/base-types/fns/index.d.ts.map +1 -1
- package/dist/types/base-types/fns/index.js +1 -2
- package/dist/types/base-types/index.d.ts +1 -0
- package/dist/types/base-types/index.d.ts.map +1 -1
- package/dist/types/base-types/index.js +1 -0
- package/dist/types/boolean-logic/branching/OnPass.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Compare.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts +2 -2
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Contains.d.ts +4 -3
- package/dist/types/boolean-logic/operators/Contains.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasArray.d.ts +10 -0
- package/dist/types/boolean-logic/operators/HasArray.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasArray.js +1 -0
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts +1 -2
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts +9 -0
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.js +1 -0
- package/dist/types/boolean-logic/operators/IsEmptyString.d.ts +12 -0
- package/dist/types/boolean-logic/operators/IsEmptyString.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsEmptyString.js +1 -0
- package/dist/types/boolean-logic/operators/IsFloat.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsFloat.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts +8 -2
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsInteger.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsInteger.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsLessThan.d.ts +8 -2
- package/dist/types/boolean-logic/operators/IsLessThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +2 -4
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts +11 -0
- package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsPositiveNumber.js +1 -0
- package/dist/types/boolean-logic/operators/IsTuple.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsUrl.d.ts +7 -8
- package/dist/types/boolean-logic/operators/IsUrl.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/MaybeError.d.ts +20 -0
- package/dist/types/boolean-logic/operators/MaybeError.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/MaybeError.js +2 -0
- package/dist/types/boolean-logic/operators/PhoneOperators.d.ts +2 -3
- package/dist/types/boolean-logic/operators/PhoneOperators.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/StartsWith.d.ts +8 -9
- package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/UnionHasArray.d.ts +14 -0
- package/dist/types/boolean-logic/operators/UnionHasArray.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/UnionHasArray.js +1 -0
- package/dist/types/boolean-logic/operators/index.d.ts +6 -0
- package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/index.js +6 -0
- package/dist/types/containers/RemoveEmpty.d.ts +30 -0
- package/dist/types/containers/RemoveEmpty.d.ts.map +1 -0
- package/dist/types/containers/RemoveEmpty.js +1 -0
- package/dist/types/containers/RemoveMarked.d.ts +1 -1
- package/dist/types/containers/RemoveMarked.d.ts.map +1 -1
- package/dist/types/containers/RemoveUndefined.d.ts +1 -7
- package/dist/types/containers/RemoveUndefined.d.ts.map +1 -1
- package/dist/types/containers/index.d.ts +1 -0
- package/dist/types/containers/index.d.ts.map +1 -1
- package/dist/types/containers/index.js +1 -0
- package/dist/types/dictionary/EnsureKeys.d.ts +1 -3
- package/dist/types/dictionary/EnsureKeys.d.ts.map +1 -1
- package/dist/types/dictionary/Keys.d.ts +2 -2
- package/dist/types/dictionary/Keys.d.ts.map +1 -1
- package/dist/types/dictionary/OptionalKeys.d.ts +2 -2
- package/dist/types/dictionary/OptionalKeys.d.ts.map +1 -1
- package/dist/types/dictionary/OptionalKeys.js +0 -1
- package/dist/types/dictionary/RequireProps.d.ts +2 -2
- package/dist/types/dictionary/RequireProps.d.ts.map +1 -1
- package/dist/types/dictionary/RequiredKeys.d.ts +2 -2
- package/dist/types/dictionary/RequiredKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithValue.d.ts +2 -3
- package/dist/types/dictionary/WithValue.d.ts.map +1 -1
- package/dist/types/dictionary/WithoutKeys.d.ts +3 -3
- package/dist/types/dictionary/WithoutKeys.d.ts.map +1 -1
- package/dist/types/functional/Result.d.ts +1 -1
- package/dist/types/functional/Result.d.ts.map +1 -1
- package/dist/types/functions/FnFrom.d.ts +1 -1
- package/dist/types/functions/FnFrom.d.ts.map +1 -1
- package/dist/types/functions/FnWithProps.d.ts +10 -0
- package/dist/types/functions/FnWithProps.d.ts.map +1 -0
- package/dist/types/functions/FnWithProps.js +1 -0
- package/dist/types/functions/IdentityFn.d.ts +1 -2
- package/dist/types/functions/IdentityFn.d.ts.map +1 -1
- package/dist/types/functions/index.d.ts +1 -0
- package/dist/types/functions/index.d.ts.map +1 -1
- package/dist/types/functions/index.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/lists/AsArray.d.ts +7 -2
- package/dist/types/lists/AsArray.d.ts.map +1 -1
- package/dist/types/lists/BeforeLast.d.ts +3 -3
- package/dist/types/lists/Filter.d.ts +2 -9
- package/dist/types/lists/Filter.d.ts.map +1 -1
- package/dist/types/lists/FilterByProp.d.ts +37 -0
- package/dist/types/lists/FilterByProp.d.ts.map +1 -0
- package/dist/types/lists/FilterByProp.js +1 -0
- package/dist/types/lists/Flatten.d.ts +31 -14
- package/dist/types/lists/Flatten.d.ts.map +1 -1
- package/dist/types/lists/Last.d.ts +2 -2
- package/dist/types/lists/Last.d.ts.map +1 -1
- package/dist/types/lists/Length.d.ts +3 -4
- package/dist/types/lists/Length.d.ts.map +1 -1
- package/dist/types/lists/RetainByProp.d.ts +38 -0
- package/dist/types/lists/RetainByProp.d.ts.map +1 -0
- package/dist/types/lists/RetainByProp.js +1 -0
- package/dist/types/lists/Shift.d.ts +5 -3
- package/dist/types/lists/Shift.d.ts.map +1 -1
- package/dist/types/lists/Slice.d.ts +17 -9
- package/dist/types/lists/Slice.d.ts.map +1 -1
- package/dist/types/lists/TakeFirst.d.ts +21 -0
- package/dist/types/lists/TakeFirst.d.ts.map +1 -0
- package/dist/types/lists/TakeFirst.js +1 -0
- package/dist/types/lists/TakeLast.d.ts +16 -0
- package/dist/types/lists/TakeLast.d.ts.map +1 -0
- package/dist/types/lists/TakeLast.js +1 -0
- package/dist/types/lists/index.d.ts +4 -0
- package/dist/types/lists/index.d.ts.map +1 -1
- package/dist/types/lists/index.js +4 -0
- package/dist/types/literals/BooleanLike.d.ts +8 -0
- package/dist/types/literals/BooleanLike.d.ts.map +1 -0
- package/dist/types/literals/BooleanLike.js +1 -0
- package/dist/types/literals/NarrowableDefined.d.ts +2 -1
- package/dist/types/literals/NarrowableDefined.d.ts.map +1 -1
- package/dist/types/literals/NarrowableDefined.js +0 -1
- package/dist/types/literals/Shape.d.ts +10 -1
- package/dist/types/literals/Shape.d.ts.map +1 -1
- package/dist/types/literals/index.d.ts +1 -0
- package/dist/types/literals/index.d.ts.map +1 -1
- package/dist/types/literals/index.js +1 -0
- package/dist/types/numeric-literals/Abs.d.ts +2 -2
- package/dist/types/numeric-literals/Abs.d.ts.map +1 -1
- package/dist/types/numeric-literals/Add.d.ts +5 -3
- package/dist/types/numeric-literals/Add.d.ts.map +1 -1
- package/dist/types/numeric-literals/AsNegativeNumber.d.ts +12 -0
- package/dist/types/numeric-literals/AsNegativeNumber.d.ts.map +1 -0
- package/dist/types/numeric-literals/AsNegativeNumber.js +1 -0
- package/dist/types/numeric-literals/CSV.d.ts +73 -0
- package/dist/types/numeric-literals/CSV.d.ts.map +1 -0
- package/dist/types/numeric-literals/CSV.js +1 -0
- package/dist/types/numeric-literals/Delta.d.ts +14 -0
- package/dist/types/numeric-literals/Delta.d.ts.map +1 -0
- package/dist/types/numeric-literals/Delta.js +1 -0
- package/dist/types/numeric-literals/Digit.d.ts +2 -3
- package/dist/types/numeric-literals/Digit.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digitize.d.ts +10 -20
- package/dist/types/numeric-literals/Digitize.d.ts.map +1 -1
- package/dist/types/numeric-literals/Increment.d.ts +2 -5
- package/dist/types/numeric-literals/Increment.d.ts.map +1 -1
- package/dist/types/numeric-literals/InvertNumericSign.d.ts +9 -0
- package/dist/types/numeric-literals/InvertNumericSign.d.ts.map +1 -0
- package/dist/types/numeric-literals/InvertNumericSign.js +1 -0
- package/dist/types/numeric-literals/NumberLike.d.ts.map +1 -1
- package/dist/types/numeric-literals/Subtract.d.ts +11 -8
- package/dist/types/numeric-literals/Subtract.d.ts.map +1 -1
- package/dist/types/numeric-literals/Zero.d.ts +8 -0
- package/dist/types/numeric-literals/Zero.d.ts.map +1 -0
- package/dist/types/numeric-literals/Zero.js +1 -0
- package/dist/types/numeric-literals/index.d.ts +5 -0
- package/dist/types/numeric-literals/index.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.js +5 -0
- package/dist/types/queues/FifoQueue.d.ts +31 -0
- package/dist/types/queues/FifoQueue.d.ts.map +1 -0
- package/dist/types/queues/FifoQueue.js +1 -0
- package/dist/types/queues/LifoQueue.d.ts +31 -0
- package/dist/types/queues/LifoQueue.d.ts.map +1 -0
- package/dist/types/queues/LifoQueue.js +1 -0
- package/dist/types/queues/index.d.ts +3 -0
- package/dist/types/queues/index.d.ts.map +1 -0
- package/dist/types/queues/index.js +2 -0
- package/dist/types/runtime-types/AsType.d.ts +16 -0
- package/dist/types/runtime-types/AsType.d.ts.map +1 -0
- package/dist/types/runtime-types/AsType.js +1 -0
- package/dist/types/runtime-types/SimpleType.d.ts +47 -0
- package/dist/types/runtime-types/SimpleType.d.ts.map +1 -0
- package/dist/types/runtime-types/SimpleType.js +1 -0
- package/dist/types/runtime-types/Type.d.ts +1 -1
- package/dist/types/runtime-types/Type.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeToken.d.ts +119 -9
- package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
- package/dist/types/runtime-types/index.d.ts +2 -1
- package/dist/types/runtime-types/index.d.ts.map +1 -1
- package/dist/types/runtime-types/index.js +2 -1
- package/dist/types/sets/Intersection.d.ts +1 -1
- package/dist/types/sets/Intersection.d.ts.map +1 -1
- package/dist/types/string-literals/Date.d.ts +4 -4
- package/dist/types/string-literals/Date.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureLeading.d.ts +10 -6
- package/dist/types/string-literals/EnsureLeading.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureTrailing.d.ts +5 -6
- package/dist/types/string-literals/EnsureTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/Join.d.ts +3 -2
- package/dist/types/string-literals/Join.d.ts.map +1 -1
- package/dist/types/string-literals/Proxmox.d.ts +2 -3
- package/dist/types/string-literals/Proxmox.d.ts.map +1 -1
- package/dist/types/string-literals/Split.d.ts +1 -1
- package/dist/types/string-literals/Split.d.ts.map +1 -1
- package/dist/types/string-literals/StripLeading.d.ts +2 -2
- package/dist/types/string-literals/StripLeading.d.ts.map +1 -1
- package/dist/types/string-literals/StripSurround.d.ts +16 -0
- package/dist/types/string-literals/StripSurround.d.ts.map +1 -0
- package/dist/types/string-literals/StripSurround.js +1 -0
- package/dist/types/string-literals/StripTrailing.d.ts +2 -2
- package/dist/types/string-literals/StripTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/StripUntil.d.ts +1 -1
- package/dist/types/string-literals/StripUntil.d.ts.map +1 -1
- package/dist/types/string-literals/Suggest.d.ts.map +1 -1
- package/dist/types/string-literals/Surround.d.ts +2 -2
- package/dist/types/string-literals/Surround.d.ts.map +1 -1
- package/dist/types/string-literals/Truncate.d.ts +4 -4
- package/dist/types/string-literals/Truncate.d.ts.map +1 -1
- package/dist/types/string-literals/UnderlyingType.d.ts +18 -0
- package/dist/types/string-literals/UnderlyingType.d.ts.map +1 -0
- package/dist/types/string-literals/UnderlyingType.js +1 -0
- package/dist/types/string-literals/character-sets/CSS.d.ts +13 -0
- package/dist/types/string-literals/character-sets/CSS.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Consonants.d.ts +3 -4
- package/dist/types/string-literals/character-sets/Consonants.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DomainName.d.ts +1 -1
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts +1 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts +2 -3
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts +3 -4
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Repos.d.ts +2 -1
- package/dist/types/string-literals/character-sets/Repos.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts +2 -3
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Url.d.ts +4 -3
- package/dist/types/string-literals/character-sets/Url.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Url.js +0 -1
- package/dist/types/string-literals/character-sets/Whitespace.d.ts +1 -1
- package/dist/types/string-literals/character-sets/Whitespace.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.d.ts +1 -1
- package/dist/types/string-literals/character-sets/index.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.js +1 -1
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts +12 -0
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.js +1 -0
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts +9 -0
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts +14 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts +10 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.js +1 -0
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts +12 -0
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.js +1 -0
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts +12 -0
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.js +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts +6 -0
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts +13 -0
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts +23 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.js +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts +5 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.js +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts +19 -0
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts +30 -0
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.js +1 -0
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts +27 -0
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.js +1 -0
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts +17 -0
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.js +1 -0
- package/dist/types/string-literals/character-sets/phone/index.d.ts +15 -0
- package/dist/types/string-literals/character-sets/phone/index.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/phone/index.js +14 -0
- package/dist/types/string-literals/character-sets/phone.d.ts +0 -187
- package/dist/types/string-literals/character-sets/phone.d.ts.map +1 -1
- package/dist/types/string-literals/geo/state.d.ts +1 -1
- package/dist/types/string-literals/geo/state.d.ts.map +1 -1
- package/dist/types/string-literals/geo/zip.d.ts +1 -1
- package/dist/types/string-literals/geo/zip.d.ts.map +1 -1
- package/dist/types/string-literals/index.d.ts +2 -0
- package/dist/types/string-literals/index.d.ts.map +1 -1
- package/dist/types/string-literals/index.js +2 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/type-conversion/AsBoolean.d.ts +7 -4
- package/dist/types/type-conversion/AsBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/AsNumber.d.ts +8 -3
- package/dist/types/type-conversion/AsNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/AsString.d.ts +3 -1
- package/dist/types/type-conversion/AsString.d.ts.map +1 -1
- package/dist/types/type-conversion/AsStringUnion.d.ts +25 -0
- package/dist/types/type-conversion/AsStringUnion.d.ts.map +1 -0
- package/dist/types/type-conversion/AsStringUnion.js +1 -0
- package/dist/types/type-conversion/JSON.d.ts +25 -0
- package/dist/types/type-conversion/JSON.d.ts.map +1 -0
- package/dist/types/type-conversion/JSON.js +1 -0
- package/dist/types/type-conversion/StringLiteralFromTuple.d.ts +18 -0
- package/dist/types/type-conversion/StringLiteralFromTuple.d.ts.map +1 -0
- package/dist/types/type-conversion/StringLiteralFromTuple.js +1 -0
- package/dist/types/type-conversion/StripChars.d.ts +7 -6
- package/dist/types/type-conversion/StripChars.d.ts.map +1 -1
- package/dist/types/type-conversion/ToJsonValue.d.ts +11 -0
- package/dist/types/type-conversion/ToJsonValue.d.ts.map +1 -0
- package/dist/types/type-conversion/ToJsonValue.js +1 -0
- package/dist/types/type-conversion/ToStringArray.d.ts +4 -3
- package/dist/types/type-conversion/ToStringArray.d.ts.map +1 -1
- package/dist/types/type-conversion/TupleToUnion.d.ts +2 -2
- package/dist/types/type-conversion/TupleToUnion.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.js +1 -0
- package/dist/types/type-conversion/index.d.ts +4 -0
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +4 -0
- package/package.json +36 -36
- package/dist/runtime/lists/pop.d.ts +0 -17
- package/dist/runtime/lists/pop.d.ts.map +0 -1
- package/dist/runtime/lists/pop.js +0 -16
- package/dist/runtime/literals/asPhoneNumber.d.ts +0 -10
- package/dist/runtime/literals/asPhoneNumber.d.ts.map +0 -1
- package/dist/runtime/literals/asPhoneNumber.js +0 -62
- package/dist/runtime/runtime-types/dict.d.ts +0 -10
- package/dist/runtime/runtime-types/dict.d.ts.map +0 -1
- package/dist/runtime/runtime-types/dict.js +0 -11
- package/dist/runtime/runtime-types/parse.d.ts +0 -16
- package/dist/runtime/runtime-types/parse.d.ts.map +0 -1
- package/dist/runtime/runtime-types/parse.js +0 -29
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts +0 -9
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts.map +0 -1
- package/dist/types/base-types/fns/FnWithDict.d.ts +0 -10
- package/dist/types/base-types/fns/FnWithDict.d.ts.map +0 -1
- package/dist/types/runtime-types/DescribeType.d.ts +0 -40
- package/dist/types/runtime-types/DescribeType.d.ts.map +0 -1
- package/dist/types/runtime-types/DescribeType.js +0 -2
- /package/dist/types/base-types/{fns/AnyFnWithDict.js → LikeRegExp.js} +0 -0
- /package/dist/types/base-types/fns/{FnWithDict.js → FnAllowingProps.js} +0 -0
|
@@ -1,192 +1,5 @@
|
|
|
1
|
-
import { PHONE_COUNTRY_CODES, PHONE_FORMAT } from "../../../constants/index";
|
|
2
|
-
import { AsString, FirstOfEach, IsLessThan, IsStringLiteral, Length, NumericChar, RetainChars, StartsWith, StripChars, Trim, TupleToUnion, Whitespace, Mutable, HasPhoneCountryCode, Optional, RetainUntil, Not, And, Throw, IsGreaterThan, HasCharacters, Extends, Or, OnPass, ErrorCondition, Unset, If, IsLength, Contains } from "../../index";
|
|
3
1
|
/**
|
|
4
2
|
* delimiter characters commonly used to separate digits in phone numbers
|
|
5
3
|
*/
|
|
6
4
|
export type PhoneNumberDelimiter = " " | "-" | ".";
|
|
7
|
-
/**
|
|
8
|
-
* **PhoneFormat**
|
|
9
|
-
*
|
|
10
|
-
* A union type of _formats_ used for telephone numbers
|
|
11
|
-
*/
|
|
12
|
-
export type PhoneFormat = TupleToUnion<typeof PHONE_FORMAT>;
|
|
13
|
-
/**
|
|
14
|
-
* **PhoneCountryCode**
|
|
15
|
-
*
|
|
16
|
-
* The official list of _phone_ country codes
|
|
17
|
-
*
|
|
18
|
-
* **Related:** `DialCountryCode`
|
|
19
|
-
*/
|
|
20
|
-
export type PhoneCountryCode = FirstOfEach<Mutable<typeof PHONE_COUNTRY_CODES>>;
|
|
21
|
-
/**
|
|
22
|
-
* **DialCountryCode**
|
|
23
|
-
*
|
|
24
|
-
* A simplified representation of `PhoneCountryCode` so as to not make other
|
|
25
|
-
* phone patterns too complex.
|
|
26
|
-
*/
|
|
27
|
-
export type DialCountryCode = `${"+" | "00"}${`1-${number}` | `${Exclude<NumericChar, "0">}`}${Optional<`${number}`>}`;
|
|
28
|
-
/**
|
|
29
|
-
* **LocalPhoneNumber**`<[TDelimiter]>`
|
|
30
|
-
*
|
|
31
|
-
* Provides a shape for phone numbers local a region of country that do
|
|
32
|
-
* not have a _country code_ designation nor what is referred to as the
|
|
33
|
-
* "area code" in the USA.
|
|
34
|
-
*
|
|
35
|
-
* **Related:** `CountryPhoneNumber`, `InternationalPhoneNumber`, `PhoneNumber`
|
|
36
|
-
*/
|
|
37
|
-
export type LocalPhoneNumber<TDelimiter extends PhoneNumberDelimiter = PhoneNumberDelimiter> = `${NumericChar}${number}${TDelimiter}${number}`;
|
|
38
|
-
/**
|
|
39
|
-
* **PhoneAreaCode**
|
|
40
|
-
*/
|
|
41
|
-
export type PhoneAreaCode = `(${number})` | `${NumericChar}${number}`;
|
|
42
|
-
/**
|
|
43
|
-
* **PhoneShortCode**`<[T]>`
|
|
44
|
-
*
|
|
45
|
-
* A [phone short code](https://en.wikipedia.org/wiki/Short_code) is a short numeric
|
|
46
|
-
* phone number typically used for SMS/MMS purposes but can be call based too.
|
|
47
|
-
*
|
|
48
|
-
* There are regional variances but typically are always _less_ digits than a regional
|
|
49
|
-
* phone number of 7 digits.
|
|
50
|
-
*
|
|
51
|
-
* This utility -- when used without a generic `T` -- will just give a basic shape
|
|
52
|
-
* for the short code but not really validate it.
|
|
53
|
-
*
|
|
54
|
-
* If you want validation, pass it the value you're testing in as `T`. If `T` is a
|
|
55
|
-
* valid short code then it will be proxied through "as is" but if it is not, it
|
|
56
|
-
* will be converted to an `ErrorCondition<"invalid-short-code">`
|
|
57
|
-
*/
|
|
58
|
-
export type PhoneShortCode<T extends string | null = null> = T extends null ? `${NumericChar}${number}${NumericChar}` : T extends string ? IsStringLiteral<T> extends true ? T extends `${number}` ? IsGreaterThan<Length<T>, 6> extends true ? Throw<"invalid-short-code", `Short codes must be less than 7 digits [${Length<T>}]`> : T : Throw<"invalid-short-code", `Short codes may vary from region to region but they must always contain only numbers: ${T}!`> : string : never;
|
|
59
|
-
/**
|
|
60
|
-
* **CountryPhoneNumber**`<[TDelimiter]>`
|
|
61
|
-
*
|
|
62
|
-
* Provides a shape phone number meant for use within a country. It includes
|
|
63
|
-
* the local number plus what would be referred to as the "area code" in the
|
|
64
|
-
* USA.
|
|
65
|
-
*
|
|
66
|
-
* **Related:** `InternationalPhoneNumber`, `LocalPhoneNumber`, `PhoneNumber`
|
|
67
|
-
*/
|
|
68
|
-
export type CountryPhoneNumber<TDelimiter extends PhoneNumberDelimiter = PhoneNumberDelimiter> = `${PhoneAreaCode}${TDelimiter}${LocalPhoneNumber<TDelimiter>}`;
|
|
69
|
-
/**
|
|
70
|
-
* **InternationalPhoneNumber**`<[TDelimiter]>`
|
|
71
|
-
*
|
|
72
|
-
* A phone number which explicitly leads by expressing the _country_ that the number belongs to.
|
|
73
|
-
*
|
|
74
|
-
* - uses `+` or `00` prefix to mark as a country code
|
|
75
|
-
*
|
|
76
|
-
* **Related:** `CountryPhoneNumber`, `LocalPhoneNumber`, `PhoneNumber`
|
|
77
|
-
*/
|
|
78
|
-
export type InternationalPhoneNumber<TDelimiter extends PhoneNumberDelimiter = PhoneNumberDelimiter> = `${DialCountryCode}${TDelimiter}${CountryPhoneNumber<TDelimiter>}`;
|
|
79
|
-
type _RightLength<T extends string> = If<StartsWith<T, "+">, If<Contains<T, "1-">, // using 1- for country code nomenclature
|
|
80
|
-
If<IsLength<T, 16>, T, ErrorCondition<"invalid-raw-phone-number", `Wrong number of characters for international number: ${T}`>>, If<IsLength<T, 15>, T, ErrorCondition<"invalid-raw-phone-number", `Wrong number of characters for international number: ${T}`>>>, If<StartsWith<T, "00">, If<Contains<T, "1-">, // using 1- for country code nomenclature
|
|
81
|
-
If<IsLength<T, 15>, T, ErrorCondition<"invalid-raw-phone-number", `Wrong number of characters for international number: ${T}`>>, If<IsLength<T, 14>, T, ErrorCondition<"invalid-raw-phone-number", `Wrong number of characters for international number: ${T}`>>>, If<Or<[IsLength<T, 10>, IsLength<T, 12>]>, T, If<And<[IsGreaterThan<Length<T>, 2>, IsLessThan<Length<T>, 8>]>, T, ErrorCondition<"invalid-raw-phone-number">>>>>;
|
|
82
|
-
type _RightChars<T extends string> = StripChars<T, NumericChar | "+" | "-"> extends "" ? T : ErrorCondition<"invalid-raw-phone-number", `The only valid characters in a raw phone number is numeric characters with the rare exception of a "+" or "-" when used in the right manner`>;
|
|
83
|
-
/**
|
|
84
|
-
* **RawPhoneNumber**`<[T]>`
|
|
85
|
-
*
|
|
86
|
-
* This is the most compact form of phone number storage as it has no delimiters
|
|
87
|
-
* but still can contain a number representing an international,
|
|
88
|
-
* country or regional phone number and even a `PhoneShortCode`.
|
|
89
|
-
*
|
|
90
|
-
* **Generic Use**
|
|
91
|
-
*
|
|
92
|
-
* - without using the generic, you'll get a very basic shape that can be used as in input
|
|
93
|
-
* type but it will by no means ensure this _is_ a RawPhone number
|
|
94
|
-
* - to get real validation that a type is a `RawPhoneNumber` pass it in as `T`
|
|
95
|
-
* - valid values are:
|
|
96
|
-
* - numeric only characters with the exception of:
|
|
97
|
-
* - possible start of `+`
|
|
98
|
-
* - possible inclusion of `1-${number}` in country code area
|
|
99
|
-
* - length of 3-7, 10, 12 digits
|
|
100
|
-
* - 14 digits if it leads with `00` or `+`
|
|
101
|
-
*/
|
|
102
|
-
export type RawPhoneNumber<T extends string | Unset = Unset> = T extends Unset ? `${Optional<"+">}${number}${NumericChar}${NumericChar}` : T extends string ? IsStringLiteral<T> extends true ? OnPass<[
|
|
103
|
-
_RightChars<T>,
|
|
104
|
-
_RightLength<T>
|
|
105
|
-
], T> : T | ErrorCondition<"invalid-raw-phone-number"> : never;
|
|
106
|
-
/** T or ErrorCondition */
|
|
107
|
-
type _AppropriateNumerics<T extends string> = HasPhoneCountryCode<T> extends true ? IsLessThan<Length<RetainChars<RemovePhoneCountryCode<T>, NumericChar>>, 10> extends true ? Throw<"invalid-phone-number", `Invalid international phone number; international numbers require at least 10 numeric digits beyond the country code: ${T}`, `PhoneNumber`> : T : HasCharacters<Trim<T>, PhoneNumberDelimiter> extends true ? Not<Or<[
|
|
108
|
-
Extends<Length<RetainChars<RemovePhoneCountryCode<T>, NumericChar>>, 10>,
|
|
109
|
-
Extends<Length<RetainChars<RemovePhoneCountryCode<T>, NumericChar>>, 7>
|
|
110
|
-
]>> extends true ? Throw<"invalid-phone-number", `Phone numbers which have " ", "-", or "." delimiters can not be short codes and therefore must have a length of 7 or 10 digits not ${Length<RetainChars<RemovePhoneCountryCode<T>, NumericChar>>}!`> : T : Trim<T> extends "" ? Throw<"invalid-phone-number", "No numeric characters found!"> : T;
|
|
111
|
-
/** T or ErrorCondition */
|
|
112
|
-
type _ValidChars<T extends string> = StripChars<T, IsGreaterThan<Length<T>, 6> extends true ? NumericChar | "(" | ")" | Whitespace | "-" | "." : NumericChar> extends "" ? true : Throw<"invalid-phone-number", IsGreaterThan<Length<T>, 6> extends true ? `Excluding any country code references, the only valid characters in a phone number are numeric characters and '-', '.', and parenthesis but other characters were found: ${Trim<T>}` : `The phone number passed in has less than 7 numeric digits which means that it is either a short code or this is an invalid number ... short codes can only accept numeric digits though and we found more than that: ${Trim<T>}`>;
|
|
113
|
-
type _InvalidCountryCode<T extends string> = And<[
|
|
114
|
-
HasPhoneCountryCode<T, false>,
|
|
115
|
-
Not<HasPhoneCountryCode<T, true>>
|
|
116
|
-
]> extends true ? Throw<"invalid-phone-number", `This looked like an international number but the country code ${GetPhoneCountryCode<T>} is not a valid country code!`> : true;
|
|
117
|
-
/**
|
|
118
|
-
* **PhoneNumber**`<[T]>`
|
|
119
|
-
*
|
|
120
|
-
* Without use of the generic `T`, provides a basic shape for phone
|
|
121
|
-
* numbers which should keep people on good behavior when
|
|
122
|
-
* accepting phone numbers.
|
|
123
|
-
*
|
|
124
|
-
* When passing a string into `T`, this utility will do a lot more
|
|
125
|
-
* validity checking on the value.
|
|
126
|
-
*
|
|
127
|
-
* - Only valid characters (numeric, whitespace, `+`, `-`, `.`, and parenthesis)
|
|
128
|
-
* - all _leading_ and _trailing_ whitespace removed for remaining comparisons
|
|
129
|
-
* - at least 7 numeric characters
|
|
130
|
-
* - 8 if `+` character used as leading character (after whitespace)
|
|
131
|
-
* - 10 if `00` are leading characters
|
|
132
|
-
* - leading character (after whitespace) must be numeric, `(` or `+`
|
|
133
|
-
*/
|
|
134
|
-
export type PhoneNumber<T extends string | null = null, TDelimiter extends PhoneNumberDelimiter = PhoneNumberDelimiter> = T extends null ? LocalPhoneNumber<TDelimiter> | CountryPhoneNumber<TDelimiter> | InternationalPhoneNumber<TDelimiter> : T extends string ? IsStringLiteral<T> extends true ? OnPass<[
|
|
135
|
-
_ValidChars<RemovePhoneCountryCode<T>>,
|
|
136
|
-
_InvalidCountryCode<T>,
|
|
137
|
-
_AppropriateNumerics<T>
|
|
138
|
-
], T> : string : never;
|
|
139
|
-
/**
|
|
140
|
-
* GetPhoneCountryCode`<T>`
|
|
141
|
-
*
|
|
142
|
-
* Attempts to find a country code signature in a phone number.
|
|
143
|
-
*
|
|
144
|
-
* - it returns the country code without the leading `+` or `00` prefix
|
|
145
|
-
* - if there is no delimiter or prefix for the country code then, then it
|
|
146
|
-
* will use a _real_ list of country codes to try to extract this value
|
|
147
|
-
* - if not found it returns an empty string (`""`)
|
|
148
|
-
* - if `T` is a _wide_ string string then this will return `string` back
|
|
149
|
-
*/
|
|
150
|
-
export type GetPhoneCountryCode<T> = T extends string ? [IsStringLiteral<T>] extends [true] ? StartsWith<Trim<T>, "+" | "00"> extends true ? [Trim<T>] extends [`${"+" | "00"}${infer CC}${PhoneNumberDelimiter}${string}`] ? RetainUntil<CC, " "> : "" : "" : string : never;
|
|
151
|
-
/**
|
|
152
|
-
* **RemoveCountryCode**`<T,[TExplicitCountryCode]>`
|
|
153
|
-
*
|
|
154
|
-
* Removes the country code -- where present -- to reveal
|
|
155
|
-
* just a country-based number.
|
|
156
|
-
*
|
|
157
|
-
* **Note:** there are two approaches this utility can take toward
|
|
158
|
-
* removal of the country code:
|
|
159
|
-
*
|
|
160
|
-
* - the default relies on a space delimiter being present between
|
|
161
|
-
* the country code and the remaining phone number; use this if
|
|
162
|
-
* this is a reasonable assumption as it is more type performant.
|
|
163
|
-
* - if you might have a string of numbers -- even possibly without
|
|
164
|
-
* the `+` or `00` prefixes -- then you can set `TExplicitCountryCode`
|
|
165
|
-
* to `true`
|
|
166
|
-
* - when set to true, it will still be able to extract _real_ country codes
|
|
167
|
-
* from the string but if an _imagined_ country code has been entered it will
|
|
168
|
-
* fail.
|
|
169
|
-
* - if it is an _imagined_ country code which does have a `+` or `00` prefix
|
|
170
|
-
* then the type will be `ErrorCondition<"invalid-country-code">`
|
|
171
|
-
* - if no country code prefix then you'll likely get a
|
|
172
|
-
* `ErrorCondition<"too-many-digits">` error (unless of course your have _other_
|
|
173
|
-
* problems).
|
|
174
|
-
*/
|
|
175
|
-
export type RemovePhoneCountryCode<T> = T extends string ? IsStringLiteral<T> extends true ? GetPhoneCountryCode<Trim<T>> extends "" ? T : Trim<T> extends `+${GetPhoneCountryCode<Trim<T>>} ${infer Rest}` ? Rest : T : string : never;
|
|
176
|
-
export type PhoneNumberType = "international" | "country" | "regional" | "short-code";
|
|
177
|
-
/**
|
|
178
|
-
* **GetPhoneNumberType**`<T>`
|
|
179
|
-
*
|
|
180
|
-
* Indicates whether the phone number is "international", "country", or "regional"
|
|
181
|
-
* based on the shape and number of digits
|
|
182
|
-
*/
|
|
183
|
-
export type GetPhoneNumberType<T> = T extends string ? IsStringLiteral<T> extends true ? HasPhoneCountryCode<T, false> extends true ? "international" : IsLessThan<Length<RetainChars<Trim<AsString<T>>, NumericChar>>, 8> extends true ? Length<RetainChars<Trim<AsString<T>>, NumericChar>> extends 7 ? "regional" : "short-code" : "country" : string : never;
|
|
184
|
-
type FormatLookup<T extends string> = {
|
|
185
|
-
"Dashed (e.g., 456-555-1212)": HasPhoneCountryCode<T> extends true ? `+${GetPhoneCountryCode<T>} ${number}-${number}-${number}` : GetPhoneNumberType<T> extends "regional" ? `${number}-${number}` : `${number}-${number}-${number}`;
|
|
186
|
-
"Dotted (e.g., 456.555.1212)": HasPhoneCountryCode<T> extends true ? `+${GetPhoneCountryCode<T>} ${number}.${number}.${number}` : GetPhoneNumberType<T> extends "regional" ? `${number}.${number}` : `${number}.${number}-${number}`;
|
|
187
|
-
"ParaSpaced (e.g., (456) 555 1212)": "";
|
|
188
|
-
"ParaDashed (e.g., (456) 555-1212)": "";
|
|
189
|
-
} & Record<PhoneFormat, any>;
|
|
190
|
-
export type ToPhoneFormat<TPhone extends string, TFormat extends PhoneFormat> = IsStringLiteral<TPhone> extends true ? PhoneNumber<TPhone> extends string ? Trim<TPhone> & FormatLookup<TPhone>[TFormat] : PhoneNumber<TPhone> : FormatLookup<TPhone>[TFormat] | ErrorCondition<"invalid-phone-number">;
|
|
191
|
-
export {};
|
|
192
5
|
//# sourceMappingURL=phone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/phone.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/phone.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { US_STATE_LOOKUP, US_STATE_LOOKUP_PROVINCES } from "../../../constants/index";
|
|
1
|
+
import type { US_STATE_LOOKUP, US_STATE_LOOKUP_PROVINCES } from "../../../constants/index";
|
|
2
2
|
import { Mutable, IsTrue } from "../../index";
|
|
3
3
|
type UsStateLookup = Mutable<typeof US_STATE_LOOKUP>;
|
|
4
4
|
type UsProvinceLookup = Mutable<typeof US_STATE_LOOKUP_PROVINCES>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/geo/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,iCAA2B;
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/geo/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAE,yBAAyB,EAAC,iCAA2B;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,oBAAwB;AAGlD,KAAK,aAAa,GAAG,OAAO,CAAC,OAAO,eAAe,CAAC,CAAC;AACrD,KAAK,gBAAgB,GAAG,OAAO,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAGlE,KAAK,cAAc,GAAG;KACnB,CAAC,IAAI,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS;QAAE,MAAM,EAAE,MAAM,CAAC,SAAS,MAAM,CAAA;KAAC,GAClF,CAAC,GACD,KAAK;CACV,CAAC,MAAM,CAAC,CAAC;AAEV,KAAK,iBAAiB,GAAG;KACtB,CAAC,IAAI,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,CAAC,SAAS;QAAE,MAAM,EAAE,MAAM,CAAC,SAAS,MAAM,CAAA;KAAC,GACxF,CAAC,GACD,KAAK;CACV,CAAC,MAAM,CAAC,CAAC;AAEV;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,IAAI,GACvF,OAAO,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAC1C,cAAc,CAAC;AAEjB,KAAK,YAAY,GAAG;KACjB,CAAC,IAAI,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS;QACnD,IAAI,EAAE,MAAM,CAAC,SAAS,MAAM,CAAC;KAC9B,GACG,CAAC,GACD,KAAK;CACV,CAAC,MAAM,CAAC,CAAC;AAEV,KAAK,eAAe,GAAG;KACpB,CAAC,IAAI,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,CAAC,SAAS;QAAE,IAAI,EAAE,MAAM,CAAC,SAAS,MAAM,CAAA;KAAE,GACvF,CAAC,GACD,KAAK;CACV,CAAC,MAAM,CAAC,CAAC;AAEV;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,CAAC,OAAO,SAAS,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,IAAI,GACnF,OAAO,CAAC,YAAY,EAAE,eAAe,CAAC,GACtC,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/geo/zip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAwB;AACnF,OAAO,EAAE,YAAY,EAAE,iCAA4B;
|
|
1
|
+
{"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/geo/zip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAwB;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,iCAA4B;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,GAAG,GAAG,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,EAAE,CAAC;AAEjF,KAAK,GAAG,GAAG,OAAO,CAAC,OAAO,YAAY,CAAC,CAAC;AAExC;;;;GAIG;AACH,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,MAAM,IACd,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,GACnC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAClC,KAAK,CAAC;AAGR,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,WAAW,GAAG,MAAM,EAAE,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,GAAG,CAAC"}
|
|
@@ -20,6 +20,7 @@ export * from "./Pluralize";
|
|
|
20
20
|
export * from "./Prepend";
|
|
21
21
|
export * from "./PrependAll";
|
|
22
22
|
export * from "./StripLeading";
|
|
23
|
+
export * from "./StripSurround";
|
|
23
24
|
export * from "./Suggest";
|
|
24
25
|
export * from "./Repeat";
|
|
25
26
|
export * from "./RetainAfter";
|
|
@@ -33,6 +34,7 @@ export * from "./Time";
|
|
|
33
34
|
export * from "./Truncate";
|
|
34
35
|
export * from "./RetainUntil";
|
|
35
36
|
export * from "./StripUntil";
|
|
37
|
+
export * from "./UnderlyingType";
|
|
36
38
|
export * from "./character-sets/index";
|
|
37
39
|
export * from "./casing/index";
|
|
38
40
|
export * from "./options/index";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/string-literals/index.ts"],"names":[],"mappings":"AAMA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/string-literals/index.ts"],"names":[],"mappings":"AAMA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
|
|
@@ -25,6 +25,7 @@ export * from "./Pluralize.js";
|
|
|
25
25
|
export * from "./Prepend.js";
|
|
26
26
|
export * from "./PrependAll.js";
|
|
27
27
|
export * from "./StripLeading.js";
|
|
28
|
+
export * from "./StripSurround.js";
|
|
28
29
|
export * from "./Suggest.js";
|
|
29
30
|
export * from "./Repeat.js";
|
|
30
31
|
export * from "./RetainAfter.js";
|
|
@@ -38,6 +39,7 @@ export * from "./Time.js";
|
|
|
38
39
|
export * from "./Truncate.js";
|
|
39
40
|
export * from "./RetainUntil.js";
|
|
40
41
|
export * from "./StripUntil.js";
|
|
42
|
+
export * from "./UnderlyingType.js";
|
|
41
43
|
export * from "./character-sets/index.js";
|
|
42
44
|
export * from "./casing/index.js";
|
|
43
45
|
export * from "./options/index.js";
|