inferred-types 0.46.1 → 0.47.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (721) hide show
  1. package/dist/constants/Marked.d.ts +7 -0
  2. package/dist/constants/Marked.d.ts.map +1 -1
  3. package/dist/constants/Never.d.ts.map +1 -1
  4. package/dist/constants/Tailwind.d.ts +31 -0
  5. package/dist/constants/Tailwind.d.ts.map +1 -0
  6. package/dist/constants/Tailwind.js +30 -0
  7. package/dist/constants/TypeTokens.d.ts +15 -0
  8. package/dist/constants/TypeTokens.d.ts.map +1 -1
  9. package/dist/constants/TypeTokens.js +92 -0
  10. package/dist/constants/Wide.d.ts +2 -1
  11. package/dist/constants/Wide.d.ts.map +1 -1
  12. package/dist/constants/Wide.js +0 -1
  13. package/dist/constants/createConstant.d.ts.map +1 -1
  14. package/dist/constants/index.d.ts +1 -0
  15. package/dist/constants/index.d.ts.map +1 -1
  16. package/dist/constants/index.js +1 -0
  17. package/dist/constants/tsconfig.tsbuildinfo +1 -1
  18. package/dist/inferred-types/index.cjs +1827 -1076
  19. package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
  20. package/dist/runtime/api/defineApi.d.ts +1 -36
  21. package/dist/runtime/api/defineApi.d.ts.map +1 -1
  22. package/dist/runtime/api/defineApi.js +90 -73
  23. package/dist/runtime/api/handleDoneFn.d.ts.map +1 -1
  24. package/dist/runtime/api/index.d.ts +1 -1
  25. package/dist/runtime/boolean-logic/ifArray.d.ts.map +1 -1
  26. package/dist/runtime/boolean-logic/ifArrayPartial.d.ts +1 -1
  27. package/dist/runtime/boolean-logic/ifArrayPartial.d.ts.map +1 -1
  28. package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
  29. package/dist/runtime/boolean-logic/ifChar.d.ts.map +1 -1
  30. package/dist/runtime/boolean-logic/ifFalse.d.ts.map +1 -1
  31. package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +1 -1
  32. package/dist/runtime/boolean-logic/ifLength.d.ts.map +1 -1
  33. package/dist/runtime/boolean-logic/ifNotNull.d.ts.map +1 -1
  34. package/dist/runtime/boolean-logic/ifNull.d.ts.map +1 -1
  35. package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
  36. package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
  37. package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
  38. package/dist/runtime/boolean-logic/ifTrue.d.ts.map +1 -1
  39. package/dist/runtime/boolean-logic/ifUndefined.d.ts.map +1 -1
  40. package/dist/runtime/boolean-logic/ifUndefined.js +1 -1
  41. package/dist/runtime/combinators/and.d.ts.map +1 -1
  42. package/dist/runtime/combinators/or.d.ts.map +1 -1
  43. package/dist/runtime/dictionary/entries.js +1 -1
  44. package/dist/runtime/dictionary/get.d.ts.map +1 -1
  45. package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
  46. package/dist/runtime/dictionary/omit.d.ts.map +1 -1
  47. package/dist/runtime/dictionary/retain.d.ts +4 -9
  48. package/dist/runtime/dictionary/retain.d.ts.map +1 -1
  49. package/dist/runtime/dictionary/sharedKeys.d.ts +1 -1
  50. package/dist/runtime/dictionary/sharedKeys.d.ts.map +1 -1
  51. package/dist/runtime/dictionary/takeProp.d.ts.map +1 -1
  52. package/dist/runtime/dictionary/valuesOf.d.ts.map +1 -1
  53. package/dist/runtime/dictionary/withDefaults.d.ts.map +1 -1
  54. package/dist/runtime/dictionary/withKeys.d.ts +2 -2
  55. package/dist/runtime/dictionary/withKeys.d.ts.map +1 -1
  56. package/dist/runtime/dictionary/withoutKeys.d.ts +1 -13
  57. package/dist/runtime/dictionary/withoutKeys.d.ts.map +1 -1
  58. package/dist/runtime/dictionary/withoutValue.d.ts.map +1 -1
  59. package/dist/runtime/errors/KindError.d.ts.map +1 -1
  60. package/dist/runtime/errors/TypedError.d.ts.map +1 -1
  61. package/dist/runtime/errors/createErrorCondition.d.ts +5 -0
  62. package/dist/runtime/errors/createErrorCondition.d.ts.map +1 -1
  63. package/dist/runtime/errors/createErrorCondition.js +5 -0
  64. package/dist/runtime/errors/kindedError.d.ts.map +1 -1
  65. package/dist/runtime/functions/fnMeta.d.ts.map +1 -1
  66. package/dist/runtime/index.d.ts +2 -0
  67. package/dist/runtime/index.d.ts.map +1 -1
  68. package/dist/runtime/index.js +2 -0
  69. package/dist/runtime/initializers/addFnToProps.d.ts +2 -2
  70. package/dist/runtime/initializers/addFnToProps.d.ts.map +1 -1
  71. package/dist/runtime/initializers/addPropsToFn.d.ts +2 -2
  72. package/dist/runtime/initializers/addPropsToFn.d.ts.map +1 -1
  73. package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
  74. package/dist/runtime/initializers/defineObj.d.ts +2 -2
  75. package/dist/runtime/initializers/defineObj.d.ts.map +1 -1
  76. package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
  77. package/dist/runtime/lists/asArray.d.ts.map +1 -1
  78. package/dist/runtime/lists/createComparison.d.ts +2 -3
  79. package/dist/runtime/lists/createComparison.d.ts.map +1 -1
  80. package/dist/runtime/lists/createComparison.js +1 -1
  81. package/dist/runtime/lists/createConverter.d.ts +1 -1
  82. package/dist/runtime/lists/createConverter.d.ts.map +1 -1
  83. package/dist/runtime/lists/filter.d.ts +1 -1
  84. package/dist/runtime/lists/filter.js +4 -4
  85. package/dist/runtime/lists/find.d.ts +1 -1
  86. package/dist/runtime/lists/find.d.ts.map +1 -1
  87. package/dist/runtime/lists/index.d.ts +0 -1
  88. package/dist/runtime/lists/index.d.ts.map +1 -1
  89. package/dist/runtime/lists/index.js +0 -1
  90. package/dist/runtime/lists/indexOf.d.ts.map +1 -1
  91. package/dist/runtime/lists/indexOf.js +8 -5
  92. package/dist/runtime/lists/intersection.d.ts.map +1 -1
  93. package/dist/runtime/lists/join.d.ts +1 -1
  94. package/dist/runtime/lists/join.d.ts.map +1 -1
  95. package/dist/runtime/lists/join.js +6 -2
  96. package/dist/runtime/lists/last.d.ts +2 -2
  97. package/dist/runtime/lists/last.d.ts.map +1 -1
  98. package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
  99. package/dist/runtime/lists/reverse.d.ts.map +1 -1
  100. package/dist/runtime/lists/shift.d.ts +17 -5
  101. package/dist/runtime/lists/shift.d.ts.map +1 -1
  102. package/dist/runtime/lists/shift.js +33 -5
  103. package/dist/runtime/lists/slice.d.ts +2 -2
  104. package/dist/runtime/lists/slice.d.ts.map +1 -1
  105. package/dist/runtime/lists/unique.d.ts +2 -2
  106. package/dist/runtime/lists/unique.d.ts.map +1 -1
  107. package/dist/runtime/literals/box.d.ts.map +1 -1
  108. package/dist/runtime/literals/ensureLeading.d.ts +2 -2
  109. package/dist/runtime/literals/ensureLeading.d.ts.map +1 -1
  110. package/dist/runtime/literals/ensureLeading.js +6 -2
  111. package/dist/runtime/literals/ensureSurround.d.ts.map +1 -1
  112. package/dist/runtime/literals/ensureSurround.js +3 -1
  113. package/dist/runtime/literals/identity.d.ts.map +1 -1
  114. package/dist/runtime/literals/index.d.ts +2 -1
  115. package/dist/runtime/literals/index.d.ts.map +1 -1
  116. package/dist/runtime/literals/index.js +2 -1
  117. package/dist/runtime/literals/narrow.d.ts.map +1 -1
  118. package/dist/runtime/literals/phone/asPhoneNumber.d.ts +2 -0
  119. package/dist/runtime/literals/phone/asPhoneNumber.d.ts.map +1 -0
  120. package/dist/runtime/literals/phone/asPhoneNumber.js +62 -0
  121. package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts +3 -0
  122. package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts.map +1 -0
  123. package/dist/runtime/literals/phone/getPhoneCountryCode.js +7 -0
  124. package/dist/runtime/literals/phone/index.d.ts +4 -0
  125. package/dist/runtime/literals/phone/index.d.ts.map +1 -0
  126. package/dist/runtime/literals/phone/index.js +3 -0
  127. package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts +3 -0
  128. package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts.map +1 -0
  129. package/dist/runtime/literals/phone/removePhoneCountryCode.js +7 -0
  130. package/dist/runtime/literals/pluralize.d.ts.map +1 -1
  131. package/dist/runtime/literals/pluralize.js +4 -1
  132. package/dist/runtime/literals/retainAfter.d.ts.map +1 -1
  133. package/dist/runtime/literals/retainChars.d.ts +1 -1
  134. package/dist/runtime/literals/retainChars.d.ts.map +1 -1
  135. package/dist/runtime/literals/retainChars.js +2 -1
  136. package/dist/runtime/literals/retainWhile.d.ts.map +1 -1
  137. package/dist/runtime/literals/split.d.ts.map +1 -1
  138. package/dist/runtime/literals/stripAfter.d.ts.map +1 -1
  139. package/dist/runtime/literals/stripBefore.d.ts.map +1 -1
  140. package/dist/runtime/literals/stripChars.d.ts +1 -1
  141. package/dist/runtime/literals/stripChars.d.ts.map +1 -1
  142. package/dist/runtime/literals/stripChars.js +2 -1
  143. package/dist/runtime/literals/stripLeading.d.ts +1 -1
  144. package/dist/runtime/literals/stripLeading.d.ts.map +1 -1
  145. package/dist/runtime/literals/stripLeading.js +8 -6
  146. package/dist/runtime/literals/stripSurround.d.ts +19 -0
  147. package/dist/runtime/literals/stripSurround.d.ts.map +1 -0
  148. package/dist/runtime/literals/stripSurround.js +30 -0
  149. package/dist/runtime/literals/stripTrailing.d.ts +2 -2
  150. package/dist/runtime/literals/stripTrailing.d.ts.map +1 -1
  151. package/dist/runtime/literals/stripTrailing.js +9 -10
  152. package/dist/runtime/literals/stripUntil.d.ts.map +1 -1
  153. package/dist/runtime/literals/takeNumericCharacters.d.ts +2 -2
  154. package/dist/runtime/literals/takeNumericCharacters.d.ts.map +1 -1
  155. package/dist/runtime/literals/toKebabCase.d.ts.map +1 -1
  156. package/dist/runtime/literals/toNumericArray.d.ts +2 -2
  157. package/dist/runtime/literals/toNumericArray.d.ts.map +1 -1
  158. package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
  159. package/dist/runtime/literals/truncate.d.ts +1 -1
  160. package/dist/runtime/literals/truncate.d.ts.map +1 -1
  161. package/dist/runtime/literals/tuple.d.ts +1 -1
  162. package/dist/runtime/literals/tuple.d.ts.map +1 -1
  163. package/dist/runtime/meta/urlMeta.d.ts.map +1 -1
  164. package/dist/runtime/meta/urlMeta.js +8 -5
  165. package/dist/runtime/meta/youtube-meta.d.ts.map +1 -1
  166. package/dist/runtime/queues/fifo.d.ts +3 -0
  167. package/dist/runtime/queues/fifo.d.ts.map +1 -0
  168. package/dist/runtime/queues/fifo.js +40 -0
  169. package/dist/runtime/queues/index.d.ts +3 -0
  170. package/dist/runtime/queues/index.d.ts.map +1 -0
  171. package/dist/runtime/queues/index.js +2 -0
  172. package/dist/runtime/queues/lifo.d.ts +3 -0
  173. package/dist/runtime/queues/lifo.d.ts.map +1 -0
  174. package/dist/runtime/queues/lifo.js +34 -0
  175. package/dist/runtime/runtime-types/asToken.d.ts +35 -0
  176. package/dist/runtime/runtime-types/asToken.d.ts.map +1 -0
  177. package/dist/runtime/runtime-types/asToken.js +115 -0
  178. package/dist/runtime/runtime-types/asType.d.ts +4 -0
  179. package/dist/runtime/runtime-types/asType.d.ts.map +1 -0
  180. package/dist/runtime/runtime-types/asType.js +6 -0
  181. package/dist/runtime/runtime-types/choices.js +8 -8
  182. package/dist/runtime/runtime-types/index.d.ts +3 -2
  183. package/dist/runtime/runtime-types/index.d.ts.map +1 -1
  184. package/dist/runtime/runtime-types/index.js +3 -2
  185. package/dist/runtime/runtime-types/ip6Prefix.d.ts +2 -2
  186. package/dist/runtime/runtime-types/ip6Prefix.d.ts.map +1 -1
  187. package/dist/runtime/runtime-types/list.d.ts.map +1 -1
  188. package/dist/runtime/runtime-types/rec.d.ts.map +1 -1
  189. package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts.map +1 -1
  190. package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts.map +1 -1
  191. package/dist/runtime/runtime-types/shape-helpers/functions.d.ts +7 -2
  192. package/dist/runtime/runtime-types/shape-helpers/functions.d.ts.map +1 -1
  193. package/dist/runtime/runtime-types/shape-helpers/functions.js +5 -0
  194. package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts +2 -1
  195. package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts.map +1 -1
  196. package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts +2 -1
  197. package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts.map +1 -1
  198. package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts.map +1 -1
  199. package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts +12 -0
  200. package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts.map +1 -0
  201. package/dist/runtime/runtime-types/shape-helpers/regexToken.js +39 -0
  202. package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts +10 -0
  203. package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts.map +1 -1
  204. package/dist/runtime/runtime-types/shape-helpers/singletons.js +15 -0
  205. package/dist/runtime/runtime-types/shape-helpers/union.d.ts +5 -0
  206. package/dist/runtime/runtime-types/shape-helpers/union.d.ts.map +1 -1
  207. package/dist/runtime/runtime-types/shape-helpers/union.js +5 -0
  208. package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts +1 -1
  209. package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts.map +1 -1
  210. package/dist/runtime/runtime-types/shape.d.ts +2 -2
  211. package/dist/runtime/runtime-types/shape.d.ts.map +1 -1
  212. package/dist/runtime/runtime-types/shape.js +1 -1
  213. package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts +30 -0
  214. package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts.map +1 -0
  215. package/dist/runtime/runtime-types/tokens/createTypeToken.js +29 -0
  216. package/dist/runtime/runtime-types/tokens/index.d.ts +3 -0
  217. package/dist/runtime/runtime-types/tokens/index.d.ts.map +1 -0
  218. package/dist/runtime/runtime-types/tokens/index.js +2 -0
  219. package/dist/runtime/runtime-types/tokens/simpleToken.d.ts +51 -0
  220. package/dist/runtime/runtime-types/tokens/simpleToken.d.ts.map +1 -0
  221. package/dist/runtime/runtime-types/tokens/simpleToken.js +64 -0
  222. package/dist/runtime/sets/uniqueKeys.d.ts.map +1 -1
  223. package/dist/runtime/tsconfig.tsbuildinfo +1 -1
  224. package/dist/runtime/type-conversion/asChars.d.ts.map +1 -1
  225. package/dist/runtime/type-conversion/asRecord.d.ts +1 -1
  226. package/dist/runtime/type-conversion/asRecord.d.ts.map +1 -1
  227. package/dist/runtime/type-conversion/asString.d.ts +7 -1
  228. package/dist/runtime/type-conversion/asString.d.ts.map +1 -1
  229. package/dist/runtime/type-conversion/asString.js +11 -3
  230. package/dist/runtime/type-conversion/csv.d.ts +17 -0
  231. package/dist/runtime/type-conversion/csv.d.ts.map +1 -0
  232. package/dist/runtime/type-conversion/csv.js +31 -0
  233. package/dist/runtime/type-conversion/index.d.ts +2 -0
  234. package/dist/runtime/type-conversion/index.d.ts.map +1 -1
  235. package/dist/runtime/type-conversion/index.js +2 -0
  236. package/dist/runtime/type-conversion/ip6GroupExpansion.d.ts.map +1 -1
  237. package/dist/runtime/type-conversion/json.d.ts +18 -0
  238. package/dist/runtime/type-conversion/json.d.ts.map +1 -0
  239. package/dist/runtime/type-conversion/json.js +27 -0
  240. package/dist/runtime/type-conversion/mergeObjects.d.ts.map +1 -1
  241. package/dist/runtime/type-conversion/mergeScalars.d.ts.map +1 -1
  242. package/dist/runtime/type-conversion/optional.d.ts +20 -4
  243. package/dist/runtime/type-conversion/optional.d.ts.map +1 -1
  244. package/dist/runtime/type-conversion/optional.js +24 -6
  245. package/dist/runtime/type-conversion/union.d.ts.map +1 -1
  246. package/dist/runtime/type-guards/api-tg.d.ts.map +1 -1
  247. package/dist/runtime/type-guards/hasErrorConditions.d.ts +2 -4
  248. package/dist/runtime/type-guards/hasErrorConditions.d.ts.map +1 -1
  249. package/dist/runtime/type-guards/hasIndexOf.d.ts +2 -2
  250. package/dist/runtime/type-guards/hasIndexOf.d.ts.map +1 -1
  251. package/dist/runtime/type-guards/hasKeys.d.ts.map +1 -1
  252. package/dist/runtime/type-guards/hasWhitespace.d.ts.map +1 -1
  253. package/dist/runtime/type-guards/hasWhitespace.js +1 -1
  254. package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +1 -1
  255. package/dist/runtime/type-guards/higher-order/isEqual.d.ts.map +1 -1
  256. package/dist/runtime/type-guards/higher-order/isEqual.js +1 -1
  257. package/dist/runtime/type-guards/higher-order/isLength.d.ts.map +1 -1
  258. package/dist/runtime/type-guards/higher-order/isLength.js +1 -5
  259. package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +1 -1
  260. package/dist/runtime/type-guards/higher-order/isTuple.d.ts +1 -2
  261. package/dist/runtime/type-guards/higher-order/isTuple.d.ts.map +1 -1
  262. package/dist/runtime/type-guards/higher-order/isTuple.js +1 -2
  263. package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts +1 -1
  264. package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +1 -1
  265. package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +1 -1
  266. package/dist/runtime/type-guards/higher-order/startsWith.js +1 -2
  267. package/dist/runtime/type-guards/index.d.ts +5 -0
  268. package/dist/runtime/type-guards/index.d.ts.map +1 -1
  269. package/dist/runtime/type-guards/index.js +5 -0
  270. package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
  271. package/dist/runtime/type-guards/isBooleanLike.d.ts +9 -0
  272. package/dist/runtime/type-guards/isBooleanLike.d.ts.map +1 -0
  273. package/dist/runtime/type-guards/isBooleanLike.js +11 -0
  274. package/dist/runtime/type-guards/isCssAspectRatio.d.ts +1 -1
  275. package/dist/runtime/type-guards/isCssAspectRatio.d.ts.map +1 -1
  276. package/dist/runtime/type-guards/isDoneFn.d.ts.map +1 -1
  277. package/dist/runtime/type-guards/isEmail.d.ts +2 -1
  278. package/dist/runtime/type-guards/isEmail.d.ts.map +1 -1
  279. package/dist/runtime/type-guards/isEmail.js +10 -4
  280. package/dist/runtime/type-guards/isFalsy.d.ts.map +1 -1
  281. package/dist/runtime/type-guards/isHexadecimal.d.ts.map +1 -1
  282. package/dist/runtime/type-guards/isInlineSvg.d.ts +2 -1
  283. package/dist/runtime/type-guards/isInlineSvg.d.ts.map +1 -1
  284. package/dist/runtime/type-guards/isLeftRight.d.ts +2 -2
  285. package/dist/runtime/type-guards/isLeftRight.d.ts.map +1 -1
  286. package/dist/runtime/type-guards/isNever.d.ts.map +1 -1
  287. package/dist/runtime/type-guards/isNumericString.d.ts +8 -0
  288. package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
  289. package/dist/runtime/type-guards/isNumericString.js +11 -0
  290. package/dist/runtime/type-guards/isPhoneNumber.d.ts +1 -1
  291. package/dist/runtime/type-guards/isPhoneNumber.d.ts.map +1 -1
  292. package/dist/runtime/type-guards/isPhoneNumber.js +16 -10
  293. package/dist/runtime/type-guards/isRegExp.d.ts +17 -0
  294. package/dist/runtime/type-guards/isRegExp.d.ts.map +1 -0
  295. package/dist/runtime/type-guards/isRegExp.js +32 -0
  296. package/dist/runtime/type-guards/isRuntimeUnion.d.ts.map +1 -1
  297. package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +1 -1
  298. package/dist/runtime/type-guards/isTrimmable.d.ts.map +1 -1
  299. package/dist/runtime/type-guards/isTruthy.d.ts.map +1 -1
  300. package/dist/runtime/type-guards/isUnset.d.ts.map +1 -1
  301. package/dist/runtime/type-guards/isUrl.d.ts +3 -3
  302. package/dist/runtime/type-guards/isUrl.d.ts.map +1 -1
  303. package/dist/runtime/type-guards/network-tg.d.ts +6 -7
  304. package/dist/runtime/type-guards/network-tg.d.ts.map +1 -1
  305. package/dist/runtime/type-guards/network-tg.js +4 -9
  306. package/dist/runtime/type-guards/repos.d.ts +9 -7
  307. package/dist/runtime/type-guards/repos.d.ts.map +1 -1
  308. package/dist/runtime/type-guards/repos.js +1 -3
  309. package/dist/runtime/type-guards/tokens/index.d.ts +6 -0
  310. package/dist/runtime/type-guards/tokens/index.d.ts.map +1 -0
  311. package/dist/runtime/type-guards/tokens/index.js +5 -0
  312. package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts +9 -0
  313. package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts.map +1 -0
  314. package/dist/runtime/type-guards/tokens/isAtomicToken.js +12 -0
  315. package/dist/runtime/type-guards/tokens/isContainerToken.d.ts +21 -0
  316. package/dist/runtime/type-guards/tokens/isContainerToken.d.ts.map +1 -0
  317. package/dist/runtime/type-guards/tokens/isContainerToken.js +48 -0
  318. package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts +4 -0
  319. package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts.map +1 -0
  320. package/dist/runtime/type-guards/tokens/isFunctionToken.js +7 -0
  321. package/dist/runtime/type-guards/tokens/isShapeToken.d.ts +9 -0
  322. package/dist/runtime/type-guards/tokens/isShapeToken.d.ts.map +1 -0
  323. package/dist/runtime/type-guards/tokens/isShapeToken.js +21 -0
  324. package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts +53 -0
  325. package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts.map +1 -0
  326. package/dist/runtime/type-guards/tokens/isSimpleToken.js +74 -0
  327. package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts +9 -0
  328. package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts.map +1 -0
  329. package/dist/runtime/type-guards/tokens/isSingletonToken.js +12 -0
  330. package/dist/runtime/type-guards/tokens/isTupleToken.d.ts +1 -0
  331. package/dist/runtime/type-guards/tokens/isTupleToken.d.ts.map +1 -0
  332. package/dist/runtime/type-guards/tokens/isTupleToken.js +1 -0
  333. package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts +1 -0
  334. package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts.map +1 -0
  335. package/dist/runtime/type-guards/tokens/isUnionSetToken.js +1 -0
  336. package/dist/runtime/type-guards/tokens/isUnionToken.d.ts +9 -0
  337. package/dist/runtime/type-guards/tokens/isUnionToken.d.ts.map +1 -0
  338. package/dist/runtime/type-guards/tokens/isUnionToken.js +12 -0
  339. package/dist/runtime/type-guards/youtube.d.ts +5 -5
  340. package/dist/runtime/type-guards/youtube.d.ts.map +1 -1
  341. package/dist/runtime/type-guards/youtube.js +1 -3
  342. package/dist/runtime/vuejs/asVueRef.d.ts +1 -1
  343. package/dist/runtime/vuejs/asVueRef.d.ts.map +1 -1
  344. package/dist/types/base-types/LikeRegExp.d.ts +9 -0
  345. package/dist/types/base-types/LikeRegExp.d.ts.map +1 -0
  346. package/dist/types/base-types/Something.d.ts.map +1 -1
  347. package/dist/types/base-types/Something.js +1 -0
  348. package/dist/types/base-types/fns/AnyFunction.d.ts.map +1 -1
  349. package/dist/types/base-types/fns/AnyFunction.js +1 -1
  350. package/dist/types/base-types/fns/FnAllowingProps.d.ts +11 -0
  351. package/dist/types/base-types/fns/FnAllowingProps.d.ts.map +1 -0
  352. package/dist/types/base-types/fns/index.d.ts +1 -2
  353. package/dist/types/base-types/fns/index.d.ts.map +1 -1
  354. package/dist/types/base-types/fns/index.js +1 -2
  355. package/dist/types/base-types/index.d.ts +1 -0
  356. package/dist/types/base-types/index.d.ts.map +1 -1
  357. package/dist/types/base-types/index.js +1 -0
  358. package/dist/types/boolean-logic/branching/OnPass.d.ts.map +1 -1
  359. package/dist/types/boolean-logic/combinators/Compare.d.ts.map +1 -1
  360. package/dist/types/boolean-logic/operators/AreSameLength.d.ts +2 -2
  361. package/dist/types/boolean-logic/operators/AreSameLength.d.ts.map +1 -1
  362. package/dist/types/boolean-logic/operators/Contains.d.ts +4 -3
  363. package/dist/types/boolean-logic/operators/Contains.d.ts.map +1 -1
  364. package/dist/types/boolean-logic/operators/HasArray.d.ts +10 -0
  365. package/dist/types/boolean-logic/operators/HasArray.d.ts.map +1 -0
  366. package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts +1 -2
  367. package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts.map +1 -1
  368. package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts +9 -0
  369. package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts.map +1 -0
  370. package/dist/types/boolean-logic/operators/HaveSameNumericSign.js +1 -0
  371. package/dist/types/boolean-logic/operators/IsEmptyString.d.ts +12 -0
  372. package/dist/types/boolean-logic/operators/IsEmptyString.d.ts.map +1 -0
  373. package/dist/types/boolean-logic/operators/IsEmptyString.js +1 -0
  374. package/dist/types/boolean-logic/operators/IsFloat.d.ts +2 -2
  375. package/dist/types/boolean-logic/operators/IsFloat.d.ts.map +1 -1
  376. package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts +8 -2
  377. package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +1 -1
  378. package/dist/types/boolean-logic/operators/IsInteger.d.ts +2 -2
  379. package/dist/types/boolean-logic/operators/IsInteger.d.ts.map +1 -1
  380. package/dist/types/boolean-logic/operators/IsLessThan.d.ts +8 -2
  381. package/dist/types/boolean-logic/operators/IsLessThan.d.ts.map +1 -1
  382. package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +2 -4
  383. package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +1 -1
  384. package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts +1 -1
  385. package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts.map +1 -1
  386. package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts +11 -0
  387. package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts.map +1 -0
  388. package/dist/types/boolean-logic/operators/IsPositiveNumber.js +1 -0
  389. package/dist/types/boolean-logic/operators/IsTuple.d.ts +1 -1
  390. package/dist/types/boolean-logic/operators/IsUrl.d.ts +7 -8
  391. package/dist/types/boolean-logic/operators/IsUrl.d.ts.map +1 -1
  392. package/dist/types/boolean-logic/operators/MaybeError.d.ts +20 -0
  393. package/dist/types/boolean-logic/operators/MaybeError.d.ts.map +1 -0
  394. package/dist/types/boolean-logic/operators/MaybeError.js +2 -0
  395. package/dist/types/boolean-logic/operators/PhoneOperators.d.ts +2 -3
  396. package/dist/types/boolean-logic/operators/PhoneOperators.d.ts.map +1 -1
  397. package/dist/types/boolean-logic/operators/StartsWith.d.ts +8 -9
  398. package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +1 -1
  399. package/dist/types/boolean-logic/operators/UnionHasArray.d.ts +14 -0
  400. package/dist/types/boolean-logic/operators/UnionHasArray.d.ts.map +1 -0
  401. package/dist/types/boolean-logic/operators/UnionHasArray.js +1 -0
  402. package/dist/types/boolean-logic/operators/index.d.ts +6 -0
  403. package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
  404. package/dist/types/boolean-logic/operators/index.js +6 -0
  405. package/dist/types/containers/RemoveEmpty.d.ts +30 -0
  406. package/dist/types/containers/RemoveEmpty.d.ts.map +1 -0
  407. package/dist/types/containers/RemoveEmpty.js +1 -0
  408. package/dist/types/containers/RemoveMarked.d.ts +1 -1
  409. package/dist/types/containers/RemoveMarked.d.ts.map +1 -1
  410. package/dist/types/containers/RemoveUndefined.d.ts +1 -7
  411. package/dist/types/containers/RemoveUndefined.d.ts.map +1 -1
  412. package/dist/types/containers/index.d.ts +1 -0
  413. package/dist/types/containers/index.d.ts.map +1 -1
  414. package/dist/types/containers/index.js +1 -0
  415. package/dist/types/dictionary/EnsureKeys.d.ts +1 -3
  416. package/dist/types/dictionary/EnsureKeys.d.ts.map +1 -1
  417. package/dist/types/dictionary/Keys.d.ts +2 -2
  418. package/dist/types/dictionary/Keys.d.ts.map +1 -1
  419. package/dist/types/dictionary/OptionalKeys.d.ts +2 -2
  420. package/dist/types/dictionary/OptionalKeys.d.ts.map +1 -1
  421. package/dist/types/dictionary/OptionalKeys.js +0 -1
  422. package/dist/types/dictionary/RequireProps.d.ts +2 -2
  423. package/dist/types/dictionary/RequireProps.d.ts.map +1 -1
  424. package/dist/types/dictionary/RequiredKeys.d.ts +2 -2
  425. package/dist/types/dictionary/RequiredKeys.d.ts.map +1 -1
  426. package/dist/types/dictionary/WithValue.d.ts +2 -3
  427. package/dist/types/dictionary/WithValue.d.ts.map +1 -1
  428. package/dist/types/dictionary/WithoutKeys.d.ts +3 -3
  429. package/dist/types/dictionary/WithoutKeys.d.ts.map +1 -1
  430. package/dist/types/functional/Result.d.ts +1 -1
  431. package/dist/types/functional/Result.d.ts.map +1 -1
  432. package/dist/types/functions/FnFrom.d.ts +1 -1
  433. package/dist/types/functions/FnFrom.d.ts.map +1 -1
  434. package/dist/types/functions/FnWithProps.d.ts +10 -0
  435. package/dist/types/functions/FnWithProps.d.ts.map +1 -0
  436. package/dist/types/functions/FnWithProps.js +1 -0
  437. package/dist/types/functions/IdentityFn.d.ts +1 -2
  438. package/dist/types/functions/IdentityFn.d.ts.map +1 -1
  439. package/dist/types/functions/index.d.ts +1 -0
  440. package/dist/types/functions/index.d.ts.map +1 -1
  441. package/dist/types/functions/index.js +1 -0
  442. package/dist/types/index.d.ts +1 -0
  443. package/dist/types/index.d.ts.map +1 -1
  444. package/dist/types/index.js +1 -0
  445. package/dist/types/lists/AsArray.d.ts +7 -2
  446. package/dist/types/lists/AsArray.d.ts.map +1 -1
  447. package/dist/types/lists/BeforeLast.d.ts +3 -3
  448. package/dist/types/lists/Filter.d.ts +2 -9
  449. package/dist/types/lists/Filter.d.ts.map +1 -1
  450. package/dist/types/lists/FilterByProp.d.ts +37 -0
  451. package/dist/types/lists/FilterByProp.d.ts.map +1 -0
  452. package/dist/types/lists/FilterByProp.js +1 -0
  453. package/dist/types/lists/Flatten.d.ts +31 -14
  454. package/dist/types/lists/Flatten.d.ts.map +1 -1
  455. package/dist/types/lists/Last.d.ts +2 -2
  456. package/dist/types/lists/Last.d.ts.map +1 -1
  457. package/dist/types/lists/Length.d.ts +3 -4
  458. package/dist/types/lists/Length.d.ts.map +1 -1
  459. package/dist/types/lists/RetainByProp.d.ts +38 -0
  460. package/dist/types/lists/RetainByProp.d.ts.map +1 -0
  461. package/dist/types/lists/RetainByProp.js +1 -0
  462. package/dist/types/lists/Shift.d.ts +5 -3
  463. package/dist/types/lists/Shift.d.ts.map +1 -1
  464. package/dist/types/lists/Slice.d.ts +17 -9
  465. package/dist/types/lists/Slice.d.ts.map +1 -1
  466. package/dist/types/lists/TakeFirst.d.ts +21 -0
  467. package/dist/types/lists/TakeFirst.d.ts.map +1 -0
  468. package/dist/types/lists/TakeFirst.js +1 -0
  469. package/dist/types/lists/TakeLast.d.ts +16 -0
  470. package/dist/types/lists/TakeLast.d.ts.map +1 -0
  471. package/dist/types/lists/TakeLast.js +1 -0
  472. package/dist/types/lists/index.d.ts +4 -0
  473. package/dist/types/lists/index.d.ts.map +1 -1
  474. package/dist/types/lists/index.js +4 -0
  475. package/dist/types/literals/BooleanLike.d.ts +8 -0
  476. package/dist/types/literals/BooleanLike.d.ts.map +1 -0
  477. package/dist/types/literals/BooleanLike.js +1 -0
  478. package/dist/types/literals/NarrowableDefined.d.ts +2 -1
  479. package/dist/types/literals/NarrowableDefined.d.ts.map +1 -1
  480. package/dist/types/literals/NarrowableDefined.js +0 -1
  481. package/dist/types/literals/Shape.d.ts +10 -1
  482. package/dist/types/literals/Shape.d.ts.map +1 -1
  483. package/dist/types/literals/index.d.ts +1 -0
  484. package/dist/types/literals/index.d.ts.map +1 -1
  485. package/dist/types/literals/index.js +1 -0
  486. package/dist/types/numeric-literals/Abs.d.ts +2 -2
  487. package/dist/types/numeric-literals/Abs.d.ts.map +1 -1
  488. package/dist/types/numeric-literals/Add.d.ts +5 -3
  489. package/dist/types/numeric-literals/Add.d.ts.map +1 -1
  490. package/dist/types/numeric-literals/AsNegativeNumber.d.ts +12 -0
  491. package/dist/types/numeric-literals/AsNegativeNumber.d.ts.map +1 -0
  492. package/dist/types/numeric-literals/AsNegativeNumber.js +1 -0
  493. package/dist/types/numeric-literals/CSV.d.ts +73 -0
  494. package/dist/types/numeric-literals/CSV.d.ts.map +1 -0
  495. package/dist/types/numeric-literals/CSV.js +1 -0
  496. package/dist/types/numeric-literals/Delta.d.ts +14 -0
  497. package/dist/types/numeric-literals/Delta.d.ts.map +1 -0
  498. package/dist/types/numeric-literals/Delta.js +1 -0
  499. package/dist/types/numeric-literals/Digit.d.ts +2 -3
  500. package/dist/types/numeric-literals/Digit.d.ts.map +1 -1
  501. package/dist/types/numeric-literals/Digitize.d.ts +10 -20
  502. package/dist/types/numeric-literals/Digitize.d.ts.map +1 -1
  503. package/dist/types/numeric-literals/Increment.d.ts +2 -5
  504. package/dist/types/numeric-literals/Increment.d.ts.map +1 -1
  505. package/dist/types/numeric-literals/InvertNumericSign.d.ts +9 -0
  506. package/dist/types/numeric-literals/InvertNumericSign.d.ts.map +1 -0
  507. package/dist/types/numeric-literals/InvertNumericSign.js +1 -0
  508. package/dist/types/numeric-literals/NumberLike.d.ts.map +1 -1
  509. package/dist/types/numeric-literals/Subtract.d.ts +11 -8
  510. package/dist/types/numeric-literals/Subtract.d.ts.map +1 -1
  511. package/dist/types/numeric-literals/Zero.d.ts +8 -0
  512. package/dist/types/numeric-literals/Zero.d.ts.map +1 -0
  513. package/dist/types/numeric-literals/Zero.js +1 -0
  514. package/dist/types/numeric-literals/index.d.ts +5 -0
  515. package/dist/types/numeric-literals/index.d.ts.map +1 -1
  516. package/dist/types/numeric-literals/index.js +5 -0
  517. package/dist/types/queues/FifoQueue.d.ts +31 -0
  518. package/dist/types/queues/FifoQueue.d.ts.map +1 -0
  519. package/dist/types/queues/FifoQueue.js +1 -0
  520. package/dist/types/queues/LifoQueue.d.ts +31 -0
  521. package/dist/types/queues/LifoQueue.d.ts.map +1 -0
  522. package/dist/types/queues/LifoQueue.js +1 -0
  523. package/dist/types/queues/index.d.ts +3 -0
  524. package/dist/types/queues/index.d.ts.map +1 -0
  525. package/dist/types/queues/index.js +2 -0
  526. package/dist/types/runtime-types/AsType.d.ts +16 -0
  527. package/dist/types/runtime-types/AsType.d.ts.map +1 -0
  528. package/dist/types/runtime-types/AsType.js +1 -0
  529. package/dist/types/runtime-types/SimpleType.d.ts +47 -0
  530. package/dist/types/runtime-types/SimpleType.d.ts.map +1 -0
  531. package/dist/types/runtime-types/SimpleType.js +1 -0
  532. package/dist/types/runtime-types/Type.d.ts +1 -1
  533. package/dist/types/runtime-types/Type.d.ts.map +1 -1
  534. package/dist/types/runtime-types/TypeOf.d.ts +1 -1
  535. package/dist/types/runtime-types/TypeOf.d.ts.map +1 -1
  536. package/dist/types/runtime-types/TypeToken.d.ts +119 -9
  537. package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
  538. package/dist/types/runtime-types/index.d.ts +2 -1
  539. package/dist/types/runtime-types/index.d.ts.map +1 -1
  540. package/dist/types/runtime-types/index.js +2 -1
  541. package/dist/types/sets/Intersection.d.ts +1 -1
  542. package/dist/types/sets/Intersection.d.ts.map +1 -1
  543. package/dist/types/string-literals/Date.d.ts +4 -4
  544. package/dist/types/string-literals/Date.d.ts.map +1 -1
  545. package/dist/types/string-literals/EnsureLeading.d.ts +10 -6
  546. package/dist/types/string-literals/EnsureLeading.d.ts.map +1 -1
  547. package/dist/types/string-literals/EnsureTrailing.d.ts +5 -6
  548. package/dist/types/string-literals/EnsureTrailing.d.ts.map +1 -1
  549. package/dist/types/string-literals/Join.d.ts +3 -2
  550. package/dist/types/string-literals/Join.d.ts.map +1 -1
  551. package/dist/types/string-literals/Proxmox.d.ts +2 -3
  552. package/dist/types/string-literals/Proxmox.d.ts.map +1 -1
  553. package/dist/types/string-literals/Split.d.ts +1 -1
  554. package/dist/types/string-literals/Split.d.ts.map +1 -1
  555. package/dist/types/string-literals/StripLeading.d.ts +2 -2
  556. package/dist/types/string-literals/StripLeading.d.ts.map +1 -1
  557. package/dist/types/string-literals/StripSurround.d.ts +16 -0
  558. package/dist/types/string-literals/StripSurround.d.ts.map +1 -0
  559. package/dist/types/string-literals/StripSurround.js +1 -0
  560. package/dist/types/string-literals/StripTrailing.d.ts +2 -2
  561. package/dist/types/string-literals/StripTrailing.d.ts.map +1 -1
  562. package/dist/types/string-literals/StripUntil.d.ts +1 -1
  563. package/dist/types/string-literals/StripUntil.d.ts.map +1 -1
  564. package/dist/types/string-literals/Suggest.d.ts.map +1 -1
  565. package/dist/types/string-literals/Surround.d.ts +2 -2
  566. package/dist/types/string-literals/Surround.d.ts.map +1 -1
  567. package/dist/types/string-literals/Truncate.d.ts +4 -4
  568. package/dist/types/string-literals/Truncate.d.ts.map +1 -1
  569. package/dist/types/string-literals/UnderlyingType.d.ts +18 -0
  570. package/dist/types/string-literals/UnderlyingType.d.ts.map +1 -0
  571. package/dist/types/string-literals/UnderlyingType.js +1 -0
  572. package/dist/types/string-literals/character-sets/Consonants.d.ts +3 -4
  573. package/dist/types/string-literals/character-sets/Consonants.d.ts.map +1 -1
  574. package/dist/types/string-literals/character-sets/DomainName.d.ts +1 -1
  575. package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
  576. package/dist/types/string-literals/character-sets/IpAddress.d.ts +1 -1
  577. package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +1 -1
  578. package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts +2 -3
  579. package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts.map +1 -1
  580. package/dist/types/string-literals/character-sets/NumericChar.d.ts +3 -4
  581. package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
  582. package/dist/types/string-literals/character-sets/Repos.d.ts +2 -1
  583. package/dist/types/string-literals/character-sets/Repos.d.ts.map +1 -1
  584. package/dist/types/string-literals/character-sets/SingularNoun.d.ts +1 -1
  585. package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
  586. package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts +2 -3
  587. package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts.map +1 -1
  588. package/dist/types/string-literals/character-sets/Url.d.ts +4 -3
  589. package/dist/types/string-literals/character-sets/Url.d.ts.map +1 -1
  590. package/dist/types/string-literals/character-sets/Url.js +0 -1
  591. package/dist/types/string-literals/character-sets/Whitespace.d.ts +1 -1
  592. package/dist/types/string-literals/character-sets/Whitespace.d.ts.map +1 -1
  593. package/dist/types/string-literals/character-sets/css/color.d.ts +24 -0
  594. package/dist/types/string-literals/character-sets/css/color.d.ts.map +1 -0
  595. package/dist/types/string-literals/character-sets/css/color.js +1 -0
  596. package/dist/types/string-literals/character-sets/css/display-position.d.ts +26 -0
  597. package/dist/types/string-literals/character-sets/css/display-position.d.ts.map +1 -0
  598. package/dist/types/string-literals/character-sets/css/display-position.js +1 -0
  599. package/dist/types/string-literals/character-sets/css/index.d.ts +4 -0
  600. package/dist/types/string-literals/character-sets/css/index.d.ts.map +1 -0
  601. package/dist/types/string-literals/character-sets/css/index.js +3 -0
  602. package/dist/types/string-literals/character-sets/css/sizing.d.ts +10 -0
  603. package/dist/types/string-literals/character-sets/css/sizing.d.ts.map +1 -0
  604. package/dist/types/string-literals/character-sets/css/sizing.js +1 -0
  605. package/dist/types/string-literals/character-sets/index.d.ts +3 -2
  606. package/dist/types/string-literals/character-sets/index.d.ts.map +1 -1
  607. package/dist/types/string-literals/character-sets/index.js +3 -2
  608. package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts +12 -0
  609. package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts.map +1 -0
  610. package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.js +1 -0
  611. package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts +9 -0
  612. package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts.map +1 -0
  613. package/dist/types/string-literals/character-sets/phone/DialCountryCode.js +1 -0
  614. package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts +14 -0
  615. package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts.map +1 -0
  616. package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.js +1 -0
  617. package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts +10 -0
  618. package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts.map +1 -0
  619. package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.js +1 -0
  620. package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts +12 -0
  621. package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts.map +1 -0
  622. package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.js +1 -0
  623. package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts +12 -0
  624. package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts.map +1 -0
  625. package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.js +1 -0
  626. package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts +6 -0
  627. package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts.map +1 -0
  628. package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.js +1 -0
  629. package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts +13 -0
  630. package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts.map +1 -0
  631. package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.js +1 -0
  632. package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts +23 -0
  633. package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts.map +1 -0
  634. package/dist/types/string-literals/character-sets/phone/PhoneNumber.js +1 -0
  635. package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts +5 -0
  636. package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts.map +1 -0
  637. package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.js +1 -0
  638. package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts +19 -0
  639. package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts.map +1 -0
  640. package/dist/types/string-literals/character-sets/phone/PhoneShortCode.js +1 -0
  641. package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts +30 -0
  642. package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts.map +1 -0
  643. package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.js +1 -0
  644. package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts +27 -0
  645. package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts.map +1 -0
  646. package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.js +1 -0
  647. package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts +17 -0
  648. package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts.map +1 -0
  649. package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.js +1 -0
  650. package/dist/types/string-literals/character-sets/phone/index.d.ts +15 -0
  651. package/dist/types/string-literals/character-sets/phone/index.d.ts.map +1 -0
  652. package/dist/types/string-literals/character-sets/phone/index.js +14 -0
  653. package/dist/types/string-literals/character-sets/phone.d.ts +0 -187
  654. package/dist/types/string-literals/character-sets/phone.d.ts.map +1 -1
  655. package/dist/types/string-literals/character-sets/tw/TwColor.d.ts +41 -0
  656. package/dist/types/string-literals/character-sets/tw/TwColor.d.ts.map +1 -0
  657. package/dist/types/string-literals/character-sets/tw/TwColor.js +1 -0
  658. package/dist/types/string-literals/character-sets/tw/index.d.ts +2 -0
  659. package/dist/types/string-literals/character-sets/tw/index.d.ts.map +1 -0
  660. package/dist/types/string-literals/character-sets/tw/index.js +1 -0
  661. package/dist/types/string-literals/geo/state.d.ts +1 -1
  662. package/dist/types/string-literals/geo/state.d.ts.map +1 -1
  663. package/dist/types/string-literals/geo/zip.d.ts +1 -1
  664. package/dist/types/string-literals/geo/zip.d.ts.map +1 -1
  665. package/dist/types/string-literals/index.d.ts +2 -0
  666. package/dist/types/string-literals/index.d.ts.map +1 -1
  667. package/dist/types/string-literals/index.js +2 -0
  668. package/dist/types/tsconfig.tsbuildinfo +1 -1
  669. package/dist/types/type-conversion/AsBoolean.d.ts +7 -4
  670. package/dist/types/type-conversion/AsBoolean.d.ts.map +1 -1
  671. package/dist/types/type-conversion/AsNumber.d.ts +8 -3
  672. package/dist/types/type-conversion/AsNumber.d.ts.map +1 -1
  673. package/dist/types/type-conversion/AsString.d.ts +3 -1
  674. package/dist/types/type-conversion/AsString.d.ts.map +1 -1
  675. package/dist/types/type-conversion/AsStringUnion.d.ts +25 -0
  676. package/dist/types/type-conversion/AsStringUnion.d.ts.map +1 -0
  677. package/dist/types/type-conversion/AsStringUnion.js +1 -0
  678. package/dist/types/type-conversion/JSON.d.ts +25 -0
  679. package/dist/types/type-conversion/JSON.d.ts.map +1 -0
  680. package/dist/types/type-conversion/JSON.js +1 -0
  681. package/dist/types/type-conversion/StringLiteralFromTuple.d.ts +18 -0
  682. package/dist/types/type-conversion/StringLiteralFromTuple.d.ts.map +1 -0
  683. package/dist/types/type-conversion/StringLiteralFromTuple.js +1 -0
  684. package/dist/types/type-conversion/StripChars.d.ts +7 -6
  685. package/dist/types/type-conversion/StripChars.d.ts.map +1 -1
  686. package/dist/types/type-conversion/ToJsonValue.d.ts +11 -0
  687. package/dist/types/type-conversion/ToJsonValue.d.ts.map +1 -0
  688. package/dist/types/type-conversion/ToJsonValue.js +1 -0
  689. package/dist/types/type-conversion/ToStringArray.d.ts +4 -3
  690. package/dist/types/type-conversion/ToStringArray.d.ts.map +1 -1
  691. package/dist/types/type-conversion/TupleToUnion.d.ts +2 -2
  692. package/dist/types/type-conversion/TupleToUnion.d.ts.map +1 -1
  693. package/dist/types/type-conversion/Widen.js +1 -0
  694. package/dist/types/type-conversion/index.d.ts +4 -0
  695. package/dist/types/type-conversion/index.d.ts.map +1 -1
  696. package/dist/types/type-conversion/index.js +4 -0
  697. package/package.json +38 -37
  698. package/dist/runtime/lists/pop.d.ts +0 -17
  699. package/dist/runtime/lists/pop.d.ts.map +0 -1
  700. package/dist/runtime/lists/pop.js +0 -16
  701. package/dist/runtime/literals/asPhoneNumber.d.ts +0 -10
  702. package/dist/runtime/literals/asPhoneNumber.d.ts.map +0 -1
  703. package/dist/runtime/literals/asPhoneNumber.js +0 -62
  704. package/dist/runtime/runtime-types/dict.d.ts +0 -10
  705. package/dist/runtime/runtime-types/dict.d.ts.map +0 -1
  706. package/dist/runtime/runtime-types/dict.js +0 -11
  707. package/dist/runtime/runtime-types/parse.d.ts +0 -16
  708. package/dist/runtime/runtime-types/parse.d.ts.map +0 -1
  709. package/dist/runtime/runtime-types/parse.js +0 -29
  710. package/dist/types/base-types/fns/AnyFnWithDict.d.ts +0 -9
  711. package/dist/types/base-types/fns/AnyFnWithDict.d.ts.map +0 -1
  712. package/dist/types/base-types/fns/FnWithDict.d.ts +0 -10
  713. package/dist/types/base-types/fns/FnWithDict.d.ts.map +0 -1
  714. package/dist/types/runtime-types/DescribeType.d.ts +0 -40
  715. package/dist/types/runtime-types/DescribeType.d.ts.map +0 -1
  716. package/dist/types/runtime-types/DescribeType.js +0 -2
  717. package/dist/types/string-literals/character-sets/CSS.d.ts +0 -13
  718. package/dist/types/string-literals/character-sets/CSS.d.ts.map +0 -1
  719. /package/dist/types/base-types/{fns/AnyFnWithDict.js → LikeRegExp.js} +0 -0
  720. /package/dist/types/base-types/fns/{FnWithDict.js → FnAllowingProps.js} +0 -0
  721. /package/dist/types/{string-literals/character-sets/CSS.js → boolean-logic/operators/HasArray.js} +0 -0
