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.
- package/modules/constants/dist/index.d.cts.map +1 -1
- package/modules/constants/dist/index.d.ts.map +1 -1
- package/modules/inferred-types/dist/index.cjs +87 -51
- package/modules/inferred-types/dist/index.cjs.map +1 -1
- package/modules/inferred-types/dist/index.js +86 -52
- package/modules/inferred-types/dist/index.js.map +1 -1
- package/modules/runtime/dist/index.cjs +94 -58
- package/modules/runtime/dist/index.cjs.map +1 -1
- package/modules/runtime/dist/index.d.cts +37 -6
- package/modules/runtime/dist/index.d.cts.map +1 -1
- package/modules/runtime/dist/index.d.ts +37 -6
- package/modules/runtime/dist/index.d.ts.map +1 -1
- package/modules/runtime/dist/index.js +93 -59
- package/modules/runtime/dist/index.js.map +1 -1
- package/modules/types/dist/index.d.cts +4146 -3976
- package/modules/types/dist/index.d.cts.map +1 -1
- package/modules/types/dist/index.d.ts +4146 -3976
- package/modules/types/dist/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -14914,44 +14914,6 @@ function doesExtend(type) {
|
|
|
14914
14914
|
};
|
|
14915
14915
|
}
|
|
14916
14916
|
|
|
14917
|
-
//#endregion
|
|
14918
|
-
//#region src/runtime-types/shape.ts
|
|
14919
|
-
function isAddOrDone(val) {
|
|
14920
|
-
return isDictionary(val) && hasKeys("add", "done") && typeof val.done === "function" && typeof val.add === "function";
|
|
14921
|
-
}
|
|
14922
|
-
const ShapeApiImplementation = {
|
|
14923
|
-
boolean,
|
|
14924
|
-
unknown,
|
|
14925
|
-
undefined: undefinedType,
|
|
14926
|
-
null: nullType,
|
|
14927
|
-
fn,
|
|
14928
|
-
record,
|
|
14929
|
-
array,
|
|
14930
|
-
set,
|
|
14931
|
-
map,
|
|
14932
|
-
weakMap
|
|
14933
|
-
};
|
|
14934
|
-
/**
|
|
14935
|
-
* **shape**(s => s.[API])
|
|
14936
|
-
*
|
|
14937
|
-
* Provides a callback API to allow for defining a type (_which
|
|
14938
|
-
* retains a runtime value which will map back to the type_)
|
|
14939
|
-
*
|
|
14940
|
-
* **Related:** `isShape(val)`
|
|
14941
|
-
*/
|
|
14942
|
-
function shape(cb) {
|
|
14943
|
-
const rtn = cb(ShapeApiImplementation);
|
|
14944
|
-
return handleDoneFn(isAddOrDone(rtn) ? rtn.done() : rtn);
|
|
14945
|
-
}
|
|
14946
|
-
/**
|
|
14947
|
-
* **isShape**(val)
|
|
14948
|
-
*
|
|
14949
|
-
* Type guard which tests whether a value is a _type_ defined by a `Shape`.
|
|
14950
|
-
*/
|
|
14951
|
-
function isShape(v) {
|
|
14952
|
-
return !!(isString(v) && v.startsWith("<<") && v.endsWith(">>") && SHAPE_PREFIXES.some((i) => v.startsWith(`<<${i}`)));
|
|
14953
|
-
}
|
|
14954
|
-
|
|
14955
14917
|
//#endregion
|
|
14956
14918
|
//#region src/runtime-types/shape-helpers/addToken.ts
|
|
14957
14919
|
/**
|
|
@@ -14995,6 +14957,62 @@ function fn(..._args) {
|
|
|
14995
14957
|
};
|
|
14996
14958
|
}
|
|
14997
14959
|
|
|
14960
|
+
//#endregion
|
|
14961
|
+
//#region src/runtime-types/shape-helpers/wide-containers.ts
|
|
14962
|
+
function record(_key, _value) {
|
|
14963
|
+
return null;
|
|
14964
|
+
}
|
|
14965
|
+
function array(_type) {
|
|
14966
|
+
return null;
|
|
14967
|
+
}
|
|
14968
|
+
function set(_type) {
|
|
14969
|
+
return null;
|
|
14970
|
+
}
|
|
14971
|
+
function map(_key, _value) {
|
|
14972
|
+
return null;
|
|
14973
|
+
}
|
|
14974
|
+
function weakMap(_key, _value) {
|
|
14975
|
+
return null;
|
|
14976
|
+
}
|
|
14977
|
+
|
|
14978
|
+
//#endregion
|
|
14979
|
+
//#region src/runtime-types/shape.ts
|
|
14980
|
+
function isAddOrDone(val) {
|
|
14981
|
+
return isDictionary(val) && hasKeys("add", "done") && typeof val.done === "function" && typeof val.add === "function";
|
|
14982
|
+
}
|
|
14983
|
+
const ShapeApiImplementation = {
|
|
14984
|
+
boolean,
|
|
14985
|
+
unknown,
|
|
14986
|
+
undefined: undefinedType,
|
|
14987
|
+
null: nullType,
|
|
14988
|
+
fn,
|
|
14989
|
+
record,
|
|
14990
|
+
array,
|
|
14991
|
+
set,
|
|
14992
|
+
map,
|
|
14993
|
+
weakMap
|
|
14994
|
+
};
|
|
14995
|
+
/**
|
|
14996
|
+
* **shape**(s => s.[API])
|
|
14997
|
+
*
|
|
14998
|
+
* Provides a callback API to allow for defining a type (_which
|
|
14999
|
+
* retains a runtime value which will map back to the type_)
|
|
15000
|
+
*
|
|
15001
|
+
* **Related:** `isShape(val)`
|
|
15002
|
+
*/
|
|
15003
|
+
function shape(cb) {
|
|
15004
|
+
const rtn = cb(ShapeApiImplementation);
|
|
15005
|
+
return handleDoneFn(isAddOrDone(rtn) ? rtn.done() : rtn);
|
|
15006
|
+
}
|
|
15007
|
+
/**
|
|
15008
|
+
* **isShape**(val)
|
|
15009
|
+
*
|
|
15010
|
+
* Type guard which tests whether a value is a _type_ defined by a `Shape`.
|
|
15011
|
+
*/
|
|
15012
|
+
function isShape(v) {
|
|
15013
|
+
return !!(isString(v) && v.startsWith("<<") && v.endsWith(">>") && SHAPE_PREFIXES.some((i) => v.startsWith(`<<${i}`)));
|
|
15014
|
+
}
|
|
15015
|
+
|
|
14998
15016
|
//#endregion
|
|
14999
15017
|
//#region src/runtime-types/shape-helpers/getTokenData.ts
|
|
15000
15018
|
/**
|
|
@@ -15038,24 +15056,6 @@ function regexToken(re, ...rep) {
|
|
|
15038
15056
|
return token;
|
|
15039
15057
|
}
|
|
15040
15058
|
|
|
15041
|
-
//#endregion
|
|
15042
|
-
//#region src/runtime-types/shape-helpers/wide-containers.ts
|
|
15043
|
-
function record(_key, _value) {
|
|
15044
|
-
return null;
|
|
15045
|
-
}
|
|
15046
|
-
function array(_type) {
|
|
15047
|
-
return null;
|
|
15048
|
-
}
|
|
15049
|
-
function set(_type) {
|
|
15050
|
-
return null;
|
|
15051
|
-
}
|
|
15052
|
-
function map(_key, _value) {
|
|
15053
|
-
return null;
|
|
15054
|
-
}
|
|
15055
|
-
function weakMap(_key, _value) {
|
|
15056
|
-
return null;
|
|
15057
|
-
}
|
|
15058
|
-
|
|
15059
15059
|
//#endregion
|
|
15060
15060
|
//#region src/runtime-types/tokens/asOutputToken.ts
|
|
15061
15061
|
function asOutputFunction(_val) {}
|
|
@@ -15163,7 +15163,18 @@ function getTokenKind(token) {
|
|
|
15163
15163
|
|
|
15164
15164
|
//#endregion
|
|
15165
15165
|
//#region src/runtime-types/tokens/input-tokens/asInputToken.ts
|
|
15166
|
-
|
|
15166
|
+
/**
|
|
15167
|
+
* **asInputToken**`(token) -> string`
|
|
15168
|
+
*
|
|
15169
|
+
* Takes an input token(string or otherwise) and returns it as a string token.
|
|
15170
|
+
*
|
|
15171
|
+
* **Note:** until the runtime type parser is finished this will not produce
|
|
15172
|
+
* a runtime errors when an invalid token is passed in but the _type_ will
|
|
15173
|
+
* be set because it benefits from type utilities which are already in place.
|
|
15174
|
+
*/
|
|
15175
|
+
function asInputToken(token) {
|
|
15176
|
+
return isString(token) ? token : isDictionary(token) ? toStringLiteral__Object(token) : isArray(token) ? fromInputToken(token) : Never;
|
|
15177
|
+
}
|
|
15167
15178
|
|
|
15168
15179
|
//#endregion
|
|
15169
15180
|
//#region src/runtime-types/tokens/input-tokens/asStringInputToken.ts
|
|
@@ -16025,7 +16036,9 @@ function stripParenthesis(val) {
|
|
|
16025
16036
|
* Converts the passed in value to a strongly typed string
|
|
16026
16037
|
* literal representation of the JSON type for `val`.
|
|
16027
16038
|
*
|
|
16028
|
-
* **Related:** `toStringLiteral()`
|
|
16039
|
+
* **Related:** `toStringLiteral()`, `toJson()`
|
|
16040
|
+
*
|
|
16041
|
+
* @deprecated use `toJson()` instead
|
|
16029
16042
|
*/
|
|
16030
16043
|
function toJSON(val, _options = {
|
|
16031
16044
|
quote: "\"",
|
|
@@ -16033,6 +16046,20 @@ function toJSON(val, _options = {
|
|
|
16033
16046
|
}) {
|
|
16034
16047
|
return JSON.stringify(val);
|
|
16035
16048
|
}
|
|
16049
|
+
/**
|
|
16050
|
+
* **toJson**`(val)`
|
|
16051
|
+
*
|
|
16052
|
+
* Converts the passed in value to a strongly typed string
|
|
16053
|
+
* literal representation of the JSON type for `val`.
|
|
16054
|
+
*
|
|
16055
|
+
* **Related:** `toStringLiteral()`
|
|
16056
|
+
*/
|
|
16057
|
+
function toJson(val, _options = {
|
|
16058
|
+
quote: "\"",
|
|
16059
|
+
encode: false
|
|
16060
|
+
}) {
|
|
16061
|
+
return JSON.stringify(val);
|
|
16062
|
+
}
|
|
16036
16063
|
|
|
16037
16064
|
//#endregion
|
|
16038
16065
|
//#region src/type-conversion/toKeyValue.ts
|
|
@@ -16110,6 +16137,13 @@ function property(prop) {
|
|
|
16110
16137
|
}
|
|
16111
16138
|
return String(prop);
|
|
16112
16139
|
}
|
|
16140
|
+
/**
|
|
16141
|
+
* **toStringLiteral__Object**`(obj) -> token`
|
|
16142
|
+
*
|
|
16143
|
+
* Converts a `DefineObject` shaped type definition into a string based
|
|
16144
|
+
* `InputToken` while converting the _type_ to the type which the token
|
|
16145
|
+
* represents.
|
|
16146
|
+
*/
|
|
16113
16147
|
function toStringLiteral__Object(obj) {
|
|
16114
16148
|
const inner = [];
|
|
16115
16149
|
for (const k of keysOf(obj)) inner.push(`${property(k)}: ${obj[k]}`);
|
|
@@ -16205,5 +16239,5 @@ function asVueRef(value) {
|
|
|
16205
16239
|
}
|
|
16206
16240
|
|
|
16207
16241
|
//#endregion
|
|
16208
|
-
export { NO_MATCH, ShapeApiImplementation, 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 };
|
|
16242
|
+
export { NO_MATCH, ShapeApiImplementation, 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 };
|
|
16209
16243
|
//# sourceMappingURL=index.js.map
|