inferred-types 0.42.1 → 0.43.1
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/Comma.d.ts +1 -1
- package/dist/constants/Comma.d.ts.map +1 -1
- package/dist/constants/Comma.js +1 -1
- package/dist/constants/Functional.d.ts +19 -0
- package/dist/constants/Functional.d.ts.map +1 -0
- package/dist/constants/Functional.js +18 -0
- package/dist/constants/Geo.d.ts +386 -0
- package/dist/constants/Geo.d.ts.map +1 -0
- package/dist/constants/Geo.js +95 -0
- package/dist/constants/HashTable.d.ts +199 -0
- package/dist/constants/HashTable.d.ts.map +1 -0
- package/dist/constants/HashTable.js +121 -0
- package/dist/constants/Marked.d.ts +2 -0
- package/dist/constants/Marked.d.ts.map +1 -0
- package/dist/constants/Marked.js +2 -0
- package/dist/constants/Shape.d.ts +3 -0
- package/dist/constants/Shape.d.ts.map +1 -0
- package/dist/constants/Shape.js +15 -0
- package/dist/constants/TCP_IP.d.ts +11 -0
- package/dist/constants/TCP_IP.d.ts.map +1 -0
- package/dist/constants/TCP_IP.js +10 -0
- package/dist/constants/TypeTokens.d.ts +23 -0
- package/dist/constants/TypeTokens.d.ts.map +1 -1
- package/dist/constants/TypeTokens.js +47 -0
- package/dist/constants/index.d.ts +6 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +6 -0
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/boolean-logic/handleDoneFn.d.ts +12 -0
- package/dist/runtime/boolean-logic/handleDoneFn.d.ts.map +1 -0
- package/dist/runtime/boolean-logic/handleDoneFn.js +22 -0
- package/dist/runtime/boolean-logic/ifArray.d.ts +2 -2
- 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 +2 -2
- package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifChar.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifChar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifContainer.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifContainer.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifContainer.js +1 -1
- package/dist/runtime/boolean-logic/ifFalse.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifFalse.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFunction.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifFunction.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFunction.js +0 -1
- package/dist/runtime/boolean-logic/ifHasKey.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifLength.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifLength.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifLength.js +0 -1
- package/dist/runtime/boolean-logic/ifNotNull.d.ts +2 -2
- 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 +2 -2
- package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifObject.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifObject.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifSameType.d.ts +3 -3
- package/dist/runtime/boolean-logic/ifSameType.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifSameType.js +6 -6
- package/dist/runtime/boolean-logic/ifScalar.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifString.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifTrue.d.ts +2 -2
- 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/boolean-logic/index.d.ts +1 -1
- package/dist/runtime/boolean-logic/index.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/index.js +1 -3
- package/dist/runtime/combinators/and.d.ts +1 -1
- package/dist/runtime/combinators/and.d.ts.map +1 -1
- package/dist/runtime/combinators/index.d.ts +0 -1
- package/dist/runtime/combinators/index.d.ts.map +1 -1
- package/dist/runtime/combinators/index.js +0 -1
- package/dist/runtime/combinators/or.d.ts.map +1 -1
- package/dist/runtime/combinators/or.js +2 -1
- package/dist/runtime/dictionary/entries.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/get.js +8 -8
- package/dist/runtime/dictionary/index.d.ts +3 -2
- package/dist/runtime/dictionary/index.d.ts.map +1 -1
- package/dist/runtime/dictionary/index.js +3 -3
- package/dist/runtime/dictionary/keysOf.d.ts +2 -2
- package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
- package/dist/runtime/dictionary/keysOf.js +3 -2
- package/dist/runtime/dictionary/omit.d.ts +2 -7
- package/dist/runtime/dictionary/omit.d.ts.map +1 -1
- package/dist/runtime/dictionary/omit.js +2 -2
- package/dist/runtime/dictionary/retain.d.ts +9 -7
- package/dist/runtime/dictionary/retain.d.ts.map +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts +2 -2
- package/dist/runtime/dictionary/sharedKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/takeProp.d.ts +12 -0
- package/dist/runtime/dictionary/takeProp.d.ts.map +1 -0
- package/dist/runtime/dictionary/takeProp.js +15 -0
- package/dist/runtime/dictionary/valuesOf.d.ts +10 -0
- package/dist/runtime/dictionary/valuesOf.d.ts.map +1 -0
- package/dist/runtime/dictionary/valuesOf.js +14 -0
- package/dist/runtime/dictionary/withDefaults.d.ts +9 -0
- package/dist/runtime/dictionary/withDefaults.d.ts.map +1 -0
- package/dist/runtime/dictionary/withDefaults.js +13 -0
- package/dist/runtime/dictionary/withKeys.d.ts +9 -7
- package/dist/runtime/dictionary/withKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withKeys.js +1 -1
- package/dist/runtime/dictionary/withoutKeys.d.ts +13 -6
- 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 +27 -0
- package/dist/runtime/errors/KindError.d.ts.map +1 -0
- package/dist/runtime/errors/KindError.js +33 -0
- package/dist/runtime/errors/TypedError.d.ts.map +1 -1
- package/dist/runtime/errors/createErrorCondition.d.ts +3 -5
- package/dist/runtime/errors/createErrorCondition.d.ts.map +1 -1
- package/dist/runtime/errors/createErrorCondition.js +5 -5
- package/dist/runtime/errors/index.d.ts +1 -0
- package/dist/runtime/errors/index.d.ts.map +1 -1
- package/dist/runtime/errors/index.js +1 -0
- package/dist/runtime/errors/kindedError.d.ts +27 -0
- package/dist/runtime/errors/kindedError.d.ts.map +1 -0
- package/dist/runtime/errors/kindedError.js +33 -0
- package/dist/runtime/functional/index.d.ts +1 -2
- package/dist/runtime/functional/index.d.ts.map +1 -1
- package/dist/runtime/functional/index.js +1 -2
- package/dist/runtime/functional/result.d.ts +2 -0
- package/dist/runtime/functional/result.d.ts.map +1 -0
- package/dist/runtime/functional/result.js +286 -0
- package/dist/runtime/functions/fnMeta.d.ts +5 -9
- package/dist/runtime/functions/fnMeta.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -1
- 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/addPropsToFn.js +1 -2
- package/dist/runtime/initializers/createFnWithProps.d.ts +4 -21
- package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
- package/dist/runtime/initializers/createFnWithProps.js +12 -20
- package/dist/runtime/initializers/defineObj.d.ts +2 -2
- package/dist/runtime/initializers/defineObj.d.ts.map +1 -1
- package/dist/runtime/initializers/defineObj.js +4 -2
- package/dist/runtime/initializers/defineTuple.d.ts +3 -3
- package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
- package/dist/runtime/initializers/defineTuple.js +7 -2
- package/dist/runtime/initializers/index.d.ts +0 -3
- package/dist/runtime/initializers/index.d.ts.map +1 -1
- package/dist/runtime/initializers/index.js +0 -3
- package/dist/runtime/lists/asArray.d.ts.map +1 -1
- package/dist/runtime/lists/asArray.js +0 -1
- package/dist/runtime/lists/createComparison.d.ts +10 -0
- package/dist/runtime/lists/createComparison.d.ts.map +1 -0
- package/dist/runtime/lists/createComparison.js +9 -0
- package/dist/runtime/lists/createConverter.d.ts +2 -2
- package/dist/runtime/lists/createConverter.d.ts.map +1 -1
- package/dist/runtime/lists/createConverter.js +12 -12
- package/dist/runtime/lists/filter.d.ts +1 -2
- package/dist/runtime/lists/filter.d.ts.map +1 -1
- package/dist/runtime/lists/filter.js +55 -19
- package/dist/runtime/lists/find.d.ts +2 -2
- package/dist/runtime/lists/find.d.ts.map +1 -1
- package/dist/runtime/lists/find.js +3 -4
- package/dist/runtime/lists/getEach.d.ts +1 -1
- package/dist/runtime/lists/getEach.d.ts.map +1 -1
- package/dist/runtime/lists/getEach.js +5 -8
- package/dist/runtime/lists/indexOf.d.ts.map +1 -1
- package/dist/runtime/lists/indexOf.js +1 -1
- package/dist/runtime/lists/intersection.d.ts +1 -1
- package/dist/runtime/lists/intersection.d.ts.map +1 -1
- package/dist/runtime/lists/intersection.js +3 -3
- package/dist/runtime/lists/last.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.d.ts +2 -2
- package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.js +8 -3
- package/dist/runtime/lists/pop.d.ts +6 -3
- package/dist/runtime/lists/pop.d.ts.map +1 -1
- package/dist/runtime/lists/reverse.d.ts.map +1 -1
- package/dist/runtime/lists/shift.d.ts +2 -2
- package/dist/runtime/lists/shift.d.ts.map +1 -1
- 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/lists/unique.js +0 -1
- package/dist/runtime/literals/box.js +1 -3
- package/dist/runtime/literals/ensureLeading.d.ts +2 -2
- package/dist/runtime/literals/ensureLeading.d.ts.map +1 -1
- package/dist/runtime/literals/ensureSurround.d.ts +2 -4
- package/dist/runtime/literals/ensureSurround.d.ts.map +1 -1
- package/dist/runtime/literals/ensureSurround.js +6 -3
- package/dist/runtime/literals/ensureTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/identity.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.d.ts +3 -3
- package/dist/runtime/literals/ifLowercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.js +0 -1
- package/dist/runtime/literals/ifUppercase.d.ts +5 -5
- package/dist/runtime/literals/ifUppercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifUppercase.js +2 -3
- package/dist/runtime/literals/index.d.ts +1 -0
- package/dist/runtime/literals/index.d.ts.map +1 -1
- package/dist/runtime/literals/index.js +1 -0
- package/dist/runtime/literals/narrow.d.ts +2 -2
- package/dist/runtime/literals/narrow.d.ts.map +1 -1
- package/dist/runtime/literals/pathJoin.d.ts +1 -1
- package/dist/runtime/literals/pathJoin.d.ts.map +1 -1
- package/dist/runtime/literals/pathJoin.js +7 -9
- package/dist/runtime/literals/pluralize.d.ts.map +1 -1
- package/dist/runtime/literals/pluralize.js +4 -5
- package/dist/runtime/literals/split.d.ts +2 -2
- package/dist/runtime/literals/split.d.ts.map +1 -1
- package/dist/runtime/literals/stripTrailing.d.ts +1 -1
- package/dist/runtime/literals/stripTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/stripTrailing.js +8 -1
- package/dist/runtime/literals/toLowercase.js +1 -1
- package/dist/runtime/literals/toNumericArray.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
- package/dist/runtime/literals/toSnakeCase.d.ts +2 -1
- package/dist/runtime/literals/toSnakeCase.d.ts.map +1 -1
- package/dist/runtime/literals/truncate.d.ts +3 -0
- package/dist/runtime/literals/truncate.d.ts.map +1 -0
- package/dist/runtime/literals/truncate.js +8 -0
- package/dist/runtime/literals/tuple.d.ts +2 -2
- package/dist/runtime/literals/tuple.d.ts.map +1 -1
- package/dist/runtime/runtime-types/choices.d.ts +2 -0
- package/dist/runtime/runtime-types/choices.d.ts.map +1 -0
- package/dist/runtime/runtime-types/choices.js +76 -0
- package/dist/runtime/runtime-types/dict.d.ts +10 -0
- package/dist/runtime/runtime-types/dict.d.ts.map +1 -0
- package/dist/runtime/runtime-types/dict.js +11 -0
- package/dist/runtime/runtime-types/index.d.ts +6 -6
- package/dist/runtime/runtime-types/index.d.ts.map +1 -1
- package/dist/runtime/runtime-types/index.js +6 -7
- package/dist/runtime/runtime-types/ip6Prefix.d.ts +3 -0
- package/dist/runtime/runtime-types/ip6Prefix.d.ts.map +1 -0
- package/dist/runtime/runtime-types/ip6Prefix.js +17 -0
- package/dist/runtime/runtime-types/list.d.ts +31 -0
- package/dist/runtime/runtime-types/list.d.ts.map +1 -0
- package/dist/runtime/runtime-types/list.js +36 -0
- package/dist/runtime/runtime-types/parse.d.ts +25 -0
- package/dist/runtime/runtime-types/parse.d.ts.map +1 -0
- package/dist/runtime/runtime-types/parse.js +29 -0
- package/dist/runtime/runtime-types/rec.d.ts +3 -0
- package/dist/runtime/runtime-types/rec.d.ts.map +1 -0
- package/dist/runtime/runtime-types/rec.js +3 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.js +5 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.js +13 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts +9 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.js +15 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts +8 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.js +11 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.js +10 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts +4 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.js +9 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts +4 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.js +32 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts +3 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/union.js +6 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.js +19 -0
- package/dist/runtime/runtime-types/shape.d.ts +18 -0
- package/dist/runtime/runtime-types/shape.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape.js +69 -0
- package/dist/runtime/sets/uniqueKeys.d.ts.map +1 -1
- package/dist/runtime/sets/uniqueKeys.js +14 -9
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-conversion/asRecord.d.ts +10 -0
- package/dist/runtime/type-conversion/asRecord.d.ts.map +1 -0
- package/dist/runtime/type-conversion/asRecord.js +10 -0
- package/dist/runtime/type-conversion/asString.d.ts +14 -0
- package/dist/runtime/type-conversion/asString.d.ts.map +1 -0
- package/dist/runtime/type-conversion/asString.js +21 -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/mergeObjects.d.ts +2 -2
- package/dist/runtime/type-conversion/mergeObjects.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mergeObjects.js +4 -2
- package/dist/runtime/type-conversion/mergeScalars.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mergeScalars.js +1 -1
- package/dist/runtime/type-conversion/union.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasDefaultValue.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasDefaultValue.js +1 -1
- package/dist/runtime/type-guards/hasErrorConditions.d.ts +4 -2
- package/dist/runtime/type-guards/hasErrorConditions.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasErrorConditions.js +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/hasIndexOf.js +9 -2
- package/dist/runtime/type-guards/hasKeys.d.ts +15 -0
- package/dist/runtime/type-guards/hasKeys.d.ts.map +1 -0
- package/dist/runtime/type-guards/hasKeys.js +26 -0
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.js +2 -1
- package/dist/runtime/type-guards/higher-order/index.d.ts +1 -0
- package/dist/runtime/type-guards/higher-order/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/index.js +1 -0
- 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 +5 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts +2 -0
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.js +3 -2
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts +8 -0
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts.map +1 -0
- package/dist/runtime/type-guards/higher-order/isTuple.js +13 -0
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts +13 -2
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +15 -3
- package/dist/runtime/type-guards/index.d.ts +4 -1
- package/dist/runtime/type-guards/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/index.js +4 -1
- package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
- package/dist/runtime/type-guards/isConstant.js +1 -1
- package/dist/runtime/type-guards/isContainer.d.ts.map +1 -1
- package/dist/runtime/type-guards/isDoneFn.d.ts +9 -0
- package/dist/runtime/type-guards/isDoneFn.d.ts.map +1 -0
- package/dist/runtime/type-guards/isDoneFn.js +10 -0
- package/dist/runtime/type-guards/isErrorCondition.d.ts +1 -3
- package/dist/runtime/type-guards/isErrorCondition.d.ts.map +1 -1
- package/dist/runtime/type-guards/isErrorCondition.js +6 -4
- package/dist/runtime/type-guards/isFalsy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isFunction.d.ts +2 -2
- package/dist/runtime/type-guards/isFunction.d.ts.map +1 -1
- package/dist/runtime/type-guards/isIndexable.d.ts.map +1 -1
- package/dist/runtime/type-guards/isLeftRight.d.ts.map +1 -1
- package/dist/runtime/type-guards/isLeftRight.js +0 -1
- package/dist/runtime/type-guards/isNever.d.ts +8 -0
- package/dist/runtime/type-guards/isNever.d.ts.map +1 -0
- package/dist/runtime/type-guards/isNever.js +10 -0
- package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.js +1 -2
- package/dist/runtime/type-guards/isObject.d.ts +2 -2
- package/dist/runtime/type-guards/isObject.d.ts.map +1 -1
- package/dist/runtime/type-guards/isRef.d.ts +1 -1
- package/dist/runtime/type-guards/isRef.d.ts.map +1 -1
- package/dist/runtime/type-guards/isRef.js +4 -2
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts +8 -0
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts.map +1 -0
- package/dist/runtime/type-guards/isRuntimeUnion.js +8 -0
- package/dist/runtime/type-guards/isScalar.d.ts.map +1 -1
- package/dist/runtime/type-guards/isScalar.js +4 -1
- package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.js +2 -1
- package/dist/runtime/type-guards/isTruthy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTypeToken.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTypeToken.js +2 -5
- package/dist/runtime/vuejs/asVueRef.d.ts +15 -0
- package/dist/runtime/vuejs/asVueRef.d.ts.map +1 -0
- package/dist/runtime/vuejs/asVueRef.js +16 -0
- package/dist/runtime/vuejs/index.d.ts +2 -0
- package/dist/runtime/vuejs/index.d.ts.map +1 -0
- package/dist/runtime/vuejs/index.js +1 -0
- package/dist/types/base-types/AnyObject.d.ts +3 -2
- package/dist/types/base-types/AnyObject.d.ts.map +1 -1
- package/dist/types/base-types/AnyObject.js +0 -1
- package/dist/types/base-types/Container.d.ts +7 -3
- package/dist/types/base-types/Container.d.ts.map +1 -1
- package/dist/types/base-types/Dictionary.d.ts +11 -0
- package/dist/types/base-types/Dictionary.d.ts.map +1 -0
- package/dist/types/base-types/EmptyObject.d.ts +11 -3
- package/dist/types/base-types/EmptyObject.d.ts.map +1 -1
- package/dist/types/base-types/IndexableObject.d.ts +15 -9
- package/dist/types/base-types/IndexableObject.d.ts.map +1 -1
- package/dist/types/base-types/List.d.ts +319 -0
- package/dist/types/base-types/List.d.ts.map +1 -0
- package/dist/types/base-types/NarrowObject.d.ts +5 -0
- package/dist/types/base-types/NarrowObject.d.ts.map +1 -1
- package/dist/types/base-types/NonArray.d.ts +8 -0
- package/dist/types/base-types/NonArray.d.ts.map +1 -0
- package/dist/types/base-types/Tuple.d.ts +6 -3
- package/dist/types/base-types/Tuple.d.ts.map +1 -1
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts +9 -0
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts.map +1 -0
- package/dist/types/base-types/fns/AnyFunction.d.ts +8 -0
- package/dist/types/base-types/fns/AnyFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/AnyFunction.js +2 -0
- package/dist/types/base-types/fns/FnWithDict.d.ts +2 -17
- package/dist/types/base-types/fns/FnWithDict.d.ts.map +1 -1
- package/dist/types/base-types/fns/IdentityFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/JustFunction.d.ts +9 -0
- package/dist/types/base-types/fns/JustFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/TypedFunction.d.ts +9 -0
- package/dist/types/base-types/fns/TypedFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/index.d.ts +5 -1
- package/dist/types/base-types/fns/index.d.ts.map +1 -1
- package/dist/types/base-types/fns/index.js +5 -1
- package/dist/types/base-types/functional/LeftRight.d.ts +3 -3
- package/dist/types/base-types/functional/LeftRight.d.ts.map +1 -1
- package/dist/types/base-types/index.d.ts +3 -4
- package/dist/types/base-types/index.d.ts.map +1 -1
- package/dist/types/base-types/index.js +3 -4
- package/dist/types/boolean-logic/branching/Default.d.ts +11 -0
- package/dist/types/boolean-logic/branching/Default.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Fail.d.ts +21 -0
- package/dist/types/boolean-logic/branching/Fail.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Handle.d.ts +17 -0
- package/dist/types/boolean-logic/branching/Handle.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/If.d.ts +14 -0
- package/dist/types/boolean-logic/branching/If.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts +2 -2
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfLength.d.ts +2 -2
- package/dist/types/boolean-logic/branching/IfLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNever.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfNever.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/Iff.d.ts +24 -0
- package/dist/types/boolean-logic/branching/Iff.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Passthrough.d.ts +11 -0
- package/dist/types/boolean-logic/branching/Passthrough.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/index.d.ts +6 -63
- package/dist/types/boolean-logic/branching/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.js +6 -63
- package/dist/types/boolean-logic/combinators/And.d.ts +4 -8
- package/dist/types/boolean-logic/combinators/And.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Compare.d.ts +47 -0
- package/dist/types/boolean-logic/combinators/Compare.d.ts.map +1 -0
- package/dist/types/boolean-logic/combinators/Not.d.ts +7 -6
- package/dist/types/boolean-logic/combinators/Not.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Or.d.ts +16 -5
- package/dist/types/boolean-logic/combinators/Or.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/index.d.ts +1 -0
- package/dist/types/boolean-logic/combinators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/index.js +1 -0
- package/dist/types/boolean-logic/narrowing/As.d.ts +7 -0
- package/dist/types/boolean-logic/narrowing/As.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts +12 -0
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts +2 -6
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts +20 -0
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/index.d.ts +3 -0
- package/dist/types/boolean-logic/narrowing/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/index.js +3 -0
- package/dist/types/boolean-logic/operators/AllExtend.d.ts +2 -2
- package/dist/types/boolean-logic/operators/AllExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts +4 -4
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts +12 -0
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts +12 -0
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts +9 -0
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AreSameType.d.ts +18 -0
- package/dist/types/boolean-logic/operators/AreSameType.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/Contains.d.ts +19 -4
- package/dist/types/boolean-logic/operators/Contains.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts +2 -1
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/EndsWith.d.ts +16 -15
- package/dist/types/boolean-logic/operators/EndsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Extends.d.ts +9 -0
- package/dist/types/boolean-logic/operators/Extends.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts +14 -9
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasIndex.d.ts +9 -0
- package/dist/types/boolean-logic/operators/HasIndex.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts +16 -0
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasParameters.d.ts +2 -2
- package/dist/types/boolean-logic/operators/HasParameters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasProp.d.ts +11 -0
- package/dist/types/boolean-logic/operators/HasProp.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts +10 -0
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts +13 -0
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts +8 -4
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts +2 -2
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts +2 -2
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAny.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsAny.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsContainer.d.ts +2 -4
- package/dist/types/boolean-logic/operators/IsContainer.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts +5 -3
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts +3 -2
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsEqual.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts +7 -2
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFloat.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsFloat.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts +3 -3
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFunction.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts +6 -2
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsHexadecimal.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsHexadecimal.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsInteger.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsInteger.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsIterable.d.ts +10 -0
- package/dist/types/boolean-logic/operators/IsIterable.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts +14 -27
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts +16 -0
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts +12 -0
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNothing.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsNothing.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNull.d.ts +5 -1
- package/dist/types/boolean-logic/operators/IsNull.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNumber.d.ts +2 -1
- package/dist/types/boolean-logic/operators/IsNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObject.d.ts +4 -4
- package/dist/types/boolean-logic/operators/IsObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts +7 -4
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts +4 -5
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsScalar.d.ts +2 -8
- package/dist/types/boolean-logic/operators/IsScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts +8 -0
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsString.d.ts +2 -1
- package/dist/types/boolean-logic/operators/IsString.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts +2 -4
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTrue.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts +5 -3
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTuple.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsTuple.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsUnion.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsUnion.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts +11 -16
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts +11 -0
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts +14 -0
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsWideType.d.ts +47 -4
- package/dist/types/boolean-logic/operators/IsWideType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts +15 -0
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/NotLength.d.ts +2 -2
- package/dist/types/boolean-logic/operators/NotLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Returns.d.ts +2 -2
- package/dist/types/boolean-logic/operators/Returns.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts +2 -2
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts +2 -2
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/StartsWith.d.ts +20 -7
- package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Validate.d.ts +20 -0
- package/dist/types/boolean-logic/operators/Validate.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/index.d.ts +24 -11
- package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/index.js +24 -11
- package/dist/types/classes/Constructor.d.ts +1 -1
- package/dist/types/classes/Constructor.d.ts.map +1 -1
- package/dist/types/classes/KlassMeta.d.ts +21 -0
- package/dist/types/classes/KlassMeta.d.ts.map +1 -0
- package/dist/types/classes/index.d.ts +1 -0
- package/dist/types/classes/index.d.ts.map +1 -1
- package/dist/types/classes/index.js +1 -0
- package/dist/types/containers/IsEmptyContainer.d.ts +11 -0
- package/dist/types/containers/IsEmptyContainer.d.ts.map +1 -0
- package/dist/types/containers/IsNonEmptyContainer.d.ts +12 -0
- package/dist/types/containers/IsNonEmptyContainer.d.ts.map +1 -0
- package/dist/types/containers/RemoveMarked.d.ts +13 -0
- package/dist/types/containers/RemoveMarked.d.ts.map +1 -0
- package/dist/types/containers/RemoveNever.d.ts +18 -0
- package/dist/types/containers/RemoveNever.d.ts.map +1 -0
- package/dist/types/containers/RemoveUndefined.d.ts +17 -0
- package/dist/types/containers/RemoveUndefined.d.ts.map +1 -0
- package/dist/types/containers/index.d.ts +5 -3
- package/dist/types/containers/index.d.ts.map +1 -1
- package/dist/types/containers/index.js +5 -3
- package/dist/types/dictionary/AddKeyValue.d.ts +2 -2
- package/dist/types/dictionary/AddKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/CombinedKeys.d.ts +4 -6
- package/dist/types/dictionary/CombinedKeys.d.ts.map +1 -1
- package/dist/types/dictionary/CreateKV.d.ts +15 -0
- package/dist/types/dictionary/CreateKV.d.ts.map +1 -0
- package/dist/types/dictionary/CreateLookup.d.ts +13 -0
- package/dist/types/dictionary/CreateLookup.d.ts.map +1 -0
- package/dist/types/dictionary/EnsureKeys.d.ts +19 -0
- package/dist/types/dictionary/EnsureKeys.d.ts.map +1 -0
- package/dist/types/dictionary/FromMaybeRef.d.ts +2 -2
- package/dist/types/dictionary/FromMaybeRef.d.ts.map +1 -1
- package/dist/types/dictionary/Get.d.ts +4 -25
- package/dist/types/dictionary/Get.d.ts.map +1 -1
- package/dist/types/dictionary/Get.js +0 -1
- package/dist/types/dictionary/Keys.d.ts +8 -2
- package/dist/types/dictionary/Keys.d.ts.map +1 -1
- package/dist/types/dictionary/KeysWithValue.d.ts +5 -5
- package/dist/types/dictionary/KeysWithValue.d.ts.map +1 -1
- package/dist/types/dictionary/KvFn.d.ts +15 -0
- package/dist/types/dictionary/KvFn.d.ts.map +1 -0
- package/dist/types/dictionary/MakeKeysOptional.d.ts +15 -0
- package/dist/types/dictionary/MakeKeysOptional.d.ts.map +1 -0
- package/dist/types/dictionary/MakePropsMutable.d.ts +1 -1
- package/dist/types/dictionary/MakePropsMutable.d.ts.map +1 -1
- package/dist/types/dictionary/MapTo.d.ts +2 -2
- package/dist/types/dictionary/MapTo.d.ts.map +1 -1
- package/dist/types/dictionary/MergeKVs.d.ts +20 -0
- package/dist/types/dictionary/MergeKVs.d.ts.map +1 -0
- package/dist/types/dictionary/MutableProps.d.ts +2 -2
- package/dist/types/dictionary/MutableProps.d.ts.map +1 -1
- package/dist/types/dictionary/OptionalProps.d.ts +2 -2
- package/dist/types/dictionary/OptionalProps.d.ts.map +1 -1
- package/dist/types/dictionary/RemoveIndexKeys.d.ts +3 -2
- package/dist/types/dictionary/RemoveIndexKeys.d.ts.map +1 -1
- package/dist/types/dictionary/SharedKeys.d.ts +3 -3
- package/dist/types/dictionary/SharedKeys.d.ts.map +1 -1
- package/dist/types/dictionary/TakeProp.d.ts +9 -0
- package/dist/types/dictionary/TakeProp.d.ts.map +1 -0
- package/dist/types/dictionary/UpsertKeyValue.d.ts +4 -2
- package/dist/types/dictionary/UpsertKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/Values.d.ts +18 -0
- package/dist/types/dictionary/Values.d.ts.map +1 -0
- package/dist/types/dictionary/WithKeys.d.ts +3 -2
- package/dist/types/dictionary/WithKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithValue.d.ts +8 -3
- package/dist/types/dictionary/WithValue.d.ts.map +1 -1
- package/dist/types/dictionary/WithoutKeys.d.ts +4 -2
- package/dist/types/dictionary/WithoutKeys.d.ts.map +1 -1
- package/dist/types/dictionary/index.d.ts +8 -2
- package/dist/types/dictionary/index.d.ts.map +1 -1
- package/dist/types/dictionary/index.js +8 -2
- package/dist/types/errors/AsError.d.ts +6 -21
- package/dist/types/errors/AsError.d.ts.map +1 -1
- package/dist/types/errors/CompleteError.d.ts +22 -0
- package/dist/types/errors/CompleteError.d.ts.map +1 -0
- package/dist/types/errors/ErrorCondition.d.ts +70 -33
- package/dist/types/errors/ErrorCondition.d.ts.map +1 -1
- package/dist/types/errors/KindError.d.ts +39 -0
- package/dist/types/errors/KindError.d.ts.map +1 -0
- package/dist/types/errors/MapError.d.ts +15 -0
- package/dist/types/errors/MapError.d.ts.map +1 -0
- package/dist/types/errors/PartialError.d.ts +19 -0
- package/dist/types/errors/PartialError.d.ts.map +1 -0
- package/dist/types/errors/ProxyError.d.ts +22 -0
- package/dist/types/errors/ProxyError.d.ts.map +1 -0
- package/dist/types/errors/StackTrace.d.ts +13 -0
- package/dist/types/errors/StackTrace.d.ts.map +1 -0
- package/dist/types/errors/Throw.d.ts +21 -0
- package/dist/types/errors/Throw.d.ts.map +1 -0
- package/dist/types/errors/index.d.ts +7 -1
- package/dist/types/errors/index.d.ts.map +1 -1
- package/dist/types/errors/index.js +7 -1
- package/dist/types/functional/Option.d.ts +1 -0
- package/dist/types/functional/Option.d.ts.map +1 -0
- package/dist/types/functional/Result.d.ts +238 -0
- package/dist/types/functional/Result.d.ts.map +1 -0
- package/dist/types/functional/Result.js +2 -0
- package/dist/types/functional/index.d.ts +1 -0
- package/dist/types/functional/index.d.ts.map +1 -1
- package/dist/types/functional/index.js +1 -0
- package/dist/types/functions/AsFnMeta.d.ts +3 -4
- package/dist/types/functions/AsFnMeta.d.ts.map +1 -1
- package/dist/types/functions/Fn.d.ts +9 -0
- package/dist/types/functions/Fn.d.ts.map +1 -0
- package/dist/types/functions/FnFrom.d.ts +3 -0
- package/dist/types/functions/FnFrom.d.ts.map +1 -0
- package/dist/types/functions/FnMeta.d.ts +6 -2
- package/dist/types/functions/FnMeta.d.ts.map +1 -1
- package/dist/types/functions/FnProps.d.ts +4 -2
- package/dist/types/functions/FnProps.d.ts.map +1 -1
- package/dist/types/functions/HandleDoneFn.d.ts +12 -0
- package/dist/types/functions/HandleDoneFn.d.ts.map +1 -0
- package/dist/types/functions/IdentityFn.d.ts +11 -0
- package/dist/types/functions/IdentityFn.d.ts.map +1 -0
- package/dist/types/functions/LiteralFn.d.ts +20 -0
- package/dist/types/functions/LiteralFn.d.ts.map +1 -0
- package/dist/types/functions/LogicFunction.d.ts +1 -1
- package/dist/types/functions/LogicFunction.d.ts.map +1 -1
- package/dist/types/functions/NarrowingFn.d.ts +32 -0
- package/dist/types/functions/NarrowingFn.d.ts.map +1 -0
- package/dist/types/functions/OnlyFnProps.d.ts +9 -0
- package/dist/types/functions/OnlyFnProps.d.ts.map +1 -0
- package/dist/types/functions/RemoveFnProps.d.ts.map +1 -1
- package/dist/types/functions/ToFn.d.ts +2 -2
- package/dist/types/functions/ToFn.d.ts.map +1 -1
- package/dist/types/functions/TypeGuard.d.ts +1 -1
- package/dist/types/functions/TypeGuard.d.ts.map +1 -1
- package/dist/types/functions/index.d.ts +6 -0
- package/dist/types/functions/index.d.ts.map +1 -1
- package/dist/types/functions/index.js +6 -0
- package/dist/types/lists/ArrayElementType.d.ts +2 -2
- package/dist/types/lists/ArrayElementType.d.ts.map +1 -1
- package/dist/types/lists/AsArray.d.ts +2 -2
- package/dist/types/lists/AsArray.d.ts.map +1 -1
- package/dist/types/lists/AsTuple.d.ts +2 -2
- package/dist/types/lists/AsTuple.d.ts.map +1 -1
- package/dist/types/lists/BeforeLast.d.ts +10 -3
- package/dist/types/lists/BeforeLast.d.ts.map +1 -1
- package/dist/types/lists/Filter.d.ts +19 -8
- package/dist/types/lists/Filter.d.ts.map +1 -1
- package/dist/types/lists/FilterLiterals.d.ts +19 -0
- package/dist/types/lists/FilterLiterals.d.ts.map +1 -0
- package/dist/types/lists/FilterWideTypes.d.ts +18 -0
- package/dist/types/lists/FilterWideTypes.d.ts.map +1 -0
- package/dist/types/lists/Find.d.ts +3 -3
- package/dist/types/lists/Find.d.ts.map +1 -1
- package/dist/types/lists/First.d.ts +7 -3
- package/dist/types/lists/First.d.ts.map +1 -1
- package/dist/types/lists/Flatten.d.ts +31 -8
- package/dist/types/lists/Flatten.d.ts.map +1 -1
- package/dist/types/lists/GetEach.d.ts +10 -9
- package/dist/types/lists/GetEach.d.ts.map +1 -1
- package/dist/types/lists/IndexOf.d.ts +47 -10
- package/dist/types/lists/IndexOf.d.ts.map +1 -1
- package/dist/types/lists/Last.d.ts +5 -3
- package/dist/types/lists/Last.d.ts.map +1 -1
- package/dist/types/lists/Length.d.ts +13 -2
- package/dist/types/lists/Length.d.ts.map +1 -1
- package/dist/types/lists/LogicalReturns.d.ts +6 -13
- package/dist/types/lists/LogicalReturns.d.ts.map +1 -1
- package/dist/types/lists/NumericKeys.d.ts +4 -3
- package/dist/types/lists/NumericKeys.d.ts.map +1 -1
- package/dist/types/lists/Pop.d.ts +2 -2
- package/dist/types/lists/Pop.d.ts.map +1 -1
- package/dist/types/lists/Push.d.ts +15 -0
- package/dist/types/lists/Push.d.ts.map +1 -0
- package/dist/types/lists/Retain.d.ts +13 -7
- package/dist/types/lists/Retain.d.ts.map +1 -1
- package/dist/types/lists/RetainLiterals.d.ts +20 -0
- package/dist/types/lists/RetainLiterals.d.ts.map +1 -0
- package/dist/types/lists/RetainWideTypes.d.ts +21 -0
- package/dist/types/lists/RetainWideTypes.d.ts.map +1 -0
- package/dist/types/lists/ReturnTypes.d.ts +2 -2
- package/dist/types/lists/ReturnTypes.d.ts.map +1 -1
- package/dist/types/lists/Reverse.d.ts +4 -1
- package/dist/types/lists/Reverse.d.ts.map +1 -1
- package/dist/types/lists/Second.d.ts +13 -0
- package/dist/types/lists/Second.d.ts.map +1 -0
- package/dist/types/lists/Shift.d.ts +2 -2
- package/dist/types/lists/Shift.d.ts.map +1 -1
- package/dist/types/lists/Slice.d.ts +2 -2
- package/dist/types/lists/Slice.d.ts.map +1 -1
- package/dist/types/lists/TruthyReturns.d.ts +2 -2
- package/dist/types/lists/TruthyReturns.d.ts.map +1 -1
- package/dist/types/lists/index.d.ts +7 -1
- package/dist/types/lists/index.d.ts.map +1 -1
- package/dist/types/lists/index.js +7 -1
- package/dist/types/literals/Box.d.ts +2 -2
- package/dist/types/literals/Box.d.ts.map +1 -1
- package/dist/types/literals/Choices.d.ts +102 -0
- package/dist/types/literals/Choices.d.ts.map +1 -0
- package/dist/types/literals/DoneFnTuple.d.ts +28 -0
- package/dist/types/literals/DoneFnTuple.d.ts.map +1 -0
- package/dist/types/literals/ExpandRecursively.d.ts +13 -6
- package/dist/types/literals/ExpandRecursively.d.ts.map +1 -1
- package/dist/types/literals/FromDefn.d.ts +55 -0
- package/dist/types/literals/FromDefn.d.ts.map +1 -0
- package/dist/types/literals/FromTokenNames.d.ts +19 -0
- package/dist/types/literals/FromTokenNames.d.ts.map +1 -0
- package/dist/types/literals/Narrow.d.ts +10 -0
- package/dist/types/literals/Narrow.d.ts.map +1 -0
- package/dist/types/literals/RuntimeUnion.d.ts +14 -0
- package/dist/types/literals/RuntimeUnion.d.ts.map +1 -0
- package/dist/types/literals/Shape.d.ts +222 -0
- package/dist/types/literals/Shape.d.ts.map +1 -0
- package/dist/types/literals/VueComputedRef.d.ts +35 -0
- package/dist/types/literals/VueComputedRef.d.ts.map +1 -0
- package/dist/types/literals/VueComputedRef.js +11 -0
- package/dist/types/literals/VueRef.d.ts +13 -2
- package/dist/types/literals/VueRef.d.ts.map +1 -1
- package/dist/types/literals/index.d.ts +8 -0
- package/dist/types/literals/index.d.ts.map +1 -1
- package/dist/types/literals/index.js +8 -0
- package/dist/types/numeric-literals/Abs.d.ts +4 -4
- package/dist/types/numeric-literals/Abs.d.ts.map +1 -1
- package/dist/types/numeric-literals/AbsMaybe.d.ts +2 -2
- package/dist/types/numeric-literals/AbsMaybe.d.ts.map +1 -1
- package/dist/types/numeric-literals/Add.d.ts +12 -16
- package/dist/types/numeric-literals/Add.d.ts.map +1 -1
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts +3 -3
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts.map +1 -1
- package/dist/types/numeric-literals/Decrement.d.ts +2 -2
- package/dist/types/numeric-literals/Decrement.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digitize.d.ts +10 -3
- package/dist/types/numeric-literals/Digitize.d.ts.map +1 -1
- package/dist/types/numeric-literals/Increment.d.ts +2 -2
- package/dist/types/numeric-literals/Increment.d.ts.map +1 -1
- package/dist/types/numeric-literals/Negative.d.ts +2 -2
- package/dist/types/numeric-literals/Negative.d.ts.map +1 -1
- package/dist/types/numeric-literals/NextDigit.d.ts +2 -2
- package/dist/types/numeric-literals/NextDigit.d.ts.map +1 -1
- package/dist/types/numeric-literals/PriorDigit.d.ts +2 -2
- package/dist/types/numeric-literals/Subtract.d.ts +3 -3
- package/dist/types/numeric-literals/Subtract.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToInteger.d.ts +2 -2
- package/dist/types/numeric-literals/ToInteger.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToNumericArray.d.ts +6 -6
- package/dist/types/numeric-literals/ToNumericArray.d.ts.map +1 -1
- package/dist/types/numeric-literals/ValueCallback.d.ts +87 -0
- package/dist/types/numeric-literals/ValueCallback.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.d.ts +0 -2
- package/dist/types/numeric-literals/index.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.js +0 -2
- package/dist/types/runtime-types/DescribeType.d.ts +31 -23
- package/dist/types/runtime-types/DescribeType.d.ts.map +1 -1
- package/dist/types/runtime-types/DescribeType.js +1 -0
- package/dist/types/runtime-types/Dict.d.ts +24 -0
- package/dist/types/runtime-types/Dict.d.ts.map +1 -0
- package/dist/types/runtime-types/Dict.js +2 -0
- package/dist/types/runtime-types/FromLiteralTokens.d.ts +3 -3
- package/dist/types/runtime-types/FromLiteralTokens.d.ts.map +1 -1
- package/dist/types/runtime-types/Rec.d.ts +15 -0
- package/dist/types/runtime-types/Rec.d.ts.map +1 -0
- package/dist/types/runtime-types/Rec.js +2 -0
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts +3 -3
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts.map +1 -1
- package/dist/types/runtime-types/Type.d.ts +12 -12
- 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 +61 -26
- package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
- package/dist/types/runtime-types/index.d.ts +1 -2
- package/dist/types/runtime-types/index.d.ts.map +1 -1
- package/dist/types/runtime-types/index.js +1 -2
- package/dist/types/sets/IntersectingKeys.d.ts +5 -3
- package/dist/types/sets/IntersectingKeys.d.ts.map +1 -1
- package/dist/types/sets/Intersection.d.ts +43 -21
- package/dist/types/sets/Intersection.d.ts.map +1 -1
- package/dist/types/sets/Relate.d.ts.map +1 -1
- package/dist/types/sets/Unique.d.ts +18 -33
- package/dist/types/sets/Unique.d.ts.map +1 -1
- package/dist/types/sets/index.d.ts +0 -3
- package/dist/types/sets/index.d.ts.map +1 -1
- package/dist/types/sets/index.js +0 -3
- package/dist/types/string-literals/{RemainingChars.d.ts → AfterFirstChar.d.ts} +4 -4
- package/dist/types/string-literals/AfterFirstChar.d.ts.map +1 -0
- package/dist/types/string-literals/Chars.d.ts +7 -2
- package/dist/types/string-literals/Chars.d.ts.map +1 -1
- package/dist/types/string-literals/Concat.d.ts +3 -3
- package/dist/types/string-literals/Concat.d.ts.map +1 -1
- package/dist/types/string-literals/Date.d.ts +7 -12
- package/dist/types/string-literals/Date.d.ts.map +1 -1
- package/dist/types/string-literals/DateTime.d.ts +12 -5
- package/dist/types/string-literals/DateTime.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureLeading.d.ts +17 -8
- package/dist/types/string-literals/EnsureLeading.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureSurround.d.ts +10 -0
- package/dist/types/string-literals/EnsureSurround.d.ts.map +1 -0
- package/dist/types/string-literals/EnsureTrailing.d.ts +9 -3
- package/dist/types/string-literals/EnsureTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/FirstChar.d.ts +14 -17
- package/dist/types/string-literals/FirstChar.d.ts.map +1 -1
- package/dist/types/string-literals/Join.d.ts +3 -4
- package/dist/types/string-literals/Join.d.ts.map +1 -1
- package/dist/types/string-literals/LastChar.d.ts +14 -16
- package/dist/types/string-literals/LastChar.d.ts.map +1 -1
- package/dist/types/string-literals/PathJoin.d.ts +9 -3
- package/dist/types/string-literals/PathJoin.d.ts.map +1 -1
- package/dist/types/string-literals/Pluralize.d.ts +3 -3
- package/dist/types/string-literals/Pluralize.d.ts.map +1 -1
- package/dist/types/string-literals/Split.d.ts +22 -41
- package/dist/types/string-literals/Split.d.ts.map +1 -1
- package/dist/types/string-literals/StripAfter.d.ts +2 -2
- package/dist/types/string-literals/StripAfter.d.ts.map +1 -1
- package/dist/types/string-literals/StripBefore.d.ts +2 -2
- package/dist/types/string-literals/StripBefore.d.ts.map +1 -1
- package/dist/types/string-literals/StripLeading.d.ts +6 -7
- package/dist/types/string-literals/StripLeading.d.ts.map +1 -1
- package/dist/types/string-literals/StripTrailing.d.ts +9 -9
- package/dist/types/string-literals/StripTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/Suggest.d.ts +4 -2
- package/dist/types/string-literals/Suggest.d.ts.map +1 -1
- package/dist/types/string-literals/Surround.d.ts +6 -6
- package/dist/types/string-literals/Surround.d.ts.map +1 -1
- package/dist/types/string-literals/Time.d.ts +87 -30
- package/dist/types/string-literals/Time.d.ts.map +1 -1
- package/dist/types/string-literals/Truncate.d.ts +3 -3
- package/dist/types/string-literals/Truncate.d.ts.map +1 -1
- package/dist/types/string-literals/casing/AllCaps.d.ts +2 -2
- package/dist/types/string-literals/casing/AllCaps.d.ts.map +1 -1
- package/dist/types/string-literals/casing/CamelCase.d.ts +2 -2
- package/dist/types/string-literals/casing/CamelCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts +1 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/KebabCase.js +0 -1
- package/dist/types/string-literals/casing/SnakeCase.d.ts +4 -4
- package/dist/types/string-literals/casing/SnakeCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/index.d.ts +0 -1
- package/dist/types/string-literals/casing/index.d.ts.map +1 -1
- package/dist/types/string-literals/casing/index.js +0 -1
- package/dist/types/string-literals/character-sets/Alpha.d.ts +2 -2
- package/dist/types/string-literals/character-sets/Alpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/BCP.d.ts +12 -0
- package/dist/types/string-literals/character-sets/BCP.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/DomainName.d.ts +3 -3
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts +6 -17
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts +7 -5
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts +51 -5
- package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts +2 -2
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts +9 -0
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts +5 -3
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Url.d.ts +2 -2
- package/dist/types/string-literals/character-sets/Url.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts +3 -8
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.d.ts +0 -1
- package/dist/types/string-literals/character-sets/index.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.js +0 -1
- package/dist/types/string-literals/geo/index.d.ts +3 -0
- package/dist/types/string-literals/geo/index.d.ts.map +1 -0
- package/dist/types/string-literals/geo/index.js +2 -0
- package/dist/types/string-literals/geo/state.d.ts +47 -0
- package/dist/types/string-literals/geo/state.d.ts.map +1 -0
- package/dist/types/string-literals/geo/zip.d.ts +24 -0
- package/dist/types/string-literals/geo/zip.d.ts.map +1 -0
- package/dist/types/string-literals/index.d.ts +3 -2
- package/dist/types/string-literals/index.d.ts.map +1 -1
- package/dist/types/string-literals/index.js +3 -2
- package/dist/types/string-literals/options/DropChars.d.ts +24 -0
- package/dist/types/string-literals/options/DropChars.d.ts.map +1 -0
- package/dist/types/string-literals/options/index.d.ts +1 -0
- package/dist/types/string-literals/options/index.d.ts.map +1 -1
- package/dist/types/string-literals/options/index.js +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/tuples/FirstKey.d.ts +2 -2
- package/dist/types/tuples/FirstKey.d.ts.map +1 -1
- package/dist/types/tuples/FirstKeyValue.d.ts +2 -2
- package/dist/types/tuples/FirstKeyValue.d.ts.map +1 -1
- package/dist/types/tuples/FirstOfEach.d.ts +2 -2
- package/dist/types/tuples/FixedLengthArray.d.ts +2 -1
- package/dist/types/tuples/FixedLengthArray.d.ts.map +1 -1
- package/dist/types/tuples/LastOfEach.d.ts +6 -4
- package/dist/types/tuples/LastOfEach.d.ts.map +1 -1
- package/dist/types/tuples/index.d.ts +1 -0
- package/dist/types/tuples/index.d.ts.map +1 -1
- package/dist/types/tuples/index.js +1 -0
- package/dist/types/type-conversion/AsBoolean.d.ts +3 -5
- package/dist/types/type-conversion/AsBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/AsContainer.d.ts +9 -0
- package/dist/types/type-conversion/AsContainer.d.ts.map +1 -0
- package/dist/types/type-conversion/AsDefined.d.ts +8 -0
- package/dist/types/type-conversion/AsDefined.d.ts.map +1 -0
- package/dist/types/type-conversion/AsDictionary.d.ts +3 -0
- package/dist/types/type-conversion/AsDictionary.d.ts.map +1 -0
- package/dist/types/type-conversion/AsFunction.d.ts +2 -3
- package/dist/types/type-conversion/AsFunction.d.ts.map +1 -1
- package/dist/types/type-conversion/AsNonNull.d.ts +21 -0
- package/dist/types/type-conversion/AsNonNull.d.ts.map +1 -0
- package/dist/types/type-conversion/AsNumber.d.ts +1 -1
- package/dist/types/type-conversion/AsNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/AsObject.d.ts +2 -0
- package/dist/types/type-conversion/AsObject.d.ts.map +1 -0
- package/dist/types/type-conversion/AsObjectKeys.d.ts +15 -0
- package/dist/types/type-conversion/AsObjectKeys.d.ts.map +1 -0
- package/dist/types/type-conversion/AsPropertyKey.d.ts +1 -6
- package/dist/types/type-conversion/AsPropertyKey.d.ts.map +1 -1
- package/dist/types/type-conversion/AsRecord.d.ts +10 -0
- package/dist/types/type-conversion/AsRecord.d.ts.map +1 -0
- package/dist/types/type-conversion/AsRef.d.ts +5 -0
- package/dist/types/type-conversion/AsRef.d.ts.map +1 -0
- package/dist/types/type-conversion/AsString.d.ts +1 -1
- package/dist/types/type-conversion/AsString.d.ts.map +1 -1
- package/dist/types/type-conversion/Awaited.d.ts +1 -1
- package/dist/types/type-conversion/Awaited.d.ts.map +1 -1
- package/dist/types/type-conversion/Break.d.ts +2 -0
- package/dist/types/type-conversion/Break.d.ts.map +1 -1
- package/dist/types/type-conversion/IntersectWithAll.d.ts +3 -3
- package/dist/types/type-conversion/IntersectWithAll.d.ts.map +1 -1
- package/dist/types/type-conversion/LeftWhitespace.d.ts +1 -1
- package/dist/types/type-conversion/LeftWhitespace.d.ts.map +1 -1
- package/dist/types/type-conversion/Merge.d.ts +42 -15
- package/dist/types/type-conversion/Merge.d.ts.map +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +3 -3
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/dist/types/type-conversion/Mutable.d.ts +14 -5
- package/dist/types/type-conversion/Mutable.d.ts.map +1 -1
- package/dist/types/type-conversion/ObjectToKvDict.d.ts.map +1 -1
- package/dist/types/type-conversion/RemoveIndex.js +0 -1
- package/dist/types/type-conversion/ReplaceAll.d.ts +7 -4
- package/dist/types/type-conversion/ReplaceAll.d.ts.map +1 -1
- package/dist/types/type-conversion/ReturnValues.d.ts +2 -2
- package/dist/types/type-conversion/ReturnValues.d.ts.map +1 -1
- package/dist/types/type-conversion/ToBoolean.d.ts +2 -2
- package/dist/types/type-conversion/ToBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/ToNumber.d.ts +5 -4
- package/dist/types/type-conversion/ToNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/ToString.d.ts +6 -4
- package/dist/types/type-conversion/ToString.d.ts.map +1 -1
- package/dist/types/type-conversion/ToStringArray.d.ts +12 -0
- package/dist/types/type-conversion/ToStringArray.d.ts.map +1 -0
- package/dist/types/type-conversion/ToUnion.js +0 -1
- package/dist/types/type-conversion/UnionFilter.d.ts +27 -0
- package/dist/types/type-conversion/UnionFilter.d.ts.map +1 -0
- package/dist/types/type-conversion/UnionShift.d.ts +22 -0
- package/dist/types/type-conversion/UnionShift.d.ts.map +1 -0
- package/dist/types/type-conversion/UnionToTuple.d.ts +1 -1
- package/dist/types/type-conversion/UnionToTuple.d.ts.map +1 -1
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts +2 -2
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.d.ts +43 -7
- package/dist/types/type-conversion/Widen.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.js +1 -0
- package/dist/types/type-conversion/WidenValues.d.ts +16 -0
- package/dist/types/type-conversion/WidenValues.d.ts.map +1 -0
- package/dist/types/type-conversion/WithDefault.d.ts +2 -2
- package/dist/types/type-conversion/WithDefault.d.ts.map +1 -1
- package/dist/types/type-conversion/form-fields.d.ts +0 -8
- package/dist/types/type-conversion/form-fields.d.ts.map +1 -1
- package/dist/types/type-conversion/index.d.ts +13 -4
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +13 -4
- package/package.json +26 -26
- package/dist/runtime/boolean-logic/ifRef.d.ts +0 -13
- package/dist/runtime/boolean-logic/ifRef.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifRef.js +0 -18
- package/dist/runtime/combinators/filter.d.ts +0 -85
- package/dist/runtime/combinators/filter.d.ts.map +0 -1
- package/dist/runtime/combinators/filter.js +0 -118
- package/dist/runtime/dictionary/arrayToKeyLookup.d.ts +0 -12
- package/dist/runtime/dictionary/arrayToKeyLookup.d.ts.map +0 -1
- package/dist/runtime/dictionary/arrayToKeyLookup.js +0 -17
- package/dist/runtime/dictionary/mapValues.d.ts +0 -14
- package/dist/runtime/dictionary/mapValues.d.ts.map +0 -1
- package/dist/runtime/dictionary/mapValues.js +0 -17
- package/dist/runtime/functional/left.d.ts +0 -8
- package/dist/runtime/functional/left.d.ts.map +0 -1
- package/dist/runtime/functional/left.js +0 -6
- package/dist/runtime/functional/right.d.ts +0 -8
- package/dist/runtime/functional/right.d.ts.map +0 -1
- package/dist/runtime/functional/right.js +0 -6
- package/dist/runtime/initializers/createTypeGuard.d.ts +0 -3
- package/dist/runtime/initializers/createTypeGuard.d.ts.map +0 -1
- package/dist/runtime/initializers/createTypeGuard.js +0 -14
- package/dist/runtime/initializers/createTypeTuple.d.ts +0 -8
- package/dist/runtime/initializers/createTypeTuple.d.ts.map +0 -1
- package/dist/runtime/initializers/createTypeTuple.js +0 -8
- package/dist/runtime/initializers/createValidator.d.ts +0 -6
- package/dist/runtime/initializers/createValidator.d.ts.map +0 -1
- package/dist/runtime/initializers/createValidator.js +0 -20
- package/dist/runtime/runtime-types/createType.d.ts +0 -40
- package/dist/runtime/runtime-types/createType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/createType.js +0 -116
- package/dist/runtime/runtime-types/describeType.d.ts +0 -13
- package/dist/runtime/runtime-types/describeType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/describeType.js +0 -32
- package/dist/runtime/runtime-types/determineIdentity.d.ts +0 -3
- package/dist/runtime/runtime-types/determineIdentity.d.ts.map +0 -1
- package/dist/runtime/runtime-types/determineIdentity.js +0 -13
- package/dist/runtime/runtime-types/determineType.d.ts +0 -3
- package/dist/runtime/runtime-types/determineType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/determineType.js +0 -50
- package/dist/runtime/runtime-types/kind.d.ts +0 -99
- package/dist/runtime/runtime-types/kind.d.ts.map +0 -1
- package/dist/runtime/runtime-types/kind.js +0 -108
- package/dist/runtime/runtime-types/typeTuples.d.ts +0 -11
- package/dist/runtime/runtime-types/typeTuples.d.ts.map +0 -1
- package/dist/runtime/runtime-types/typeTuples.js +0 -34
- package/dist/runtime/runtime-types/valueTypes.d.ts +0 -28
- package/dist/runtime/runtime-types/valueTypes.d.ts.map +0 -1
- package/dist/runtime/runtime-types/valueTypes.js +0 -20
- package/dist/runtime/state/Configurator.d.ts +0 -39
- package/dist/runtime/state/Configurator.d.ts.map +0 -1
- package/dist/runtime/state/Configurator.js +0 -55
- package/dist/runtime/state/FluentConfigurator.d.ts +0 -28
- package/dist/runtime/state/FluentConfigurator.d.ts.map +0 -1
- package/dist/runtime/state/FluentConfigurator.js +0 -29
- package/dist/runtime/state/index.d.ts +0 -3
- package/dist/runtime/state/index.d.ts.map +0 -1
- package/dist/runtime/state/index.js +0 -10
- package/dist/runtime/type-guards/runtime-type-guards.d.ts +0 -46
- package/dist/runtime/type-guards/runtime-type-guards.d.ts.map +0 -1
- package/dist/runtime/type-guards/runtime-type-guards.js +0 -76
- package/dist/types/base-types/AnyFunction.d.ts +0 -13
- package/dist/types/base-types/AnyFunction.d.ts.map +0 -1
- package/dist/types/base-types/CouldHaveValue.d.ts +0 -14
- package/dist/types/base-types/CouldHaveValue.d.ts.map +0 -1
- package/dist/types/base-types/IdentityFunction.d.ts.map +0 -1
- package/dist/types/base-types/IndexedObject.d.ts +0 -3
- package/dist/types/base-types/IndexedObject.d.ts.map +0 -1
- package/dist/types/base-types/fns/NarrowingFn.d.ts +0 -10
- package/dist/types/base-types/fns/NarrowingFn.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfAnd.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfAnd.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfArray.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfBoolean.d.ts +0 -3
- package/dist/types/boolean-logic/branching/IfBoolean.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfBooleanLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfBooleanLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfChar.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfChar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfContainer.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfContainer.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfContains.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfContains.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDefined.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfDefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDoesNotExtend.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfDoesNotExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDotPath.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEmptyObject.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfEmptyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfError.d.ts +0 -15
- package/dist/types/boolean-logic/branching/IfError.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtends.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfExtends.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtendsAll.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfExtendsAll.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtendsSome.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfExtendsSome.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFalse.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFalsy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfFalsy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFnWithParams.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfFnWithParams.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFnWithoutParams.d.ts +0 -16
- package/dist/types/boolean-logic/branching/IfFnWithoutParams.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFunction.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfFunction.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfGreaterThan.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfGreaterThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfHasCharacters.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfHasCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts +0 -62
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfMaybeFalse.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfMaybeFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfMaybeTrue.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfMaybeTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNarrowlyContains.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfNarrowlyContains.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotEqual.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNotEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotError.d.ts +0 -15
- package/dist/types/boolean-logic/branching/IfNotError.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotNever.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotNever.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNull.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNull.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNumber.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNumericLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNumericLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfObject.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfObjectLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfObjectLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfOptionalScalar.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfOptionalScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfOr.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfOr.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfPositive.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfPositive.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReadonlyArray.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfReadonlyArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReadonlyObject.d.ts +0 -3
- package/dist/types/boolean-logic/branching/IfReadonlyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfRef.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfRef.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReturns.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfReturns.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfScalar.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSingularNoun.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfSingularNoun.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeEqual.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfSomeEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeExtend.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfSomeExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfStartsWith.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfStartsWith.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfString.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfString.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts +0 -20
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSymbol.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfSymbol.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTrue.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTruthy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfTruthy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTuple.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfTuple.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfUndefined.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfUndefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfUnion.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfValidDotPath.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfValidDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts +0 -32
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfWide.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfWide.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Includes.d.ts +0 -13
- package/dist/types/boolean-logic/operators/Includes.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsChar.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsChar.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsError.d.ts +0 -32
- package/dist/types/boolean-logic/operators/IsError.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsMaybeTrue.d.ts +0 -14
- package/dist/types/boolean-logic/operators/IsMaybeTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsRef.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsRef.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsValidKey.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsValidKey.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/NotCharacters.d.ts +0 -11
- package/dist/types/boolean-logic/operators/NotCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts +0 -28
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts.map +0 -1
- package/dist/types/containers/EmptyContainer.d.ts +0 -11
- package/dist/types/containers/EmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/NonEmptyContainer.d.ts +0 -11
- package/dist/types/containers/NonEmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/WithKey.d.ts +0 -32
- package/dist/types/containers/WithKey.d.ts.map +0 -1
- package/dist/types/dictionary/ExplicitKeys.d.ts +0 -13
- package/dist/types/dictionary/ExplicitKeys.d.ts.map +0 -1
- package/dist/types/dictionary/SameKeys.d.ts +0 -12
- package/dist/types/dictionary/SameKeys.d.ts.map +0 -1
- package/dist/types/errors/ReportError.d.ts +0 -9
- package/dist/types/errors/ReportError.d.ts.map +0 -1
- package/dist/types/errors/ReportError.js +0 -12
- package/dist/types/lists/Append.d.ts +0 -1
- package/dist/types/lists/Append.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveEquals.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveEquals.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveErrors.d.ts +0 -11
- package/dist/types/lists/extractors/2nd-order/RemoveErrors.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNever.d.ts +0 -11
- package/dist/types/lists/extractors/2nd-order/RemoveNever.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNotExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveNotExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveStrings.d.ts +0 -8
- package/dist/types/lists/extractors/2nd-order/RemoveStrings.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveWide.d.ts +0 -10
- package/dist/types/lists/extractors/2nd-order/RemoveWide.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainEquals.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainEquals.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainNotExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainNotExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainStrings.d.ts +0 -8
- package/dist/types/lists/extractors/2nd-order/RetainStrings.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/index.d.ts +0 -12
- package/dist/types/lists/extractors/2nd-order/index.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/index.js +0 -11
- package/dist/types/lists/extractors/ExtractorOp.d.ts +0 -5
- package/dist/types/lists/extractors/ExtractorOp.d.ts.map +0 -1
- package/dist/types/lists/extractors/RemoveFromList.d.ts +0 -36
- package/dist/types/lists/extractors/RemoveFromList.d.ts.map +0 -1
- package/dist/types/lists/extractors/RetainFromList.d.ts +0 -43
- package/dist/types/lists/extractors/RetainFromList.d.ts.map +0 -1
- package/dist/types/lists/extractors/index.d.ts +0 -5
- package/dist/types/lists/extractors/index.d.ts.map +0 -1
- package/dist/types/lists/extractors/index.js +0 -4
- package/dist/types/numeric-literals/Float.d.ts +0 -8
- package/dist/types/numeric-literals/Float.d.ts.map +0 -1
- package/dist/types/numeric-literals/Float.js +0 -1
- package/dist/types/numeric-literals/GreaterThan.d.ts +0 -13
- package/dist/types/numeric-literals/GreaterThan.d.ts.map +0 -1
- package/dist/types/numeric-literals/GreaterThan.js +0 -1
- package/dist/types/runtime-types/LiteralType.d.ts +0 -3
- package/dist/types/runtime-types/LiteralType.d.ts.map +0 -1
- package/dist/types/runtime-types/LiteralType.js +0 -1
- package/dist/types/runtime-types/api/boolean.d.ts +0 -9
- package/dist/types/runtime-types/api/boolean.d.ts.map +0 -1
- package/dist/types/runtime-types/api/boolean.js +0 -1
- package/dist/types/runtime-types/api/index.d.ts +0 -7
- package/dist/types/runtime-types/api/index.d.ts.map +0 -1
- package/dist/types/runtime-types/api/index.js +0 -1
- package/dist/types/runtime-types/api/number.d.ts +0 -4
- package/dist/types/runtime-types/api/number.d.ts.map +0 -1
- package/dist/types/runtime-types/api/number.js +0 -1
- package/dist/types/runtime-types/api/numericLiteral.d.ts +0 -1
- package/dist/types/runtime-types/api/numericLiteral.d.ts.map +0 -1
- package/dist/types/runtime-types/api/numericLiteral.js +0 -22
- package/dist/types/runtime-types/api/string.d.ts +0 -4
- package/dist/types/runtime-types/api/string.d.ts.map +0 -1
- package/dist/types/runtime-types/api/string.js +0 -1
- package/dist/types/runtime-types/api/stringLiteral.d.ts +0 -21
- package/dist/types/runtime-types/api/stringLiteral.d.ts.map +0 -1
- package/dist/types/runtime-types/api/stringLiteral.js +0 -1
- package/dist/types/sets/AllKeys.d.ts +0 -11
- package/dist/types/sets/AllKeys.d.ts.map +0 -1
- package/dist/types/sets/AllKeys.js +0 -1
- package/dist/types/sets/Dedupe.d.ts +0 -18
- package/dist/types/sets/Dedupe.d.ts.map +0 -1
- package/dist/types/sets/Dedupe.js +0 -1
- package/dist/types/sets/SetRemoval.d.ts +0 -13
- package/dist/types/sets/SetRemoval.d.ts.map +0 -1
- package/dist/types/sets/SetRemoval.js +0 -1
- package/dist/types/string-literals/DropChars.d.ts +0 -13
- package/dist/types/string-literals/DropChars.d.ts.map +0 -1
- package/dist/types/string-literals/IndexesOfStr.d.ts +0 -46
- package/dist/types/string-literals/IndexesOfStr.d.ts.map +0 -1
- package/dist/types/string-literals/IndexesOfStr.js +0 -1
- package/dist/types/string-literals/RemainingChars.d.ts.map +0 -1
- package/dist/types/string-literals/RemainingChars.js +0 -1
- package/dist/types/string-literals/casing/NamingModifier.d.ts +0 -12
- package/dist/types/string-literals/casing/NamingModifier.d.ts.map +0 -1
- package/dist/types/string-literals/casing/NamingModifier.js +0 -1
- package/dist/types/string-literals/character-sets/DotPath.d.ts +0 -22
- package/dist/types/string-literals/character-sets/DotPath.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/DotPath.js +0 -1
- package/dist/types/type-conversion/ArrConcat.d.ts +0 -10
- package/dist/types/type-conversion/ArrConcat.d.ts.map +0 -1
- package/dist/types/type-conversion/ArrConcat.js +0 -1
- package/dist/types/type-conversion/KvDict.d.ts +0 -10
- package/dist/types/type-conversion/KvDict.d.ts.map +0 -1
- package/dist/types/type-conversion/KvDict.js +0 -1
- package/dist/types/type-conversion/ObjValues.d.ts +0 -21
- package/dist/types/type-conversion/ObjValues.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjValues.js +0 -1
- package/dist/types/type-conversion/WidenProps.d.ts +0 -11
- package/dist/types/type-conversion/WidenProps.d.ts.map +0 -1
- package/dist/types/type-conversion/WidenProps.js +0 -1
- /package/dist/types/base-types/{AnyFunction.js → Dictionary.js} +0 -0
- /package/dist/types/base-types/{CouldHaveValue.js → List.js} +0 -0
- /package/dist/types/base-types/{IdentityFunction.js → NonArray.js} +0 -0
- /package/dist/types/base-types/{IndexedObject.js → fns/AnyFnWithDict.js} +0 -0
- /package/dist/types/base-types/{IdentityFunction.d.ts → fns/IdentityFunction.d.ts} +0 -0
- /package/dist/types/base-types/fns/{NarrowingFn.js → IdentityFunction.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfAnd.js → base-types/fns/JustFunction.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfArray.js → base-types/fns/TypedFunction.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfBoolean.js → Default.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfBooleanLiteral.js → Fail.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfChar.js → Handle.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfContainer.js → If.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfContains.js → Iff.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfDefined.js → Passthrough.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfDoesNotExtend.js → combinators/Compare.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfDotPath.js → narrowing/As.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEmptyContainer.js → narrowing/AsDoneFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEmptyObject.js → narrowing/AsSomething.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEqualLength.js → operators/AllNumericLiterals.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfError.js → operators/AllStringLiterals.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtends.js → operators/AreSameLength.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtendsAll.js → operators/AreSameType.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtendsSome.js → operators/Extends.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFalse.js → operators/HasIndex.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFalsy.js → operators/HasOtherCharacters.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFnWithParams.js → operators/HasProp.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFnWithoutParams.js → operators/HasRequiredProps.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFunction.js → operators/HasSameKeys.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfGreaterThan.js → operators/IsFloat.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfHasCharacters.js → operators/IsHexadecimal.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfIndexAt.js → operators/IsInteger.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfIndexable.js → operators/IsIterable.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfLessThan.js → operators/IsLiteralFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfLiteral.js → operators/IsLiteralUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfMaybeFalse.js → operators/IsNarrowingFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfMaybeTrue.js → operators/IsNonLiteralUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNarrowlyContains.js → operators/IsNothing.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNegativeNumber.js → operators/IsSingleChar.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotEqual.js → operators/IsValidIndex.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotError.js → operators/IsVueRef.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotLiteral.js → operators/IsWideUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotNever.js → operators/Validate.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNotTuple.js → classes/KlassMeta.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNull.js → containers/IsEmptyContainer.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNumber.js → containers/IsNonEmptyContainer.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNumericLiteral.js → containers/RemoveMarked.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order → containers}/RemoveNever.js +0 -0
- /package/dist/types/{boolean-logic/branching/IfObject.js → containers/RemoveUndefined.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfObjectLiteral.js → dictionary/CreateKV.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfOptionalScalar.js → dictionary/CreateLookup.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfOr.js → dictionary/EnsureKeys.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfPositive.js → dictionary/KvFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReadonlyArray.js → dictionary/MakeKeysOptional.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReadonlyObject.js → dictionary/MergeKVs.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfRef.js → dictionary/TakeProp.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReturns.js → dictionary/Values.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfScalar.js → errors/CompleteError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSingularNoun.js → errors/KindError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeEqual.js → errors/MapError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeExtend.js → errors/PartialError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeTruthy.js → errors/ProxyError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfStartsWith.js → errors/StackTrace.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfString.js → errors/Throw.js} +0 -0
- /package/dist/types/{lists/Append.js → functional/Option.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfStringLiteral.js → functions/Fn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSymbol.js → functions/FnFrom.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTrue.js → functions/HandleDoneFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTruthy.js → functions/IdentityFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTuple.js → functions/LiteralFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfUndefined.js → functions/NarrowingFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfUnion.js → functions/OnlyFnProps.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfValidDotPath.js → lists/FilterLiterals.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfValidKey.js → lists/FilterWideTypes.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfWide.js → lists/Push.js} +0 -0
- /package/dist/types/{boolean-logic/operators/Includes.js → lists/RetainLiterals.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsChar.js → lists/RetainWideTypes.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsError.js → lists/Second.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsIndexable.js → literals/Choices.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsMaybeTrue.js → literals/DoneFnTuple.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsRef.js → literals/FromDefn.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsValidKey.js → literals/FromTokenNames.js} +0 -0
- /package/dist/types/{boolean-logic/operators/NotCharacters.js → literals/Narrow.js} +0 -0
- /package/dist/types/{boolean-logic/operators/OfSameLength.js → literals/RuntimeUnion.js} +0 -0
- /package/dist/types/{lists/extractors/RetainFromList.js → literals/Shape.js} +0 -0
- /package/dist/types/{containers/EmptyContainer.js → string-literals/AfterFirstChar.js} +0 -0
- /package/dist/types/{containers/NonEmptyContainer.js → string-literals/EnsureSurround.js} +0 -0
- /package/dist/types/{containers/WithKey.js → string-literals/character-sets/BCP.js} +0 -0
- /package/dist/types/{dictionary/ExplicitKeys.js → string-literals/geo/state.js} +0 -0
- /package/dist/types/{dictionary/SameKeys.js → string-literals/geo/zip.js} +0 -0
- /package/dist/types/string-literals/{DropChars.js → options/DropChars.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveEquals.js → type-conversion/AsContainer.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveErrors.js → type-conversion/AsDefined.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveExtends.js → type-conversion/AsDictionary.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveNotExtends.js → type-conversion/AsNonNull.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveStrings.js → type-conversion/AsObject.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveWide.js → type-conversion/AsObjectKeys.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainEquals.js → type-conversion/AsRecord.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainExtends.js → type-conversion/AsRef.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainNotExtends.js → type-conversion/ToStringArray.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainStrings.js → type-conversion/UnionFilter.js} +0 -0
- /package/dist/types/{lists/extractors/ExtractorOp.js → type-conversion/UnionShift.js} +0 -0
- /package/dist/types/{lists/extractors/RemoveFromList.js → type-conversion/WidenValues.js} +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export * from "./AllExtend";
|
|
2
2
|
export * from "./AllLiteral";
|
|
3
|
+
export * from "./AreSameType";
|
|
4
|
+
export * from "./AllStringLiterals";
|
|
5
|
+
export * from "./AllNumericLiterals";
|
|
3
6
|
export * from "./Contains";
|
|
4
7
|
export * from "./ContainsAll";
|
|
5
8
|
export * from "./DoesExtend";
|
|
9
|
+
export * from "./Extends";
|
|
6
10
|
export * from "./DoesNotExtend";
|
|
7
11
|
export * from "./ExtendsAll";
|
|
8
12
|
export * from "./ExtendsSome";
|
|
@@ -10,7 +14,6 @@ export * from "./ExtendsNone";
|
|
|
10
14
|
export * from "./EndsWith";
|
|
11
15
|
export * from "./SomeEqual";
|
|
12
16
|
export * from "./SomeExtend";
|
|
13
|
-
export * from "./NotCharacters";
|
|
14
17
|
export * from "./NarrowlyContains";
|
|
15
18
|
export * from "./Returns";
|
|
16
19
|
export * from "./ReturnsTrue";
|
|
@@ -21,21 +24,22 @@ export * from "./HasParameters";
|
|
|
21
24
|
export * from "./HasUnionType";
|
|
22
25
|
export * from "./HasSameValues";
|
|
23
26
|
export * from "./IsNegativeNumber";
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
27
|
+
export * from "./IsVueRef";
|
|
28
|
+
export * from "./IsNarrowingFn";
|
|
29
|
+
export * from "./IsLiteralFn";
|
|
30
|
+
export * from "./IsValidIndex";
|
|
26
31
|
export * from "./IsObjectLiteral";
|
|
27
32
|
export * from "./IsTuple";
|
|
33
|
+
export * from "./IsNothing";
|
|
28
34
|
export * from "./IsGreaterThan";
|
|
29
35
|
export * from "./IsDotPath";
|
|
30
36
|
export * from "./IsSingularNoun";
|
|
31
|
-
export * from "./IsValidDotPath";
|
|
32
37
|
export * from "./IsAllLowercase";
|
|
33
38
|
export * from "./IsAllCaps";
|
|
34
|
-
export * from "./
|
|
39
|
+
export * from "./IsSingleChar";
|
|
35
40
|
export * from "./IsDefined";
|
|
36
41
|
export * from "./IsOptionalScalar";
|
|
37
42
|
export * from "./IsObject";
|
|
38
|
-
export * from "./Includes";
|
|
39
43
|
export * from "./IsLength";
|
|
40
44
|
export * from "./IsScalar";
|
|
41
45
|
export * from "./IsEmptyObject";
|
|
@@ -46,14 +50,12 @@ export * from "./IsBoolean";
|
|
|
46
50
|
export * from "./IsTrue";
|
|
47
51
|
export * from "./IsFalse";
|
|
48
52
|
export * from "./IsFalsy";
|
|
49
|
-
export * from "./IsMaybeTrue";
|
|
50
53
|
export * from "./IsStringLiteral";
|
|
51
54
|
export * from "./IsNumericLiteral";
|
|
52
55
|
export * from "./IsBooleanLiteral";
|
|
53
56
|
export * from "./IsEqual";
|
|
54
57
|
export * from "./IsUnion";
|
|
55
58
|
export * from "./IsArray";
|
|
56
|
-
export * from "./IsError";
|
|
57
59
|
export * from "./IsReadonlyArray";
|
|
58
60
|
export * from "./IsNull";
|
|
59
61
|
export * from "./IsSymbol";
|
|
@@ -68,10 +70,21 @@ export * from "./IsFunction";
|
|
|
68
70
|
export * from "./IsFnWithParams";
|
|
69
71
|
export * from "./IsContainer";
|
|
70
72
|
export * from "./NotLength";
|
|
71
|
-
export * from "./IsIndexable";
|
|
72
73
|
export * from "./HasCharacters";
|
|
73
|
-
export * from "./
|
|
74
|
+
export * from "./HasOtherCharacters";
|
|
74
75
|
export * from "./IsReadonlyObject";
|
|
75
|
-
export * from "./
|
|
76
|
+
export * from "./AreSameLength";
|
|
76
77
|
export * from "./HasWideValues";
|
|
78
|
+
export * from "./HasProp";
|
|
79
|
+
export * from "./Validate";
|
|
80
|
+
export * from "./HasSameKeys";
|
|
81
|
+
export * from "./HasIndex";
|
|
82
|
+
export * from "./IsWideUnion";
|
|
83
|
+
export * from "./IsLiteralUnion";
|
|
84
|
+
export * from "./IsNonLiteralUnion";
|
|
85
|
+
export * from "./HasRequiredProps";
|
|
86
|
+
export * from "./IsValidDotPath";
|
|
87
|
+
export * from "./IsHexadecimal";
|
|
88
|
+
export * from "./IsFloat";
|
|
89
|
+
export * from "./IsInteger";
|
|
77
90
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export * from "./AllExtend.js";
|
|
2
2
|
export * from "./AllLiteral.js";
|
|
3
|
+
export * from "./AreSameType.js";
|
|
4
|
+
export * from "./AllStringLiterals.js";
|
|
5
|
+
export * from "./AllNumericLiterals.js";
|
|
3
6
|
export * from "./Contains.js";
|
|
4
7
|
export * from "./ContainsAll.js";
|
|
5
8
|
export * from "./DoesExtend.js";
|
|
9
|
+
export * from "./Extends.js";
|
|
6
10
|
export * from "./DoesNotExtend.js";
|
|
7
11
|
export * from "./ExtendsAll.js";
|
|
8
12
|
export * from "./ExtendsSome.js";
|
|
@@ -10,7 +14,6 @@ export * from "./ExtendsNone.js";
|
|
|
10
14
|
export * from "./EndsWith.js";
|
|
11
15
|
export * from "./SomeEqual.js";
|
|
12
16
|
export * from "./SomeExtend.js";
|
|
13
|
-
export * from "./NotCharacters.js";
|
|
14
17
|
export * from "./NarrowlyContains.js";
|
|
15
18
|
export * from "./Returns.js";
|
|
16
19
|
export * from "./ReturnsTrue.js";
|
|
@@ -21,21 +24,22 @@ export * from "./HasParameters.js";
|
|
|
21
24
|
export * from "./HasUnionType.js";
|
|
22
25
|
export * from "./HasSameValues.js";
|
|
23
26
|
export * from "./IsNegativeNumber.js";
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
27
|
+
export * from "./IsVueRef.js";
|
|
28
|
+
export * from "./IsNarrowingFn.js";
|
|
29
|
+
export * from "./IsLiteralFn.js";
|
|
30
|
+
export * from "./IsValidIndex.js";
|
|
26
31
|
export * from "./IsObjectLiteral.js";
|
|
27
32
|
export * from "./IsTuple.js";
|
|
33
|
+
export * from "./IsNothing.js";
|
|
28
34
|
export * from "./IsGreaterThan.js";
|
|
29
35
|
export * from "./IsDotPath.js";
|
|
30
36
|
export * from "./IsSingularNoun.js";
|
|
31
|
-
export * from "./IsValidDotPath.js";
|
|
32
37
|
export * from "./IsAllLowercase.js";
|
|
33
38
|
export * from "./IsAllCaps.js";
|
|
34
|
-
export * from "./
|
|
39
|
+
export * from "./IsSingleChar.js";
|
|
35
40
|
export * from "./IsDefined.js";
|
|
36
41
|
export * from "./IsOptionalScalar.js";
|
|
37
42
|
export * from "./IsObject.js";
|
|
38
|
-
export * from "./Includes.js";
|
|
39
43
|
export * from "./IsLength.js";
|
|
40
44
|
export * from "./IsScalar.js";
|
|
41
45
|
export * from "./IsEmptyObject.js";
|
|
@@ -46,14 +50,12 @@ export * from "./IsBoolean.js";
|
|
|
46
50
|
export * from "./IsTrue.js";
|
|
47
51
|
export * from "./IsFalse.js";
|
|
48
52
|
export * from "./IsFalsy.js";
|
|
49
|
-
export * from "./IsMaybeTrue.js";
|
|
50
53
|
export * from "./IsStringLiteral.js";
|
|
51
54
|
export * from "./IsNumericLiteral.js";
|
|
52
55
|
export * from "./IsBooleanLiteral.js";
|
|
53
56
|
export * from "./IsEqual.js";
|
|
54
57
|
export * from "./IsUnion.js";
|
|
55
58
|
export * from "./IsArray.js";
|
|
56
|
-
export * from "./IsError.js";
|
|
57
59
|
export * from "./IsReadonlyArray.js";
|
|
58
60
|
export * from "./IsNull.js";
|
|
59
61
|
export * from "./IsSymbol.js";
|
|
@@ -68,9 +70,20 @@ export * from "./IsFunction.js";
|
|
|
68
70
|
export * from "./IsFnWithParams.js";
|
|
69
71
|
export * from "./IsContainer.js";
|
|
70
72
|
export * from "./NotLength.js";
|
|
71
|
-
export * from "./IsIndexable.js";
|
|
72
73
|
export * from "./HasCharacters.js";
|
|
73
|
-
export * from "./
|
|
74
|
+
export * from "./HasOtherCharacters.js";
|
|
74
75
|
export * from "./IsReadonlyObject.js";
|
|
75
|
-
export * from "./
|
|
76
|
+
export * from "./AreSameLength.js";
|
|
76
77
|
export * from "./HasWideValues.js";
|
|
78
|
+
export * from "./HasProp.js";
|
|
79
|
+
export * from "./Validate.js";
|
|
80
|
+
export * from "./HasSameKeys.js";
|
|
81
|
+
export * from "./HasIndex.js";
|
|
82
|
+
export * from "./IsWideUnion.js";
|
|
83
|
+
export * from "./IsLiteralUnion.js";
|
|
84
|
+
export * from "./IsNonLiteralUnion.js";
|
|
85
|
+
export * from "./HasRequiredProps.js";
|
|
86
|
+
export * from "./IsValidDotPath.js";
|
|
87
|
+
export * from "./IsHexadecimal.js";
|
|
88
|
+
export * from "./IsFloat.js";
|
|
89
|
+
export * from "./IsInteger.js";
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Define a class constructor; allowing strong typing for constructor's parameters
|
|
3
3
|
* and the returned class structure.
|
|
4
4
|
*/
|
|
5
|
-
export type Constructor<Ctor extends unknown[], Klass> = new (...props: Ctor) => Klass;
|
|
5
|
+
export type Constructor<Ctor extends readonly unknown[] = readonly unknown[], Klass = any> = new (...props: Ctor) => Klass;
|
|
6
6
|
//# sourceMappingURL=Constructor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constructor.d.ts","sourceRoot":"","sources":["../../../src/types/classes/Constructor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Constructor.d.ts","sourceRoot":"","sources":["../../../src/types/classes/Constructor.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,MAAM,WAAW,CACrB,IAAI,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,OAAO,EAAE,EACpD,KAAK,GAAG,GAAG,IACT,KAAK,GAAG,KAAK,EAAE,IAAI,KAAK,KAAK,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **KlassMeta**`<T>`
|
|
3
|
+
*
|
|
4
|
+
* Given a class constructor `CTor`, this will return a tuple:
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* {
|
|
8
|
+
* args: ConstructorParams<CTor>,
|
|
9
|
+
* instance: InstanceType<CTor>,
|
|
10
|
+
* class_decorators: ClassDecoratorContext<CTor>,
|
|
11
|
+
* field_decorators: ClassFieldDecoratorContext<CTor>
|
|
12
|
+
* }
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export type KlassMeta<CTor extends abstract new (...args: any[]) => any> = CTor extends abstract new (...args: infer P) => infer R ? {
|
|
16
|
+
params: P;
|
|
17
|
+
instance: R;
|
|
18
|
+
class_decorators: ClassDecoratorContext<CTor>;
|
|
19
|
+
field_decorators: ClassFieldDecoratorContext<CTor>;
|
|
20
|
+
} : never;
|
|
21
|
+
//# sourceMappingURL=KlassMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KlassMeta.d.ts","sourceRoot":"","sources":["../../../src/types/classes/KlassMeta.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,SAAS,CACnB,IAAI,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAC/C,IAAI,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GACvD;IACE,MAAM,EAAE,CAAC,CAAC;IACV,QAAQ,EAAE,CAAC,CAAC;IACZ,gBAAgB,EAAE,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC9C,gBAAgB,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAC;CACtD,GACC,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Container, ExplicitlyEmptyObject, Dictionary, Keys } from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* **EmptyContainer**`<T>`
|
|
4
|
+
*
|
|
5
|
+
* Boolean utility which tests whether a container is "empty"
|
|
6
|
+
* (meaning it has no keys).
|
|
7
|
+
*
|
|
8
|
+
* **Related:** `NonEmptyContainer`
|
|
9
|
+
*/
|
|
10
|
+
export type IsEmptyContainer<T extends Container> = T extends Dictionary ? T extends ExplicitlyEmptyObject ? true : Keys<T>["length"] extends 0 ? true : false : Keys<T>["length"] extends 0 ? true : false;
|
|
11
|
+
//# sourceMappingURL=IsEmptyContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IsEmptyContainer.d.ts","sourceRoot":"","sources":["../../../src/types/containers/IsEmptyContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAK,qBAAqB,EAAG,UAAU,EAAG,IAAI,EAAE,iBAAwB;AAE1F;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,SAAS,IACjB,CAAC,SAAS,UAAU,GACpB,CAAC,SAAS,qBAAqB,GAC7B,IAAI,GACJ,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GACzB,IAAI,GACJ,KAAK,GACT,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GAC3B,IAAI,GACJ,KAAK,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IsEmptyContainer } from "./IsEmptyContainer";
|
|
2
|
+
import { Container } from "../index";
|
|
3
|
+
/**
|
|
4
|
+
* **NonEmptyContainer**`<T>`
|
|
5
|
+
*
|
|
6
|
+
* Boolean utility which tests whether a container has keys
|
|
7
|
+
* (aka, is not "empty")
|
|
8
|
+
*
|
|
9
|
+
* **Related:** `EmptyContainer`
|
|
10
|
+
*/
|
|
11
|
+
export type IsNonEmptyContainer<T extends Container> = IsEmptyContainer<T> extends true ? false : true;
|
|
12
|
+
//# sourceMappingURL=IsNonEmptyContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IsNonEmptyContainer.d.ts","sourceRoot":"","sources":["../../../src/types/containers/IsNonEmptyContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,iBAAwB;AAE5C;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,CAC7B,CAAC,SAAS,SAAS,IACjB,gBAAgB,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MARKED } from "../../constants/index";
|
|
2
|
+
import { DoesExtend, UnionToTuple, First, AfterFirst, NumericKeys, RemoveIndexKeys, Container, EmptyObject, Dictionary, ObjectKey, Tuple } from "../index";
|
|
3
|
+
type Marked = typeof MARKED;
|
|
4
|
+
type _Keys<T extends object> = UnionToTuple<keyof RemoveIndexKeys<T>> extends readonly ObjectKey[] ? UnionToTuple<keyof RemoveIndexKeys<T>> : never;
|
|
5
|
+
type Process<T extends Container, TKeys extends readonly PropertyKey[], TResults extends Container = T extends readonly unknown[] ? [] : EmptyObject> = [] extends TKeys ? TResults : First<TKeys> extends keyof T ? DoesExtend<T[First<TKeys>], Marked> extends true ? Process<T, AfterFirst<TKeys>, TResults> : Process<T, AfterFirst<TKeys>, First<TKeys> extends keyof T ? TResults extends readonly unknown[] ? [...TResults, T[First<TKeys>]] : TResults extends Dictionary ? TResults & Record<First<TKeys>, T[First<TKeys>]> : never : never> : never;
|
|
6
|
+
/**
|
|
7
|
+
* **RemoveMarked**`<T>`
|
|
8
|
+
*
|
|
9
|
+
* Removes all values in `T` which extends `Constant<"Marked">`
|
|
10
|
+
*/
|
|
11
|
+
export type RemoveMarked<T extends Container> = Process<T, T extends Tuple ? NumericKeys<T> : _Keys<T>>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=RemoveMarked.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveMarked.d.ts","sourceRoot":"","sources":["../../../src/types/containers/RemoveMarked.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,8BAA4B;AAC7C,OAAO,EACL,UAAU,EACV,YAAY,EACZ,KAAK,EACL,UAAU,EACV,WAAW,EACX,eAAe,EACf,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EACrD,iBAAwB;AAGzB,KAAK,MAAM,GAAG,OAAO,MAAM,CAAC;AAE5B,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,SACrE,SAAS,SAAS,EAAE,GAChB,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,GACtC,KAAK,CAAC;AAEV,KAAK,OAAO,CACV,CAAC,SAAS,SAAS,EACnB,KAAK,SAAS,SAAS,WAAW,EAAE,EACpC,QAAQ,SAAS,SAAS,GAAG,CAAC,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,GAAG,WAAW,IAC1E,EAAE,SAAS,KAAK,GAClB,QAAQ,GACR,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GAC1B,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,SAAS,IAAI,GAC9C,OAAO,CAAC,CAAC,EAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,GACtC,OAAO,CACL,CAAC,EACD,UAAU,CAAC,KAAK,CAAC,EACjB,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GACxB,QAAQ,SAAS,SAAS,OAAO,EAAE,GACjC,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAC9B,QAAQ,SAAS,UAAU,GACzB,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAChD,KAAK,GACT,KAAK,CACV,GAEH,KAAK,CAAA;AAET;;;;GAIG;AACH,MAAM,MAAM,YAAY,CACtB,CAAC,SAAS,SAAS,IACjB,OAAO,CACT,CAAC,EACD,CAAC,SAAS,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC,GAAI,KAAK,CAAC,CAAC,CAAC,CAC7C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Container, EmptyObject, Dictionary, ObjectKey } from "../base-types";
|
|
2
|
+
import { IfNever } from "../boolean-logic/branching/IfNever";
|
|
3
|
+
import { RemoveIndexKeys } from "../dictionary/RemoveIndexKeys";
|
|
4
|
+
import { NumericKeys } from "../lists";
|
|
5
|
+
import { AfterFirst } from "../lists/AfterFirst";
|
|
6
|
+
import { First } from "../lists/First";
|
|
7
|
+
import { UnionToTuple } from "../type-conversion/UnionToTuple";
|
|
8
|
+
type _Keys<T extends object> = UnionToTuple<keyof RemoveIndexKeys<T>> extends readonly ObjectKey[] ? UnionToTuple<keyof RemoveIndexKeys<T>> : never;
|
|
9
|
+
type ProcessObj<T extends Container, TKeys extends readonly PropertyKey[], TResults extends Dictionary = EmptyObject> = [] extends TKeys ? TResults : First<TKeys> extends keyof T ? IfNever<T[First<TKeys>], ProcessObj<T, AfterFirst<TKeys>, TResults>, ProcessObj<T, AfterFirst<TKeys>, First<TKeys> extends keyof T ? TResults extends readonly unknown[] ? [...TResults, T[First<TKeys>]] : TResults extends Dictionary ? TResults & Record<First<TKeys>, T[First<TKeys>]> : never : never>> : never;
|
|
10
|
+
type ProcessTuple<T extends Container, TKeys extends readonly number[], TResults extends readonly unknown[] = []> = [] extends TKeys ? TResults : First<TKeys> extends keyof T ? IfNever<T[First<TKeys>], ProcessTuple<T, AfterFirst<TKeys>, TResults>, ProcessTuple<T, AfterFirst<TKeys>, First<TKeys> extends keyof T ? [...TResults, T[First<TKeys>]] : never>> : never;
|
|
11
|
+
/**
|
|
12
|
+
* **RemoveNever**`<T>`
|
|
13
|
+
*
|
|
14
|
+
* Removes all of the elements from `T` which are typed as _never_.
|
|
15
|
+
*/
|
|
16
|
+
export type RemoveNever<T extends Container> = T extends readonly unknown[] ? ProcessTuple<T, NumericKeys<T>> : T extends Dictionary ? ProcessObj<T, _Keys<T>> : never;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=RemoveNever.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveNever.d.ts","sourceRoot":"","sources":["../../../src/types/containers/RemoveNever.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,SACrE,SAAS,SAAS,EAAE,GAChB,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,GACtC,KAAK,CAAC;AAEV,KAAK,UAAU,CACb,CAAC,SAAS,SAAS,EACnB,KAAK,SAAS,SAAS,WAAW,EAAE,EACpC,QAAQ,SAAS,UAAU,GAAG,WAAW,IACvC,EAAE,SAAS,KAAK,GAClB,QAAQ,GACR,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GAC1B,OAAO,CACL,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EACf,UAAU,CAAC,CAAC,EAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,EACzC,UAAU,CACR,CAAC,EACD,UAAU,CAAC,KAAK,CAAC,EACjB,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GACxB,QAAQ,SAAS,SAAS,OAAO,EAAE,GACjC,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAC9B,QAAQ,SAAS,UAAU,GACzB,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAChD,KAAK,GACT,KAAK,CACV,CACF,GACD,KAAK,CAAA;AAET,KAAK,YAAY,CACf,CAAC,SAAS,SAAS,EACnB,KAAK,SAAS,SAAS,MAAM,EAAE,EAC/B,QAAQ,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACtC,EAAE,SAAS,KAAK,GAClB,QAAQ,GACR,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GAC1B,OAAO,CACL,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EACf,YAAY,CAAC,CAAC,EAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,EAC3C,YAAY,CACV,CAAC,EACD,UAAU,CAAC,KAAK,CAAC,EACjB,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GACxB,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAC9B,KAAK,CACV,CACF,GACD,KAAK,CAAA;AAET;;;;GAIG;AACH,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,SAAS,IACjB,CAAC,SAAS,SAAS,OAAO,EAAE,GAC9B,YAAY,CAAC,CAAC,EAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAC9B,CAAC,SAAS,UAAU,GAClB,UAAU,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,GACvB,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Container, EmptyObject, Dictionary, ObjectKey, Tuple } from "../base-types";
|
|
2
|
+
import { IsUndefined } from "../boolean-logic/operators/IsUndefined";
|
|
3
|
+
import { RemoveIndexKeys } from "../dictionary/RemoveIndexKeys";
|
|
4
|
+
import { NumericKeys } from "../lists";
|
|
5
|
+
import { AfterFirst } from "../lists/AfterFirst";
|
|
6
|
+
import { First } from "../lists/First";
|
|
7
|
+
import { UnionToTuple } from "../type-conversion/UnionToTuple";
|
|
8
|
+
type _Keys<T extends object> = UnionToTuple<keyof RemoveIndexKeys<T>> extends readonly ObjectKey[] ? UnionToTuple<keyof RemoveIndexKeys<T>> : never;
|
|
9
|
+
type Process<T extends Container, TKeys extends readonly PropertyKey[], TResults extends Container = T extends readonly unknown[] ? [] : EmptyObject> = [] extends TKeys ? TResults : First<TKeys> extends keyof T ? IsUndefined<T[First<TKeys>]> extends true ? Process<T, AfterFirst<TKeys>, TResults> : Process<T, AfterFirst<TKeys>, First<TKeys> extends keyof T ? TResults extends readonly unknown[] ? [...TResults, T[First<TKeys>]] : TResults extends Dictionary ? TResults & Record<First<TKeys>, T[First<TKeys>]> : never : never> : never;
|
|
10
|
+
/**
|
|
11
|
+
* **RemoveUndefined**`<T>`
|
|
12
|
+
*
|
|
13
|
+
* Removes all the elements from `T` which are typed as _undefined_.
|
|
14
|
+
*/
|
|
15
|
+
export type RemoveUndefined<T extends Container> = Process<T, T extends Tuple ? NumericKeys<T> : _Keys<T>>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=RemoveUndefined.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveUndefined.d.ts","sourceRoot":"","sources":["../../../src/types/containers/RemoveUndefined.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,SACrE,SAAS,SAAS,EAAE,GAChB,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,GACtC,KAAK,CAAC;AAEV,KAAK,OAAO,CACV,CAAC,SAAS,SAAS,EACnB,KAAK,SAAS,SAAS,WAAW,EAAE,EACpC,QAAQ,SAAS,SAAS,GAAG,CAAC,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,GAAG,WAAW,IAC1E,EAAE,SAAS,KAAK,GAClB,QAAQ,GACR,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GAExB,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,IAAI,GACvC,OAAO,CAAC,CAAC,EAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,GACtC,OAAO,CACP,CAAC,EACD,UAAU,CAAC,KAAK,CAAC,EACjB,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,CAAC,GACxB,QAAQ,SAAS,SAAS,OAAO,EAAE,GACjC,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAC9B,QAAQ,SAAS,UAAU,GACzB,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAChD,KAAK,GACT,KAAK,CACV,GACH,KAAK,CAAA;AAGT;;;;GAIG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,SAAS,IACjB,OAAO,CACT,CAAC,EACD,CAAC,SAAS,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC,GAAI,KAAK,CAAC,CAAC,CAAC,CAC7C,CAAA"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./IsEmptyContainer";
|
|
2
|
+
export * from "./IsNonEmptyContainer";
|
|
3
|
+
export * from "./RemoveNever";
|
|
4
|
+
export * from "./RemoveMarked";
|
|
5
|
+
export * from "./RemoveUndefined";
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./IsEmptyContainer.js";
|
|
2
|
+
export * from "./IsNonEmptyContainer.js";
|
|
3
|
+
export * from "./RemoveNever.js";
|
|
4
|
+
export * from "./RemoveMarked.js";
|
|
5
|
+
export * from "./RemoveUndefined.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyObject,
|
|
1
|
+
import type { AnyObject, If, Contains, Narrowable, SimplifyObject, Concat, ToString, Keys, ErrorCondition, AsRecord } from "../index";
|
|
2
2
|
/**
|
|
3
3
|
* **AddKeyValue**`<TObj,TKey,TVal>`
|
|
4
4
|
*
|
|
@@ -9,5 +9,5 @@ import type { AnyObject, IfContains, Narrowable, SimplifyObject, Concat, ToStrin
|
|
|
9
9
|
* in an **ErrorCondition< "duplicate-key" >**. Use the `UpsertKeyValue` utility if
|
|
10
10
|
* you want this condition to result in an overwrite.
|
|
11
11
|
*/
|
|
12
|
-
export type AddKeyValue<TObj extends AnyObject, K extends PropertyKey, V extends Narrowable> =
|
|
12
|
+
export type AddKeyValue<TObj extends AnyObject, K extends PropertyKey, V extends Narrowable> = If<Contains<Keys<AsRecord<TObj>>, K>, ErrorCondition<"duplicate-key", Concat<["The object passed into AddKeyValue already has the key '", ToString<K>, "'. This is not allowed. If you intended this then consider using UpsertKeyValue instead."]>>, SimplifyObject<TObj & Record<K, V>>>;
|
|
13
13
|
//# sourceMappingURL=AddKeyValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddKeyValue.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/AddKeyValue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"AddKeyValue.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/AddKeyValue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,EAAE,EACF,QAAQ,EACR,UAAU,EACV,cAAc,EACd,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,cAAc,EACd,QAAQ,EACT,iBAAwB;AAEzB;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,CACrB,IAAI,SAAS,SAAS,EACtB,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,UAAU,IAClB,EAAE,CACJ,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EACjC,cAAc,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,0DAA0D,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,0FAA0F,CAAC,CAAC,CAAC,EAC9M,cAAc,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CACpC,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Unique } from "../sets/Unique";
|
|
3
|
-
import { ExplicitKeys } from "./ExplicitKeys";
|
|
1
|
+
import { Dictionary, Unique, IsObjectLiteral, Keys } from "../index";
|
|
4
2
|
/**
|
|
5
3
|
* **CombinedKeys**`<A,B>`
|
|
6
4
|
*
|
|
@@ -12,8 +10,8 @@ import { ExplicitKeys } from "./ExplicitKeys";
|
|
|
12
10
|
* type T = CombinedKeys<{foo: 1; bar: 2; baz: 3}, {bar: 4; baz: 5; bax: 6}>
|
|
13
11
|
* ```
|
|
14
12
|
*/
|
|
15
|
-
export type CombinedKeys<A extends
|
|
16
|
-
...
|
|
17
|
-
...
|
|
13
|
+
export type CombinedKeys<A extends Dictionary, B extends Dictionary> = Unique<[
|
|
14
|
+
...(IsObjectLiteral<A> extends true ? Keys<A> : []),
|
|
15
|
+
...(IsObjectLiteral<B> extends true ? Keys<B> : [])
|
|
18
16
|
]>;
|
|
19
17
|
//# sourceMappingURL=CombinedKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CombinedKeys.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/CombinedKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CombinedKeys.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/CombinedKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,iBAAwB;AAE5E;;;;;;;;;;GAUG;AACH,MAAM,MAAM,YAAY,CACtB,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,UAAU,IAClB,MAAM,CAAC;IACT,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACnD,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EmptyObject } from "../base-types";
|
|
2
|
+
import { Dictionary } from "../base-types/Dictionary";
|
|
3
|
+
import { AfterFirst, First } from "../lists";
|
|
4
|
+
import { ExpandRecursively } from "../literals";
|
|
5
|
+
type Process<TKeys extends readonly string[], TValue, TObj extends Dictionary = EmptyObject> = [] extends TKeys ? TObj : Process<AfterFirst<TKeys>, TValue, TObj & Record<First<TKeys>, TValue>>;
|
|
6
|
+
/**
|
|
7
|
+
* **CreateKV**`<TKeys,[TValue]>`
|
|
8
|
+
*
|
|
9
|
+
* Creates a key value pair with the keys passed in
|
|
10
|
+
* as `TKeys` and with all properties set to the value
|
|
11
|
+
* of `TValue` (which defaults to `unknown`)
|
|
12
|
+
*/
|
|
13
|
+
export type CreateKV<TKeys extends readonly string[], TValue = unknown> = ExpandRecursively<Process<TKeys, TValue>>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=CreateKV.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateKV.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/CreateKV.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,OAAO,CACZ,KAAK,SAAS,SAAS,MAAM,EAAE,EAC/B,MAAM,EACN,IAAI,SAAS,UAAU,GAAG,WAAW,IAClC,EAAE,SAAS,KAAK,GACjB,IAAI,GACJ,OAAO,CACL,UAAU,CAAC,KAAK,CAAC,EACjB,MAAM,EACN,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAC,MAAM,CAAC,CACnC,CAAC;AAEJ;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,CAClB,KAAK,SAAS,SAAS,MAAM,EAAE,EAC/B,MAAM,GAAG,OAAO,IACd,iBAAiB,CACnB,OAAO,CAAC,KAAK,EAAC,MAAM,CAAC,CACtB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ObjectKey } from "../base-types/ObjectKey";
|
|
2
|
+
import { AfterFirst, First } from "../lists";
|
|
3
|
+
import { ExpandRecursively } from "../literals/ExpandRecursively";
|
|
4
|
+
import { AsString } from "../type-conversion/AsString";
|
|
5
|
+
type Process<TPayload extends readonly Record<ObjectKey, unknown>[], TKeyProp extends string, TValProp extends string, TOutput extends Record<ObjectKey, unknown> = NonNullable<unknown>> = [] extends TPayload ? TOutput : TKeyProp extends keyof First<TPayload> ? TValProp extends keyof First<TPayload> ? Process<AfterFirst<TPayload>, TKeyProp, TValProp, First<TPayload>[TKeyProp] extends ObjectKey ? TOutput & Record<First<TPayload>[TKeyProp], First<TPayload>[TValProp]> : TOutput & Record<AsString<First<TPayload>[TKeyProp]>, First<TPayload>[TValProp]>> : Process<AfterFirst<TPayload>, TKeyProp, TValProp, TOutput> : Process<AfterFirst<TPayload>, TKeyProp, TValProp, TOutput>;
|
|
6
|
+
/**
|
|
7
|
+
* **CreateLookup**
|
|
8
|
+
*
|
|
9
|
+
* Creates a dictionary lookup from a Tuple of similarly typed objects.
|
|
10
|
+
*/
|
|
11
|
+
export type CreateLookup<TPayload extends readonly Record<ObjectKey, unknown>[], TKeyProp extends string, TValProp extends string> = ExpandRecursively<Process<TPayload, TKeyProp, TValProp>>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CreateLookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLookup.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/CreateLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,KAAK,OAAO,CACV,QAAQ,SAAS,SAAS,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,EACtD,QAAQ,SAAS,MAAM,EACvB,QAAQ,SAAS,MAAM,EACvB,OAAO,SAAS,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,IAC/D,EAAE,SAAS,QAAQ,GACrB,OAAO,GACP,QAAQ,SAAS,MAAM,KAAK,CAAC,QAAQ,CAAC,GAClC,QAAQ,SAAS,MAAM,KAAK,CAAC,QAAQ,CAAC,GACpC,OAAO,CACL,UAAU,CAAC,QAAQ,CAAC,EACpB,QAAQ,EACR,QAAQ,EACR,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,SAAS,SAAS,GACzC,OAAO,GAAG,MAAM,CACZ,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,EACzB,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAC1B,GACH,OAAO,GAAG,MAAM,CACd,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,EACnC,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAC1B,CACJ,GACD,OAAO,CACL,UAAU,CAAC,QAAQ,CAAC,EACpB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,GACL,OAAO,CACL,UAAU,CAAC,QAAQ,CAAC,EACpB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AAKN;;;;GAIG;AACH,MAAM,MAAM,YAAY,CACtB,QAAQ,SAAS,SAAS,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,EACtD,QAAQ,SAAS,MAAM,EACvB,QAAQ,SAAS,MAAM,IACrB,iBAAiB,CACrB,OAAO,CACL,QAAQ,EACR,QAAQ,EACR,QAAQ,CACT,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Dictionary } from "../base-types";
|
|
2
|
+
import { ExpandRecursively } from "../literals";
|
|
3
|
+
import { CreateKV } from "./CreateKV";
|
|
4
|
+
type BuildObj<T extends readonly string[] | Dictionary | [Dictionary], TType> = T extends Dictionary ? T : T extends [Dictionary] ? T[0] : T extends string[] ? CreateKV<T, TType> : never;
|
|
5
|
+
/**
|
|
6
|
+
* **EnsureKeys**`<TObj,TKeys,[TType]>`
|
|
7
|
+
*
|
|
8
|
+
* Receives an object `TObj` and a specifier `TKeys` which
|
|
9
|
+
* ensures that the specified _keys_ exist on the object.
|
|
10
|
+
*
|
|
11
|
+
* The _keys_ specifier may be either an array of keys or a dictionary of key/value pairs.
|
|
12
|
+
*
|
|
13
|
+
* - when _keys_ is a _dictionary_ then both the key and _type_ of that key
|
|
14
|
+
* are inferred.
|
|
15
|
+
* - otherwise, the optional `TType` (set to `unknown` by default) is used.
|
|
16
|
+
*/
|
|
17
|
+
export type EnsureKeys<TObj extends object, TKeys extends readonly string[] | Dictionary | [Dictionary], TType = unknown> = ExpandRecursively<TObj & BuildObj<TKeys, TType>>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=EnsureKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnsureKeys.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/EnsureKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,KAAK,QAAQ,CACX,CAAC,SAAS,SAAS,MAAM,EAAE,GAAG,UAAU,GAAG,CAAC,UAAU,CAAC,EACvD,KAAK,IACH,CAAC,SAAS,UAAU,GACtB,CAAC,GACD,CAAC,SAAS,CAAC,UAAU,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC,GACJ,CAAC,SAAS,MAAM,EAAE,GAClB,QAAQ,CAAC,CAAC,EAAC,KAAK,CAAC,GACjB,KAAK,CAAC;AAGR;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,UAAU,CACpB,IAAI,SAAS,MAAM,EACnB,KAAK,SAAS,SAAS,MAAM,EAAE,GAAG,UAAU,GAAG,CAAC,UAAU,CAAC,EAC3D,KAAK,GAAG,OAAO,IACb,iBAAiB,CACnB,IAAI,GAAG,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAC9B,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsVueRef } from "../index";
|
|
2
2
|
/**
|
|
3
3
|
* **FromMaybeRef**`<T>`
|
|
4
4
|
*
|
|
5
5
|
* Dereferences the `value` property on VueJS `Ref<T>`'s otherwise
|
|
6
6
|
* returns `T` as is.
|
|
7
7
|
*/
|
|
8
|
-
export type FromMaybeRef<T> =
|
|
8
|
+
export type FromMaybeRef<T> = IsVueRef<T> extends true ? "value" extends keyof T ? T["value"] : never : T;
|
|
9
9
|
//# sourceMappingURL=FromMaybeRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FromMaybeRef.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/FromMaybeRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FromMaybeRef.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/FromMaybeRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAwB;AAE3C;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAClD,OAAO,SAAS,MAAM,CAAC,GACrB,CAAC,CAAC,OAAO,CAAC,GACV,KAAK,GACP,CAAC,CAAC"}
|
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
type ResolveDefVal<TValue, TDefVal> = IfUndefined<TValue, TDefVal extends NoDefaultValue ? undefined : TDefVal, TValue>;
|
|
4
|
-
type ResolveHandler<TValue, THandler> = IfExtends<TValue, ErrorCondition<any>, THandler extends NotDefined ? TValue : THandler extends ErrorConditionHandler ? ReturnType<THandler> : THandler, TValue>;
|
|
1
|
+
import { IsNever } from "../index";
|
|
2
|
+
type _Get<T, K, Acc = never> = K extends `${infer A}.${infer B}` ? A extends keyof T ? _Get<T[A], B, _Get<T[A], B>> : Acc : K extends keyof T ? _Get<T[K], K, T[K]> : Acc;
|
|
5
3
|
/**
|
|
6
|
-
* **Get**`<
|
|
7
|
-
*
|
|
8
|
-
* Get the type of a property of an object:
|
|
9
|
-
* ```ts
|
|
10
|
-
* type Car = {
|
|
11
|
-
* make: "Chevy",
|
|
12
|
-
* model: "Malibu",
|
|
13
|
-
* colors: [ "red", "blue" ]
|
|
14
|
-
* }
|
|
15
|
-
* // "red"
|
|
16
|
-
* type T = Get<Car, "colors.0">;
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* - if a _valid_ dotpath leads to a value which is optionally
|
|
20
|
-
* undefined, you may specify a _default value_ with `TDefVal`
|
|
21
|
-
* - if you want to resolve an _invalid_ dotpath to something
|
|
22
|
-
* besides the default `ErrorCondition<"invalid-path">`
|
|
23
|
-
* you can set `THandler` to the type you'd like it to become.
|
|
4
|
+
* **Get**`<TContainer,TDotPath,[TDefVal]>`
|
|
24
5
|
*/
|
|
25
|
-
export type Get<TContainer, TDotPath
|
|
26
|
-
library: "Get<TContainer,TDotPath>";
|
|
27
|
-
}>, THandler>, ResolveHandler<ResolveDefVal<ValueAtDotPath<TContainer, ToString<TDotPath>>, TDefVal>, THandler>>;
|
|
6
|
+
export type Get<TContainer, TDotPath, TDefVal = undefined> = IsNever<_Get<TContainer, TDotPath>> extends true ? TDefVal : _Get<TContainer, TDotPath> extends undefined ? TDefVal : _Get<TContainer, TDotPath>;
|
|
28
7
|
export {};
|
|
29
8
|
//# sourceMappingURL=Get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Get.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/Get.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Get.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/Get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,iBAAwB;AAE1C,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,GAAC,KAAK,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAC5D,CAAC,SAAS,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,GACtD,CAAC,SAAS,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,GAAG,CACb,UAAU,EACV,QAAQ,EACR,OAAO,GAAG,SAAS,IACjB,OAAO,CAAC,IAAI,CAAC,UAAU,EAAC,QAAQ,CAAC,CAAC,SAAS,IAAI,GAC/C,OAAO,GACP,IAAI,CAAC,UAAU,EAAC,QAAQ,CAAC,SAAS,SAAS,GACzC,OAAO,GACP,IAAI,CAAC,UAAU,EAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Container, ObjectKey, UnionToTuple, NumericKeys, RemoveIndexKeys, IsVueRef, IsTuple, IsObjectLiteral } from "../index";
|
|
2
|
+
type _Keys<T extends object> = UnionToTuple<keyof RemoveIndexKeys<T>>;
|
|
3
|
+
type GetKeys<T extends object> = IsVueRef<T> extends true ? ["value"] : _Keys<T> extends [symbol] ? ObjectKey[] : _Keys<T> extends [] ? UnionToTuple<keyof T> extends [ObjectKey] ? (keyof T)[] : ObjectKey[] : _Keys<T>;
|
|
4
|
+
type ProcessObj<TContainer extends object> = GetKeys<TContainer>;
|
|
5
|
+
type ProcessTuple<TContainer extends readonly unknown[]> = NumericKeys<TContainer> extends readonly number[] ? NumericKeys<TContainer> : never;
|
|
6
|
+
type Process<TContainer extends Container> = TContainer extends readonly unknown[] ? IsTuple<TContainer> extends true ? ProcessTuple<TContainer> : number[] : TContainer extends object ? [IsObjectLiteral<RemoveIndexKeys<TContainer>>] extends [true] ? ProcessObj<RemoveIndexKeys<TContainer>> extends readonly (keyof TContainer)[] ? ProcessObj<RemoveIndexKeys<TContainer>> : ProcessObj<RemoveIndexKeys<TContainer>> : ObjectKey[] : never[];
|
|
2
7
|
/**
|
|
3
8
|
* **Keys**`<TContainer>`
|
|
4
9
|
*
|
|
@@ -15,5 +20,6 @@ import { IfNever, ExplicitKeys, Container } from "../index";
|
|
|
15
20
|
*
|
|
16
21
|
* **Related:** `ValidKey`
|
|
17
22
|
*/
|
|
18
|
-
export type Keys<TContainer extends Container> =
|
|
23
|
+
export type Keys<TContainer extends Container> = Process<TContainer>;
|
|
24
|
+
export {};
|
|
19
25
|
//# sourceMappingURL=Keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Keys.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/Keys.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Keys.d.ts","sourceRoot":"","sources":["../../../src/types/dictionary/Keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,OAAO,EACP,eAAe,EAChB,iBAAwB;AAEzB,KAAK,KAAK,CACV,CAAC,SAAS,MAAM,IACZ,YAAY,CAAC,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAG3C,KAAK,OAAO,CACV,CAAC,SAAS,MAAM,IACd,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAC1B,CAAC,OAAO,CAAC,GACT,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,GACvB,SAAS,EAAE,GACX,KAAK,CAAC,CAAC,CAAC,SAAS,EAAE,GACjB,YAAY,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,GACvC,CAAC,MAAM,CAAC,CAAC,EAAE,GACX,SAAS,EAAE,GACb,KAAK,CAAC,CAAC,CAAC,CAAC;AAEf,KAAK,UAAU,CACb,UAAU,SAAS,MAAM,IACvB,OAAO,CAAC,UAAU,CAAC,CAAA;AAEvB,KAAK,YAAY,CACf,UAAU,SAAS,SAAS,OAAO,EAAE,IACnC,WAAW,CAAC,UAAU,CAAC,SAAS,SAAS,MAAM,EAAE,GACnD,WAAW,CAAC,UAAU,CAAC,GACvB,KAAK,CAAC;AAER,KAAK,OAAO,CACZ,UAAU,SAAS,SAAS,IACxB,UAAU,SAAS,SAAS,OAAO,EAAE,GACvC,OAAO,CAAC,UAAU,CAAC,SAAS,IAAI,GAC9B,YAAY,CAAC,UAAU,CAAC,GACxB,MAAM,EAAE,GACV,UAAU,SAAS,MAAM,GACvB,CAAC,eAAe,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,UAAU,CAAC,EAAE,GAC3E,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,GACvC,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,GACzC,SAAS,EAAE,GACb,KAAK,EAAE,CAAC;AAEZ;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,IAAI,CACd,UAAU,SAAS,SAAS,IAC1B,OAAO,CAAC,UAAU,CAAC,CAAC"}
|