@@ -0,0 +1,30 @@
1
+ import { If, IsLength, Join, SimpleType, TypeTokenAtomics, TypeTokenKind, TypeTokenSingletons } from "../../../types/index";
2
+ type BaseReturn<TBase extends TypeTokenKind> = TBase extends TypeTokenAtomics ? `<<${TBase}>>` : TBase extends TypeTokenSingletons ? SingletonClosure<TBase> : unknown;
3
+ export type UnionClosure = <T extends readonly unknown[]>(...elements: T) => `union::[${Join<T, ", ">}]`;
4
+ /**
5
+ * **SingletonClosure**
6
+ *
7
+ * Closes out the `string` or `number` base types to conclude as
8
+ * either a wide type or a string literal. It does allow for multiple
9
+ * literal values and in this case will need to add a union token as
10
+ * a parameter
11
+ *
12
+ * ```ts
13
+ * // <<string>>
14
+ * const a = closure<"string">();
15
+ * // <<string::foo>>
16
+ * const b = closure<"string">("foo");
17
+ * // <<string::${UnionClosure("foo", "bar")}>>
18
+ * const c = closure<"string">("foo","bar");
19
+ * ```
20
+ */
21
+ export type SingletonClosure<T extends "string" | "number"> = <TLit extends readonly SimpleType<T>[]>(...literals: TLit) => If<IsLength<TLit, 0>, `<<${T}>>`, If<IsLength<TLit, 1>, `<<${T}::${TLit[0]}>>`, `<<${T}::>>`>>;
22
+ /**
23
+ * **createTypeToken**`(base) => (secondary) => ...`
24
+ *
25
+ * A higher order function designed to creating a valid
26
+ * `TypeToken` simple through a compound process.
27
+ */
28
+ export declare const createTypeToken: <TBase extends TypeTokenAtomics>(base: TBase) => BaseReturn<TBase>;
29
+ export {};
30
+ //# sourceMappingURL=createTypeToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTypeToken.d.ts","sourceRoot":"","sources":["../../../../src/runtime/runtime-types/tokens/createTypeToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EAEpB,6BAAwB;AAOzB,KAAK,UAAU,CAAC,KAAK,SAAS,aAAa,IAAI,KAAK,SAAS,gBAAgB,GACzE,KAAK,KAAK,IAAI,GACd,KAAK,SAAS,mBAAmB,GACjC,gBAAgB,CAAC,KAAK,CAAC,GACvB,OAAO,CAAC;AAGZ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,EAAE,GAAG,QAAQ,EAAE,CAAC,KACtE,WAAW,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;AAE9B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,GAAG,QAAQ,IACxD,CAAC,IAAI,SAAS,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,EACpC,GAAG,QAAQ,EAAE,IAAI,KAChB,EAAE,CACL,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EACjB,KAAK,CAAC,IAAI,EACV,EAAE,CACA,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EACjB,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,EACtB,KAAK,CAAC,MAAM,CACb,CACF,CAAC;AAuCF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAC1B,KAAK,SAAS,gBAAgB,QACxB,KAAK,KAAG,UAAU,CAAC,KAAK,CAQ/B,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { isAtomicToken, isSingletonToken, jsonValues } from "../../index.js";
2
+ const unionToken = (...els) => {
3
+ return `<<union::[${jsonValues(els)}]>>`;
4
+ };
5
+ const singleton = (base) => {
6
+ const handler = (...lits) => {
7
+ return (lits.length === 0
8
+ ? base === "string" ? `<<string>>` : `<<number>>`
9
+ : lits.length === 1
10
+ ? base === "string" ? `<<string::${lits[0]}>>` : `<<number::${lits[0]}>>`
11
+ : base === "string"
12
+ ? `<<string::${unionToken(...lits)}>>`
13
+ : `<<number::${unionToken(...lits)}>>`);
14
+ };
15
+ return handler;
16
+ };
17
+ /**
18
+ * **createTypeToken**`(base) => (secondary) => ...`
19
+ *
20
+ * A higher order function designed to creating a valid
21
+ * `TypeToken` simple through a compound process.
22
+ */
23
+ export const createTypeToken = (base) => {
24
+ return (isAtomicToken(base)
25
+ ? `<<${base}>>`
26
+ : isSingletonToken(base)
27
+ ? singleton(base)
28
+ : "");
29
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./simpleToken";
2
+ export * from "./createTypeToken";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/runtime/runtime-types/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from "./simpleToken.js";
2
+ export * from "./createTypeToken.js";
@@ -0,0 +1,51 @@
1
+ import { SimpleContainerToken, SimpleScalarToken, SimpleToken, SimpleType } from "../../../types/index";
2
+ /**
3
+ * **simpleToken**`(token)`
4
+ *
5
+ * Creates a `SimpleToken` which assured to be a valid token type.
6
+ *
7
+ * **Related:** `simpleType()`, `simpleScalarToken()`, `simpleContainerToken()`
8
+ */
9
+ export declare const simpleToken: <T extends SimpleToken>(token: T) => T;
10
+ /**
11
+ * **simpleScalarToken**`(token)`
12
+ *
13
+ * Creates a `SimpleScalarToken` which is assured to be a valid token type.
14
+ *
15
+ * **Related:** `simpleType()`, `simpleToken()`, `simpleContainerToken()`
16
+ */
17
+ export declare const simpleScalarToken: <T extends SimpleScalarToken>(token: T) => T;
18
+ /**
19
+ * **simpleContainerToken**`(token)`
20
+ *
21
+ * Creates a `SimpleContainerToken` which assured to be a valid token type.
22
+ *
23
+ * **Related:** `simpleType()`, `simpleToken()`, `simpleScalarToken()`
24
+ */
25
+ export declare const simpleContainerToken: <T extends SimpleContainerToken>(token: T) => T;
26
+ /**
27
+ * **simpleScalarType**`(token)`
28
+ *
29
+ * Creates a valid runtime token _and_ converts it's type to the type that
30
+ * the token represents.
31
+ *
32
+ * **Related:** `simpleScalarToken`
33
+ */
34
+ export declare const simpleScalarType: <T extends SimpleScalarToken>(token: T) => SimpleType<T>;
35
+ /**
36
+ * **simpleContainerType**`(token)`
37
+ *
38
+ * Creates a valid runtime token _and_ converts it's type to the type that
39
+ * the token represents.
40
+ *
41
+ * **Related:** `simpleContainerToken`
42
+ */
43
+ export declare const simpleContainerType: <T extends SimpleContainerToken>(token: T) => SimpleType<T>;
44
+ /**
45
+ * **simpleType**`(token)`
46
+ *
47
+ * Creates a valid runtime token of the `SimpleToken` convention and converts
48
+ * the _type_ to the type that the token represents.
49
+ */
50
+ export declare const simpleType: <T extends SimpleToken>(token: T) => SimpleType<T>;
51
+ //# sourceMappingURL=simpleToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simpleToken.d.ts","sourceRoot":"","sources":["../../../../src/runtime/runtime-types/tokens/simpleToken.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACX,6BAAwB;AAEzB;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,WAAW,SAAS,CAAC,MAAU,CAAC;AAEtE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,iBAAiB,SAAS,CAAC,MAAU,CAAC;AAGlF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,oBAAoB,SAAS,CAAC,MAAU,CAAC;AAGxF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,iBAAiB,SAAS,CAAC,KAGpD,UAAU,CAAC,CAAC,CAC7B,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,oBAAoB,SAAS,CAAC,KAG1D,UAAU,CAAC,CAAC,CAC7B,CAAA;AAGD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,SAAS,CAAC,KASxC,UAAU,CAAC,CAAC,CAC7B,CAAA"}
@@ -0,0 +1,64 @@
1
+ import { Never } from "../../../constants/index.js";
2
+ import { isSimpleContainerToken, isSimpleScalarToken } from "../../index.js";
3
+ /**
4
+ * **simpleToken**`(token)`
5
+ *
6
+ * Creates a `SimpleToken` which assured to be a valid token type.
7
+ *
8
+ * **Related:** `simpleType()`, `simpleScalarToken()`, `simpleContainerToken()`
9
+ */
10
+ export const simpleToken = (token) => token;
11
+ /**
12
+ * **simpleScalarToken**`(token)`
13
+ *
14
+ * Creates a `SimpleScalarToken` which is assured to be a valid token type.
15
+ *
16
+ * **Related:** `simpleType()`, `simpleToken()`, `simpleContainerToken()`
17
+ */
18
+ export const simpleScalarToken = (token) => token;
19
+ /**
20
+ * **simpleContainerToken**`(token)`
21
+ *
22
+ * Creates a `SimpleContainerToken` which assured to be a valid token type.
23
+ *
24
+ * **Related:** `simpleType()`, `simpleToken()`, `simpleScalarToken()`
25
+ */
26
+ export const simpleContainerToken = (token) => token;
27
+ /**
28
+ * **simpleScalarType**`(token)`
29
+ *
30
+ * Creates a valid runtime token _and_ converts it's type to the type that
31
+ * the token represents.
32
+ *
33
+ * **Related:** `simpleScalarToken`
34
+ */
35
+ export const simpleScalarType = (token) => {
36
+ const value = simpleScalarToken(token);
37
+ return value;
38
+ };
39
+ /**
40
+ * **simpleContainerType**`(token)`
41
+ *
42
+ * Creates a valid runtime token _and_ converts it's type to the type that
43
+ * the token represents.
44
+ *
45
+ * **Related:** `simpleContainerToken`
46
+ */
47
+ export const simpleContainerType = (token) => {
48
+ const value = simpleContainerToken(token);
49
+ return value;
50
+ };
51
+ /**
52
+ * **simpleType**`(token)`
53
+ *
54
+ * Creates a valid runtime token of the `SimpleToken` convention and converts
55
+ * the _type_ to the type that the token represents.
56
+ */
57
+ export const simpleType = (token) => {
58
+ const value = (isSimpleScalarToken(token)
59
+ ? simpleScalarType(token)
60
+ : isSimpleContainerToken(token)
61
+ ? simpleContainerToken(token)
62
+ : Never);
63
+ return value;
64
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"uniqueKeys.d.ts","sourceRoot":"","sources":["../../../src/runtime/sets/uniqueKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiB,UAAU,EAAE,0BAAwB;AAGvE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,mDAGf,CAAC,SAAS,CAAC,qBAmClB,CAAC"}
1
+ {"version":3,"file":"uniqueKeys.d.ts","sourceRoot":"","sources":["../../../src/runtime/sets/uniqueKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiB,UAAU,EAAE,0BAAwB;AAGvE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GACrB,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,QACb,CAAC,SAAS,CAAC,KAAG,UAAU,CAAC,CAAC,EAAC,CAAC,CAmCnC,CAAC"}