inferred-types 0.40.4 → 0.40.6
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/Never.js +1 -1
- package/dist/constants/NotDefined.d.ts +1 -1
- package/dist/constants/NotDefined.d.ts.map +1 -1
- package/dist/constants/NotDefined.js +1 -1
- package/dist/constants/createConstant.d.ts +1 -1
- package/dist/constants/createConstant.d.ts.map +1 -1
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/index.d.ts +3 -3
- package/dist/inferred-types/index.d.ts.map +1 -1
- package/dist/inferred-types/index.js +3 -3
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/boolean-logic/ifArray.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifArray.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.js +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.js +1 -1
- package/dist/runtime/boolean-logic/ifChar.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifChar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifChar.js +1 -1
- package/dist/runtime/boolean-logic/ifContainer.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/boolean-logic/ifFalse.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFalse.js +1 -1
- package/dist/runtime/boolean-logic/ifFunction.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifFunction.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFunction.js +1 -1
- package/dist/runtime/boolean-logic/ifHasKey.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifHasKey.js +1 -1
- package/dist/runtime/boolean-logic/ifLength.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifLength.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.js +1 -1
- package/dist/runtime/boolean-logic/ifNull.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNull.js +1 -1
- package/dist/runtime/boolean-logic/ifNumber.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNumber.js +1 -1
- package/dist/runtime/boolean-logic/ifObject.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifObject.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifObject.js +1 -1
- package/dist/runtime/boolean-logic/ifRef.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifRef.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifRef.js +1 -1
- package/dist/runtime/boolean-logic/ifSameType.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifSameType.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifScalar.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifScalar.js +1 -1
- package/dist/runtime/boolean-logic/ifString.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifString.js +1 -1
- package/dist/runtime/boolean-logic/ifTrue.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifTrue.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifTrue.js +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.js +1 -1
- package/dist/runtime/combinators/and.d.ts +1 -1
- package/dist/runtime/combinators/and.d.ts.map +1 -1
- package/dist/runtime/combinators/filter.d.ts +1 -1
- package/dist/runtime/combinators/filter.d.ts.map +1 -1
- package/dist/runtime/combinators/filter.js +1 -1
- package/dist/runtime/combinators/or.d.ts +1 -1
- package/dist/runtime/combinators/or.d.ts.map +1 -1
- package/dist/runtime/dictionary/entries.d.ts +1 -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 +2 -2
- package/dist/runtime/dictionary/get.d.ts.map +1 -1
- package/dist/runtime/dictionary/get.js +2 -2
- package/dist/runtime/dictionary/keysOf.d.ts +1 -1
- package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
- package/dist/runtime/dictionary/keysOf.js +1 -1
- package/dist/runtime/dictionary/mapValues.d.ts +1 -1
- package/dist/runtime/dictionary/mapValues.d.ts.map +1 -1
- package/dist/runtime/dictionary/mapValues.js +1 -1
- package/dist/runtime/dictionary/omit.d.ts +1 -1
- package/dist/runtime/dictionary/omit.d.ts.map +1 -1
- package/dist/runtime/dictionary/omit.js +1 -1
- package/dist/runtime/dictionary/retain.d.ts +1 -1
- package/dist/runtime/dictionary/retain.d.ts.map +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/strArrayToDict.d.ts +1 -1
- package/dist/runtime/dictionary/strArrayToDict.d.ts.map +1 -1
- package/dist/runtime/dictionary/withKeys.d.ts +3 -3
- package/dist/runtime/dictionary/withKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withKeys.js +1 -1
- package/dist/runtime/dictionary/withValue.d.ts +2 -2
- package/dist/runtime/dictionary/withValue.d.ts.map +1 -1
- package/dist/runtime/dictionary/withValue.js +1 -1
- package/dist/runtime/dictionary/withoutKeys.d.ts +3 -3
- package/dist/runtime/dictionary/withoutKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withoutKeys.js +1 -1
- package/dist/runtime/dictionary/withoutValue.d.ts +1 -1
- package/dist/runtime/dictionary/withoutValue.d.ts.map +1 -1
- package/dist/runtime/errors/TypedError.d.ts +1 -1
- package/dist/runtime/errors/TypedError.d.ts.map +1 -1
- package/dist/runtime/errors/TypedError.js +1 -1
- package/dist/runtime/errors/createErrorCondition.d.ts +1 -1
- package/dist/runtime/errors/createErrorCondition.d.ts.map +1 -1
- package/dist/runtime/functional/left.d.ts +1 -1
- package/dist/runtime/functional/left.d.ts.map +1 -1
- package/dist/runtime/functional/right.d.ts +1 -1
- package/dist/runtime/functional/right.d.ts.map +1 -1
- package/dist/runtime/functions/fnMeta.d.ts +3 -3
- package/dist/runtime/functions/fnMeta.d.ts.map +1 -1
- package/dist/runtime/initializers/addFnToProps.d.ts +1 -1
- package/dist/runtime/initializers/addFnToProps.d.ts.map +1 -1
- package/dist/runtime/initializers/addPropsToFn.d.ts +1 -1
- package/dist/runtime/initializers/addPropsToFn.d.ts.map +1 -1
- package/dist/runtime/initializers/createFnWithProps.d.ts +1 -1
- package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
- package/dist/runtime/initializers/createTypeGuard.d.ts +1 -1
- package/dist/runtime/initializers/createTypeGuard.d.ts.map +1 -1
- package/dist/runtime/initializers/createTypeTuple.d.ts +1 -1
- package/dist/runtime/initializers/createTypeTuple.d.ts.map +1 -1
- package/dist/runtime/initializers/createValidator.d.ts +1 -1
- package/dist/runtime/initializers/createValidator.d.ts.map +1 -1
- package/dist/runtime/initializers/defineObj.d.ts +1 -1
- package/dist/runtime/initializers/defineObj.d.ts.map +1 -1
- package/dist/runtime/initializers/defineTuple.d.ts +1 -1
- package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
- package/dist/runtime/lists/asArray.d.ts +1 -1
- package/dist/runtime/lists/asArray.d.ts.map +1 -1
- package/dist/runtime/lists/createConverter.d.ts +1 -1
- package/dist/runtime/lists/createConverter.d.ts.map +1 -1
- package/dist/runtime/lists/createConverter.js +2 -2
- package/dist/runtime/lists/filter.d.ts +1 -1
- package/dist/runtime/lists/filter.d.ts.map +1 -1
- package/dist/runtime/lists/filter.js +1 -1
- package/dist/runtime/lists/find.d.ts +1 -1
- package/dist/runtime/lists/find.d.ts.map +1 -1
- package/dist/runtime/lists/find.js +1 -1
- 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 +2 -2
- package/dist/runtime/lists/indexOf.d.ts +1 -1
- package/dist/runtime/lists/indexOf.d.ts.map +1 -1
- package/dist/runtime/lists/indexOf.js +2 -2
- 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 +1 -1
- package/dist/runtime/lists/join.d.ts +1 -1
- package/dist/runtime/lists/join.d.ts.map +1 -1
- package/dist/runtime/lists/last.d.ts +1 -1
- package/dist/runtime/lists/last.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.d.ts +1 -1
- package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.js +1 -1
- package/dist/runtime/lists/pop.d.ts +1 -1
- package/dist/runtime/lists/pop.d.ts.map +1 -1
- package/dist/runtime/lists/pop.js +1 -1
- package/dist/runtime/lists/reverse.d.ts +1 -1
- package/dist/runtime/lists/reverse.d.ts.map +1 -1
- package/dist/runtime/lists/shift.d.ts +1 -1
- package/dist/runtime/lists/shift.d.ts.map +1 -1
- package/dist/runtime/lists/slice.d.ts +1 -1
- package/dist/runtime/lists/slice.d.ts.map +1 -1
- package/dist/runtime/lists/unique.d.ts +1 -1
- package/dist/runtime/lists/unique.d.ts.map +1 -1
- package/dist/runtime/lists/unique.js +1 -1
- package/dist/runtime/literals/box.d.ts +1 -1
- package/dist/runtime/literals/box.d.ts.map +1 -1
- package/dist/runtime/literals/ensureLeading.d.ts +1 -1
- package/dist/runtime/literals/ensureLeading.d.ts.map +1 -1
- package/dist/runtime/literals/ensureTrailing.d.ts +1 -1
- package/dist/runtime/literals/ensureTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.d.ts +1 -1
- package/dist/runtime/literals/ifLowercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.js +1 -1
- package/dist/runtime/literals/ifUppercase.d.ts +1 -1
- package/dist/runtime/literals/ifUppercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifUppercase.js +1 -1
- package/dist/runtime/literals/literal.d.ts +1 -1
- package/dist/runtime/literals/literal.d.ts.map +1 -1
- package/dist/runtime/literals/narrow.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/literals/pluralize.d.ts +10 -1
- package/dist/runtime/literals/pluralize.d.ts.map +1 -1
- package/dist/runtime/literals/pluralize.js +11 -2
- package/dist/runtime/literals/retainAfter.d.ts +1 -1
- package/dist/runtime/literals/retainAfter.d.ts.map +1 -1
- package/dist/runtime/literals/split.d.ts +1 -1
- package/dist/runtime/literals/split.d.ts.map +1 -1
- package/dist/runtime/literals/split.js +2 -2
- package/dist/runtime/literals/stripAfter.d.ts +1 -1
- package/dist/runtime/literals/stripAfter.d.ts.map +1 -1
- package/dist/runtime/literals/stripLeading.d.ts +1 -1
- package/dist/runtime/literals/stripLeading.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/toCamelCase.d.ts +1 -1
- package/dist/runtime/literals/toCamelCase.d.ts.map +1 -1
- package/dist/runtime/literals/toCamelCase.js +1 -1
- package/dist/runtime/literals/toKebabCase.d.ts +1 -1
- package/dist/runtime/literals/toKebabCase.d.ts.map +1 -1
- package/dist/runtime/literals/toLowercase.js +1 -1
- package/dist/runtime/literals/toNumericArray.d.ts +1 -1
- package/dist/runtime/literals/toNumericArray.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.d.ts +1 -1
- package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.js +1 -1
- package/dist/runtime/literals/toString.d.ts +1 -1
- package/dist/runtime/literals/toString.d.ts.map +1 -1
- package/dist/runtime/literals/toUppercase.js +1 -1
- package/dist/runtime/literals/trim.d.ts +1 -1
- package/dist/runtime/literals/trim.d.ts.map +1 -1
- package/dist/runtime/literals/tuple.d.ts +2 -2
- package/dist/runtime/literals/tuple.d.ts.map +1 -1
- package/dist/runtime/literals/tuple.js +1 -1
- package/dist/runtime/literals/widen.d.ts +1 -1
- package/dist/runtime/literals/widen.d.ts.map +1 -1
- package/dist/runtime/runtime-types/createType.d.ts +3 -3
- package/dist/runtime/runtime-types/createType.d.ts.map +1 -1
- package/dist/runtime/runtime-types/createType.js +2 -2
- package/dist/runtime/runtime-types/describeType.d.ts +1 -1
- package/dist/runtime/runtime-types/describeType.d.ts.map +1 -1
- package/dist/runtime/runtime-types/determineIdentity.d.ts +1 -1
- package/dist/runtime/runtime-types/determineIdentity.d.ts.map +1 -1
- package/dist/runtime/runtime-types/determineType.d.ts +1 -1
- package/dist/runtime/runtime-types/determineType.d.ts.map +1 -1
- package/dist/runtime/runtime-types/determineType.js +1 -1
- package/dist/runtime/runtime-types/extractTypeToken.js +1 -1
- package/dist/runtime/runtime-types/kind.d.ts +4 -4
- package/dist/runtime/runtime-types/kind.d.ts.map +1 -1
- package/dist/runtime/runtime-types/kind.js +1 -1
- package/dist/runtime/runtime-types/typeTuples.d.ts +3 -3
- package/dist/runtime/runtime-types/typeTuples.d.ts.map +1 -1
- package/dist/runtime/runtime-types/typeTuples.js +2 -2
- package/dist/runtime/runtime-types/valueTypes.d.ts +1 -1
- package/dist/runtime/runtime-types/valueTypes.d.ts.map +1 -1
- package/dist/runtime/sets/uniqueKeys.d.ts +1 -1
- package/dist/runtime/sets/uniqueKeys.d.ts.map +1 -1
- package/dist/runtime/sets/uniqueKeys.js +1 -1
- package/dist/runtime/state/Configurator.d.ts +1 -1
- package/dist/runtime/state/Configurator.d.ts.map +1 -1
- package/dist/runtime/state/FluentConfigurator.d.ts +1 -1
- package/dist/runtime/state/FluentConfigurator.d.ts.map +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- 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 +1 -1
- package/dist/runtime/type-conversion/mergeScalars.d.ts +1 -1
- 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/mergeTuples.d.ts +1 -1
- package/dist/runtime/type-conversion/mergeTuples.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mutable.d.ts +1 -1
- package/dist/runtime/type-conversion/mutable.d.ts.map +1 -1
- package/dist/runtime/type-conversion/optional.d.ts +1 -1
- package/dist/runtime/type-conversion/optional.d.ts.map +1 -1
- package/dist/runtime/type-conversion/toNumber.d.ts +1 -1
- package/dist/runtime/type-conversion/toNumber.d.ts.map +1 -1
- package/dist/runtime/type-conversion/union.d.ts +1 -1
- package/dist/runtime/type-conversion/union.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasDefaultValue.d.ts +2 -2
- 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 +2 -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 +1 -1
- package/dist/runtime/type-guards/hasIndexOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasIndexOf.js +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.js +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.js +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.js +1 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +1 -1
- package/dist/runtime/type-guards/isAlpha.d.ts +1 -1
- package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
- package/dist/runtime/type-guards/isAlpha.js +2 -2
- package/dist/runtime/type-guards/isConstant.d.ts +1 -1
- package/dist/runtime/type-guards/isConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isConstant.js +1 -1
- package/dist/runtime/type-guards/isContainer.d.ts +1 -1
- package/dist/runtime/type-guards/isContainer.d.ts.map +1 -1
- package/dist/runtime/type-guards/isContainer.js +1 -1
- package/dist/runtime/type-guards/isErrorCondition.d.ts +1 -1
- package/dist/runtime/type-guards/isErrorCondition.d.ts.map +1 -1
- package/dist/runtime/type-guards/isErrorCondition.js +1 -1
- package/dist/runtime/type-guards/isFalsy.d.ts +1 -1
- package/dist/runtime/type-guards/isFalsy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isFalsy.js +1 -1
- package/dist/runtime/type-guards/isFnWithParams.d.ts +1 -1
- package/dist/runtime/type-guards/isFnWithParams.d.ts.map +1 -1
- package/dist/runtime/type-guards/isFunction.d.ts +1 -1
- package/dist/runtime/type-guards/isFunction.d.ts.map +1 -1
- package/dist/runtime/type-guards/isIndexable.d.ts +1 -1
- package/dist/runtime/type-guards/isIndexable.d.ts.map +1 -1
- package/dist/runtime/type-guards/isIndexable.js +1 -1
- package/dist/runtime/type-guards/isLeftRight.d.ts +1 -1
- package/dist/runtime/type-guards/isLeftRight.d.ts.map +1 -1
- package/dist/runtime/type-guards/isLeftRight.js +1 -1
- package/dist/runtime/type-guards/isNotNull.d.ts +1 -1
- package/dist/runtime/type-guards/isNotNull.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNothing.d.ts +1 -1
- package/dist/runtime/type-guards/isNothing.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.js +2 -2
- package/dist/runtime/type-guards/isObject.d.ts +1 -1
- package/dist/runtime/type-guards/isObject.d.ts.map +1 -1
- package/dist/runtime/type-guards/isReadonlyArray.d.ts +1 -1
- package/dist/runtime/type-guards/isReadonlyArray.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 +1 -1
- package/dist/runtime/type-guards/isSameType.d.ts +1 -1
- package/dist/runtime/type-guards/isSameType.d.ts.map +1 -1
- package/dist/runtime/type-guards/isSameType.js +1 -1
- package/dist/runtime/type-guards/isScalar.d.ts +1 -1
- package/dist/runtime/type-guards/isScalar.d.ts.map +1 -1
- package/dist/runtime/type-guards/isScalar.js +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.d.ts +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.js +1 -1
- package/dist/runtime/type-guards/isTruthy.d.ts +1 -1
- package/dist/runtime/type-guards/isTruthy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTruthy.js +1 -1
- package/dist/runtime/type-guards/isTypeToken.d.ts +1 -1
- package/dist/runtime/type-guards/isTypeToken.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTypeToken.js +2 -2
- package/dist/runtime/type-guards/isTypeTuple.d.ts +1 -1
- package/dist/runtime/type-guards/isTypeTuple.d.ts.map +1 -1
- package/dist/runtime/type-guards/runtime-type-guards.d.ts +1 -1
- package/dist/runtime/type-guards/runtime-type-guards.d.ts.map +1 -1
- package/dist/runtime/type-guards/runtime-type-guards.js +1 -1
- package/dist/types/base-types/AnyObject.d.ts +2 -2
- package/dist/types/base-types/AnyObject.d.ts.map +1 -1
- package/dist/types/base-types/Defined.d.ts +1 -1
- package/dist/types/base-types/Defined.d.ts.map +1 -1
- package/dist/types/base-types/NotNull.d.ts +1 -1
- package/dist/types/base-types/NotNull.d.ts.map +1 -1
- package/dist/types/base-types/fns/FnWithDict.d.ts +1 -1
- package/dist/types/base-types/fns/FnWithDict.d.ts.map +1 -1
- package/dist/types/base-types/functional/LeftRight.d.ts +1 -1
- package/dist/types/base-types/functional/LeftRight.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfDefined.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfDefined.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts +12 -0
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfEmptyContainer.js +1 -0
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfError.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfError.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNotError.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfNotError.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.d.ts +1 -0
- package/dist/types/boolean-logic/branching/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.js +1 -0
- package/dist/types/boolean-logic/combinators/FirstIdx.d.ts +1 -1
- package/dist/types/boolean-logic/combinators/FirstIdx.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts +2 -2
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/AsPropertyKey.d.ts +1 -1
- package/dist/types/boolean-logic/narrowing/AsPropertyKey.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts +1 -1
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsError.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsError.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts +1 -1
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts.map +1 -1
- package/dist/types/containers/EmptyContainer.d.ts +1 -1
- package/dist/types/containers/EmptyContainer.d.ts.map +1 -1
- package/dist/types/containers/NonEmptyContainer.d.ts +1 -1
- package/dist/types/containers/NonEmptyContainer.d.ts.map +1 -1
- package/dist/types/containers/WithKey.d.ts +1 -1
- package/dist/types/containers/WithKey.d.ts.map +1 -1
- package/dist/types/dictionary/Get.d.ts +2 -2
- package/dist/types/dictionary/Get.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/MakePropsMutable.d.ts +1 -1
- package/dist/types/dictionary/MakePropsMutable.d.ts.map +1 -1
- package/dist/types/dictionary/WithValue.d.ts +2 -2
- package/dist/types/dictionary/WithValue.d.ts.map +1 -1
- package/dist/types/errors/AsError.d.ts +1 -1
- package/dist/types/errors/AsError.d.ts.map +1 -1
- package/dist/types/errors/ErrorCondition.d.ts +1 -1
- package/dist/types/errors/ErrorCondition.d.ts.map +1 -1
- package/dist/types/lists/AllowNonTupleWhenSingular.d.ts +1 -1
- package/dist/types/lists/AllowNonTupleWhenSingular.d.ts.map +1 -1
- package/dist/types/lists/AsArray.d.ts +1 -1
- package/dist/types/lists/AsArray.d.ts.map +1 -1
- package/dist/types/lists/LogicalReturns.d.ts +1 -1
- package/dist/types/lists/LogicalReturns.d.ts.map +1 -1
- package/dist/types/lists/ToCSV.d.ts +1 -1
- package/dist/types/lists/ToCSV.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digit.d.ts +1 -1
- package/dist/types/numeric-literals/Digit.d.ts.map +1 -1
- package/dist/types/numeric-literals/LessThanOrEqual.d.ts +1 -1
- package/dist/types/numeric-literals/LessThanOrEqual.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToNumericArray.d.ts +1 -1
- package/dist/types/numeric-literals/ToNumericArray.d.ts.map +1 -1
- package/dist/types/runtime-types/Type.d.ts +1 -1
- package/dist/types/runtime-types/Type.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeToken.d.ts +1 -1
- package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
- package/dist/types/runtime-types/api/number.d.ts +1 -1
- package/dist/types/runtime-types/api/number.d.ts.map +1 -1
- package/dist/types/runtime-types/api/string.d.ts +1 -1
- package/dist/types/runtime-types/api/string.d.ts.map +1 -1
- package/dist/types/string-literals/Date.d.ts +1 -1
- package/dist/types/string-literals/Date.d.ts.map +1 -1
- package/dist/types/string-literals/Pluralize.d.ts +3 -2
- package/dist/types/string-literals/Pluralize.d.ts.map +1 -1
- package/dist/types/string-literals/Surround.d.ts +1 -1
- package/dist/types/string-literals/Surround.d.ts.map +1 -1
- package/dist/types/string-literals/casing/NamingModifier.d.ts +1 -1
- package/dist/types/string-literals/casing/NamingModifier.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Consonants.d.ts +1 -1
- package/dist/types/string-literals/character-sets/Consonants.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts +1 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts +1 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/type-conversion/Merge.d.ts +1 -1
- package/dist/types/type-conversion/Merge.d.ts.map +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/dist/types/type-conversion/Mutable.d.ts +1 -1
- package/dist/types/type-conversion/Mutable.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Narrowable, Box, AnyObject } from "
|
|
1
|
+
import type { Narrowable, Box, AnyObject } from "../../types";
|
|
2
2
|
export type BoxValue<T extends Box<unknown>> = T extends Box<infer V> ? V : never;
|
|
3
3
|
export type BoxedFnParams<T extends Box<unknown>> = T extends Box<infer V> ? V extends (...args: infer A) => unknown ? A : [] : [];
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/box.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,GAAG,EACH,SAAS,EACV,
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/box.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,GAAG,EACH,SAAS,EACV,oBAAkB;AAGnB,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAElF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GACtE,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,OAAO,GACrC,CAAC,GACD,EAAE,GACJ,EAAE,CAAC;AAGP;;;;;;GAMG;AACH,wBAAgB,GAAG,CAAC,CAAC,SAAS,UAAU,EAAE,KAAK,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAU1D;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,IAAI,GAAG,CAAC,OAAO,CAAC,CAK9D;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,CAAC,kCAS/D;AAED,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAMtD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,UAAU,EAAE,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAK5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensureLeading.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ensureLeading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAY,
|
|
1
|
+
{"version":3,"file":"ensureLeading.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ensureLeading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAY,oBAAkB;AAEpD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,SAAS,MAAM,EACvE,OAAO,EAAE,CAAC,EACV,MAAM,EAAE,CAAC,GACR,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAMrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensureTrailing.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ensureTrailing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"ensureTrailing.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ensureTrailing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAkB;AAE3C;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAC/D,OAAO,EAAE,CAAC,EACV,MAAM,EAAE,CAAC,GACR,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAKtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterFirst, IfExtends, LowerAlphaChar } from "
|
|
1
|
+
import { AfterFirst, IfExtends, LowerAlphaChar } from "../../types";
|
|
2
2
|
type _Index<T extends readonly string[], IF, ELSE, Results extends readonly unknown[] = []> = [] extends T ? Results : _Index<AfterFirst<T>, IF, ELSE, [
|
|
3
3
|
...Results,
|
|
4
4
|
IfExtends<T, LowerAlphaChar, IF, ELSE>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ifLowercase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ifLowercase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"ifLowercase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ifLowercase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,oBAAkB;AAGlE,KAAK,MAAM,CACT,CAAC,SAAS,SAAS,MAAM,EAAE,EAC3B,EAAE,EACF,IAAI,EACJ,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,EAAE,SAAS,CAAC,GACZ,OAAO,GACP,MAAM,CACJ,UAAU,CAAC,CAAC,CAAC,EACb,EAAE,EACF,IAAI,EACJ;IACE,GAAG,OAAO;IACV,SAAS,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,CAAC;CACvC,CACF,CAAC;AAEN,KAAK,OAAO,CACV,CAAC,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,EACpC,EAAE,EACF,IAAI,IACF,CAAC,SAAS,MAAM,GAChB,SAAS,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,CAAC,GACtC,CAAC,SAAS,SAAS,MAAM,EAAE,GACzB,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GACnB,KAAK,CAAC;AAGZ;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,CAAC,SAAS,MAAM,EAChB,EAAE,EACF,IAAI,EAEJ,EAAE,EAAE,CAAC,EACL,gBAAgB,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,EAC3C,kBAAkB,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,IAAI,GAC5C,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,CAStB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IfChar, IfExtends, Narrowable, UpperAlphaChar, ValueCallback } from "
|
|
1
|
+
import { IfChar, IfExtends, Narrowable, UpperAlphaChar, ValueCallback } from "../../types";
|
|
2
2
|
type Convert<T, IF, ELSE> = IfExtends<T, UpperAlphaChar, IF, ELSE>;
|
|
3
3
|
/**
|
|
4
4
|
* **ifUppercaseChar**(ch, callbackForMatch, callbackForNoMatch)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ifUppercase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ifUppercase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"ifUppercase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/ifUppercase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,oBAAkB;AAEzF,KAAK,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,SAAS,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;AAEnE;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,CAAC,SAAS,MAAM,EAChB,EAAE,SAAS,UAAU,EACrB,IAAI,SAAS,UAAU;AAEvB,iCAAiC;AACjC,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,EACjB,gBAAgB,EAAE,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC,EACtC,kBAAkB,EAAE,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,GACzC,OAAO,CAAC,CAAC,EAAC,EAAE,EAAC,IAAI,CAAC,CASpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"literal.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/literal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"literal.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/literal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,oBAAkB;AAEvC;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,CAAC,CAAA;CAAE,EAAE,CAAC,SAAS,WAAW,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG;IAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAA;CAAE,CAE/F;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,EAAE,CAAC,SAAS,WAAW,EACtE,CAAC,EAAE,CAAC,GACH,CAAC,GAAG;IAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAA;CAAE,CAEzB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,EAAE,CAAC,SAAS,WAAW,EACtE,CAAC,EAAE,CAAC,GACH,CAAC,GAAG;IAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAA;CAAE,CAEzB;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,CAAC,CAAA;CAAE,EAAE,CAAC,SAAS,WAAW,EACpE,EAAE,EAAE,CAAC,GACJ,EAAE,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,CAAC,CAAA;CAAE,CAErB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,UAAU,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"narrow.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/narrow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,MAAM,EACN,UAAU,EACV,YAAY,EACZ,OAAO,EACR,
|
|
1
|
+
{"version":3,"file":"narrow.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/narrow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,MAAM,EACN,UAAU,EACV,YAAY,EACZ,OAAO,EACR,oBAAkB;AAEnB;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CACpB,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAC,CAAC,CAAC,GAAG,UAAU,CAAC,EAAE,EAC/C,GAAG,MAAM,EAAE,CAAC,8MAgBb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathJoin.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/pathJoin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"pathJoin.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/pathJoin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,oBAAkB;AAQrC;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,SAAS,MAAM,EAAE,EACpE,KAAK,EAAE,CAAC,EACR,GAAG,IAAI,EAAE,CAAC,GACT,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAYhB"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
import { Pluralize } from "
|
|
1
|
+
import { Pluralize } from "../../types";
|
|
2
|
+
/**
|
|
3
|
+
* **pluralize(** word **)**
|
|
4
|
+
*
|
|
5
|
+
* Pluralizes the word using _language rules_ on pluralization for English as well as
|
|
6
|
+
* leveraging many known exceptions to the linguistic rules.
|
|
7
|
+
*
|
|
8
|
+
* **Note:** _if the string passed into this function is a literal string then the **type**
|
|
9
|
+
* will be pluralized along with the runtime value._
|
|
10
|
+
*/
|
|
2
11
|
export declare const pluralize: <T extends string>(word: T) => Pluralize<T>;
|
|
3
12
|
//# sourceMappingURL=pluralize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pluralize.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/pluralize.ts"],"names":[],"mappings":"AAQA,OAAO,EAAY,SAAS,EAAgB,
|
|
1
|
+
{"version":3,"file":"pluralize.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/pluralize.ts"],"names":[],"mappings":"AAQA,OAAO,EAAY,SAAS,EAAgB,oBAAkB;AAuC9D;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,6CAUrB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { ALPHA_CHARS, CONSONANTS, PLURAL_EXCEPTIONS, SINGULAR_NOUN_ENDINGS } from "
|
|
3
|
-
import { split, stripTrailing } from "
|
|
2
|
+
import { ALPHA_CHARS, CONSONANTS, PLURAL_EXCEPTIONS, SINGULAR_NOUN_ENDINGS } from "../../constants";
|
|
3
|
+
import { split, stripTrailing } from "..";
|
|
4
4
|
const isException = (word) => Object.keys(PLURAL_EXCEPTIONS).includes(word);
|
|
5
5
|
const END_IN = [
|
|
6
6
|
"is",
|
|
@@ -34,6 +34,15 @@ const endingIn = (word, postfix) => {
|
|
|
34
34
|
throw new Error(`endingIn received "${postfix}" as a postfix but this ending is not known!`);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* **pluralize(** word **)**
|
|
39
|
+
*
|
|
40
|
+
* Pluralizes the word using _language rules_ on pluralization for English as well as
|
|
41
|
+
* leveraging many known exceptions to the linguistic rules.
|
|
42
|
+
*
|
|
43
|
+
* **Note:** _if the string passed into this function is a literal string then the **type**
|
|
44
|
+
* will be pluralized along with the runtime value._
|
|
45
|
+
*/
|
|
37
46
|
export const pluralize = (word) => {
|
|
38
47
|
return (isException(word)
|
|
39
48
|
? PLURAL_EXCEPTIONS[word]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retainAfter.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/retainAfter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"retainAfter.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/retainAfter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAkB;AAExC;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,QAAQ,SAAS,MAAM,EACvB,MAAM,SAAS,MAAM,EACrB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iCAIhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/split.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/split.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,EAAE,oBAAkB;AAGlD;;;;;;;;;GASG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,GAAE,CAAW,+DAM1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripAfter.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripAfter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"stripAfter.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripAfter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,oBAAkB;AAEvC;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CACxB,QAAQ,SAAS,MAAM,EACvB,MAAM,SAAS,MAAM,EACrB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,gCAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripLeading.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripLeading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"stripLeading.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripLeading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,oBAAkB;AAEzC;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAC7D,OAAO,EAAE,CAAC,EACV,KAAK,EAAE,CAAC,GACP,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CASpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripTrailing.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripTrailing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"stripTrailing.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/stripTrailing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,oBAAkB;AAE1C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAC9D,OAAO,EAAE,CAAC,EACV,KAAK,EAAE,CAAC,GACP,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAGrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toCamelCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toCamelCase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"toCamelCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toCamelCase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAkB;AAG3C;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,OAAO,GAAG,KAAK,EACjC,KAAK,EAAE,OAAO,EAAE,kBAAkB,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,CAW/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toKebabCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toKebabCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"toKebabCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toKebabCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,oBAAkB;AAEtC;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,OAAO,GAAG,KAAK,EACzB,KAAK,EAAE,CAAC,EAAE,mBAAmB,CAAC,EAAE,CAAC,mBAelC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toNumericArray.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toNumericArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,
|
|
1
|
+
{"version":3,"file":"toNumericArray.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toNumericArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,oBAAkB;AAElD,eAAO,MAAM,cAAc,6DAE1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toPascalCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toPascalCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAG,cAAc,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"toPascalCase.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toPascalCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAG,cAAc,EAAE,eAAe,EAAE,oBAAkB;AAGzE;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACzC,KAAK,EAAE,CAAC,EAAE,kBAAkB,GAAE,CAAkB,gGAoBjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toString.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"toString.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/toString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,oBAAkB;AAEjD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,UAAU,EAAE,GAAG,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trim.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/trim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"trim.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/trim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,oBAAkB;AAEtD;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAExD;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAEhE;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAEjE;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAElE;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAEhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { First, IfUnion, Length, Narrowable, UnionToTuple } from "
|
|
1
|
+
import { First, IfUnion, Length, Narrowable, UnionToTuple } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* **tuple**(value)
|
|
4
4
|
*
|
|
@@ -9,5 +9,5 @@ import { First, IfUnion, Length, Narrowable, UnionToTuple } from "src/types";
|
|
|
9
9
|
* const t2 = tuple([1,2,3]);
|
|
10
10
|
* ```
|
|
11
11
|
*/
|
|
12
|
-
export declare const tuple: <N extends Narrowable, K extends PropertyKey, T extends readonly (Narrowable | Record<K, N>)[]>(...values: T) => import("
|
|
12
|
+
export declare const tuple: <N extends Narrowable, K extends PropertyKey, T extends readonly (Narrowable | Record<K, N>)[]>(...values: T) => import("../../types").AsArray<Length<T> extends 1 ? T[0] extends readonly unknown[] ? T[0] extends infer Arr ? IfUnion<First<Arr & readonly unknown[]>, UnionToTuple<First<T[0]>>, T[0]> : T[0] : T[0] : T>;
|
|
13
13
|
//# sourceMappingURL=tuple.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuple.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/tuple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"tuple.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/tuple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,oBAAkB;AAI7E;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,8TAuBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widen.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/widen.ts"],"names":[],"mappings":"AACA,OAAO,EAAG,UAAU,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"widen.d.ts","sourceRoot":"","sources":["../../../src/runtime/literals/widen.ts"],"names":[],"mappings":"AACA,OAAO,EAAG,UAAU,EAAE,KAAK,EAAE,oBAAkB;AAG/C;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,UAAU,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAE9D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FromTypeDefn, TypeDefaultValue, TypeDefn, TypeKind, TypeUnderlying } from "
|
|
1
|
+
import type { FromTypeDefn, TypeDefaultValue, TypeDefn, TypeKind, TypeUnderlying } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* **TypeApi**
|
|
4
4
|
*
|
|
@@ -20,7 +20,7 @@ import type { FromTypeDefn, TypeDefaultValue, TypeDefn, TypeKind, TypeUnderlying
|
|
|
20
20
|
* this data to become a fully fledged "runtime type" as expressed
|
|
21
21
|
* by the `Type` type.
|
|
22
22
|
*/
|
|
23
|
-
export declare const createTypeDefn: <TD extends TypeDefn<TKind, TRequired, TDesc, TUnderlying, TDefValue, import("
|
|
23
|
+
export declare const createTypeDefn: <TD extends TypeDefn<TKind, TRequired, TDesc, TUnderlying, TDefValue, import("../../types").TypeDefnValidations>, TKind extends TypeKind, TRequired extends boolean, TDesc extends string, TUnderlying extends TypeUnderlying, TDefValue extends TypeDefaultValue<TKind, TRequired, TUnderlying>>(defn: TD) => FromTypeDefn<TD>;
|
|
24
24
|
/**
|
|
25
25
|
* Creates a _run time_ type definition (`Type`).
|
|
26
26
|
*
|
|
@@ -36,5 +36,5 @@ export declare const createTypeDefn: <TD extends TypeDefn<TKind, TRequired, TDes
|
|
|
36
36
|
* )
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
export declare const createType: <TD extends TypeDefn<TypeKind, boolean, string, TypeUnderlying, TypeDefaultValue<TypeKind, boolean, TypeUnderlying>, import("
|
|
39
|
+
export declare const createType: <TD extends TypeDefn<TypeKind, boolean, string, TypeUnderlying, TypeDefaultValue<TypeKind, boolean, TypeUnderlying>, import("../../types").TypeDefnValidations>>(t: TD) => FromTypeDefn<TD>;
|
|
40
40
|
//# sourceMappingURL=createType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/createType.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,cAAc,EACf,
|
|
1
|
+
{"version":3,"file":"createType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/createType.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,cAAc,EACf,oBAAkB;AAgBnB;;;;;GAKG;AAGH;;;;;;GAMG;AAaH;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,iUA8C1B,CAAC;AAgCF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,6LAkBtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LITERAL_TYPE_KINDS, NO_DEFAULT_VALUE, } from "
|
|
2
|
-
import { keysOf, box, isTypeDefn, createTypeGuard, createValidator, determineIdentity, determineType } from "
|
|
1
|
+
import { LITERAL_TYPE_KINDS, NO_DEFAULT_VALUE, } from "../../constants";
|
|
2
|
+
import { keysOf, box, isTypeDefn, createTypeGuard, createValidator, determineIdentity, determineType } from "..";
|
|
3
3
|
/**
|
|
4
4
|
* **TypeApi**
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/describeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAa,
|
|
1
|
+
{"version":3,"file":"describeType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/describeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAa,oBAAkB;AAwBpD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,iCAQxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"determineIdentity.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/determineIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"determineIdentity.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/determineIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,QAAQ,EAAE,oBAAkB;AAM9C,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,QAAQ,EAAE,IAAI,EAAE,EAAE,mDAW9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"determineType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/determineType.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,QAAQ,EAIT,
|
|
1
|
+
{"version":3,"file":"determineType.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/determineType.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,QAAQ,EAIT,oBAAkB;AAcnB,wBAAgB,aAAa,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAkDlF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hasNoUnderlyingTypes, hasUnderlyingTypes, isLiteralType, kind } from "
|
|
1
|
+
import { hasNoUnderlyingTypes, hasUnderlyingTypes, isLiteralType, kind } from "..";
|
|
2
2
|
export function determineType(t) {
|
|
3
3
|
// literals and containers have underlying types
|
|
4
4
|
if (isLiteralType(t)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isTypeToken, stripLeading, stripTrailing } from "
|
|
1
|
+
import { isTypeToken, stripLeading, stripTrailing } from "..";
|
|
2
2
|
export function extractTypeToken(tuple) {
|
|
3
3
|
if (isTypeToken(tuple)) {
|
|
4
4
|
const [name, defn] = stripTrailing(stripLeading(tuple, "<<"), ">>").split(":");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Narrowable, TupleToUnion, UpperAlphaChar, AnyObject, IfTrue, IfFalse, CamelCase, EmptyObject, AnyFunction } from "
|
|
1
|
+
import { Narrowable, TupleToUnion, UpperAlphaChar, AnyObject, IfTrue, IfFalse, CamelCase, EmptyObject, AnyFunction } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* encodes all CSV values to ensure that the `,` character is
|
|
4
4
|
* replaced with `,` placeholder
|
|
@@ -31,14 +31,14 @@ export declare const kind: {
|
|
|
31
31
|
* create a wide `string` type or add parameters to create a string literal
|
|
32
32
|
* or a union of string literals.
|
|
33
33
|
*/
|
|
34
|
-
readonly string: <T extends readonly string[]>(...literals: T) => import("
|
|
34
|
+
readonly string: <T extends readonly string[]>(...literals: T) => import("../../types").IfLength<import("../../types").AsArray<T>, 0, string, TupleToUnion<T>, string | TupleToUnion<T>>;
|
|
35
35
|
/**
|
|
36
36
|
* **number**(_literals_)
|
|
37
37
|
*
|
|
38
38
|
* create a token for a wide `number` type or add parameters to create a
|
|
39
39
|
* numeric literal or union of numeric literals.
|
|
40
40
|
*/
|
|
41
|
-
readonly number: <T_1 extends readonly number[]>(...literals: T_1) => import("
|
|
41
|
+
readonly number: <T_1 extends readonly number[]>(...literals: T_1) => import("../../types").IfLength<import("../../types").AsArray<T_1>, 0, number, TupleToUnion<T_1>, number | TupleToUnion<T_1>>;
|
|
42
42
|
/**
|
|
43
43
|
* **numericString**()
|
|
44
44
|
*
|
|
@@ -85,7 +85,7 @@ export declare const kind: {
|
|
|
85
85
|
/**
|
|
86
86
|
* a string literal which conforms to the `camelCase` capitalization convention
|
|
87
87
|
*/
|
|
88
|
-
readonly camelCase: <T_11 extends string>(v: string extends T_11 ? T_11 & string : Uncapitalize<import("
|
|
88
|
+
readonly camelCase: <T_11 extends string>(v: string extends T_11 ? T_11 & string : Uncapitalize<import("../../types").PascalCase<T_11>>) => string extends T_11 ? T_11 & string : Uncapitalize<import("../../types").PascalCase<T_11>>;
|
|
89
89
|
};
|
|
90
90
|
/**
|
|
91
91
|
* **RunType** API (aka, `type`)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kind.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/kind.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,YAAY,EAEZ,cAAc,EAGd,SAAS,EACT,MAAM,EACN,OAAO,EACP,SAAS,EACT,WAAW,EACX,WAAW,EACZ,
|
|
1
|
+
{"version":3,"file":"kind.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/kind.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,YAAY,EAEZ,cAAc,EAGd,SAAS,EACT,MAAM,EACN,OAAO,EACP,SAAS,EACT,WAAW,EACX,WAAW,EACZ,oBAAkB;AAOnB;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,UAExD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,UAExD;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,IAAI;IACf;;;;;OAKG;;IASH;;;;;OAKG;;IAUH;;;;OAIG;;IAEH;;;OAGG;;IAYH;;;;OAIG;;IAEH;;OAEG;;;;;;;IAaH;;OAEG;;;;;8DAK4C,GAAG,cAAc,GAAG,MAAM,EAAE;;IAG3E;;OAEG;;IAEH;;OAEG;;IAKH;;OAEG;;CAKK,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,IAAI,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AlphaChar } from "
|
|
1
|
+
import { AlphaChar } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* **typeTuples**
|
|
4
4
|
*
|
|
5
5
|
* A dictionary of `TypeTuple` definitions
|
|
6
6
|
*/
|
|
7
7
|
export declare const typeTuples: {
|
|
8
|
-
readonly digit: import("
|
|
9
|
-
readonly alpha: import("
|
|
8
|
+
readonly digit: import("../../types").TypeTuple<0 | 1 | 2 | 5 | 4 | 3 | 6 | 7 | 8 | 9, "A numeric digit (aka, 0-9)">;
|
|
9
|
+
readonly alpha: import("../../types").TypeTuple<AlphaChar, "A alpha (upper or lowercase)">;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=typeTuples.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeTuples.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/typeTuples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAG,SAAS,EAAW,
|
|
1
|
+
{"version":3,"file":"typeTuples.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/typeTuples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAG,SAAS,EAAW,oBAAkB;AAqChD;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;CAKb,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { ALPHA_CHARS } from "
|
|
3
|
-
import { createTypeTuple, kind } from "
|
|
2
|
+
import { ALPHA_CHARS } from "../../constants";
|
|
3
|
+
import { createTypeTuple, kind } from "..";
|
|
4
4
|
const digit = createTypeTuple(kind.explicitType("Digit"), (val) => {
|
|
5
5
|
return typeof val === "string" && ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"].includes(val);
|
|
6
6
|
}, "A numeric digit (aka, 0-9)");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valueTypes.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/valueTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"valueTypes.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/valueTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,oBAAkB;AAEpD,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACxB,OAAO,EAAE,EAAE,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;IAcrB,6BAA6B;;;CAe9B,CAAC;AAEF,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,WAAW,IACxF,CAAC,CAAC,EAAE,UAAU,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC"}
|