inferred-types 0.51.1 → 0.51.2
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/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs +28 -9
- package/dist/index.js +28 -9
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/errors/KindError.d.ts +10 -7
- package/dist/runtime/errors/KindError.d.ts.map +1 -1
- package/dist/runtime/errors/KindError.js +40 -14
- package/dist/runtime/errors/index.d.ts +1 -1
- package/dist/runtime/errors/index.d.ts.map +1 -1
- package/dist/runtime/errors/index.js +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/types/dictionary/CombinedKeys.d.ts.map +1 -1
- package/dist/types/errors/KindError.d.ts +11 -6
- package/dist/types/errors/KindError.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +3 -3
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/package.json +21 -19
- package/dist/runtime/errors/kindedError.d.ts +0 -27
- package/dist/runtime/errors/kindedError.d.ts.map +0 -1
- package/dist/runtime/errors/kindedError.js +0 -33
- package/src/constants/Alpha.ts +0 -21
- package/src/constants/Books.ts +0 -9
- package/src/constants/Characters.ts +0 -6
- package/src/constants/Comma.ts +0 -18
- package/src/constants/CommonObjProps.ts +0 -7
- package/src/constants/Consonants.ts +0 -25
- package/src/constants/Constant.ts +0 -11
- package/src/constants/DateTime.ts +0 -40
- package/src/constants/FalsyValues.ts +0 -9
- package/src/constants/Functional.ts +0 -20
- package/src/constants/Geo.ts +0 -99
- package/src/constants/HashTable.ts +0 -131
- package/src/constants/ISO3166.ts +0 -147
- package/src/constants/Images.ts +0 -22
- package/src/constants/Marked.ts +0 -11
- package/src/constants/Markers.ts +0 -23
- package/src/constants/Metrics.ts +0 -171
- package/src/constants/NetworkConstants.ts +0 -91
- package/src/constants/Never.ts +0 -11
- package/src/constants/News.ts +0 -441
- package/src/constants/NoDefaultValue.ts +0 -13
- package/src/constants/NotApplicable.ts +0 -11
- package/src/constants/NotDefined.ts +0 -10
- package/src/constants/NumericChar.ts +0 -14
- package/src/constants/NumericDigit.ts +0 -11
- package/src/constants/Phone.ts +0 -263
- package/src/constants/PluralExceptions.ts +0 -113
- package/src/constants/ProxmoxConstants.ts +0 -6
- package/src/constants/RepoConstants.ts +0 -56
- package/src/constants/Retail.ts +0 -113
- package/src/constants/Shape.ts +0 -16
- package/src/constants/SingularNounEnding.ts +0 -15
- package/src/constants/Social.ts +0 -131
- package/src/constants/Tailwind.ts +0 -92
- package/src/constants/TypeComparisons.ts +0 -63
- package/src/constants/TypeOf.ts +0 -6
- package/src/constants/TypeTokens.ts +0 -291
- package/src/constants/TypeTransforms.ts +0 -47
- package/src/constants/Types.ts +0 -32
- package/src/constants/Wide.ts +0 -36
- package/src/constants/createConstant.ts +0 -13
- package/src/constants/index.ts +0 -41
- package/src/constants/tsconfig.json +0 -21
- package/src/inferred-types/README.md +0 -3
- package/src/inferred-types/index.ts +0 -3
- package/src/inferred-types/tsconfig.json +0 -49
- package/src/runtime/README.md +0 -3
- package/src/runtime/api/defineApi.ts +0 -153
- package/src/runtime/api/handleDoneFn.ts +0 -31
- package/src/runtime/api/index.ts +0 -3
- package/src/runtime/boolean-logic/ifArray.ts +0 -22
- package/src/runtime/boolean-logic/ifArrayPartial.ts +0 -13
- package/src/runtime/boolean-logic/ifBoolean.ts +0 -30
- package/src/runtime/boolean-logic/ifChar.ts +0 -23
- package/src/runtime/boolean-logic/ifContainer.ts +0 -20
- package/src/runtime/boolean-logic/ifFalse.ts +0 -26
- package/src/runtime/boolean-logic/ifFunction.ts +0 -31
- package/src/runtime/boolean-logic/ifHasKey.ts +0 -27
- package/src/runtime/boolean-logic/ifLength.ts +0 -39
- package/src/runtime/boolean-logic/ifNotNull.ts +0 -30
- package/src/runtime/boolean-logic/ifNull.ts +0 -31
- package/src/runtime/boolean-logic/ifNumber.ts +0 -30
- package/src/runtime/boolean-logic/ifObject.ts +0 -15
- package/src/runtime/boolean-logic/ifSameType.ts +0 -29
- package/src/runtime/boolean-logic/ifScalar.ts +0 -42
- package/src/runtime/boolean-logic/ifString.ts +0 -37
- package/src/runtime/boolean-logic/ifTrue.ts +0 -33
- package/src/runtime/boolean-logic/ifUndefined.ts +0 -39
- package/src/runtime/boolean-logic/index.ts +0 -19
- package/src/runtime/combinators/and.ts +0 -11
- package/src/runtime/combinators/f2.ts.HOLD +0 -241
- package/src/runtime/combinators/index.ts +0 -2
- package/src/runtime/combinators/or.ts +0 -13
- package/src/runtime/dictionary/defineOptions.ts +0 -82
- package/src/runtime/dictionary/entries.ts +0 -34
- package/src/runtime/dictionary/get.ts +0 -168
- package/src/runtime/dictionary/index.ts +0 -23
- package/src/runtime/dictionary/keysOf.ts +0 -28
- package/src/runtime/dictionary/omit.ts +0 -40
- package/src/runtime/dictionary/retain.ts +0 -35
- package/src/runtime/dictionary/sharedKeys.ts +0 -16
- package/src/runtime/dictionary/takeProp.ts +0 -28
- package/src/runtime/dictionary/valuesOf.ts +0 -21
- package/src/runtime/dictionary/withDefaults.ts +0 -27
- package/src/runtime/dictionary/withKeys.ts +0 -22
- package/src/runtime/dictionary/withoutKeys.ts +0 -23
- package/src/runtime/dictionary/withoutValue.ts +0 -26
- package/src/runtime/errors/KindError.ts +0 -59
- package/src/runtime/errors/TypedError.ts +0 -69
- package/src/runtime/errors/createErrorCondition.ts +0 -35
- package/src/runtime/errors/index.ts +0 -2
- package/src/runtime/errors/kindedError.ts +0 -59
- package/src/runtime/functional/index.ts +0 -1
- package/src/runtime/functional/result.ts +0 -309
- package/src/runtime/functions/fnMeta.ts +0 -27
- package/src/runtime/functions/index.ts +0 -3
- package/src/runtime/functions/wrapFn.ts +0 -32
- package/src/runtime/index.ts +0 -18
- package/src/runtime/initializers/addFnToProps.ts +0 -35
- package/src/runtime/initializers/addPropsToFn.ts +0 -42
- package/src/runtime/initializers/createCssSelector.ts +0 -78
- package/src/runtime/initializers/createFnWithProps.ts +0 -40
- package/src/runtime/initializers/defineObj.ts +0 -55
- package/src/runtime/initializers/defineTuple.ts +0 -28
- package/src/runtime/initializers/index.ts +0 -6
- package/src/runtime/lists/asArray.ts +0 -29
- package/src/runtime/lists/createComparison.ts +0 -15
- package/src/runtime/lists/createConverter.ts +0 -104
- package/src/runtime/lists/filter.ts +0 -62
- package/src/runtime/lists/find.ts +0 -51
- package/src/runtime/lists/getEach.ts +0 -48
- package/src/runtime/lists/index.ts +0 -26
- package/src/runtime/lists/indexOf.ts +0 -58
- package/src/runtime/lists/intersection.ts +0 -69
- package/src/runtime/lists/join.ts +0 -34
- package/src/runtime/lists/last.ts +0 -5
- package/src/runtime/lists/logicalReturns.ts +0 -18
- package/src/runtime/lists/reverse.ts +0 -10
- package/src/runtime/lists/shift.ts +0 -66
- package/src/runtime/lists/slice.ts +0 -16
- package/src/runtime/lists/unique.ts +0 -26
- package/src/runtime/literals/box.ts +0 -75
- package/src/runtime/literals/capitalize.ts +0 -9
- package/src/runtime/literals/color/cssColor.ts +0 -31
- package/src/runtime/literals/color/index.ts +0 -2
- package/src/runtime/literals/color/twColor.ts +0 -40
- package/src/runtime/literals/ensureLeading.ts +0 -27
- package/src/runtime/literals/ensureSurround.ts +0 -32
- package/src/runtime/literals/ensureTrailing.ts +0 -20
- package/src/runtime/literals/identity.ts +0 -22
- package/src/runtime/literals/ifLowercase.ts +0 -57
- package/src/runtime/literals/ifUppercase.ts +0 -34
- package/src/runtime/literals/index.ts +0 -58
- package/src/runtime/literals/literal.ts +0 -48
- package/src/runtime/literals/lowercase.ts +0 -11
- package/src/runtime/literals/narrow.ts +0 -44
- package/src/runtime/literals/pathJoin.ts +0 -25
- package/src/runtime/literals/phone/asPhoneNumber.ts +0 -72
- package/src/runtime/literals/phone/getPhoneCountryCode.ts +0 -16
- package/src/runtime/literals/phone/index.ts +0 -3
- package/src/runtime/literals/phone/removePhoneCountryCode.ts +0 -16
- package/src/runtime/literals/pluralize.ts +0 -74
- package/src/runtime/literals/retainAfter.ts +0 -71
- package/src/runtime/literals/retainChars.ts +0 -30
- package/src/runtime/literals/retainUntil.ts +0 -67
- package/src/runtime/literals/retainWhile.ts +0 -23
- package/src/runtime/literals/rightWhitespace.ts +0 -17
- package/src/runtime/literals/split.ts +0 -19
- package/src/runtime/literals/stripAfter.ts +0 -20
- package/src/runtime/literals/stripBefore.ts +0 -23
- package/src/runtime/literals/stripChars.ts +0 -25
- package/src/runtime/literals/stripLeading.ts +0 -28
- package/src/runtime/literals/stripSurround.ts +0 -54
- package/src/runtime/literals/stripTrailing.ts +0 -29
- package/src/runtime/literals/stripUntil.ts +0 -18
- package/src/runtime/literals/stripWhile.ts +0 -19
- package/src/runtime/literals/surround.ts +0 -23
- package/src/runtime/literals/takeNumericCharacters.ts +0 -16
- package/src/runtime/literals/toCamelCase.ts +0 -28
- package/src/runtime/literals/toKebabCase.ts +0 -31
- package/src/runtime/literals/toLowercase.ts +0 -13
- package/src/runtime/literals/toNumericArray.ts +0 -5
- package/src/runtime/literals/toPascalCase.ts +0 -38
- package/src/runtime/literals/toSnakeCase.ts +0 -33
- package/src/runtime/literals/toString.ts +0 -11
- package/src/runtime/literals/toUppercase.ts +0 -13
- package/src/runtime/literals/trim.ts +0 -55
- package/src/runtime/literals/truncate.ts +0 -20
- package/src/runtime/literals/tuple.ts +0 -41
- package/src/runtime/literals/uncapitalize.ts +0 -9
- package/src/runtime/literals/unset.ts +0 -18
- package/src/runtime/literals/uppercase.ts +0 -9
- package/src/runtime/literals/widen.ts +0 -13
- package/src/runtime/meta/index.ts +0 -2
- package/src/runtime/meta/urlMeta.ts +0 -187
- package/src/runtime/meta/youtube-meta.ts +0 -146
- package/src/runtime/queues/fifo.ts +0 -51
- package/src/runtime/queues/index.ts +0 -2
- package/src/runtime/queues/lifo.ts +0 -45
- package/src/runtime/runtime-types/README.md +0 -3
- package/src/runtime/runtime-types/asDefineObject.ts +0 -29
- package/src/runtime/runtime-types/asToken.ts +0 -155
- package/src/runtime/runtime-types/asType.ts +0 -57
- package/src/runtime/runtime-types/choices.ts +0 -86
- package/src/runtime/runtime-types/dict.hold +0 -65
- package/src/runtime/runtime-types/index.ts +0 -9
- package/src/runtime/runtime-types/ip6Prefix.ts +0 -20
- package/src/runtime/runtime-types/list.ts +0 -141
- package/src/runtime/runtime-types/rec.ts +0 -11
- package/src/runtime/runtime-types/shape-helpers/addToken.ts +0 -11
- package/src/runtime/runtime-types/shape-helpers/atomics.ts +0 -21
- package/src/runtime/runtime-types/shape-helpers/functions.ts +0 -36
- package/src/runtime/runtime-types/shape-helpers/getTokenData.ts +0 -14
- package/src/runtime/runtime-types/shape-helpers/getTokenName.ts +0 -13
- package/src/runtime/runtime-types/shape-helpers/literal-containers.ts +0 -18
- package/src/runtime/runtime-types/shape-helpers/regexToken.ts +0 -44
- package/src/runtime/runtime-types/shape-helpers/singletons.ts +0 -108
- package/src/runtime/runtime-types/shape-helpers/union.ts +0 -15
- package/src/runtime/runtime-types/shape-helpers/wide-containers.ts +0 -60
- package/src/runtime/runtime-types/shape.ts +0 -87
- package/src/runtime/runtime-types/tokens/createTypeToken.ts +0 -114
- package/src/runtime/runtime-types/tokens/index.ts +0 -2
- package/src/runtime/runtime-types/tokens/simpleToken.ts +0 -85
- package/src/runtime/sets/index.ts +0 -1
- package/src/runtime/sets/uniqueKeys.ts +0 -48
- package/src/runtime/tsconfig.json +0 -47
- package/src/runtime/type-conversion/asChars.ts +0 -10
- package/src/runtime/type-conversion/asRecord.ts +0 -14
- package/src/runtime/type-conversion/asString.ts +0 -35
- package/src/runtime/type-conversion/csv.ts +0 -56
- package/src/runtime/type-conversion/index.ts +0 -18
- package/src/runtime/type-conversion/intersect.ts +0 -12
- package/src/runtime/type-conversion/ip6GroupExpansion.ts +0 -17
- package/src/runtime/type-conversion/json.ts +0 -32
- package/src/runtime/type-conversion/lookupCountry.ts +0 -242
- package/src/runtime/type-conversion/mergeObjects.ts +0 -31
- package/src/runtime/type-conversion/mergeScalars.ts +0 -16
- package/src/runtime/type-conversion/mergeTuples.ts +0 -16
- package/src/runtime/type-conversion/mutable.ts +0 -5
- package/src/runtime/type-conversion/never.ts +0 -13
- package/src/runtime/type-conversion/optional.ts +0 -37
- package/src/runtime/type-conversion/toNumber.ts +0 -35
- package/src/runtime/type-conversion/union.ts +0 -15
- package/src/runtime/type-conversion/unionize.ts +0 -12
- package/src/runtime/type-guards/api-tg.ts +0 -45
- package/src/runtime/type-guards/geo/index.ts +0 -3
- package/src/runtime/type-guards/geo/isIso3166Alpha2.ts +0 -79
- package/src/runtime/type-guards/geo/isUsState.ts +0 -15
- package/src/runtime/type-guards/geo/isZipCode.ts +0 -45
- package/src/runtime/type-guards/hasDefaultValue.ts +0 -16
- package/src/runtime/type-guards/hasErrorConditions.ts +0 -8
- package/src/runtime/type-guards/hasIndexOf.ts +0 -36
- package/src/runtime/type-guards/hasKeys.ts +0 -38
- package/src/runtime/type-guards/hasWhitespace.ts +0 -13
- package/src/runtime/type-guards/higher-order/endsWith.ts +0 -23
- package/src/runtime/type-guards/higher-order/index.ts +0 -7
- package/src/runtime/type-guards/higher-order/isEqual.ts +0 -23
- package/src/runtime/type-guards/higher-order/isLength.ts +0 -36
- package/src/runtime/type-guards/higher-order/isSameTypeOf.ts +0 -15
- package/src/runtime/type-guards/higher-order/isTuple.ts +0 -31
- package/src/runtime/type-guards/higher-order/isTypeOf.ts +0 -16
- package/src/runtime/type-guards/higher-order/startsWith.ts +0 -42
- package/src/runtime/type-guards/html/index.ts +0 -1
- package/src/runtime/type-guards/html/isHtmlElement.ts +0 -11
- package/src/runtime/type-guards/index.ts +0 -57
- package/src/runtime/type-guards/isAlpha.ts +0 -13
- package/src/runtime/type-guards/isArray.ts +0 -9
- package/src/runtime/type-guards/isBoolean.ts +0 -10
- package/src/runtime/type-guards/isBooleanLike.ts +0 -17
- package/src/runtime/type-guards/isConstant.ts +0 -20
- package/src/runtime/type-guards/isContainer.ts +0 -20
- package/src/runtime/type-guards/isCssAspectRatio.ts +0 -16
- package/src/runtime/type-guards/isDefined.ts +0 -9
- package/src/runtime/type-guards/isDoneFn.ts +0 -14
- package/src/runtime/type-guards/isEmail.ts +0 -31
- package/src/runtime/type-guards/isErrorCondition.ts +0 -19
- package/src/runtime/type-guards/isFalse.ts +0 -3
- package/src/runtime/type-guards/isFalsy.ts +0 -14
- package/src/runtime/type-guards/isFnWithParams.ts +0 -11
- package/src/runtime/type-guards/isFunction.ts +0 -15
- package/src/runtime/type-guards/isHexadecimal.ts +0 -15
- package/src/runtime/type-guards/isIndexable.ts +0 -14
- package/src/runtime/type-guards/isInlineSvg.ts +0 -12
- package/src/runtime/type-guards/isLeftRight.ts +0 -16
- package/src/runtime/type-guards/isNever.ts +0 -12
- package/src/runtime/type-guards/isNotNull.ts +0 -10
- package/src/runtime/type-guards/isNothing.ts +0 -5
- package/src/runtime/type-guards/isNull.ts +0 -11
- package/src/runtime/type-guards/isNumber.ts +0 -9
- package/src/runtime/type-guards/isNumericString.ts +0 -41
- package/src/runtime/type-guards/isObject.ts +0 -13
- package/src/runtime/type-guards/isPhoneNumber.ts +0 -35
- package/src/runtime/type-guards/isReadonlyArray.ts +0 -17
- package/src/runtime/type-guards/isRef.ts +0 -15
- package/src/runtime/type-guards/isRegExp.ts +0 -37
- package/src/runtime/type-guards/isRuntimeUnion.ts +0 -12
- package/src/runtime/type-guards/isScalar.ts +0 -17
- package/src/runtime/type-guards/isSpecificConstant.ts +0 -17
- package/src/runtime/type-guards/isString.ts +0 -13
- package/src/runtime/type-guards/isSymbol.ts +0 -12
- package/src/runtime/type-guards/isThenable.ts +0 -8
- package/src/runtime/type-guards/isTrimmable.ts +0 -10
- package/src/runtime/type-guards/isTrue.ts +0 -8
- package/src/runtime/type-guards/isTruthy.ts +0 -15
- package/src/runtime/type-guards/isTypeToken.ts +0 -20
- package/src/runtime/type-guards/isTypeTuple.ts +0 -10
- package/src/runtime/type-guards/isUndefined.ts +0 -10
- package/src/runtime/type-guards/isUnset.ts +0 -26
- package/src/runtime/type-guards/isUrl.ts +0 -55
- package/src/runtime/type-guards/metrics/index.ts +0 -2
- package/src/runtime/type-guards/metrics/isMetric.ts +0 -133
- package/src/runtime/type-guards/metrics/isUom.ts +0 -125
- package/src/runtime/type-guards/network-tg.ts +0 -123
- package/src/runtime/type-guards/tokens/index.ts +0 -8
- package/src/runtime/type-guards/tokens/isAtomicToken.ts +0 -16
- package/src/runtime/type-guards/tokens/isContainerToken.ts +0 -64
- package/src/runtime/type-guards/tokens/isDefineObject.ts +0 -16
- package/src/runtime/type-guards/tokens/isFunctionToken.ts +0 -11
- package/src/runtime/type-guards/tokens/isShapeCallback.ts +0 -9
- package/src/runtime/type-guards/tokens/isShapeToken.ts +0 -33
- package/src/runtime/type-guards/tokens/isSimpleToken.ts +0 -100
- package/src/runtime/type-guards/tokens/isSingletonToken.ts +0 -17
- package/src/runtime/type-guards/tokens/isTupleToken.ts +0 -0
- package/src/runtime/type-guards/tokens/isUnionSetToken.ts +0 -0
- package/src/runtime/type-guards/tokens/isUnionToken.ts +0 -16
- package/src/runtime/type-guards/urls/Social.ts +0 -25
- package/src/runtime/type-guards/urls/books.ts +0 -2
- package/src/runtime/type-guards/urls/index.ts +0 -9
- package/src/runtime/type-guards/urls/news/australian.ts +0 -14
- package/src/runtime/type-guards/urls/news/belgium.ts +0 -14
- package/src/runtime/type-guards/urls/news/canadian.ts +0 -14
- package/src/runtime/type-guards/urls/news/chinese.ts +0 -14
- package/src/runtime/type-guards/urls/news/danish.ts +0 -14
- package/src/runtime/type-guards/urls/news/dutch.ts +0 -15
- package/src/runtime/type-guards/urls/news/french.ts +0 -14
- package/src/runtime/type-guards/urls/news/german.ts +0 -14
- package/src/runtime/type-guards/urls/news/index.ts +0 -51
- package/src/runtime/type-guards/urls/news/indian.ts +0 -14
- package/src/runtime/type-guards/urls/news/italian.ts +0 -14
- package/src/runtime/type-guards/urls/news/japanese.ts +0 -14
- package/src/runtime/type-guards/urls/news/mexican.ts +0 -14
- package/src/runtime/type-guards/urls/news/norwegian.ts +0 -14
- package/src/runtime/type-guards/urls/news/south-korean.ts +0 -14
- package/src/runtime/type-guards/urls/news/spanish.ts +0 -14
- package/src/runtime/type-guards/urls/news/swiss.ts +0 -14
- package/src/runtime/type-guards/urls/news/turkish.ts +0 -14
- package/src/runtime/type-guards/urls/news/uk.ts +0 -14
- package/src/runtime/type-guards/urls/news/us.ts +0 -14
- package/src/runtime/type-guards/urls/repos/bitbucket.ts +0 -18
- package/src/runtime/type-guards/urls/repos/codeCommit.ts +0 -19
- package/src/runtime/type-guards/urls/repos/github.ts +0 -198
- package/src/runtime/type-guards/urls/repos/index.ts +0 -19
- package/src/runtime/type-guards/urls/repos/isSemanticVersion.ts +0 -46
- package/src/runtime/type-guards/urls/retail.ts +0 -221
- package/src/runtime/type-guards/urls/youtube.ts +0 -172
- package/src/runtime/vuejs/asVueRef.ts +0 -18
- package/src/runtime/vuejs/index.ts +0 -1
- package/src/types/README.md +0 -3
- package/src/types/api/api.ts +0 -368
- package/src/types/api/index.ts +0 -1
- package/src/types/base-types/AnyArray.ts +0 -6
- package/src/types/base-types/AnyObject.ts +0 -12
- package/src/types/base-types/Container.ts +0 -19
- package/src/types/base-types/Defined.ts +0 -8
- package/src/types/base-types/Dictionary.ts +0 -14
- package/src/types/base-types/Digital.ts +0 -27
- package/src/types/base-types/EmptyObject.ts +0 -14
- package/src/types/base-types/FalsyValue.ts +0 -8
- package/src/types/base-types/Indexable.ts +0 -10
- package/src/types/base-types/IndexableObject.ts +0 -36
- package/src/types/base-types/LikeRegExp.ts +0 -10
- package/src/types/base-types/List.ts +0 -386
- package/src/types/base-types/NarrowObject.ts +0 -11
- package/src/types/base-types/NonArray.ts +0 -10
- package/src/types/base-types/NotNull.ts +0 -8
- package/src/types/base-types/Nothing.ts +0 -7
- package/src/types/base-types/NumericSign.ts +0 -6
- package/src/types/base-types/ObjectKey.ts +0 -8
- package/src/types/base-types/Scalar.ts +0 -7
- package/src/types/base-types/ScalarNotSymbol.ts +0 -7
- package/src/types/base-types/Something.ts +0 -10
- package/src/types/base-types/Thenable.ts +0 -12
- package/src/types/base-types/Tuple.ts +0 -42
- package/src/types/base-types/fns/AnyFunction.ts +0 -10
- package/src/types/base-types/fns/EscapeFunction.ts +0 -25
- package/src/types/base-types/fns/FnAllowingProps.ts +0 -14
- package/src/types/base-types/fns/IdentityFunction.ts +0 -5
- package/src/types/base-types/fns/JustFunction.ts +0 -11
- package/src/types/base-types/fns/OptionalParamFn.ts +0 -42
- package/src/types/base-types/fns/RegularFn.ts +0 -11
- package/src/types/base-types/fns/TypedFunction.ts +0 -10
- package/src/types/base-types/fns/index.ts +0 -9
- package/src/types/base-types/functional/LeftRight.ts +0 -251
- package/src/types/base-types/functional/index.ts +0 -1
- package/src/types/base-types/index.ts +0 -27
- package/src/types/boolean-logic/LogicalCombinator.ts +0 -4
- package/src/types/boolean-logic/branching/Default.ts +0 -18
- package/src/types/boolean-logic/branching/Fail.ts +0 -38
- package/src/types/boolean-logic/branching/Handle.ts +0 -52
- package/src/types/boolean-logic/branching/If.ts +0 -45
- package/src/types/boolean-logic/branching/IfAllExtend.ts +0 -17
- package/src/types/boolean-logic/branching/IfAllLiteral.ts +0 -13
- package/src/types/boolean-logic/branching/IfEqual.ts +0 -31
- package/src/types/boolean-logic/branching/IfErrorCondition.ts +0 -20
- package/src/types/boolean-logic/branching/IfLength.ts +0 -34
- package/src/types/boolean-logic/branching/IfNever.ts +0 -13
- package/src/types/boolean-logic/branching/IfUnset.ts +0 -32
- package/src/types/boolean-logic/branching/Iff.ts +0 -55
- package/src/types/boolean-logic/branching/OnPass.ts +0 -113
- package/src/types/boolean-logic/branching/Passthrough.ts +0 -26
- package/src/types/boolean-logic/branching/README.md +0 -3
- package/src/types/boolean-logic/branching/WhenNever.ts +0 -17
- package/src/types/boolean-logic/branching/index.ts +0 -15
- package/src/types/boolean-logic/combinators/And.ts +0 -44
- package/src/types/boolean-logic/combinators/Compare.ts +0 -188
- package/src/types/boolean-logic/combinators/Not.ts +0 -68
- package/src/types/boolean-logic/combinators/Or.ts +0 -69
- package/src/types/boolean-logic/combinators/README.md +0 -3
- package/src/types/boolean-logic/combinators/Some.ts +0 -44
- package/src/types/boolean-logic/combinators/index.ts +0 -5
- package/src/types/boolean-logic/index.ts +0 -7
- package/src/types/boolean-logic/narrowing/As.ts +0 -10
- package/src/types/boolean-logic/narrowing/AsDoneFn.ts +0 -12
- package/src/types/boolean-logic/narrowing/AsIndexOf.ts +0 -24
- package/src/types/boolean-logic/narrowing/AsSomething.ts +0 -38
- package/src/types/boolean-logic/narrowing/index.ts +0 -5
- package/src/types/boolean-logic/operators/AllExtend.ts +0 -29
- package/src/types/boolean-logic/operators/AllLiteral.ts +0 -29
- package/src/types/boolean-logic/operators/AllNumericLiterals.ts +0 -14
- package/src/types/boolean-logic/operators/AllStringLiterals.ts +0 -14
- package/src/types/boolean-logic/operators/ApiOperators.ts +0 -30
- package/src/types/boolean-logic/operators/AreSameLength.ts +0 -29
- package/src/types/boolean-logic/operators/AreSameType.ts +0 -22
- package/src/types/boolean-logic/operators/Contains.ts +0 -76
- package/src/types/boolean-logic/operators/ContainsAll.ts +0 -31
- package/src/types/boolean-logic/operators/DoesExtend.ts +0 -16
- package/src/types/boolean-logic/operators/DoesNotExtend.ts +0 -14
- package/src/types/boolean-logic/operators/EndsWith.ts +0 -56
- package/src/types/boolean-logic/operators/Extends.ts +0 -14
- package/src/types/boolean-logic/operators/ExtendsAll.ts +0 -26
- package/src/types/boolean-logic/operators/ExtendsNone.ts +0 -16
- package/src/types/boolean-logic/operators/ExtendsSome.ts +0 -18
- package/src/types/boolean-logic/operators/HasArray.ts +0 -17
- package/src/types/boolean-logic/operators/HasCharacters.ts +0 -73
- package/src/types/boolean-logic/operators/HasIndex.ts +0 -18
- package/src/types/boolean-logic/operators/HasOtherCharacters.ts +0 -39
- package/src/types/boolean-logic/operators/HasParameters.ts +0 -18
- package/src/types/boolean-logic/operators/HasProp.ts +0 -20
- package/src/types/boolean-logic/operators/HasRequiredProps.ts +0 -17
- package/src/types/boolean-logic/operators/HasSameKeys.ts +0 -41
- package/src/types/boolean-logic/operators/HasSameValues.ts +0 -53
- package/src/types/boolean-logic/operators/HasUnionType.ts +0 -16
- package/src/types/boolean-logic/operators/HasWideValues.ts +0 -14
- package/src/types/boolean-logic/operators/HaveSameNumericSign.ts +0 -24
- package/src/types/boolean-logic/operators/IsAllCaps.ts +0 -23
- package/src/types/boolean-logic/operators/IsAllLowercase.ts +0 -22
- package/src/types/boolean-logic/operators/IsAny.ts +0 -10
- package/src/types/boolean-logic/operators/IsAnyEqual.ts +0 -14
- package/src/types/boolean-logic/operators/IsArray.ts +0 -12
- package/src/types/boolean-logic/operators/IsBoolean.ts +0 -13
- package/src/types/boolean-logic/operators/IsBooleanLiteral.ts +0 -20
- package/src/types/boolean-logic/operators/IsContainer.ts +0 -16
- package/src/types/boolean-logic/operators/IsCssHexadecimal.ts +0 -15
- package/src/types/boolean-logic/operators/IsDefined.ts +0 -6
- package/src/types/boolean-logic/operators/IsDotPath.ts +0 -55
- package/src/types/boolean-logic/operators/IsEmptyObject.ts +0 -19
- package/src/types/boolean-logic/operators/IsEmptyString.ts +0 -18
- package/src/types/boolean-logic/operators/IsEqual.ts +0 -23
- package/src/types/boolean-logic/operators/IsErrorCondition.ts +0 -19
- package/src/types/boolean-logic/operators/IsFalse.ts +0 -22
- package/src/types/boolean-logic/operators/IsFalsy.ts +0 -13
- package/src/types/boolean-logic/operators/IsFloat.ts +0 -24
- package/src/types/boolean-logic/operators/IsFnWithParams.ts +0 -37
- package/src/types/boolean-logic/operators/IsFunction.ts +0 -10
- package/src/types/boolean-logic/operators/IsGreaterThan.ts +0 -43
- package/src/types/boolean-logic/operators/IsInteger.ts +0 -18
- package/src/types/boolean-logic/operators/IsIterable.ts +0 -35
- package/src/types/boolean-logic/operators/IsLength.ts +0 -14
- package/src/types/boolean-logic/operators/IsLessThan.ts +0 -39
- package/src/types/boolean-logic/operators/IsLiteral.ts +0 -48
- package/src/types/boolean-logic/operators/IsLiteralFn.ts +0 -24
- package/src/types/boolean-logic/operators/IsLiteralUnion.ts +0 -21
- package/src/types/boolean-logic/operators/IsNarrowingFn.ts +0 -19
- package/src/types/boolean-logic/operators/IsNegativeNumber.ts +0 -23
- package/src/types/boolean-logic/operators/IsNever.ts +0 -10
- package/src/types/boolean-logic/operators/IsNonLiteralUnion.ts +0 -23
- package/src/types/boolean-logic/operators/IsNotEqual.ts +0 -7
- package/src/types/boolean-logic/operators/IsNothing.ts +0 -11
- package/src/types/boolean-logic/operators/IsNull.ts +0 -17
- package/src/types/boolean-logic/operators/IsNumber.ts +0 -14
- package/src/types/boolean-logic/operators/IsNumberLike.ts +0 -17
- package/src/types/boolean-logic/operators/IsNumericLiteral.ts +0 -14
- package/src/types/boolean-logic/operators/IsObject.ts +0 -23
- package/src/types/boolean-logic/operators/IsObjectLiteral.ts +0 -37
- package/src/types/boolean-logic/operators/IsOptionalScalar.ts +0 -28
- package/src/types/boolean-logic/operators/IsPositiveNumber.ts +0 -13
- package/src/types/boolean-logic/operators/IsReadonlyArray.ts +0 -14
- package/src/types/boolean-logic/operators/IsReadonlyObject.ts +0 -15
- package/src/types/boolean-logic/operators/IsScalar.ts +0 -25
- package/src/types/boolean-logic/operators/IsSingleChar.ts +0 -20
- package/src/types/boolean-logic/operators/IsSingularNoun.ts +0 -20
- package/src/types/boolean-logic/operators/IsString.ts +0 -16
- package/src/types/boolean-logic/operators/IsStringLiteral.ts +0 -16
- package/src/types/boolean-logic/operators/IsSymbol.ts +0 -8
- package/src/types/boolean-logic/operators/IsTrue.ts +0 -27
- package/src/types/boolean-logic/operators/IsTruthy.ts +0 -40
- package/src/types/boolean-logic/operators/IsTuple.ts +0 -27
- package/src/types/boolean-logic/operators/IsUndefined.ts +0 -9
- package/src/types/boolean-logic/operators/IsUnion.ts +0 -18
- package/src/types/boolean-logic/operators/IsUnionArray.ts +0 -17
- package/src/types/boolean-logic/operators/IsUnset.ts +0 -10
- package/src/types/boolean-logic/operators/IsUrl.ts +0 -65
- package/src/types/boolean-logic/operators/IsValidDotPath.ts +0 -42
- package/src/types/boolean-logic/operators/IsValidIndex.ts +0 -59
- package/src/types/boolean-logic/operators/IsVueRef.ts +0 -34
- package/src/types/boolean-logic/operators/IsWideType.ts +0 -116
- package/src/types/boolean-logic/operators/IsWideUnion.ts +0 -25
- package/src/types/boolean-logic/operators/MaybeError.ts +0 -32
- package/src/types/boolean-logic/operators/NarrowlyContains.ts +0 -23
- package/src/types/boolean-logic/operators/Network-operators.ts +0 -192
- package/src/types/boolean-logic/operators/NotEqual.ts +0 -11
- package/src/types/boolean-logic/operators/NotLength.ts +0 -12
- package/src/types/boolean-logic/operators/PhoneOperators.ts +0 -62
- package/src/types/boolean-logic/operators/README.md +0 -3
- package/src/types/boolean-logic/operators/Returns.ts +0 -16
- package/src/types/boolean-logic/operators/ReturnsBoolean.ts +0 -13
- package/src/types/boolean-logic/operators/ReturnsFalse.ts +0 -15
- package/src/types/boolean-logic/operators/ReturnsTrue.ts +0 -17
- package/src/types/boolean-logic/operators/SomeEqual.ts +0 -17
- package/src/types/boolean-logic/operators/SomeExtend.ts +0 -26
- package/src/types/boolean-logic/operators/StartsWith.ts +0 -54
- package/src/types/boolean-logic/operators/UnionHasArray.ts +0 -22
- package/src/types/boolean-logic/operators/Validate.ts +0 -54
- package/src/types/boolean-logic/operators/YouTube-operators.ts +0 -68
- package/src/types/boolean-logic/operators/index.ts +0 -103
- package/src/types/classes/Constructor.ts +0 -10
- package/src/types/classes/KlassMeta.ts +0 -28
- package/src/types/classes/index.ts +0 -2
- package/src/types/containers/IsEmptyContainer.ts +0 -21
- package/src/types/containers/IsNonEmptyContainer.ts +0 -15
- package/src/types/containers/RemoveEmpty.ts +0 -78
- package/src/types/containers/RemoveMarked.ts +0 -53
- package/src/types/containers/RemoveNever.ts +0 -69
- package/src/types/containers/RemoveUndefined.ts +0 -55
- package/src/types/containers/index.ts +0 -6
- package/src/types/dictionary/AddKeyValue.ts +0 -34
- package/src/types/dictionary/CamelKeys.ts +0 -42
- package/src/types/dictionary/CombinedKeys.ts +0 -21
- package/src/types/dictionary/CreateKV.ts +0 -30
- package/src/types/dictionary/CreateLookup.ts +0 -59
- package/src/types/dictionary/DefineObject.ts +0 -45
- package/src/types/dictionary/DictChangeValue.ts +0 -34
- package/src/types/dictionary/EnsureKeys.ts +0 -34
- package/src/types/dictionary/FilterProps.ts +0 -45
- package/src/types/dictionary/FromMaybeRef.ts +0 -13
- package/src/types/dictionary/Get.ts +0 -20
- package/src/types/dictionary/KebabKeys.ts +0 -42
- package/src/types/dictionary/Keys.ts +0 -171
- package/src/types/dictionary/KeysEqualValue.ts +0 -19
- package/src/types/dictionary/KeysNotEqualValue.ts +0 -20
- package/src/types/dictionary/KeysWithValue.ts +0 -51
- package/src/types/dictionary/KeysWithoutValue.ts +0 -18
- package/src/types/dictionary/KvFn.ts +0 -20
- package/src/types/dictionary/MakeKeysOptional.ts +0 -49
- package/src/types/dictionary/MakeKeysRequired.ts +0 -23
- package/src/types/dictionary/MakePropsMutable.ts +0 -51
- package/src/types/dictionary/MapTo.ts +0 -475
- package/src/types/dictionary/MaybeRef.ts +0 -17
- package/src/types/dictionary/MergeKVs.ts +0 -30
- package/src/types/dictionary/MutableProps.ts +0 -9
- package/src/types/dictionary/NonNumericKeys.ts +0 -8
- package/src/types/dictionary/NonStringKeys.ts +0 -15
- package/src/types/dictionary/OptionalKeys.ts +0 -36
- package/src/types/dictionary/OptionalProps.ts +0 -11
- package/src/types/dictionary/PascalKeys.ts +0 -42
- package/src/types/dictionary/ReadonlyKeys.ts +0 -19
- package/src/types/dictionary/ReadonlyProps.ts +0 -9
- package/src/types/dictionary/RemoveIndexKeys.ts +0 -22
- package/src/types/dictionary/RequireProps.ts +0 -15
- package/src/types/dictionary/RequiredKeys.ts +0 -27
- package/src/types/dictionary/RequiredProps.ts +0 -8
- package/src/types/dictionary/RetainProps.ts +0 -45
- package/src/types/dictionary/SharedKeys.ts +0 -21
- package/src/types/dictionary/SimplifyObject.ts +0 -11
- package/src/types/dictionary/SnakeKeys.ts +0 -42
- package/src/types/dictionary/StringKeys.ts +0 -8
- package/src/types/dictionary/TakeProp.ts +0 -16
- package/src/types/dictionary/UpsertKeyValue.ts +0 -29
- package/src/types/dictionary/ValidKey.ts +0 -16
- package/src/types/dictionary/Values.ts +0 -47
- package/src/types/dictionary/WithKeys.ts +0 -42
- package/src/types/dictionary/WithNumericKeys.ts +0 -8
- package/src/types/dictionary/WithStringKeys.ts +0 -9
- package/src/types/dictionary/WithValue.ts +0 -42
- package/src/types/dictionary/WithoutKeys.ts +0 -40
- package/src/types/dictionary/WithoutValue.ts +0 -20
- package/src/types/dictionary/index.ts +0 -64
- package/src/types/errors/AsError.ts +0 -110
- package/src/types/errors/CompleteError.ts +0 -80
- package/src/types/errors/ErrorCondition.ts +0 -126
- package/src/types/errors/ErrorConditionHandler.ts +0 -10
- package/src/types/errors/KindError.ts +0 -49
- package/src/types/errors/MapError.ts +0 -29
- package/src/types/errors/PartialError.ts +0 -25
- package/src/types/errors/ProxyError.ts +0 -45
- package/src/types/errors/StackTrace.ts +0 -14
- package/src/types/errors/Throw.ts +0 -58
- package/src/types/errors/index.ts +0 -10
- package/src/types/functional/Left.ts +0 -8
- package/src/types/functional/Option.ts +0 -0
- package/src/types/functional/Result.ts +0 -327
- package/src/types/functional/Right.ts +0 -8
- package/src/types/functional/index.ts +0 -3
- package/src/types/functions/AsFnMeta.ts +0 -32
- package/src/types/functions/FnFrom.ts +0 -14
- package/src/types/functions/FnMeta.ts +0 -36
- package/src/types/functions/FnProps.ts +0 -26
- package/src/types/functions/FnWithDescription.ts +0 -19
- package/src/types/functions/FnWithProps.ts +0 -26
- package/src/types/functions/HandleDoneFn.ts +0 -12
- package/src/types/functions/IdentityFn.ts +0 -20
- package/src/types/functions/LiteralFn.ts +0 -53
- package/src/types/functions/LogicFunction.ts +0 -11
- package/src/types/functions/NarrowingFn.ts +0 -73
- package/src/types/functions/OnlyFnProps.ts +0 -11
- package/src/types/functions/PromiseAll.ts +0 -13
- package/src/types/functions/RemoveFnProps.ts +0 -11
- package/src/types/functions/ToFn.ts +0 -22
- package/src/types/functions/TypeGuard.ts +0 -9
- package/src/types/functions/WrapperFn.ts +0 -40
- package/src/types/functions/index.ts +0 -28
- package/src/types/index.ts +0 -26
- package/src/types/kv/DictFromKv.ts +0 -3
- package/src/types/kv/KeyValue.ts +0 -12
- package/src/types/kv/KvFrom.ts +0 -8
- package/src/types/kv/KvTuple.ts +0 -14
- package/src/types/kv/index.ts +0 -15
- package/src/types/lists/AfterFirst.ts +0 -15
- package/src/types/lists/AllowNonTupleWhenSingular.ts +0 -18
- package/src/types/lists/ArrayElementType.ts +0 -17
- package/src/types/lists/AsArray.ts +0 -24
- package/src/types/lists/AsNumericArray.ts +0 -21
- package/src/types/lists/AsReadonlyArray.ts +0 -3
- package/src/types/lists/AsTuple.ts +0 -16
- package/src/types/lists/BeforeLast.ts +0 -34
- package/src/types/lists/ConvertAndMap.ts +0 -138
- package/src/types/lists/ConvertSet.ts +0 -44
- package/src/types/lists/ElementOf.ts +0 -7
- package/src/types/lists/Filter.ts +0 -86
- package/src/types/lists/FilterByProp.ts +0 -87
- package/src/types/lists/FilterLiterals.ts +0 -29
- package/src/types/lists/FilterWideTypes.ts +0 -24
- package/src/types/lists/Find.ts +0 -52
- package/src/types/lists/First.ts +0 -21
- package/src/types/lists/FirstOrElse.ts +0 -15
- package/src/types/lists/FirstString.ts +0 -7
- package/src/types/lists/Flatten.ts +0 -149
- package/src/types/lists/GetEach.ts +0 -62
- package/src/types/lists/IndexOf.ts +0 -151
- package/src/types/lists/Intersect.ts +0 -19
- package/src/types/lists/IntersectAll.ts +0 -26
- package/src/types/lists/Last.ts +0 -29
- package/src/types/lists/Length.ts +0 -65
- package/src/types/lists/LogicalReturns.ts +0 -30
- package/src/types/lists/MaxLength.ts +0 -44
- package/src/types/lists/NumericKeys.ts +0 -55
- package/src/types/lists/NumericSort.ts +0 -183
- package/src/types/lists/Pop.ts +0 -39
- package/src/types/lists/Push.ts +0 -25
- package/src/types/lists/ReplaceLast.ts +0 -14
- package/src/types/lists/Retain.ts +0 -81
- package/src/types/lists/RetainByProp.ts +0 -105
- package/src/types/lists/RetainLiterals.ts +0 -30
- package/src/types/lists/RetainWideTypes.ts +0 -31
- package/src/types/lists/ReturnTypes.ts +0 -20
- package/src/types/lists/Reverse.ts +0 -14
- package/src/types/lists/Second.ts +0 -22
- package/src/types/lists/Shift.ts +0 -50
- package/src/types/lists/Slice.ts +0 -133
- package/src/types/lists/TakeFirst.ts +0 -67
- package/src/types/lists/TakeLast.ts +0 -31
- package/src/types/lists/ToCSV.ts +0 -29
- package/src/types/lists/TruthyReturns.ts +0 -23
- package/src/types/lists/UnionFromProp.ts +0 -26
- package/src/types/lists/index.ts +0 -61
- package/src/types/literals/BooleanLike.ts +0 -9
- package/src/types/literals/Box.ts +0 -20
- package/src/types/literals/Choices.ts +0 -251
- package/src/types/literals/Color.ts +0 -54
- package/src/types/literals/ContainerBlockKey.ts +0 -22
- package/src/types/literals/ContainerKeyGuarantee.ts +0 -26
- package/src/types/literals/DoneFnTuple.ts +0 -31
- package/src/types/literals/ExpandRecursively.ts +0 -68
- package/src/types/literals/FromDefn.ts +0 -151
- package/src/types/literals/FromTokenNames.ts +0 -81
- package/src/types/literals/Narrow.ts +0 -10
- package/src/types/literals/Narrowable.ts +0 -9
- package/src/types/literals/NarrowableDefined.ts +0 -11
- package/src/types/literals/NarrowableScalar.ts +0 -14
- package/src/types/literals/OptRequired.ts +0 -4
- package/src/types/literals/RuntimeUnion.ts +0 -16
- package/src/types/literals/Unset.ts +0 -14
- package/src/types/literals/VueComputedRef.ts +0 -41
- package/src/types/literals/VueRef.ts +0 -23
- package/src/types/literals/index.ts +0 -19
- package/src/types/numeric-literals/Abs.ts +0 -31
- package/src/types/numeric-literals/AbsMaybe.ts +0 -21
- package/src/types/numeric-literals/Add.ts +0 -179
- package/src/types/numeric-literals/AsNegativeNumber.ts +0 -32
- package/src/types/numeric-literals/AsNumberWhenPossible.ts +0 -41
- package/src/types/numeric-literals/CSV.ts +0 -164
- package/src/types/numeric-literals/Decrement.ts +0 -21
- package/src/types/numeric-literals/Delta.ts +0 -70
- package/src/types/numeric-literals/Digit.ts +0 -10
- package/src/types/numeric-literals/DigitNonZero.ts +0 -8
- package/src/types/numeric-literals/Digitize.ts +0 -42
- package/src/types/numeric-literals/Increment.ts +0 -26
- package/src/types/numeric-literals/InvertNumericSign.ts +0 -18
- package/src/types/numeric-literals/LessThan.ts +0 -23
- package/src/types/numeric-literals/LessThanOrEqual.ts +0 -24
- package/src/types/numeric-literals/Negative.ts +0 -12
- package/src/types/numeric-literals/NextDigit.ts +0 -35
- package/src/types/numeric-literals/NumberLike.ts +0 -7
- package/src/types/numeric-literals/NumericRange.ts +0 -17
- package/src/types/numeric-literals/PriorDigit.ts +0 -35
- package/src/types/numeric-literals/Subtract.ts +0 -84
- package/src/types/numeric-literals/ToInteger.ts +0 -45
- package/src/types/numeric-literals/ToNumericArray.ts +0 -27
- package/src/types/numeric-literals/Zero.ts +0 -8
- package/src/types/numeric-literals/index.ts +0 -24
- package/src/types/queues/FifoQueue.ts +0 -39
- package/src/types/queues/LifoQueue.ts +0 -39
- package/src/types/queues/index.ts +0 -3
- package/src/types/runtime-types/AsType.ts +0 -65
- package/src/types/runtime-types/Dict.ts +0 -79
- package/src/types/runtime-types/FromLiteralTokens.ts +0 -56
- package/src/types/runtime-types/Rec.ts +0 -18
- package/src/types/runtime-types/Shape.ts +0 -384
- package/src/types/runtime-types/SimpleType.ts +0 -168
- package/src/types/runtime-types/StringLiteralToken.ts +0 -43
- package/src/types/runtime-types/TokenizeStringLiteral.ts +0 -65
- package/src/types/runtime-types/Type.ts +0 -381
- package/src/types/runtime-types/TypeOf.ts +0 -76
- package/src/types/runtime-types/TypeToken.ts +0 -384
- package/src/types/runtime-types/TypeTuple.ts +0 -22
- package/src/types/runtime-types/index.ts +0 -12
- package/src/types/sets/IntersectingKeys.ts +0 -17
- package/src/types/sets/Intersection.ts +0 -151
- package/src/types/sets/Relate.ts +0 -20
- package/src/types/sets/SetCandidate.ts +0 -9
- package/src/types/sets/Unique.ts +0 -87
- package/src/types/sets/UniqueKeys.ts +0 -36
- package/src/types/sets/UniqueKeysUnion.ts +0 -27
- package/src/types/sets/UniqueKv.ts +0 -17
- package/src/types/sets/index.ts +0 -9
- package/src/types/string-literals/AfterFirstChar.ts +0 -34
- package/src/types/string-literals/Cardinality.ts +0 -82
- package/src/types/string-literals/Chars.ts +0 -27
- package/src/types/string-literals/Concat.ts +0 -45
- package/src/types/string-literals/Date.ts +0 -156
- package/src/types/string-literals/DateTime.ts +0 -56
- package/src/types/string-literals/EmptyString.ts +0 -7
- package/src/types/string-literals/EmptyStringOr.ts +0 -12
- package/src/types/string-literals/EnsureLeading.ts +0 -70
- package/src/types/string-literals/EnsureLeadingEvery.ts +0 -22
- package/src/types/string-literals/EnsureSurround.ts +0 -17
- package/src/types/string-literals/EnsureTrailing.ts +0 -60
- package/src/types/string-literals/FindIndex.ts +0 -174
- package/src/types/string-literals/FirstChar.ts +0 -33
- package/src/types/string-literals/HasUppercase.ts +0 -16
- package/src/types/string-literals/IsCapitalized.ts +0 -18
- package/src/types/string-literals/Join.ts +0 -64
- package/src/types/string-literals/LastChar.ts +0 -35
- package/src/types/string-literals/PathJoin.ts +0 -55
- package/src/types/string-literals/Pluralize.ts +0 -107
- package/src/types/string-literals/Prepend.ts +0 -17
- package/src/types/string-literals/PrependAll.ts +0 -18
- package/src/types/string-literals/Proxmox.ts +0 -6
- package/src/types/string-literals/Repeat.ts +0 -14
- package/src/types/string-literals/RetainAfter.ts +0 -68
- package/src/types/string-literals/RetainUntil.ts +0 -69
- package/src/types/string-literals/Split.ts +0 -113
- package/src/types/string-literals/StrLen.ts +0 -17
- package/src/types/string-literals/StripAfter.ts +0 -24
- package/src/types/string-literals/StripBefore.ts +0 -24
- package/src/types/string-literals/StripLeading.ts +0 -48
- package/src/types/string-literals/StripSurround.ts +0 -34
- package/src/types/string-literals/StripTrailing.ts +0 -51
- package/src/types/string-literals/StripUntil.ts +0 -56
- package/src/types/string-literals/Suggest.ts +0 -52
- package/src/types/string-literals/Surround.ts +0 -48
- package/src/types/string-literals/Time.ts +0 -333
- package/src/types/string-literals/Truncate.ts +0 -59
- package/src/types/string-literals/UnderlyingType.ts +0 -29
- package/src/types/string-literals/casing/AllCaps.ts +0 -24
- package/src/types/string-literals/casing/CamelCase.ts +0 -32
- package/src/types/string-literals/casing/CapFirstAlpha.ts +0 -22
- package/src/types/string-literals/casing/CapitalizeWords.ts +0 -8
- package/src/types/string-literals/casing/DashToSnake.ts +0 -3
- package/src/types/string-literals/casing/DashUppercase.ts +0 -23
- package/src/types/string-literals/casing/KebabCase.ts +0 -48
- package/src/types/string-literals/casing/LowerAllCaps.ts +0 -17
- package/src/types/string-literals/casing/NamingConvention.ts +0 -14
- package/src/types/string-literals/casing/PascalCase.ts +0 -28
- package/src/types/string-literals/casing/RaiseAllLowercase.ts +0 -12
- package/src/types/string-literals/casing/SnakeCase.ts +0 -60
- package/src/types/string-literals/casing/index.ts +0 -12
- package/src/types/string-literals/character-sets/Alpha.ts +0 -19
- package/src/types/string-literals/character-sets/AlphaChar.ts +0 -10
- package/src/types/string-literals/character-sets/AlphaNumeric.ts +0 -31
- package/src/types/string-literals/character-sets/BCP.ts +0 -37
- package/src/types/string-literals/character-sets/CSV.ts +0 -26
- package/src/types/string-literals/character-sets/CarriageReturn.ts +0 -22
- package/src/types/string-literals/character-sets/Consonants.ts +0 -19
- package/src/types/string-literals/character-sets/Country.ts +0 -217
- package/src/types/string-literals/character-sets/DomainName.ts +0 -56
- package/src/types/string-literals/character-sets/DotPathFor.ts +0 -46
- package/src/types/string-literals/character-sets/Hexadecimal.ts +0 -27
- package/src/types/string-literals/character-sets/Indent.ts +0 -37
- package/src/types/string-literals/character-sets/InlineSvg.ts +0 -8
- package/src/types/string-literals/character-sets/IpAddress.ts +0 -161
- package/src/types/string-literals/character-sets/LowerAlpha.ts +0 -19
- package/src/types/string-literals/character-sets/LowerAlphaChar.ts +0 -10
- package/src/types/string-literals/character-sets/NonAlpha.ts +0 -7
- package/src/types/string-literals/character-sets/NumericChar.ts +0 -33
- package/src/types/string-literals/character-sets/Optional.ts +0 -48
- package/src/types/string-literals/character-sets/OptionalSpace.ts +0 -22
- package/src/types/string-literals/character-sets/PlusMinus.ts +0 -1
- package/src/types/string-literals/character-sets/Punctuation.ts +0 -9
- package/src/types/string-literals/character-sets/Repos.ts +0 -54
- package/src/types/string-literals/character-sets/SingularNoun.ts +0 -37
- package/src/types/string-literals/character-sets/SpecialChar.ts +0 -5
- package/src/types/string-literals/character-sets/StringDelimiter.ts +0 -5
- package/src/types/string-literals/character-sets/UpperAlphaChar.ts +0 -10
- package/src/types/string-literals/character-sets/ValueAtDotPath.ts +0 -61
- package/src/types/string-literals/character-sets/Variable.ts +0 -20
- package/src/types/string-literals/character-sets/Whitespace.ts +0 -19
- package/src/types/string-literals/character-sets/YouTube.ts +0 -238
- package/src/types/string-literals/character-sets/brackets/Brackets.ts +0 -7
- package/src/types/string-literals/character-sets/brackets/ClosingBracket.ts +0 -4
- package/src/types/string-literals/character-sets/brackets/OpeningBracket.ts +0 -4
- package/src/types/string-literals/character-sets/brackets/index.ts +0 -3
- package/src/types/string-literals/character-sets/css/color.ts +0 -98
- package/src/types/string-literals/character-sets/css/display-position.ts +0 -42
- package/src/types/string-literals/character-sets/css/global.ts +0 -4
- package/src/types/string-literals/character-sets/css/html-element.ts +0 -195
- package/src/types/string-literals/character-sets/css/index.ts +0 -11
- package/src/types/string-literals/character-sets/css/object.ts +0 -54
- package/src/types/string-literals/character-sets/css/overflow.ts +0 -55
- package/src/types/string-literals/character-sets/css/property.ts +0 -36
- package/src/types/string-literals/character-sets/css/props.ts +0 -115
- package/src/types/string-literals/character-sets/css/pseudo-classes.ts +0 -169
- package/src/types/string-literals/character-sets/css/selector.ts +0 -51
- package/src/types/string-literals/character-sets/css/sizing.ts +0 -35
- package/src/types/string-literals/character-sets/images/Exif.ts +0 -581
- package/src/types/string-literals/character-sets/images/ImgFormat.ts +0 -30
- package/src/types/string-literals/character-sets/images/index.ts +0 -2
- package/src/types/string-literals/character-sets/index.ts +0 -39
- package/src/types/string-literals/character-sets/phone/CountryPhoneNumber.ts +0 -20
- package/src/types/string-literals/character-sets/phone/DialCountryCode.ts +0 -10
- package/src/types/string-literals/character-sets/phone/GetPhoneCountryCode.ts +0 -29
- package/src/types/string-literals/character-sets/phone/GetPhoneNumberType.ts +0 -39
- package/src/types/string-literals/character-sets/phone/InternationalPhoneNumber.ts +0 -19
- package/src/types/string-literals/character-sets/phone/LocalPhoneNumber.ts +0 -14
- package/src/types/string-literals/character-sets/phone/PhoneAreaCode.ts +0 -7
- package/src/types/string-literals/character-sets/phone/PhoneCountryCode.ts +0 -14
- package/src/types/string-literals/character-sets/phone/PhoneNumber.ts +0 -112
- package/src/types/string-literals/character-sets/phone/PhoneNumberDelimiter.ts +0 -5
- package/src/types/string-literals/character-sets/phone/PhoneShortCode.ts +0 -37
- package/src/types/string-literals/character-sets/phone/RawPhoneNumber.ts +0 -88
- package/src/types/string-literals/character-sets/phone/RemovePhoneCountryCode.ts +0 -38
- package/src/types/string-literals/character-sets/phone/ToPhoneFormat.ts +0 -44
- package/src/types/string-literals/character-sets/phone/index.ts +0 -14
- package/src/types/string-literals/character-sets/phone.ts +0 -7
- package/src/types/string-literals/character-sets/quotation-marks/ClosingMark.ts +0 -20
- package/src/types/string-literals/character-sets/quotation-marks/OpeningMark.ts +0 -20
- package/src/types/string-literals/character-sets/quotation-marks/QuotationMark.ts +0 -33
- package/src/types/string-literals/character-sets/quotation-marks/SmartMark.ts +0 -28
- package/src/types/string-literals/character-sets/quotation-marks/StandardMark.ts +0 -22
- package/src/types/string-literals/character-sets/quotation-marks/index.ts +0 -6
- package/src/types/string-literals/character-sets/quotation-marks/individual-smart-marks.ts +0 -77
- package/src/types/string-literals/character-sets/tw/TwColor.ts +0 -138
- package/src/types/string-literals/character-sets/tw/index.ts +0 -1
- package/src/types/string-literals/character-sets/urls/Github.ts +0 -163
- package/src/types/string-literals/character-sets/urls/Social.ts +0 -43
- package/src/types/string-literals/character-sets/urls/Url.ts +0 -428
- package/src/types/string-literals/character-sets/urls/bitbucket.ts +0 -71
- package/src/types/string-literals/character-sets/urls/book-urls.ts +0 -8
- package/src/types/string-literals/character-sets/urls/index.ts +0 -6
- package/src/types/string-literals/character-sets/urls/news/australian.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/belgian.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/canadian.ts +0 -27
- package/src/types/string-literals/character-sets/urls/news/chinese.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/danish.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/dutch.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/french.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/german.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/index.ts +0 -63
- package/src/types/string-literals/character-sets/urls/news/indian.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/italian.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/japanese.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/mexican.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/norwegian.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/south-korean.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/spanish.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/swiss.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/turkish.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/uk.ts +0 -26
- package/src/types/string-literals/character-sets/urls/news/us.ts +0 -26
- package/src/types/string-literals/character-sets/urls/retail.ts +0 -59
- package/src/types/string-literals/geo/index.ts +0 -2
- package/src/types/string-literals/geo/state.ts +0 -63
- package/src/types/string-literals/geo/zip.ts +0 -34
- package/src/types/string-literals/index.ts +0 -56
- package/src/types/string-literals/metrics/acceleration.ts +0 -34
- package/src/types/string-literals/metrics/area.ts +0 -34
- package/src/types/string-literals/metrics/current.ts +0 -34
- package/src/types/string-literals/metrics/distance.ts +0 -33
- package/src/types/string-literals/metrics/energy.ts +0 -34
- package/src/types/string-literals/metrics/frequency.ts +0 -34
- package/src/types/string-literals/metrics/global.ts +0 -63
- package/src/types/string-literals/metrics/index.ts +0 -17
- package/src/types/string-literals/metrics/luminosity.ts +0 -34
- package/src/types/string-literals/metrics/mass.ts +0 -34
- package/src/types/string-literals/metrics/power.ts +0 -34
- package/src/types/string-literals/metrics/pressure.ts +0 -34
- package/src/types/string-literals/metrics/resistance.ts +0 -34
- package/src/types/string-literals/metrics/speed.ts +0 -31
- package/src/types/string-literals/metrics/temperature.ts +0 -34
- package/src/types/string-literals/metrics/time.ts +0 -34
- package/src/types/string-literals/metrics/voltage.ts +0 -34
- package/src/types/string-literals/metrics/volume.ts +0 -34
- package/src/types/string-literals/options/DropChars.ts +0 -47
- package/src/types/string-literals/options/TypeRequired.ts +0 -8
- package/src/types/string-literals/options/TypeStrength.ts +0 -9
- package/src/types/string-literals/options/index.ts +0 -3
- package/src/types/tsconfig.json +0 -51
- package/src/types/tuples/DictArray.ts +0 -21
- package/src/types/tuples/FirstKey.ts +0 -16
- package/src/types/tuples/FirstKeyValue.ts +0 -10
- package/src/types/tuples/FirstOfEach.ts +0 -16
- package/src/types/tuples/FixedLengthArray.ts +0 -28
- package/src/types/tuples/FromDictArray.ts +0 -13
- package/src/types/tuples/LastCharOfSome.ts +0 -0
- package/src/types/tuples/LastOfEach.ts +0 -21
- package/src/types/tuples/SecondOfEach.ts +0 -13
- package/src/types/tuples/index.ts +0 -19
- package/src/types/type-conversion/AsBoolean.ts +0 -16
- package/src/types/type-conversion/AsContainer.ts +0 -17
- package/src/types/type-conversion/AsDefined.ts +0 -8
- package/src/types/type-conversion/AsDictionary.ts +0 -5
- package/src/types/type-conversion/AsFunction.ts +0 -14
- package/src/types/type-conversion/AsNonNull.ts +0 -38
- package/src/types/type-conversion/AsNumber.ts +0 -29
- package/src/types/type-conversion/AsObject.ts +0 -6
- package/src/types/type-conversion/AsObjectKeys.ts +0 -21
- package/src/types/type-conversion/AsPropertyKey.ts +0 -11
- package/src/types/type-conversion/AsRecord.ts +0 -21
- package/src/types/type-conversion/AsRef.ts +0 -5
- package/src/types/type-conversion/AsString.ts +0 -28
- package/src/types/type-conversion/AsStringUnion.ts +0 -49
- package/src/types/type-conversion/Awaited.ts +0 -11
- package/src/types/type-conversion/Break.ts +0 -24
- package/src/types/type-conversion/IntersectWithAll.ts +0 -21
- package/src/types/type-conversion/JSON.ts +0 -40
- package/src/types/type-conversion/LeftWhitespace.ts +0 -19
- package/src/types/type-conversion/Merge.ts +0 -124
- package/src/types/type-conversion/MergeObjects.ts +0 -56
- package/src/types/type-conversion/Mutable.ts +0 -46
- package/src/types/type-conversion/ObjectToKvDict.ts +0 -21
- package/src/types/type-conversion/ReduceValues.ts +0 -32
- package/src/types/type-conversion/RemoveFromEnd.ts +0 -14
- package/src/types/type-conversion/RemoveFromStart.ts +0 -14
- package/src/types/type-conversion/RemoveIndex.ts +0 -27
- package/src/types/type-conversion/Replace.ts +0 -28
- package/src/types/type-conversion/ReplaceAll.ts +0 -87
- package/src/types/type-conversion/RetainChars.ts +0 -35
- package/src/types/type-conversion/ReturnValues.ts +0 -31
- package/src/types/type-conversion/RightWhitespace.ts +0 -13
- package/src/types/type-conversion/StringLength.ts +0 -34
- package/src/types/type-conversion/StringLiteralFromTuple.ts +0 -38
- package/src/types/type-conversion/StripChars.ts +0 -44
- package/src/types/type-conversion/ToBoolean.ts +0 -47
- package/src/types/type-conversion/ToContainer.ts +0 -41
- package/src/types/type-conversion/ToJsonValue.ts +0 -76
- package/src/types/type-conversion/ToNumber.ts +0 -54
- package/src/types/type-conversion/ToString.ts +0 -43
- package/src/types/type-conversion/ToStringArray.ts +0 -15
- package/src/types/type-conversion/ToUnion.ts +0 -11
- package/src/types/type-conversion/Trim.ts +0 -28
- package/src/types/type-conversion/TrimLeft.ts +0 -14
- package/src/types/type-conversion/TrimRight.ts +0 -14
- package/src/types/type-conversion/TupleToUnion.ts +0 -19
- package/src/types/type-conversion/UnionArrayToTuple.ts +0 -29
- package/src/types/type-conversion/UnionFilter.ts +0 -116
- package/src/types/type-conversion/UnionShift.ts +0 -30
- package/src/types/type-conversion/UnionToIntersection.ts +0 -10
- package/src/types/type-conversion/UnionToTuple.ts +0 -31
- package/src/types/type-conversion/UnionWithAll.ts +0 -18
- package/src/types/type-conversion/ValueOrReturnValue.ts +0 -28
- package/src/types/type-conversion/Widen.ts +0 -244
- package/src/types/type-conversion/WidenValues.ts +0 -37
- package/src/types/type-conversion/WithDefault.ts +0 -31
- package/src/types/type-conversion/form-fields.ts +0 -10
- package/src/types/type-conversion/index.ts +0 -71
package/src/constants/ISO3166.ts
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* All country codes (name, alpha-2, country-code)
|
|
3
|
-
*/
|
|
4
|
-
export const ISO3166_1 = [
|
|
5
|
-
{ name: "Afghanistan", alpha2: "AF", countryCode: "004", alpha3: "AFG" },
|
|
6
|
-
{ name: "Albania", alpha2: "AL", countryCode: "008", alpha3: "ALB" },
|
|
7
|
-
{ name: "Algeria", alpha2: "DZ", countryCode: "012", alpha3: "DZA" },
|
|
8
|
-
{ name: "Andorra", alpha2: "AD", countryCode: "020", alpha3: "AND" },
|
|
9
|
-
{ name: "Angola", alpha2: "AO", countryCode: "024", alpha3: "AGO" },
|
|
10
|
-
{ name: "Argentina", alpha2: "AR", countryCode: "032", alpha3: "ARG" },
|
|
11
|
-
{ name: "Australia", alpha2: "AU", countryCode: "036", alpha3: "AUS" },
|
|
12
|
-
{ name: "Austria", alpha2: "AT", countryCode: "040", alpha3: "AUT" },
|
|
13
|
-
{ name: "Azerbaijan", alpha2: "AZ", countryCode: "031", alpha3: "AZE" },
|
|
14
|
-
{ name: "Bahamas", alpha2: "BS", countryCode: "044", alpha3: "BHS" },
|
|
15
|
-
{ name: "Bangladesh", alpha2: "BD", countryCode: "050", alpha3: "BGD" },
|
|
16
|
-
{ name: "Belgium", alpha2: "BE", countryCode: "056", alpha3: "BEL" },
|
|
17
|
-
{ name: "Belize", alpha2: "BZ", countryCode: "084", alpha3: "BLZ" },
|
|
18
|
-
{ name: "Benin", alpha2: "BJ", countryCode: "204", alpha3: "BEN" },
|
|
19
|
-
{ name: "Bhutan", alpha2: "BT", countryCode: "064", alpha3: "BTN" },
|
|
20
|
-
{ name: "Bolivia", alpha2: "BO", countryCode: "068", alpha3: "BOL" },
|
|
21
|
-
{ name: "Bosnia and Herzegovina", alpha2: "BA", countryCode: "070", alpha3: "BIH" },
|
|
22
|
-
{ name: "Botswana", alpha2: "BW", countryCode: "072", alpha3: "BWA" },
|
|
23
|
-
{ name: "Brazil", alpha2: "BR", countryCode: "076", alpha3: "BRA" },
|
|
24
|
-
{ name: "Brunei Darussalam", alpha2: "BN", countryCode: "096", alpha3: "BRN" },
|
|
25
|
-
{ name: "Bulgaria", alpha2: "BG", countryCode: "100", alpha3: "BGR" },
|
|
26
|
-
{ name: "Burkina Faso", alpha2: "BF", countryCode: "854", alpha3: "BFA" },
|
|
27
|
-
{ name: "Burundi", alpha2: "BI", countryCode: "108", alpha3: "BDI" },
|
|
28
|
-
{ name: "Cambodia", alpha2: "KH", countryCode: "116", alpha3: "KHM" },
|
|
29
|
-
{ name: "Cameroon", alpha2: "CM", countryCode: "120", alpha3: "CMR" },
|
|
30
|
-
{ name: "Canada", alpha2: "CA", countryCode: "124", alpha3: "CAN" },
|
|
31
|
-
{ name: "Afghanistan", alpha2: "AF", countryCode: "004", alpha3: "AFG" },
|
|
32
|
-
{ name: "Albania", alpha2: "AL", countryCode: "008", alpha3: "ALB" },
|
|
33
|
-
{ name: "Algeria", alpha2: "DZ", countryCode: "012", alpha3: "DZA" },
|
|
34
|
-
{ name: "Andorra", alpha2: "AD", countryCode: "020", alpha3: "AND" },
|
|
35
|
-
{ name: "Angola", alpha2: "AO", countryCode: "024", alpha3: "AGO" },
|
|
36
|
-
{ name: "Argentina", alpha2: "AR", countryCode: "032", alpha3: "ARG" },
|
|
37
|
-
{ name: "Australia", alpha2: "AU", countryCode: "036", alpha3: "AUS" },
|
|
38
|
-
{ name: "Austria", alpha2: "AT", countryCode: "040", alpha3: "AUT" },
|
|
39
|
-
{ name: "Azerbaijan", alpha2: "AZ", countryCode: "031", alpha3: "AZE" },
|
|
40
|
-
{ name: "Bahamas", alpha2: "BS", countryCode: "044", alpha3: "BHS" },
|
|
41
|
-
{ name: "Bangladesh", alpha2: "BD", countryCode: "050", alpha3: "BGD" },
|
|
42
|
-
{ name: "Belgium", alpha2: "BE", countryCode: "056", alpha3: "BEL" },
|
|
43
|
-
{ name: "Belize", alpha2: "BZ", countryCode: "084", alpha3: "BLZ" },
|
|
44
|
-
{ name: "Benin", alpha2: "BJ", countryCode: "204", alpha3: "BEN" },
|
|
45
|
-
{ name: "Bhutan", alpha2: "BT", countryCode: "064", alpha3: "BTN" },
|
|
46
|
-
{ name: "Bolivia", alpha2: "BO", countryCode: "068", alpha3: "BOL" },
|
|
47
|
-
{ name: "Bosnia and Herzegovina", alpha2: "BA", countryCode: "070", alpha3: "BIH" },
|
|
48
|
-
{ name: "Botswana", alpha2: "BW", countryCode: "072", alpha3: "BWA" },
|
|
49
|
-
{ name: "Brazil", alpha2: "BR", countryCode: "076", alpha3: "BRA" },
|
|
50
|
-
{ name: "Brunei Darussalam", alpha2: "BN", countryCode: "096", alpha3: "BRN" },
|
|
51
|
-
{ name: "Bulgaria", alpha2: "BG", countryCode: "100", alpha3: "BGR" },
|
|
52
|
-
{ name: "Burkina Faso", alpha2: "BF", countryCode: "854", alpha3: "BFA" },
|
|
53
|
-
{ name: "Burundi", alpha2: "BI", countryCode: "108", alpha3: "BDI" },
|
|
54
|
-
{ name: "Cambodia", alpha2: "KH", countryCode: "116", alpha3: "KHM" },
|
|
55
|
-
{ name: "Cameroon", alpha2: "CM", countryCode: "120", alpha3: "CMR" },
|
|
56
|
-
{ name: "Canada", alpha2: "CA", countryCode: "124", alpha3: "CAN" },
|
|
57
|
-
{ name: "Maldives", alpha2: "MV", countryCode: "462", alpha3: "MDV" },
|
|
58
|
-
{ name: "Mali", alpha2: "ML", countryCode: "466", alpha3: "MLI" },
|
|
59
|
-
{ name: "Malta", alpha2: "MT", countryCode: "470", alpha3: "MLT" },
|
|
60
|
-
{ name: "Marshall Islands", alpha2: "MH", countryCode: "584", alpha3: "MHL" },
|
|
61
|
-
{ name: "Mauritania", alpha2: "MR", countryCode: "478", alpha3: "MRT" },
|
|
62
|
-
{ name: "Mauritius", alpha2: "MU", countryCode: "480", alpha3: "MUS" },
|
|
63
|
-
{ name: "Mexico", alpha2: "MX", countryCode: "484", alpha3: "MEX" },
|
|
64
|
-
{ name: "Micronesia (Federated States of)", alpha2: "FM", countryCode: "583", alpha3: "FSM" },
|
|
65
|
-
{ name: "Moldova (Republic of)", alpha2: "MD", countryCode: "498", alpha3: "MDA" },
|
|
66
|
-
{ name: "Monaco", alpha2: "MC", countryCode: "492", alpha3: "MCO" },
|
|
67
|
-
{ name: "Mongolia", alpha2: "MN", countryCode: "496", alpha3: "MNG" },
|
|
68
|
-
{ name: "Montenegro", alpha2: "ME", countryCode: "499", alpha3: "MNE" },
|
|
69
|
-
{ name: "Morocco", alpha2: "MA", countryCode: "504", alpha3: "MAR" },
|
|
70
|
-
{ name: "Mozambique", alpha2: "MZ", countryCode: "508", alpha3: "MOZ" },
|
|
71
|
-
{ name: "Myanmar", alpha2: "MM", countryCode: "104", alpha3: "MMR" },
|
|
72
|
-
{ name: "Namibia", alpha2: "NA", countryCode: "516", alpha3: "NAM" },
|
|
73
|
-
{ name: "Nauru", alpha2: "NR", countryCode: "520", alpha3: "NRU" },
|
|
74
|
-
{ name: "Nepal", alpha2: "NP", countryCode: "524", alpha3: "NPL" },
|
|
75
|
-
{ name: "Netherlands", alpha2: "NL", countryCode: "528", alpha3: "NLD" },
|
|
76
|
-
{ name: "New Zealand", alpha2: "NZ", countryCode: "554", alpha3: "NZL" },
|
|
77
|
-
{ name: "Nicaragua", alpha2: "NI", countryCode: "558", alpha3: "NIC" },
|
|
78
|
-
{ name: "Niger", alpha2: "NE", countryCode: "562", alpha3: "NER" },
|
|
79
|
-
{ name: "Nigeria", alpha2: "NG", countryCode: "566", alpha3: "NGA" },
|
|
80
|
-
{ name: "North Macedonia", alpha2: "MK", countryCode: "807", alpha3: "MKD" },
|
|
81
|
-
{ name: "Norway", alpha2: "NO", countryCode: "578", alpha3: "NOR" },
|
|
82
|
-
{ name: "Oman", alpha2: "OM", countryCode: "512", alpha3: "OMN" },
|
|
83
|
-
{ name: "Pakistan", alpha2: "PK", countryCode: "586", alpha3: "PAK" },
|
|
84
|
-
{ name: "Palau", alpha2: "PW", countryCode: "585", alpha3: "PLW" },
|
|
85
|
-
{ name: "Panama", alpha2: "PA", countryCode: "591", alpha3: "PAN" },
|
|
86
|
-
{ name: "Papua New Guinea", alpha2: "PG", countryCode: "598", alpha3: "PNG" },
|
|
87
|
-
{ name: "Paraguay", alpha2: "PY", countryCode: "600", alpha3: "PRY" },
|
|
88
|
-
{ name: "Peru", alpha2: "PE", countryCode: "604", alpha3: "PER" },
|
|
89
|
-
{ name: "Philippines", alpha2: "PH", countryCode: "608", alpha3: "PHL" },
|
|
90
|
-
{ name: "Poland", alpha2: "PL", countryCode: "616", alpha3: "POL" },
|
|
91
|
-
{ name: "Portugal", alpha2: "PT", countryCode: "620", alpha3: "PRT" },
|
|
92
|
-
{ name: "Qatar", alpha2: "QA", countryCode: "634", alpha3: "QAT" },
|
|
93
|
-
{ name: "Romania", alpha2: "RO", countryCode: "642", alpha3: "ROU" },
|
|
94
|
-
{ name: "Russian Federation", alpha2: "RU", countryCode: "643", alpha3: "RUS" },
|
|
95
|
-
{ name: "Rwanda", alpha2: "RW", countryCode: "646", alpha3: "RWA" },
|
|
96
|
-
{ name: "Saint Kitts and Nevis", alpha2: "KN", countryCode: "659", alpha3: "KNA" },
|
|
97
|
-
{ name: "Saint Lucia", alpha2: "LC", countryCode: "662", alpha3: "LCA" },
|
|
98
|
-
{ name: "Saint Vincent and the Grenadines", alpha2: "VC", countryCode: "670", alpha3: "VCT" },
|
|
99
|
-
{ name: "Samoa", alpha2: "WS", countryCode: "882", alpha3: "WSM" },
|
|
100
|
-
{ name: "San Marino", alpha2: "SM", countryCode: "674", alpha3: "SMR" },
|
|
101
|
-
{ name: "Sao Tome and Principe", alpha2: "ST", countryCode: "678", alpha3: "STP" },
|
|
102
|
-
{ name: "Saudi Arabia", alpha2: "SA", countryCode: "682", alpha3: "SAU" },
|
|
103
|
-
{ name: "Senegal", alpha2: "SN", countryCode: "686", alpha3: "SEN" },
|
|
104
|
-
{ name: "Serbia", alpha2: "RS", countryCode: "688", alpha3: "SRB" },
|
|
105
|
-
{ name: "Seychelles", alpha2: "SC", countryCode: "690", alpha3: "SYC" },
|
|
106
|
-
{ name: "Sierra Leone", alpha2: "SL", countryCode: "694", alpha3: "SLE" },
|
|
107
|
-
{ name: "Singapore", alpha2: "SG", countryCode: "702", alpha3: "SGP" },
|
|
108
|
-
{ name: "Slovakia", alpha2: "SK", countryCode: "703", alpha3: "SVK" },
|
|
109
|
-
{ name: "Slovenia", alpha2: "SI", countryCode: "705", alpha3: "SVN" },
|
|
110
|
-
{ name: "Solomon Islands", alpha2: "SB", countryCode: "090", alpha3: "SLB" },
|
|
111
|
-
{ name: "Somalia", alpha2: "SO", countryCode: "706", alpha3: "SOM" },
|
|
112
|
-
{ name: "South Africa", alpha2: "ZA", countryCode: "710", alpha3: "ZAF" },
|
|
113
|
-
{ name: "South Sudan", alpha2: "SS", countryCode: "728", alpha3: "SSD" },
|
|
114
|
-
{ name: "Spain", alpha2: "ES", countryCode: "724", alpha3: "ESP" },
|
|
115
|
-
{ name: "Sri Lanka", alpha2: "LK", countryCode: "144", alpha3: "LKA" },
|
|
116
|
-
{ name: "Sudan", alpha2: "SD", countryCode: "729", alpha3: "SDN" },
|
|
117
|
-
{ name: "Suriname", alpha2: "SR", countryCode: "740", alpha3: "SUR" },
|
|
118
|
-
{ name: "Sweden", alpha2: "SE", countryCode: "752", alpha3: "SWE" },
|
|
119
|
-
{ name: "Switzerland", alpha2: "CH", countryCode: "756", alpha3: "CHE" },
|
|
120
|
-
{ name: "Syrian Arab Republic", alpha2: "SY", countryCode: "760", alpha3: "SYR" },
|
|
121
|
-
{ name: "Taiwan", alpha2: "TW", countryCode: "158", alpha3: "TWN" },
|
|
122
|
-
{ name: "Tajikistan", alpha2: "TJ", countryCode: "762", alpha3: "TJK" },
|
|
123
|
-
{ name: "Tanzania", alpha2: "TZ", countryCode: "834", alpha3: "TZA" },
|
|
124
|
-
{ name: "Thailand", alpha2: "TH", countryCode: "764", alpha3: "THA" },
|
|
125
|
-
{ name: "Timor-Leste", alpha2: "TL", countryCode: "626", alpha3: "TLS" },
|
|
126
|
-
{ name: "Togo", alpha2: "TG", countryCode: "768", alpha3: "TGO" },
|
|
127
|
-
{ name: "Tonga", alpha2: "TO", countryCode: "776", alpha3: "TON" },
|
|
128
|
-
{ name: "Tonga", alpha2: "TO", countryCode: "776", alpha3: "TON" },
|
|
129
|
-
{ name: "Trinidad and Tobago", alpha2: "TT", countryCode: "780", alpha3: "TTO" },
|
|
130
|
-
{ name: "Tunisia", alpha2: "TN", countryCode: "788", alpha3: "TUN" },
|
|
131
|
-
{ name: "Turkey", alpha2: "TR", countryCode: "792", alpha3: "TUR" },
|
|
132
|
-
{ name: "Turkmenistan", alpha2: "TM", countryCode: "795", alpha3: "TKM" },
|
|
133
|
-
{ name: "Tuvalu", alpha2: "TV", countryCode: "798", alpha3: "TUV" },
|
|
134
|
-
{ name: "Uganda", alpha2: "UG", countryCode: "800", alpha3: "UGA" },
|
|
135
|
-
{ name: "Ukraine", alpha2: "UA", countryCode: "804", alpha3: "UKR" },
|
|
136
|
-
{ name: "United Arab Emirates", alpha2: "AE", countryCode: "784", alpha3: "ARE" },
|
|
137
|
-
{ name: "United Kingdom", alpha2: "GB", countryCode: "826", alpha3: "GBR" },
|
|
138
|
-
{ name: "United States of America", alpha2: "US", countryCode: "840", alpha3: "USA" },
|
|
139
|
-
{ name: "Uruguay", alpha2: "UY", countryCode: "858", alpha3: "URY" },
|
|
140
|
-
{ name: "Uzbekistan", alpha2: "UZ", countryCode: "860", alpha3: "UZB" },
|
|
141
|
-
{ name: "Vanuatu", alpha2: "VU", countryCode: "548", alpha3: "VUT" },
|
|
142
|
-
{ name: "Venezuela", alpha2: "VE", countryCode: "862", alpha3: "VEN" },
|
|
143
|
-
{ name: "Viet Nam", alpha2: "VN", countryCode: "704", alpha3: "VNM" },
|
|
144
|
-
{ name: "Yemen", alpha2: "YE", countryCode: "887", alpha3: "YEM" },
|
|
145
|
-
{ name: "Zambia", alpha2: "ZM", countryCode: "894", alpha3: "ZMB" },
|
|
146
|
-
{ name: "Zimbabwe", alpha2: "ZW", countryCode: "716", alpha3: "ZWE" }
|
|
147
|
-
] as const;
|
package/src/constants/Images.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
type Url = `http${string}`
|
|
2
|
-
|
|
3
|
-
type Format = {
|
|
4
|
-
ext: string;
|
|
5
|
-
webFormat: boolean;
|
|
6
|
-
name?: string;
|
|
7
|
-
info?: Url;
|
|
8
|
-
other_ext: string[]
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const IMAGE_FORMAT_LOOKUP = [
|
|
12
|
-
{ ext: "jpg", webFormat: true, other_ext: ["jpeg"] },
|
|
13
|
-
{ ext: "png", webFormat: true, other_ext: [] },
|
|
14
|
-
{ ext: "gif", webFormat: true, other_ext: [] },
|
|
15
|
-
{ ext: "heif", webFormat: true, other_ext: [] },
|
|
16
|
-
{ ext: "svg", webFormat: true, other_ext: [] },
|
|
17
|
-
{ ext: "raw", webFormat: false, other_ext: [] },
|
|
18
|
-
{ ext: "dng", webFormat: false, other_ext: [] },
|
|
19
|
-
{ ext: "avif", webFormat: true, other_ext: [] },
|
|
20
|
-
{ ext: "webp", webFormat: true, other_ext: [] },
|
|
21
|
-
{ ext: "tiff", webFormat: false, other_ext: ["tif"] },
|
|
22
|
-
] as const satisfies Format[];
|
package/src/constants/Marked.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createConstant } from "inferred-types/dist/constants/index";
|
|
2
|
-
|
|
3
|
-
export const MARKED = createConstant("Marked");
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* **Marked**
|
|
7
|
-
*
|
|
8
|
-
* A constant that indicates that an item has been marked for
|
|
9
|
-
* some ongoing operation.
|
|
10
|
-
*/
|
|
11
|
-
export type Marked = typeof MARKED;
|
package/src/constants/Markers.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export const BLOOD_MARKERS_LOOKUP = [
|
|
3
|
-
{ abbrev: "Hb", name: "hemoglobin", measurements: ["g/dL", "mmol/L"] },
|
|
4
|
-
{ abbrev: "WBC", name: "white blood cell count", measurements: ["cells/µL"] },
|
|
5
|
-
{ abbrev: "RBC", name: "red blood cell count", measurements: ["million cells/µL", "trillion cells/L"] },
|
|
6
|
-
{ abbrev: "PLT", name: "platelet count", measurements: ["thousand/µL", "million/L"] },
|
|
7
|
-
{ abbrev: "Hct", name: "hematocrit", measurements: ["%"] },
|
|
8
|
-
{ abbrev: "MCV", name: "mean corpuscular volume", measurements: ["fL"] },
|
|
9
|
-
{ abbrev: "MCH", name: "mean corpuscular hemoglobin", measurements: ["pg/cell"] },
|
|
10
|
-
{ abbrev: "MCHC", name: "mean corpuscular hemoglobin concentration", measurements: ["g/dL"] },
|
|
11
|
-
{ abbrev: "RDW", name: "red cell distribution width", measurements: ["%"] },
|
|
12
|
-
{ abbrev: "Glucose", name: "blood glucose", measurements: ["mg/dL", "mmol/L"] },
|
|
13
|
-
{ abbrev: "ALT", name: "alanine aminotransferase", measurements: ["U/L"] },
|
|
14
|
-
{ abbrev: "AST", name: "aspartate aminotransferase", measurements: ["U/L"] },
|
|
15
|
-
{ abbrev: "LDL", name: "low-density lipoprotein", measurements: ["mg/dL", "mmol/L"] },
|
|
16
|
-
{ abbrev: "HDL", name: "high-density lipoprotein", measurements: ["mg/dL", "mmol/L"] },
|
|
17
|
-
{ abbrev: "Triglycerides", name: "triglycerides", measurements: ["mg/dL", "mmol/L"] },
|
|
18
|
-
{ abbrev: "CRP", name: "C-reactive protein", measurements: ["mg/L"] },
|
|
19
|
-
{ abbrev: "TSH", name: "thyroid-stimulating hormone", measurements: ["mIU/L"] },
|
|
20
|
-
{ abbrev: "BUN", name: "blood urea nitrogen", measurements: ["mg/dL", "mmol/L"] },
|
|
21
|
-
{ abbrev: "Creatinine", name: "creatinine", measurements: ["mg/dL", "µmol/L"] },
|
|
22
|
-
{ abbrev: "Bilirubin", name: "bilirubin", measurements: ["mg/dL", "µmol/L"] },
|
|
23
|
-
] as const;
|
package/src/constants/Metrics.ts
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export const DISTANCE_METRICS_LOOKUP = [
|
|
4
|
-
{ abbrev: "km", name: "kilometer" },
|
|
5
|
-
{ abbrev: "mi", name: "mile" },
|
|
6
|
-
{ abbrev: "mm", name: "millimeter" },
|
|
7
|
-
{ abbrev: "cm", name: "centimeter" },
|
|
8
|
-
{ abbrev: "yd", name: "yard" },
|
|
9
|
-
{ abbrev: "ft", name: "foot" },
|
|
10
|
-
{ abbrev: "in", name: "inch" },
|
|
11
|
-
{ abbrev: "m", name: "meter" },
|
|
12
|
-
{ abbrev: "nm", name: "nautical mile" },
|
|
13
|
-
{ abbrev: "nmi", name: "nanometer" },
|
|
14
|
-
{ abbrev: "µm", name: "micrometer" },
|
|
15
|
-
{ abbrev: "dm", name: "decimeter" },
|
|
16
|
-
{ abbrev: "AU", name: "astronomical unit" },
|
|
17
|
-
{ abbrev: "ly", name: "light year" },
|
|
18
|
-
{ abbrev: "pc", name: "parsec" },
|
|
19
|
-
] as const;
|
|
20
|
-
|
|
21
|
-
export const MASS_METRICS_LOOKUP = [
|
|
22
|
-
{ abbrev: "g", name: "gram" },
|
|
23
|
-
{ abbrev: "kg", name: "kilogram" },
|
|
24
|
-
{ abbrev: "mg", name: "milligram" },
|
|
25
|
-
{ abbrev: "µg", name: "microgram" },
|
|
26
|
-
{ abbrev: "t", name: "tonne" },
|
|
27
|
-
{ abbrev: "lb", name: "pound" },
|
|
28
|
-
{ abbrev: "oz", name: "ounce" },
|
|
29
|
-
{ abbrev: "st", name: "stone" },
|
|
30
|
-
{ abbrev: "ct", name: "carat" },
|
|
31
|
-
{ abbrev: "Mt", name: "megatonne" },
|
|
32
|
-
{ abbrev: "gt", name: "gigatonne" },
|
|
33
|
-
{ abbrev: "slug", name: "slug" },
|
|
34
|
-
{ abbrev: "dr", name: "dram" },
|
|
35
|
-
{ abbrev: "gr", name: "grain" },
|
|
36
|
-
{ abbrev: "q", name: "quintal" },
|
|
37
|
-
] as const;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export const SPEED_METRICS_LOOKUP = [
|
|
41
|
-
{ abbrev: "m/s", name: "meters per second" },
|
|
42
|
-
{ abbrev: "km/h", name: "kilometers per hour" },
|
|
43
|
-
{ abbrev: "mph", name: "miles per hour" },
|
|
44
|
-
{ abbrev: "kn", name: "knot" },
|
|
45
|
-
{ abbrev: "ft/s", name: "feet per second" },
|
|
46
|
-
{ abbrev: "c", name: "speed of light" },
|
|
47
|
-
{ abbrev: "mach", name: "mach" },
|
|
48
|
-
{ abbrev: "cm/s", name: "centimeters per second" },
|
|
49
|
-
{ abbrev: "in/s", name: "inches per second" },
|
|
50
|
-
{ abbrev: "ly/y", name: "light years per year" },
|
|
51
|
-
] as const;
|
|
52
|
-
|
|
53
|
-
export const ACCELERATION_METRICS_LOOKUP = [
|
|
54
|
-
{ abbrev: "m/s²", name: "meters per second squared" },
|
|
55
|
-
{ abbrev: "ft/s²", name: "feet per second squared" },
|
|
56
|
-
{ abbrev: "g", name: "g-force" },
|
|
57
|
-
{ abbrev: "Gal", name: "galileo" },
|
|
58
|
-
{ abbrev: "cm/s²", name: "centimeters per second squared" },
|
|
59
|
-
{ abbrev: "km/h²", name: "kilometers per hour squared" },
|
|
60
|
-
{ abbrev: "in/s²", name: "inches per second squared" },
|
|
61
|
-
{ abbrev: "mi/h²", name: "miles per hour squared" },
|
|
62
|
-
{ abbrev: "kn/s²", name: "knots per second squared" },
|
|
63
|
-
] as const;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export const VOLUME_METRICS_LOOKUP = [
|
|
67
|
-
{ abbrev: "L", name: "liter" },
|
|
68
|
-
{ abbrev: "dL", name: "deciliter" },
|
|
69
|
-
{ abbrev: "mL", name: "milliliter" },
|
|
70
|
-
{ abbrev: "µL", name: "microliter" },
|
|
71
|
-
{ abbrev: "cm³", name: "cubic centimeter" },
|
|
72
|
-
{ abbrev: "m³", name: "cubic meter" },
|
|
73
|
-
{ abbrev: "ft³", name: "cubic foot" },
|
|
74
|
-
{ abbrev: "in³", name: "cubic inch" },
|
|
75
|
-
{ abbrev: "gallon", name: "gallon" },
|
|
76
|
-
{ abbrev: "qt", name: "quart" },
|
|
77
|
-
{ abbrev: "pt", name: "pint" },
|
|
78
|
-
{ abbrev: "fl oz", name: "fluid ounce" },
|
|
79
|
-
{ abbrev: "barrel", name: "barrel" },
|
|
80
|
-
{ abbrev: "tbsp", name: "tablespoon" },
|
|
81
|
-
{ abbrev: "tsp", name: "teaspoon" },
|
|
82
|
-
] as const;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export const TEMPERATURE_METRICS_LOOKUP = [
|
|
86
|
-
{ abbrev: "°C", name: "celsius" },
|
|
87
|
-
{ abbrev: "°F", name: "fahrenheit" },
|
|
88
|
-
{ abbrev: "K", name: "kelvin" },
|
|
89
|
-
] as const;
|
|
90
|
-
|
|
91
|
-
export const PRESSURE_METRICS_LOOKUP = [
|
|
92
|
-
{ abbrev: "Pa", name: "pascal" },
|
|
93
|
-
{ abbrev: "bar", name: "bar" },
|
|
94
|
-
{ abbrev: "atm", name: "atmosphere" },
|
|
95
|
-
{ abbrev: "mmHg", name: "millimeters of mercury" },
|
|
96
|
-
{ abbrev: "psi", name: "pounds per square inch" },
|
|
97
|
-
] as const;
|
|
98
|
-
|
|
99
|
-
export const ENERGY_METRICS_LOOKUP = [
|
|
100
|
-
{ abbrev: "J", name: "joule" },
|
|
101
|
-
{ abbrev: "cal", name: "calorie" },
|
|
102
|
-
{ abbrev: "kcal", name: "kilocalorie" },
|
|
103
|
-
{ abbrev: "kWh", name: "kilowatt-hour" },
|
|
104
|
-
{ abbrev: "BTU", name: "british thermal unit" },
|
|
105
|
-
{ abbrev: "eV", name: "electronvolt" },
|
|
106
|
-
] as const;
|
|
107
|
-
|
|
108
|
-
export const TIME_METRICS_LOOKUP = [
|
|
109
|
-
{ abbrev: "s", name: "second" },
|
|
110
|
-
{ abbrev: "m", name: "minute" },
|
|
111
|
-
{ abbrev: "h", name: "hour" },
|
|
112
|
-
{ abbrev: "day", name: "day" },
|
|
113
|
-
{ abbrev: "week", name: "week" },
|
|
114
|
-
{ abbrev: "mo", name: "month" },
|
|
115
|
-
{ abbrev: "ms", name: "millisecond" },
|
|
116
|
-
{ abbrev: "µs", name: "microsecond" },
|
|
117
|
-
{ abbrev: "ns", name: "nanosecond" },
|
|
118
|
-
] as const;
|
|
119
|
-
|
|
120
|
-
export const POWER_METRICS_LOOKUP = [
|
|
121
|
-
{ abbrev: "W", name: "Watt" },
|
|
122
|
-
{ abbrev: "kW", name: "kilowatt" },
|
|
123
|
-
{ abbrev: "MW", name: "megawatt" },
|
|
124
|
-
{ abbrev: "hp", name: "horsepower" },
|
|
125
|
-
{ abbrev: "GW", name: "gigawatt" },
|
|
126
|
-
] as const;
|
|
127
|
-
|
|
128
|
-
export const FREQUENCY_METRICS_LOOKUP = [
|
|
129
|
-
{ abbrev: "Hz", name: "hertz" },
|
|
130
|
-
{ abbrev: "kHz", name: "kilohertz" },
|
|
131
|
-
{ abbrev: "MHz", name: "megahertz" },
|
|
132
|
-
{ abbrev: "GHz", name: "gigahertz" },
|
|
133
|
-
{ abbrev: "THz", name: "terahertz" },
|
|
134
|
-
] as const;
|
|
135
|
-
|
|
136
|
-
export const VOLTAGE_METRICS_LOOKUP = [
|
|
137
|
-
{ abbrev: "V", name: "volt" },
|
|
138
|
-
{ abbrev: "kV", name: "kilovolt" },
|
|
139
|
-
{ abbrev: "mV", name: "millivolt" },
|
|
140
|
-
{ abbrev: "µV", name: "microvolt" },
|
|
141
|
-
] as const;
|
|
142
|
-
|
|
143
|
-
export const CURRENT_METRICS_LOOKUP = [
|
|
144
|
-
{ abbrev: "A", name: "ampere" },
|
|
145
|
-
{ abbrev: "mA", name: "milliampere" },
|
|
146
|
-
{ abbrev: "µA", name: "microampere" },
|
|
147
|
-
{ abbrev: "kA", name: "kiloampere" },
|
|
148
|
-
] as const;
|
|
149
|
-
|
|
150
|
-
export const RESISTANCE_METRICS_LOOKUP = [
|
|
151
|
-
{ abbrev: "Ω", name: "ohm" },
|
|
152
|
-
{ abbrev: "kΩ", name: "kiloohm" },
|
|
153
|
-
{ abbrev: "MΩ", name: "megaohm" },
|
|
154
|
-
] as const;
|
|
155
|
-
|
|
156
|
-
export const LUMINOSITY_METRICS_LOOKUP = [
|
|
157
|
-
{ abbrev: "cd", name: "candela" },
|
|
158
|
-
{ abbrev: "lm", name: "lumen" },
|
|
159
|
-
{ abbrev: "lx", name: "lux" },
|
|
160
|
-
] as const;
|
|
161
|
-
|
|
162
|
-
export const AREA_METRICS_LOOKUP = [
|
|
163
|
-
{ abbrev: "m²", name: "square meter" },
|
|
164
|
-
{ abbrev: "cm²", name: "square centimeter" },
|
|
165
|
-
{ abbrev: "mm²", name: "square millimeter" },
|
|
166
|
-
{ abbrev: "km²", name: "square kilometer" },
|
|
167
|
-
{ abbrev: "ft²", name: "square foot" },
|
|
168
|
-
{ abbrev: "in²", name: "square inch" },
|
|
169
|
-
{ abbrev: "acre", name: "acre" },
|
|
170
|
-
{ abbrev: "ha", name: "hectare" },
|
|
171
|
-
] as const;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export const IPv6 = {
|
|
2
|
-
"Loopback": "::1/128",
|
|
3
|
-
"Multicast": "ff00::/8",
|
|
4
|
-
"IPv4MappedAddresses": "::FFFF:0:0/96",
|
|
5
|
-
"Unicast": "fe80::/10",
|
|
6
|
-
"DocumentationAddresses": "2001:db8::/32"
|
|
7
|
-
} as const;
|
|
8
|
-
|
|
9
|
-
export const IPv4 = {
|
|
10
|
-
"Loopback": "127.0.0.1"
|
|
11
|
-
} as const;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Lookup of protocols which provides a tuple of: `[insecure,secure]`
|
|
16
|
-
*/
|
|
17
|
-
export const NETWORK_PROTOCOL_LOOKUP = {
|
|
18
|
-
http: ["http", "https"],
|
|
19
|
-
ftp: ["ftp", "sftp"],
|
|
20
|
-
file: ["","file"],
|
|
21
|
-
ws: ["ws","wss"],
|
|
22
|
-
ssh: ["","ssh"],
|
|
23
|
-
"scp": ["","scp"]
|
|
24
|
-
} as const;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* **TLD**
|
|
32
|
-
*
|
|
33
|
-
* Top level domains in DNS. This is not a comprehensive list but
|
|
34
|
-
* takes the core ones and adds in some popular choices.
|
|
35
|
-
*/
|
|
36
|
-
export const TOP_LEVEL_DOMAINS = [
|
|
37
|
-
"com",
|
|
38
|
-
"org",
|
|
39
|
-
"net",
|
|
40
|
-
"int",
|
|
41
|
-
"edu",
|
|
42
|
-
"gov",
|
|
43
|
-
"io",
|
|
44
|
-
"mil",
|
|
45
|
-
"arpa",
|
|
46
|
-
"academy",
|
|
47
|
-
"agency",
|
|
48
|
-
"analytics",
|
|
49
|
-
"app",
|
|
50
|
-
"art",
|
|
51
|
-
"bet",
|
|
52
|
-
"beer",
|
|
53
|
-
"book",
|
|
54
|
-
"coffee",
|
|
55
|
-
"dot",
|
|
56
|
-
"doctor",
|
|
57
|
-
"dog",
|
|
58
|
-
"family",
|
|
59
|
-
"game",
|
|
60
|
-
"guide",
|
|
61
|
-
"guru",
|
|
62
|
-
"info",
|
|
63
|
-
"inc",
|
|
64
|
-
"news",
|
|
65
|
-
"new",
|
|
66
|
-
"ninja",
|
|
67
|
-
"now",
|
|
68
|
-
"online",
|
|
69
|
-
"page",
|
|
70
|
-
"photos",
|
|
71
|
-
"place",
|
|
72
|
-
"pub",
|
|
73
|
-
"room",
|
|
74
|
-
"show",
|
|
75
|
-
"technology",
|
|
76
|
-
"tel",
|
|
77
|
-
"tech",
|
|
78
|
-
"team",
|
|
79
|
-
"talk",
|
|
80
|
-
"travel",
|
|
81
|
-
"website",
|
|
82
|
-
"work",
|
|
83
|
-
"works",
|
|
84
|
-
"wow",
|
|
85
|
-
"uk",
|
|
86
|
-
"us",
|
|
87
|
-
"fr",
|
|
88
|
-
"de",
|
|
89
|
-
"eu",
|
|
90
|
-
"london",
|
|
91
|
-
] as const;
|
package/src/constants/Never.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createConstant } from "inferred-types/dist/constants/index";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* **Never**
|
|
5
|
-
*
|
|
6
|
-
* A runtime constant that is meant to represent the `never` type.
|
|
7
|
-
*
|
|
8
|
-
* **Related:** you can use the `never()` runtime utility to give a
|
|
9
|
-
* runtime value but force it's type to `never`.
|
|
10
|
-
*/
|
|
11
|
-
export const Never = createConstant("never") as never;
|