inferred-types 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22046,6 +22046,55 @@ function doesExtend(type) {
22046
22046
  return false;
22047
22047
  };
22048
22048
  }
22049
+ /**
22050
+ * Adds any `TypeToken` by receiving the `TypeTokenKind` and then whatever
22051
+ * parameters that type requires.
22052
+ */
22053
+ function addToken(token, ...params) {
22054
+ return `<<${token}${params.length > 0 ? `::${params.join("::")}` : ""}>>`;
22055
+ }
22056
+ function boolean(literal$1) {
22057
+ return isDefined(literal$1) ? isTrue(literal$1) ? addToken("true") : isFalse(literal$1) ? addToken("false") : addToken("boolean") : addToken("boolean");
22058
+ }
22059
+ const unknown = () => "<<unknown>>";
22060
+ const undefinedType = () => "<<undefined>>";
22061
+ const nullType = () => "<<null>>";
22062
+ /**
22063
+ * **fn**
22064
+ *
22065
+ * provides an API surface for function definition
22066
+ */
22067
+ function fn(..._args) {
22068
+ return {
22069
+ returns: (_rtn) => ({
22070
+ addProperties: (_kv) => {
22071
+ return null;
22072
+ },
22073
+ done: () => {
22074
+ return null;
22075
+ }
22076
+ }),
22077
+ done: () => {
22078
+ const result$1 = null;
22079
+ return result$1;
22080
+ }
22081
+ };
22082
+ }
22083
+ function record(_key, _value) {
22084
+ return null;
22085
+ }
22086
+ function array(_type) {
22087
+ return null;
22088
+ }
22089
+ function set(_type) {
22090
+ return null;
22091
+ }
22092
+ function map(_key, _value) {
22093
+ return null;
22094
+ }
22095
+ function weakMap(_key, _value) {
22096
+ return null;
22097
+ }
22049
22098
  function isAddOrDone(val) {
22050
22099
  return isDictionary(val) && hasKeys("add", "done") && typeof val.done === "function" && typeof val.add === "function";
22051
22100
  }
@@ -22082,40 +22131,6 @@ function isShape(v) {
22082
22131
  return !!(isString(v) && v.startsWith("<<") && v.endsWith(">>") && SHAPE_PREFIXES$1.some((i) => v.startsWith(`<<${i}`)));
22083
22132
  }
22084
22133
  /**
22085
- * Adds any `TypeToken` by receiving the `TypeTokenKind` and then whatever
22086
- * parameters that type requires.
22087
- */
22088
- function addToken(token, ...params) {
22089
- return `<<${token}${params.length > 0 ? `::${params.join("::")}` : ""}>>`;
22090
- }
22091
- function boolean(literal$1) {
22092
- return isDefined(literal$1) ? isTrue(literal$1) ? addToken("true") : isFalse(literal$1) ? addToken("false") : addToken("boolean") : addToken("boolean");
22093
- }
22094
- const unknown = () => "<<unknown>>";
22095
- const undefinedType = () => "<<undefined>>";
22096
- const nullType = () => "<<null>>";
22097
- /**
22098
- * **fn**
22099
- *
22100
- * provides an API surface for function definition
22101
- */
22102
- function fn(..._args) {
22103
- return {
22104
- returns: (_rtn) => ({
22105
- addProperties: (_kv) => {
22106
- return null;
22107
- },
22108
- done: () => {
22109
- return null;
22110
- }
22111
- }),
22112
- done: () => {
22113
- const result$1 = null;
22114
- return result$1;
22115
- }
22116
- };
22117
- }
22118
- /**
22119
22134
  * **getTokenData**`(token)`
22120
22135
  *
22121
22136
  * Given a `Shape` token, this function will extract the
@@ -22152,21 +22167,6 @@ function regexToken(re, ...rep) {
22152
22167
  const token = `<<string-set::regexp::${encodeURIComponent(exp)}>>`;
22153
22168
  return token;
22154
22169
  }
22155
- function record(_key, _value) {
22156
- return null;
22157
- }
22158
- function array(_type) {
22159
- return null;
22160
- }
22161
- function set(_type) {
22162
- return null;
22163
- }
22164
- function map(_key, _value) {
22165
- return null;
22166
- }
22167
- function weakMap(_key, _value) {
22168
- return null;
22169
- }
22170
22170
  function asOutputFunction(_val) {}
22171
22171
  /**
22172
22172
  * Receives an `InputTokenLike` token and converts it to the
@@ -22254,7 +22254,18 @@ function getTokenKind(token) {
22254
22254
  const kind = parts.pop();
22255
22255
  return kind;
22256
22256
  }
22257
- function asInputToken(_defn) {}
22257
+ /**
22258
+ * **asInputToken**`(token) -> string`
22259
+ *
22260
+ * Takes an input token(string or otherwise) and returns it as a string token.
22261
+ *
22262
+ * **Note:** until the runtime type parser is finished this will not produce
22263
+ * a runtime errors when an invalid token is passed in but the _type_ will
22264
+ * be set because it benefits from type utilities which are already in place.
22265
+ */
22266
+ function asInputToken(token) {
22267
+ return isString(token) ? token : isDictionary(token) ? toStringLiteral__Object(token) : isArray(token) ? fromInputToken(token) : Never$1;
22268
+ }
22258
22269
  /**
22259
22270
  * **toStringToken**`(token)`
22260
22271
  *
@@ -23005,7 +23016,9 @@ function stripParenthesis(val) {
23005
23016
  * Converts the passed in value to a strongly typed string
23006
23017
  * literal representation of the JSON type for `val`.
23007
23018
  *
23008
- * **Related:** `toStringLiteral()`
23019
+ * **Related:** `toStringLiteral()`, `toJson()`
23020
+ *
23021
+ * @deprecated use `toJson()` instead
23009
23022
  */
23010
23023
  function toJSON(val, _options = {
23011
23024
  quote: "\"",
@@ -23014,6 +23027,20 @@ function toJSON(val, _options = {
23014
23027
  return JSON.stringify(val);
23015
23028
  }
23016
23029
  /**
23030
+ * **toJson**`(val)`
23031
+ *
23032
+ * Converts the passed in value to a strongly typed string
23033
+ * literal representation of the JSON type for `val`.
23034
+ *
23035
+ * **Related:** `toStringLiteral()`
23036
+ */
23037
+ function toJson(val, _options = {
23038
+ quote: "\"",
23039
+ encode: false
23040
+ }) {
23041
+ return JSON.stringify(val);
23042
+ }
23043
+ /**
23017
23044
  * **toKeyValue**`(obj)` -> tuple
23018
23045
  *
23019
23046
  * Converts an object into a tuple of `KeyValue` objects.
@@ -23081,6 +23108,13 @@ function property(prop) {
23081
23108
  }
23082
23109
  return String(prop);
23083
23110
  }
23111
+ /**
23112
+ * **toStringLiteral__Object**`(obj) -> token`
23113
+ *
23114
+ * Converts a `DefineObject` shaped type definition into a string based
23115
+ * `InputToken` while converting the _type_ to the type which the token
23116
+ * represents.
23117
+ */
23084
23118
  function toStringLiteral__Object(obj) {
23085
23119
  const inner = [];
23086
23120
  for (const k of keysOf(obj)) inner.push(`${property(k)}: ${obj[k]}`);
@@ -23372,5 +23406,5 @@ let ExifSaturation = /* @__PURE__ */ function(ExifSaturation$1) {
23372
23406
  }({});
23373
23407
 
23374
23408
  //#endregion
23375
- export { ACCELERATION_METRICS_LOOKUP, ALPHA_CHARS, AMAZON_BOOKS, AMAZON_DNS, APPLE_DNS, AREA_METRICS_LOOKUP, AUSTRALIAN_NEWS, BELGIUM_NEWS, BEST_BUY_DNS, BLOOD_MARKERS_LOOKUP, BRACKET_AND_QUOTE_NESTING, BRACKET_NESTING, BRANDED, CANADIAN_NEWS, CHEWY_DNS, CHINESE_NEWS, COMMA, COMMON_OBJ_PROPS, COMPARISON_OPERATIONS, CONSONANTS, CONTINENTS, COSTCO_DNS, CSS_NAMED_COLORS, CURRENT_METRICS_LOOKUP, CVS_DNS, DANISH_NEWS, DATE_TYPE, DAYS_OF_WEEK__Mon, DAYS_OF_WEEK__Sun, DEFAULT_MANY_TO_ONE_MAPPING, DEFAULT_ONE_TO_MANY_MAPPING, DEFAULT_ONE_TO_ONE_MAPPING, DELL_DNS, DISTANCE_METRICS_LOOKUP, DOUBLE_LEAP_M1, DOUBLE_LEAP_M2, DOUBLE_LEAP_M3, DOUBLE_LEAP_M4, DOUBLE_LEAP_M5, DOUBLE_LEAP_MODERN, DUTCH_NEWS, EBAY_DNS, EDITORS, ENERGY_METRICS_LOOKUP, ETSY_DNS, ExifCompression, ExifContrast, ExifEmbedPolicy, ExifFlashValues, ExifGainControl, ExifLightSource, ExifPreviewColorSpace, ExifSaturation, ExifSceneCaptureType, ExifSharpness, ExifSubjectDistance, FALSY_TYPE_KINDS, FALSY_VALUES, FRENCH_NEWS, FREQUENCY_METRICS_LOOKUP, GERMAN_NEWS, GITHUB_INSIGHT_CATEGORY_LOOKUP, HASH_TABLE_ALPHA_LOWER, HASH_TABLE_ALPHA_UPPER, HASH_TABLE_CHAR, HASH_TABLE_DIGIT, HASH_TABLE_OTHER, HASH_TABLE_SPECIAL, HASH_TABLE_WIDE, HEMISPHERE, HM_DNS, HOME_DEPOT_DNS, HTML_ATOMIC_TAGS, HTML_BLOCK_TAGS, IANA_TIMEZONES, IANA_TIMEZONES__AFRICA, IANA_TIMEZONES__AMERICA, IANA_TIMEZONES__ANTARCTICA, IANA_TIMEZONES__ASIA, IANA_TIMEZONES__ATLANTIC, IANA_TIMEZONES__AUSTRALIA, IANA_TIMEZONES__EUROPE, IANA_TIMEZONES__INDIAN, IANA_TIMEZONES__OTHER, IANA_TIMEZONES__PACIFIC, IKEA_DNS, IMAGE_FORMAT_LOOKUP, INDIAN_NEWS, INTERPOLATION_BLOCKS, IPv4, IPv6, ISO3166_1, ISO_DATE_30, ISO_DATE_31, ITALIAN_NEWS, IT_ATOMIC_TOKENS, IT_CONTAINER_TOKENS, IT_LITERAL_TOKENS, JAPANESE_NEWS, KROGER_DNS, LITERAL_TYPE_KINDS, LOWER_ALPHA_CHARS, LOWES_DNS, LUMINOSITY_METRICS_LOOKUP, MACYS_DNS, MARKED, MASS_METRICS_LOOKUP, MEXICAN_NEWS, MIME_TYPES, MONTH_ABBR, MONTH_ABBREV_LOOKUP, MONTH_NAME, MONTH_NAME_LOOKUP, MONTH_TO_SEASON_LOOKUP, MapCardinality, NARROW_CONTAINER_TYPE_KINDS, NETWORK_PROTOCOL, NETWORK_PROTOCOL_INSECURE, NETWORK_PROTOCOL_LOOKUP, NETWORK_PROTOCOL_SECURE, NIKE_DNS, NON_BREAKING_SPACE, NON_ZERO_NUMERIC_CHAR, NORWEGIAN_NEWS, NOT_APPLICABLE, NOT_DEFINED, NO_DEFAULT_VALUE, NO_MATCH, NUMERIC_CHAR, NUMERIC_DIGIT, Never, OPTION, PHONE_COUNTRY_CODES, PHONE_FORMAT, PLURAL_EXCEPTIONS, PLURAL_EXCEPTIONS_OLD, POWER_METRICS_LOOKUP, PRESSURE_METRICS_LOOKUP, PROTOCOL_DEFAULT_PORTS, PROXMOX_CT_STATE, QUOTE_NESTING, REPO_PAGE_TYPES, REPO_SOURCES, REPO_SOURCE_LOOKUP, RESISTANCE_METRICS_LOOKUP, RESULT, SAFE_ENCODING_KEYS, SAFE_ENCODING__BRACKETS, SAFE_ENCODING__QUOTES, SAFE_ENCODING__WHITESPACE, SAFE_STRING, SEASONS, SEASON_TO_MONTH_LOOKUP, SHAPE_DELIMITER, SHAPE_PREFIXES, SIMPLE_ARRAY_TOKENS, SIMPLE_CONTAINER_TOKENS, SIMPLE_DICT_TOKENS, SIMPLE_DICT_VALUES, SIMPLE_FN_TOKENS, SIMPLE_MAP_KEYS, SIMPLE_MAP_TOKENS, SIMPLE_MAP_VALUES, SIMPLE_OPT_SCALAR_TOKENS, SIMPLE_SCALAR_TOKENS, SIMPLE_SET_TOKENS, SIMPLE_SET_TYPES, SIMPLE_TOKENS, SIMPLE_UNION_TOKENS, SINGULAR_NOUN_ENDINGS, SOCIAL_MEDIA, SOUTH_KOREAN_NEWS, SPANISH_NEWS, SPEED_METRICS_LOOKUP, SWISS_NEWS, ShapeApiImplementation, TARGET_DNS, TEMPERATURE_METRICS_LOOKUP, TIME_METRICS_LOOKUP, TOP_LEVEL_DOMAINS, TT_ATOMICS, TT_CONTAINERS, TT_DELIMITER, TT_FUNCTIONS, TT_KIND_VARIANTS, TT_SETS, TT_SINGLETONS, TT_START, TT_STOP, TURKISH_NEWS, TW_CHROMA, TW_CHROMA_100, TW_CHROMA_200, TW_CHROMA_300, TW_CHROMA_400, TW_CHROMA_50, TW_CHROMA_500, TW_CHROMA_600, TW_CHROMA_700, TW_CHROMA_800, TW_CHROMA_900, TW_CHROMA_950, TW_COLOR_TARGETS, TW_HUE, TW_HUE_NEUTRAL, TW_HUE_STATIC, TW_HUE_VIBRANT, TW_LUMINOSITY, TW_LUMIN_100, TW_LUMIN_200, TW_LUMIN_300, TW_LUMIN_400, TW_LUMIN_50, TW_LUMIN_500, TW_LUMIN_600, TW_LUMIN_700, TW_LUMIN_800, TW_LUMIN_900, TW_LUMIN_950, TW_MODIFIERS, TW_MODIFIERS_CORE, TW_MODIFIERS_ORDER, TW_MODIFIERS_RELN, TW_MODIFIERS_SIZING, TYPE_COMPARISONS, TYPE_KINDS, TYPE_OF, TYPE_TOKEN_REC_KEY_VARIANTS, TYPE_TOKEN_REC_VARIANTS, TYPE_TOKEN_STRING_SET_VARIANTS, TYPE_TOKEN_UNION_SET_VARIANTS, TYPE_TRANSFORMS, UK_NEWS, UPPER_ALPHA_CHARS, US_NEWS, US_STATE_LOOKUP, US_STATE_LOOKUP_PROVINCES, US_STATE_LOOKUP_STRICT, VOLTAGE_METRICS_LOOKUP, VOLUME_METRICS_LOOKUP, WALGREENS_DNS, WALMART_DNS, WAYFAIR_DNS, WEEKEND_DAY, WEEKEND_DAY_ABBREV, WEEK_DAY, WEEK_DAY_ABBREV, WHITESPACE_CHARS, WHOLE_FOODS_DNS, WIDE_CONTAINER_TYPE_KINDS, WIDE_TYPE_KINDS, WideAssignment, ZARA_DNS, ZIP_TO_STATE, abs, add, addFnToProps, addPropsToFn, addToken, afterFirst, and, append, array, asArray, asChars, asDate, asDateTime, asEpochTimestamp, asFourDigitYear, asFromTo, asInputToken, asIsoDate, asIsoDateTime, asNumber, asOutputFunction, asPhoneFormat, asRecord, asString, asTakeState, asTemplate, asTwoDigitMonth, asType, asTypeSubtype, asTypedError, asUnion, asVueRef, between, boolean, brand, capitalize, cardType, choices, compare, contains, createConstant, createConverter, createCssKeyframe, createCssSelector, createErrorCondition, createFifoQueue, createFixedLengthArray, createFnWithProps, createGrammar, createLifoQueue, createNestingConfig, createStaticTakeFunction, createTakeFunction, createTakeStartEndFunction, createTakeWhileFunction, createTemplateRegExp, createToken, createTokenSyntax, cssColor, cssFromDefinition, csv, dateObjectToIso, daysInMonth, decrement, defineCss, defineObj, defineObject, defineObjectWith, defineTuple, doesExtend, dropFirstStackFrame, eachAsString, endsWith, endsWithTypeguard, ensureLeading, ensureSurround, ensureTrailing, entries, equalsSome, err, errCondition, every, filter, filterEmpty, filterUndefined, find, firstChar, fn, fnProps, fourDigitYear, freeze, fromDefineObject, fromDefineTuple, fromInputToken, fromKeyValue, get, getDaysBetween, getEach, getMonthAbbrev, getMonthName, getMonthNumber, getPhoneCountryCode, getSeason, getTailwindModifiers, getToday, getTokenData, getTokenKind, getTomorrow, getTypeSubtype, getUrlBase, getUrlDefaultPort, getUrlDynamics, getUrlPath, getUrlPort, getUrlProtocol, getUrlQueryParams, getUrlSource, getWeekNumber, getYear, getYesterday, getYouTubePageType, handleDoneFn, hasCountryCode, hasDefaultValue, hasHtml, hasIndexOf, hasKeys, hasNonStringKeys, hasOnlyStringKeys, hasOnlyStringValues, hasOnlySymbolKeys, hasOverlappingKeys, hasProtocol, hasProtocolPrefix, hasSymbolKeys, hasUrlPort, hasUrlQueryParameter, hasValidHtml, hasWhiteSpace, idLiteral, idTypeGuard, identity, ifArray, ifArrayPartial, ifBoolean, ifChar, ifContainer, ifDefined, ifEmpty, ifEqual, ifError, ifFalse, ifFunction, ifHasKey, ifLength, ifLowercaseChar, ifNotNull, ifNull, ifNumber, ifObject, ifSameType, ifScalar, ifString, ifTrue, ifUndefined, ifUppercaseChar, increment, indexOf, infer, integer, intersect, intersection, ip6GroupExpansion, isAccelerationMetric, isAccelerationUom, isAfter, isAlpha, isAmazonUrl, isAmericanExpress, isApi, isApiSurface, isAppleUrl, isAreaMetric, isAreaUom, isArray, isAustralianNewsUrl, isBefore, isBelgiumNewsUrl, isBestBuyUrl, isBitbucketUrl, isBoolean, isBooleanArray, isBooleanLike, isCanadianNewsUrl, isChineseNewsUrl, isCodeCommitUrl, isComparisonOperation, isConstant, isContainer, isCostCoUrl, isCountryAbbrev, isCountryCode2, isCountryCode3, isCountryName, isCreditCard, isCssAspectRatio, isCsv, isCurrentMetric, isCurrentUom, isCvsUrl, isDanishNewsUrl, isDate, isDateLike, isDateMeta, isDayJs, isDefineObject, isDefineTuple, isDefined, isDellUrl, isDeltaReturn, isDictionary, isDistanceMetric, isDistanceUom, isDomainName, isDoneFn, isDoubleLeap, isDutchNewsUrl, isEbayUrl, isEmail, isEmpty, isEnergyMetric, isEnergyUom, isEpochInMilliseconds, isEpochInSeconds, isEqual, isErr, isError, isEscapeFunction, isEtsyUrl, isEven, isFalse, isFalsy, isFnWithParams, isFourDigitYear, isFrenchNewsUrl, isFrequencyMetric, isFrequencyUom, isFunction, isGermanNewsUrl, isGithubIssueUrl, isGithubIssuesListUrl, isGithubOrgUrl, isGithubProjectUrl, isGithubProjectsListUrl, isGithubReleaseTagUrl, isGithubReleasesListUrl, isGithubRepoReleaseTagUrl, isGithubRepoReleasesUrl, isGithubRepoUrl, isGithubUrl, isGreaterThan, isGreaterThanOrEqual, isHexadecimal, isHmUrl, isHomeDepotUrl, isHtml, isHtmlComponentTag, isHtmlElement, isIanaTimezone, isIkeaUrl, isInUnion, isIndexable, isIndianNewsUrl, isInlineSvg, isInputToken, isInputToken__String, isInteger, isIp4Address, isIp6Address, isIp6Subnet, isIpAddress, isIso3166Alpha2, isIso3166Alpha3, isIso3166CountryCode, isIso3166CountryName, isIsoDate, isIsoDateTime, isIsoExplicitDate, isIsoExplicitTime, isIsoImplicitDate, isIsoImplicitTime, isIsoMonthDate, isIsoTime, isIsoYear, isIsoYearMonth, isItalianNewsUrl, isJapaneseNewsUrl, isKrogersUrl, isLeapYear, isLength, isLikeRegExp, isLowesUrl, isLuminosityMetric, isLuminosityUom, isLuxonDate, isMacysUrl, isMap, isMassMetric, isMassUom, isMastercard, isMetric, isMetricCategory, isMexicanNewsUrl, isMinimalDigitDate, isMoment, isMonthAbbrev, isMonthName, isNarrowable, isNarrowableArray, isNarrowableDictionary, isNegativeNumber, isNestingEnd, isNestingEndMatch, isNestingKeyValue, isNestingStart, isNestingTuple, isNever, isNewsUrl, isNikeUrl, isNorwegianNewsUrl, isNotEmpty, isNotError, isNotNull, isNotUnset, isNothing, isNull, isNumber, isNumberLike, isNumericArray, isNumericString, isObject, isObjectKey, isObjectKeyRequiringQuotes, isOdd, isOk, isOptionalParamFunction, isParsedDate, isPhoneNumber, isPowerMetric, isPowerUom, isPressureMetric, isPressureUom, isProtocol, isProtocolPrefix, isReadonlyArray, isRef, isRegExp, isRepoSource, isRepoUrl, isResistanceMetric, isResistanceUom, isRetailUrl, isSameDay, isSameMonth, isSameMonthYear, isSameTypeOf, isSameYear, isScalar, isSemanticVersion, isSet, isSetContainer, isShape, isShapeCallback, isSimpleContainerToken, isSimpleContainerTokenTuple, isSimpleScalarToken, isSimpleScalarTokenTuple, isSimpleToken, isSimpleTokenTuple, isSocialMediaProfileUrl, isSocialMediaUrl, isSouthKoreanNewsUrl, isSpanishNewsUrl, isSpecificConstant, isSpeedMetric, isSpeedUom, isStaticTemplate, isString, isStringArray, isStringLiteral, isStringOrNumericArray, isSwissNewsUrl, isSymbol, isTailwindColor, isTailwindColorClass, isTailwindColorName, isTailwindColorTarget, isTailwindColorWithLuminosity, isTailwindColorWithLuminosityAndOpacity, isTailwindModifier, isTakeState, isTargetUrl, isTemperatureMetric, isTemperatureUom, isTemporalDate, isThenable, isThisMonth, isThisWeek, isThisYear, isThreeDigitMillisecond, isTimeMetric, isTimeUom, isTimezoneOffset, isToday, isTomorrow, isTrimable, isTrue, isTruthy, isTuple, isTurkishNewsUrl, isTwoDigitDate, isTwoDigitHour, isTwoDigitMinute, isTwoDigitMonth, isTwoDigitSecond, isTypeOf, isTypeSubtype, isTypeTuple, isTypedError, isUkNewsUrl, isUndefined, isUnset, isUom, isUomCategory, isUri, isUrl, isUrlPath, isUrlSource, isUsNewsUrl, isUsPhoneNumber, isUsStateAbbreviation, isUsStateName, isValidAtomicTag, isValidBlockTag, isValidComparisonParams, isValidHtml, isValidHtmlTag, isVariable, isVisa, isVisaMastercard, isVoltageMetric, isVoltageUom, isVolumeMetric, isVolumeUom, isWalgreensUrl, isWalmartUrl, isWayfairUrl, isWeakMap, isWholeFoodsUrl, isYesterday, isYouTubeCreatorUrl, isYouTubeFeedHistoryUrl, isYouTubeFeedUrl, isYouTubePlaylistUrl, isYouTubePlaylistsUrl, isYouTubeShareUrl, isYouTubeSubscriptionsUrl, isYouTubeTrendingUrl, isYouTubeUrl, isYouTubeVideoUrl, isYouTubeVideosInPlaylist, isZaraUrl, isZipCode, isZipCode5, isZipPlus4, joinWith, keysOf, keysWithError, kindLiteral, last, lastChar, lessThan, lessThanOrEqual, literal, logicalReturns, lookupCountryAlpha2, lookupCountryAlpha3, lookupCountryCode, lookupCountryName, lowercase, map, maybePhoneNumber, mergeObjects, mergeScalars, mergeTuples, mutable, nameLiteral, narrow, nbsp, nestedSplit, nesting, not, nullType, objectValues, omitKeys, optional, optionalOrNull, or, orNull, parseDate, parseDateObject, parseIsoDate, parseNumericDate, pathJoin, pluralize, pop, record, regexToken, removePhoneCountryCode, removeTailwindModifiers, removeUrlProtocol, replace, replaceAll, replaceAllFromTo, result, retainAfter, retainAfterInclusive, retainChars, retainKeys, retainUntil, retainUntilInclusive, retainUntil__Nested, retainWhile, reverse, reverseLookup, rightWhitespace, setupSafeStringEncoding, shape, sharedKeys, shift, simpleContainerToken, simpleContainerType, simpleScalarToken, simpleScalarType, simpleToken, simpleType, slice, sortByKey, split, startsWith, startsWithTypeguard, stripAfter, stripAfterLast, stripBefore, stripChars, stripLeading, stripParenthesis, stripSurround, stripTrailing, stripUntil, stripWhile, surround, take, takeNumericCharacters, takeStart, takeStringToken, threeDigitMillisecond, toAllCaps, toCamelCase, toInteger, toIsoDateString, toJSON, toKebabCase, toKeyValue, toLowercase, toNumber, toNumericArray, toPascalCase, toSnakeCase, toString, toStringLiteral, toStringLiteral__Tuple, toStringToken, trim, trimEnd, trimStart, truncate, tuple, twColor, twoDigitHour, twoDigitMinute, twoDigitSecond, typedError, unbrand, uncapitalize, undefinedType, unionize, unique, uniqueKeys, unknown, unset, urlMeta, usingLookup, validHtmlAttributes, valuesOf, weakMap, widen, withDefaults, withKeys, withValue, withoutKeys, withoutValue, youtubeEmbed, youtubeMeta };
23409
+ export { ACCELERATION_METRICS_LOOKUP, ALPHA_CHARS, AMAZON_BOOKS, AMAZON_DNS, APPLE_DNS, AREA_METRICS_LOOKUP, AUSTRALIAN_NEWS, BELGIUM_NEWS, BEST_BUY_DNS, BLOOD_MARKERS_LOOKUP, BRACKET_AND_QUOTE_NESTING, BRACKET_NESTING, BRANDED, CANADIAN_NEWS, CHEWY_DNS, CHINESE_NEWS, COMMA, COMMON_OBJ_PROPS, COMPARISON_OPERATIONS, CONSONANTS, CONTINENTS, COSTCO_DNS, CSS_NAMED_COLORS, CURRENT_METRICS_LOOKUP, CVS_DNS, DANISH_NEWS, DATE_TYPE, DAYS_OF_WEEK__Mon, DAYS_OF_WEEK__Sun, DEFAULT_MANY_TO_ONE_MAPPING, DEFAULT_ONE_TO_MANY_MAPPING, DEFAULT_ONE_TO_ONE_MAPPING, DELL_DNS, DISTANCE_METRICS_LOOKUP, DOUBLE_LEAP_M1, DOUBLE_LEAP_M2, DOUBLE_LEAP_M3, DOUBLE_LEAP_M4, DOUBLE_LEAP_M5, DOUBLE_LEAP_MODERN, DUTCH_NEWS, EBAY_DNS, EDITORS, ENERGY_METRICS_LOOKUP, ETSY_DNS, ExifCompression, ExifContrast, ExifEmbedPolicy, ExifFlashValues, ExifGainControl, ExifLightSource, ExifPreviewColorSpace, ExifSaturation, ExifSceneCaptureType, ExifSharpness, ExifSubjectDistance, FALSY_TYPE_KINDS, FALSY_VALUES, FRENCH_NEWS, FREQUENCY_METRICS_LOOKUP, GERMAN_NEWS, GITHUB_INSIGHT_CATEGORY_LOOKUP, HASH_TABLE_ALPHA_LOWER, HASH_TABLE_ALPHA_UPPER, HASH_TABLE_CHAR, HASH_TABLE_DIGIT, HASH_TABLE_OTHER, HASH_TABLE_SPECIAL, HASH_TABLE_WIDE, HEMISPHERE, HM_DNS, HOME_DEPOT_DNS, HTML_ATOMIC_TAGS, HTML_BLOCK_TAGS, IANA_TIMEZONES, IANA_TIMEZONES__AFRICA, IANA_TIMEZONES__AMERICA, IANA_TIMEZONES__ANTARCTICA, IANA_TIMEZONES__ASIA, IANA_TIMEZONES__ATLANTIC, IANA_TIMEZONES__AUSTRALIA, IANA_TIMEZONES__EUROPE, IANA_TIMEZONES__INDIAN, IANA_TIMEZONES__OTHER, IANA_TIMEZONES__PACIFIC, IKEA_DNS, IMAGE_FORMAT_LOOKUP, INDIAN_NEWS, INTERPOLATION_BLOCKS, IPv4, IPv6, ISO3166_1, ISO_DATE_30, ISO_DATE_31, ITALIAN_NEWS, IT_ATOMIC_TOKENS, IT_CONTAINER_TOKENS, IT_LITERAL_TOKENS, JAPANESE_NEWS, KROGER_DNS, LITERAL_TYPE_KINDS, LOWER_ALPHA_CHARS, LOWES_DNS, LUMINOSITY_METRICS_LOOKUP, MACYS_DNS, MARKED, MASS_METRICS_LOOKUP, MEXICAN_NEWS, MIME_TYPES, MONTH_ABBR, MONTH_ABBREV_LOOKUP, MONTH_NAME, MONTH_NAME_LOOKUP, MONTH_TO_SEASON_LOOKUP, MapCardinality, NARROW_CONTAINER_TYPE_KINDS, NETWORK_PROTOCOL, NETWORK_PROTOCOL_INSECURE, NETWORK_PROTOCOL_LOOKUP, NETWORK_PROTOCOL_SECURE, NIKE_DNS, NON_BREAKING_SPACE, NON_ZERO_NUMERIC_CHAR, NORWEGIAN_NEWS, NOT_APPLICABLE, NOT_DEFINED, NO_DEFAULT_VALUE, NO_MATCH, NUMERIC_CHAR, NUMERIC_DIGIT, Never, OPTION, PHONE_COUNTRY_CODES, PHONE_FORMAT, PLURAL_EXCEPTIONS, PLURAL_EXCEPTIONS_OLD, POWER_METRICS_LOOKUP, PRESSURE_METRICS_LOOKUP, PROTOCOL_DEFAULT_PORTS, PROXMOX_CT_STATE, QUOTE_NESTING, REPO_PAGE_TYPES, REPO_SOURCES, REPO_SOURCE_LOOKUP, RESISTANCE_METRICS_LOOKUP, RESULT, SAFE_ENCODING_KEYS, SAFE_ENCODING__BRACKETS, SAFE_ENCODING__QUOTES, SAFE_ENCODING__WHITESPACE, SAFE_STRING, SEASONS, SEASON_TO_MONTH_LOOKUP, SHAPE_DELIMITER, SHAPE_PREFIXES, SIMPLE_ARRAY_TOKENS, SIMPLE_CONTAINER_TOKENS, SIMPLE_DICT_TOKENS, SIMPLE_DICT_VALUES, SIMPLE_FN_TOKENS, SIMPLE_MAP_KEYS, SIMPLE_MAP_TOKENS, SIMPLE_MAP_VALUES, SIMPLE_OPT_SCALAR_TOKENS, SIMPLE_SCALAR_TOKENS, SIMPLE_SET_TOKENS, SIMPLE_SET_TYPES, SIMPLE_TOKENS, SIMPLE_UNION_TOKENS, SINGULAR_NOUN_ENDINGS, SOCIAL_MEDIA, SOUTH_KOREAN_NEWS, SPANISH_NEWS, SPEED_METRICS_LOOKUP, SWISS_NEWS, ShapeApiImplementation, TARGET_DNS, TEMPERATURE_METRICS_LOOKUP, TIME_METRICS_LOOKUP, TOP_LEVEL_DOMAINS, TT_ATOMICS, TT_CONTAINERS, TT_DELIMITER, TT_FUNCTIONS, TT_KIND_VARIANTS, TT_SETS, TT_SINGLETONS, TT_START, TT_STOP, TURKISH_NEWS, TW_CHROMA, TW_CHROMA_100, TW_CHROMA_200, TW_CHROMA_300, TW_CHROMA_400, TW_CHROMA_50, TW_CHROMA_500, TW_CHROMA_600, TW_CHROMA_700, TW_CHROMA_800, TW_CHROMA_900, TW_CHROMA_950, TW_COLOR_TARGETS, TW_HUE, TW_HUE_NEUTRAL, TW_HUE_STATIC, TW_HUE_VIBRANT, TW_LUMINOSITY, TW_LUMIN_100, TW_LUMIN_200, TW_LUMIN_300, TW_LUMIN_400, TW_LUMIN_50, TW_LUMIN_500, TW_LUMIN_600, TW_LUMIN_700, TW_LUMIN_800, TW_LUMIN_900, TW_LUMIN_950, TW_MODIFIERS, TW_MODIFIERS_CORE, TW_MODIFIERS_ORDER, TW_MODIFIERS_RELN, TW_MODIFIERS_SIZING, TYPE_COMPARISONS, TYPE_KINDS, TYPE_OF, TYPE_TOKEN_REC_KEY_VARIANTS, TYPE_TOKEN_REC_VARIANTS, TYPE_TOKEN_STRING_SET_VARIANTS, TYPE_TOKEN_UNION_SET_VARIANTS, TYPE_TRANSFORMS, UK_NEWS, UPPER_ALPHA_CHARS, US_NEWS, US_STATE_LOOKUP, US_STATE_LOOKUP_PROVINCES, US_STATE_LOOKUP_STRICT, VOLTAGE_METRICS_LOOKUP, VOLUME_METRICS_LOOKUP, WALGREENS_DNS, WALMART_DNS, WAYFAIR_DNS, WEEKEND_DAY, WEEKEND_DAY_ABBREV, WEEK_DAY, WEEK_DAY_ABBREV, WHITESPACE_CHARS, WHOLE_FOODS_DNS, WIDE_CONTAINER_TYPE_KINDS, WIDE_TYPE_KINDS, WideAssignment, ZARA_DNS, ZIP_TO_STATE, abs, add, addFnToProps, addPropsToFn, addToken, afterFirst, and, append, array, asArray, asChars, asDate, asDateTime, asEpochTimestamp, asFourDigitYear, asFromTo, asInputToken, asIsoDate, asIsoDateTime, asNumber, asOutputFunction, asPhoneFormat, asRecord, asString, asTakeState, asTemplate, asTwoDigitMonth, asType, asTypeSubtype, asTypedError, asUnion, asVueRef, between, boolean, brand, capitalize, cardType, choices, compare, contains, createConstant, createConverter, createCssKeyframe, createCssSelector, createErrorCondition, createFifoQueue, createFixedLengthArray, createFnWithProps, createGrammar, createLifoQueue, createNestingConfig, createStaticTakeFunction, createTakeFunction, createTakeStartEndFunction, createTakeWhileFunction, createTemplateRegExp, createToken, createTokenSyntax, cssColor, cssFromDefinition, csv, dateObjectToIso, daysInMonth, decrement, defineCss, defineObj, defineObject, defineObjectWith, defineTuple, doesExtend, dropFirstStackFrame, eachAsString, endsWith, endsWithTypeguard, ensureLeading, ensureSurround, ensureTrailing, entries, equalsSome, err, errCondition, every, filter, filterEmpty, filterUndefined, find, firstChar, fn, fnProps, fourDigitYear, freeze, fromDefineObject, fromDefineTuple, fromInputToken, fromKeyValue, get, getDaysBetween, getEach, getMonthAbbrev, getMonthName, getMonthNumber, getPhoneCountryCode, getSeason, getTailwindModifiers, getToday, getTokenData, getTokenKind, getTomorrow, getTypeSubtype, getUrlBase, getUrlDefaultPort, getUrlDynamics, getUrlPath, getUrlPort, getUrlProtocol, getUrlQueryParams, getUrlSource, getWeekNumber, getYear, getYesterday, getYouTubePageType, handleDoneFn, hasCountryCode, hasDefaultValue, hasHtml, hasIndexOf, hasKeys, hasNonStringKeys, hasOnlyStringKeys, hasOnlyStringValues, hasOnlySymbolKeys, hasOverlappingKeys, hasProtocol, hasProtocolPrefix, hasSymbolKeys, hasUrlPort, hasUrlQueryParameter, hasValidHtml, hasWhiteSpace, idLiteral, idTypeGuard, identity, ifArray, ifArrayPartial, ifBoolean, ifChar, ifContainer, ifDefined, ifEmpty, ifEqual, ifError, ifFalse, ifFunction, ifHasKey, ifLength, ifLowercaseChar, ifNotNull, ifNull, ifNumber, ifObject, ifSameType, ifScalar, ifString, ifTrue, ifUndefined, ifUppercaseChar, increment, indexOf, infer, integer, intersect, intersection, ip6GroupExpansion, isAccelerationMetric, isAccelerationUom, isAfter, isAlpha, isAmazonUrl, isAmericanExpress, isApi, isApiSurface, isAppleUrl, isAreaMetric, isAreaUom, isArray, isAustralianNewsUrl, isBefore, isBelgiumNewsUrl, isBestBuyUrl, isBitbucketUrl, isBoolean, isBooleanArray, isBooleanLike, isCanadianNewsUrl, isChineseNewsUrl, isCodeCommitUrl, isComparisonOperation, isConstant, isContainer, isCostCoUrl, isCountryAbbrev, isCountryCode2, isCountryCode3, isCountryName, isCreditCard, isCssAspectRatio, isCsv, isCurrentMetric, isCurrentUom, isCvsUrl, isDanishNewsUrl, isDate, isDateLike, isDateMeta, isDayJs, isDefineObject, isDefineTuple, isDefined, isDellUrl, isDeltaReturn, isDictionary, isDistanceMetric, isDistanceUom, isDomainName, isDoneFn, isDoubleLeap, isDutchNewsUrl, isEbayUrl, isEmail, isEmpty, isEnergyMetric, isEnergyUom, isEpochInMilliseconds, isEpochInSeconds, isEqual, isErr, isError, isEscapeFunction, isEtsyUrl, isEven, isFalse, isFalsy, isFnWithParams, isFourDigitYear, isFrenchNewsUrl, isFrequencyMetric, isFrequencyUom, isFunction, isGermanNewsUrl, isGithubIssueUrl, isGithubIssuesListUrl, isGithubOrgUrl, isGithubProjectUrl, isGithubProjectsListUrl, isGithubReleaseTagUrl, isGithubReleasesListUrl, isGithubRepoReleaseTagUrl, isGithubRepoReleasesUrl, isGithubRepoUrl, isGithubUrl, isGreaterThan, isGreaterThanOrEqual, isHexadecimal, isHmUrl, isHomeDepotUrl, isHtml, isHtmlComponentTag, isHtmlElement, isIanaTimezone, isIkeaUrl, isInUnion, isIndexable, isIndianNewsUrl, isInlineSvg, isInputToken, isInputToken__String, isInteger, isIp4Address, isIp6Address, isIp6Subnet, isIpAddress, isIso3166Alpha2, isIso3166Alpha3, isIso3166CountryCode, isIso3166CountryName, isIsoDate, isIsoDateTime, isIsoExplicitDate, isIsoExplicitTime, isIsoImplicitDate, isIsoImplicitTime, isIsoMonthDate, isIsoTime, isIsoYear, isIsoYearMonth, isItalianNewsUrl, isJapaneseNewsUrl, isKrogersUrl, isLeapYear, isLength, isLikeRegExp, isLowesUrl, isLuminosityMetric, isLuminosityUom, isLuxonDate, isMacysUrl, isMap, isMassMetric, isMassUom, isMastercard, isMetric, isMetricCategory, isMexicanNewsUrl, isMinimalDigitDate, isMoment, isMonthAbbrev, isMonthName, isNarrowable, isNarrowableArray, isNarrowableDictionary, isNegativeNumber, isNestingEnd, isNestingEndMatch, isNestingKeyValue, isNestingStart, isNestingTuple, isNever, isNewsUrl, isNikeUrl, isNorwegianNewsUrl, isNotEmpty, isNotError, isNotNull, isNotUnset, isNothing, isNull, isNumber, isNumberLike, isNumericArray, isNumericString, isObject, isObjectKey, isObjectKeyRequiringQuotes, isOdd, isOk, isOptionalParamFunction, isParsedDate, isPhoneNumber, isPowerMetric, isPowerUom, isPressureMetric, isPressureUom, isProtocol, isProtocolPrefix, isReadonlyArray, isRef, isRegExp, isRepoSource, isRepoUrl, isResistanceMetric, isResistanceUom, isRetailUrl, isSameDay, isSameMonth, isSameMonthYear, isSameTypeOf, isSameYear, isScalar, isSemanticVersion, isSet, isSetContainer, isShape, isShapeCallback, isSimpleContainerToken, isSimpleContainerTokenTuple, isSimpleScalarToken, isSimpleScalarTokenTuple, isSimpleToken, isSimpleTokenTuple, isSocialMediaProfileUrl, isSocialMediaUrl, isSouthKoreanNewsUrl, isSpanishNewsUrl, isSpecificConstant, isSpeedMetric, isSpeedUom, isStaticTemplate, isString, isStringArray, isStringLiteral, isStringOrNumericArray, isSwissNewsUrl, isSymbol, isTailwindColor, isTailwindColorClass, isTailwindColorName, isTailwindColorTarget, isTailwindColorWithLuminosity, isTailwindColorWithLuminosityAndOpacity, isTailwindModifier, isTakeState, isTargetUrl, isTemperatureMetric, isTemperatureUom, isTemporalDate, isThenable, isThisMonth, isThisWeek, isThisYear, isThreeDigitMillisecond, isTimeMetric, isTimeUom, isTimezoneOffset, isToday, isTomorrow, isTrimable, isTrue, isTruthy, isTuple, isTurkishNewsUrl, isTwoDigitDate, isTwoDigitHour, isTwoDigitMinute, isTwoDigitMonth, isTwoDigitSecond, isTypeOf, isTypeSubtype, isTypeTuple, isTypedError, isUkNewsUrl, isUndefined, isUnset, isUom, isUomCategory, isUri, isUrl, isUrlPath, isUrlSource, isUsNewsUrl, isUsPhoneNumber, isUsStateAbbreviation, isUsStateName, isValidAtomicTag, isValidBlockTag, isValidComparisonParams, isValidHtml, isValidHtmlTag, isVariable, isVisa, isVisaMastercard, isVoltageMetric, isVoltageUom, isVolumeMetric, isVolumeUom, isWalgreensUrl, isWalmartUrl, isWayfairUrl, isWeakMap, isWholeFoodsUrl, isYesterday, isYouTubeCreatorUrl, isYouTubeFeedHistoryUrl, isYouTubeFeedUrl, isYouTubePlaylistUrl, isYouTubePlaylistsUrl, isYouTubeShareUrl, isYouTubeSubscriptionsUrl, isYouTubeTrendingUrl, isYouTubeUrl, isYouTubeVideoUrl, isYouTubeVideosInPlaylist, isZaraUrl, isZipCode, isZipCode5, isZipPlus4, joinWith, keysOf, keysWithError, kindLiteral, last, lastChar, lessThan, lessThanOrEqual, literal, logicalReturns, lookupCountryAlpha2, lookupCountryAlpha3, lookupCountryCode, lookupCountryName, lowercase, map, maybePhoneNumber, mergeObjects, mergeScalars, mergeTuples, mutable, nameLiteral, narrow, nbsp, nestedSplit, nesting, not, nullType, objectValues, omitKeys, optional, optionalOrNull, or, orNull, parseDate, parseDateObject, parseIsoDate, parseNumericDate, pathJoin, pluralize, pop, record, regexToken, removePhoneCountryCode, removeTailwindModifiers, removeUrlProtocol, replace, replaceAll, replaceAllFromTo, result, retainAfter, retainAfterInclusive, retainChars, retainKeys, retainUntil, retainUntilInclusive, retainUntil__Nested, retainWhile, reverse, reverseLookup, rightWhitespace, setupSafeStringEncoding, shape, sharedKeys, shift, simpleContainerToken, simpleContainerType, simpleScalarToken, simpleScalarType, simpleToken, simpleType, slice, sortByKey, split, startsWith, startsWithTypeguard, stripAfter, stripAfterLast, stripBefore, stripChars, stripLeading, stripParenthesis, stripSurround, stripTrailing, stripUntil, stripWhile, surround, take, takeNumericCharacters, takeStart, takeStringToken, threeDigitMillisecond, toAllCaps, toCamelCase, toInteger, toIsoDateString, toJSON, toJson, toKebabCase, toKeyValue, toLowercase, toNumber, toNumericArray, toPascalCase, toSnakeCase, toString, toStringLiteral, toStringLiteral__Object, toStringLiteral__Tuple, toStringToken, trim, trimEnd, trimStart, truncate, tuple, twColor, twoDigitHour, twoDigitMinute, twoDigitSecond, typedError, unbrand, uncapitalize, undefinedType, unionize, unique, uniqueKeys, unknown, unset, urlMeta, usingLookup, validHtmlAttributes, valuesOf, weakMap, widen, withDefaults, withKeys, withValue, withoutKeys, withoutValue, youtubeEmbed, youtubeMeta };
23376
23410
  //# sourceMappingURL=index.js.map