@edumalin/platform 3.0.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.
Files changed (2440) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +3 -0
  3. package/dist/cjs/collection/array/array-to-deduplicated-array-options.d.ts +4 -0
  4. package/dist/cjs/collection/array/array-to-deduplicated-array-options.js +2 -0
  5. package/dist/cjs/collection/array/array-to-deduplicated-array.d.ts +2 -0
  6. package/dist/cjs/collection/array/array-to-deduplicated-array.js +23 -0
  7. package/dist/cjs/collection/array/array-to-element-at.d.ts +1 -0
  8. package/dist/cjs/collection/array/array-to-element-at.js +6 -0
  9. package/dist/cjs/collection/array/array-to-first-element.d.ts +1 -0
  10. package/dist/cjs/collection/array/array-to-first-element.js +6 -0
  11. package/dist/cjs/collection/array/array-to-flattened-array.d.ts +1 -0
  12. package/dist/cjs/collection/array/array-to-flattened-array.js +6 -0
  13. package/dist/cjs/collection/array/array-to-slices.d.ts +1 -0
  14. package/dist/cjs/collection/array/array-to-slices.js +13 -0
  15. package/dist/cjs/collection/buffer/buffer-to-string-options.d.ts +3 -0
  16. package/dist/cjs/collection/buffer/buffer-to-string-options.js +2 -0
  17. package/dist/cjs/collection/buffer/buffer-to-string.d.ts +2 -0
  18. package/dist/cjs/collection/buffer/buffer-to-string.js +8 -0
  19. package/dist/cjs/collection/each.d.ts +1 -0
  20. package/dist/cjs/collection/each.js +6 -0
  21. package/dist/cjs/collection/included-in.d.ts +1 -0
  22. package/dist/cjs/collection/included-in.js +6 -0
  23. package/dist/cjs/collection/index.d.ts +10 -0
  24. package/dist/cjs/collection/index.js +21 -0
  25. package/dist/cjs/collection/string/string-to-line-stream.d.ts +1 -0
  26. package/dist/cjs/collection/string/string-to-line-stream.js +7 -0
  27. package/dist/cjs/color/color.error.d.ts +4 -0
  28. package/dist/cjs/color/color.error.js +8 -0
  29. package/dist/cjs/color/error/invalid-color-string-error-properties.d.ts +3 -0
  30. package/dist/cjs/color/error/invalid-color-string-error-properties.js +2 -0
  31. package/dist/cjs/color/index.d.ts +6 -0
  32. package/dist/cjs/color/index.js +13 -0
  33. package/dist/cjs/color/string/as-color-string.d.ts +2 -0
  34. package/dist/cjs/color/string/as-color-string.js +8 -0
  35. package/dist/cjs/color/string/color-string.d.ts +3 -0
  36. package/dist/cjs/color/string/color-string.js +2 -0
  37. package/dist/cjs/color/string/generate-color-string.d.ts +2 -0
  38. package/dist/cjs/color/string/generate-color-string.js +12 -0
  39. package/dist/cjs/color/string/is-color-string.d.ts +2 -0
  40. package/dist/cjs/color/string/is-color-string.js +7 -0
  41. package/dist/cjs/color/string/validate-color-string.d.ts +2 -0
  42. package/dist/cjs/color/string/validate-color-string.js +10 -0
  43. package/dist/cjs/domain/create-domain.d.ts +2 -0
  44. package/dist/cjs/domain/create-domain.js +8 -0
  45. package/dist/cjs/domain/domain.d.ts +3 -0
  46. package/dist/cjs/domain/domain.js +2 -0
  47. package/dist/cjs/domain/index.d.ts +3 -0
  48. package/dist/cjs/domain/index.js +7 -0
  49. package/dist/cjs/domain/is-domain.d.ts +3 -0
  50. package/dist/cjs/domain/is-domain.js +9 -0
  51. package/dist/cjs/environment/environment.error.d.ts +10 -0
  52. package/dist/cjs/environment/environment.error.js +11 -0
  53. package/dist/cjs/environment/error/invalid-platform-environment-id-error-properties.d.ts +3 -0
  54. package/dist/cjs/environment/error/invalid-platform-environment-id-error-properties.js +2 -0
  55. package/dist/cjs/environment/error/invalid-platform-environment-provider-error-properties.d.ts +3 -0
  56. package/dist/cjs/environment/error/invalid-platform-environment-provider-error-properties.js +2 -0
  57. package/dist/cjs/environment/error/invalid-platform-environment-region-error-properties.d.ts +3 -0
  58. package/dist/cjs/environment/error/invalid-platform-environment-region-error-properties.js +2 -0
  59. package/dist/cjs/environment/error/invalid-platform-environment-type-error-properties.d.ts +3 -0
  60. package/dist/cjs/environment/error/invalid-platform-environment-type-error-properties.js +2 -0
  61. package/dist/cjs/environment/id/as-platform-environment-id.d.ts +2 -0
  62. package/dist/cjs/environment/id/as-platform-environment-id.js +8 -0
  63. package/dist/cjs/environment/id/is-platform-environment-id.d.ts +2 -0
  64. package/dist/cjs/environment/id/is-platform-environment-id.js +6 -0
  65. package/dist/cjs/environment/id/platform-environment-id.d.ts +3 -0
  66. package/dist/cjs/environment/id/platform-environment-id.js +2 -0
  67. package/dist/cjs/environment/id/validate-platform-environment-id.d.ts +2 -0
  68. package/dist/cjs/environment/id/validate-platform-environment-id.js +10 -0
  69. package/dist/cjs/environment/index.d.ts +25 -0
  70. package/dist/cjs/environment/index.js +41 -0
  71. package/dist/cjs/environment/platform-environment.d.ts +11 -0
  72. package/dist/cjs/environment/platform-environment.js +2 -0
  73. package/dist/cjs/environment/provider/as-platform-environment-provider.d.ts +2 -0
  74. package/dist/cjs/environment/provider/as-platform-environment-provider.js +8 -0
  75. package/dist/cjs/environment/provider/is-platform-environment-provider.d.ts +2 -0
  76. package/dist/cjs/environment/provider/is-platform-environment-provider.js +8 -0
  77. package/dist/cjs/environment/provider/platform-environment-provider.d.ts +2 -0
  78. package/dist/cjs/environment/provider/platform-environment-provider.js +2 -0
  79. package/dist/cjs/environment/provider/platform-environment-providers.d.ts +1 -0
  80. package/dist/cjs/environment/provider/platform-environment-providers.js +4 -0
  81. package/dist/cjs/environment/provider/validate-platform-environment-provider.d.ts +2 -0
  82. package/dist/cjs/environment/provider/validate-platform-environment-provider.js +10 -0
  83. package/dist/cjs/environment/region/as-platform-environment-region.d.ts +2 -0
  84. package/dist/cjs/environment/region/as-platform-environment-region.js +8 -0
  85. package/dist/cjs/environment/region/is-platform-environment-region.d.ts +2 -0
  86. package/dist/cjs/environment/region/is-platform-environment-region.js +8 -0
  87. package/dist/cjs/environment/region/platform-environment-region.d.ts +2 -0
  88. package/dist/cjs/environment/region/platform-environment-region.js +2 -0
  89. package/dist/cjs/environment/region/platform-environment-regions.d.ts +1 -0
  90. package/dist/cjs/environment/region/platform-environment-regions.js +12 -0
  91. package/dist/cjs/environment/region/validate-platform-environment-region.d.ts +2 -0
  92. package/dist/cjs/environment/region/validate-platform-environment-region.js +10 -0
  93. package/dist/cjs/environment/type/as-platform-environment-type.d.ts +2 -0
  94. package/dist/cjs/environment/type/as-platform-environment-type.js +8 -0
  95. package/dist/cjs/environment/type/is-platform-environment-type.d.ts +2 -0
  96. package/dist/cjs/environment/type/is-platform-environment-type.js +8 -0
  97. package/dist/cjs/environment/type/platform-environment-type.d.ts +2 -0
  98. package/dist/cjs/environment/type/platform-environment-type.js +2 -0
  99. package/dist/cjs/environment/type/platform-environment-types.d.ts +1 -0
  100. package/dist/cjs/environment/type/platform-environment-types.js +4 -0
  101. package/dist/cjs/environment/type/validate-platform-environment-type.d.ts +2 -0
  102. package/dist/cjs/environment/type/validate-platform-environment-type.js +10 -0
  103. package/dist/cjs/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +3 -0
  104. package/dist/cjs/environment/variable/definition/environment-variable-definition-to-resolver.js +14 -0
  105. package/dist/cjs/environment/variable/definition/environment-variable-definition-type.d.ts +3 -0
  106. package/dist/cjs/environment/variable/definition/environment-variable-definition-type.js +2 -0
  107. package/dist/cjs/environment/variable/definition/environment-variable-definition.d.ts +7 -0
  108. package/dist/cjs/environment/variable/definition/environment-variable-definition.js +2 -0
  109. package/dist/cjs/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +4 -0
  110. package/dist/cjs/environment/variable/definition/environment-variable-definitions-to-resolvers.js +11 -0
  111. package/dist/cjs/environment/variable/definition/environment-variable-entries-to-object.d.ts +6 -0
  112. package/dist/cjs/environment/variable/definition/environment-variable-entries-to-object.js +14 -0
  113. package/dist/cjs/environment/variable/definition/environment-variable-entry.d.ts +9 -0
  114. package/dist/cjs/environment/variable/definition/environment-variable-entry.js +2 -0
  115. package/dist/cjs/environment/variable/definition/environment-variable-object-property-type.d.ts +4 -0
  116. package/dist/cjs/environment/variable/definition/environment-variable-object-property-type.js +2 -0
  117. package/dist/cjs/environment/variable/definition/environment-variable-object-property.d.ts +5 -0
  118. package/dist/cjs/environment/variable/definition/environment-variable-object-property.js +2 -0
  119. package/dist/cjs/environment/variable/definition/environment-variable-object.d.ts +6 -0
  120. package/dist/cjs/environment/variable/definition/environment-variable-object.js +2 -0
  121. package/dist/cjs/environment/variable/definition/environment-variable-resolver.d.ts +3 -0
  122. package/dist/cjs/environment/variable/definition/environment-variable-resolver.js +2 -0
  123. package/dist/cjs/environment/variable/environment-variables-to-platform-environment.d.ts +3 -0
  124. package/dist/cjs/environment/variable/environment-variables-to-platform-environment.js +36 -0
  125. package/dist/cjs/environment/variable/environment-variables-to-value.d.ts +5 -0
  126. package/dist/cjs/environment/variable/environment-variables-to-value.js +12 -0
  127. package/dist/cjs/environment/variable/environment-variables-to-values.d.ts +7 -0
  128. package/dist/cjs/environment/variable/environment-variables-to-values.js +15 -0
  129. package/dist/cjs/environment/variable/environment-variables.d.ts +2 -0
  130. package/dist/cjs/environment/variable/environment-variables.js +2 -0
  131. package/dist/cjs/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +5 -0
  132. package/dist/cjs/environment/variable/indexed/get-indexed-environment-variables-count.js +21 -0
  133. package/dist/cjs/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +6 -0
  134. package/dist/cjs/environment/variable/indexed/index-to-indexed-environment-variables.js +15 -0
  135. package/dist/cjs/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +6 -0
  136. package/dist/cjs/environment/variable/indexed/indexed-environment-variable-definitions.js +2 -0
  137. package/dist/cjs/environment/variable/platform-environment-to-environment-variables.d.ts +3 -0
  138. package/dist/cjs/environment/variable/platform-environment-to-environment-variables.js +13 -0
  139. package/dist/cjs/error/creator/error-creator.d.ts +4 -0
  140. package/dist/cjs/error/creator/error-creator.js +2 -0
  141. package/dist/cjs/error/creator/error-from-creator.d.ts +3 -0
  142. package/dist/cjs/error/creator/error-from-creator.js +2 -0
  143. package/dist/cjs/error/index.d.ts +14 -0
  144. package/dist/cjs/error/index.js +21 -0
  145. package/dist/cjs/error/is-error-of-type.d.ts +7 -0
  146. package/dist/cjs/error/is-error-of-type.js +19 -0
  147. package/dist/cjs/error/is-error.d.ts +1 -0
  148. package/dist/cjs/error/is-error.js +6 -0
  149. package/dist/cjs/error/is-platform-error.d.ts +2 -0
  150. package/dist/cjs/error/is-platform-error.js +13 -0
  151. package/dist/cjs/error/operator/catch-platform-error.d.ts +3 -0
  152. package/dist/cjs/error/operator/catch-platform-error.js +8 -0
  153. package/dist/cjs/error/operator/map-platform-error.d.ts +3 -0
  154. package/dist/cjs/error/operator/map-platform-error.js +8 -0
  155. package/dist/cjs/error/platform-error-instance.d.ts +9 -0
  156. package/dist/cjs/error/platform-error-instance.js +16 -0
  157. package/dist/cjs/error/platform-error-to-platform-error-instance.d.ts +4 -0
  158. package/dist/cjs/error/platform-error-to-platform-error-instance.js +8 -0
  159. package/dist/cjs/error/platform-error.d.ts +7 -0
  160. package/dist/cjs/error/platform-error.js +2 -0
  161. package/dist/cjs/error/properties/error-properties-from-error-definitions.d.ts +5 -0
  162. package/dist/cjs/error/properties/error-properties-from-error-definitions.js +2 -0
  163. package/dist/cjs/error/properties/error-properties-schema-type-name.d.ts +1 -0
  164. package/dist/cjs/error/properties/error-properties-schema-type-name.js +4 -0
  165. package/dist/cjs/error/properties/error-properties-schema.d.ts +3 -0
  166. package/dist/cjs/error/properties/error-properties-schema.js +2 -0
  167. package/dist/cjs/error/properties/error-properties.d.ts +3 -0
  168. package/dist/cjs/error/properties/error-properties.js +8 -0
  169. package/dist/cjs/error/stack/error-stack-to-platform-error-stack.d.ts +1 -0
  170. package/dist/cjs/error/stack/error-stack-to-platform-error-stack.js +8 -0
  171. package/dist/cjs/error/type/create-error-type.d.ts +6 -0
  172. package/dist/cjs/error/type/create-error-type.js +12 -0
  173. package/dist/cjs/error/type/error-creator-entry-to-property-descriptor-map.d.ts +2 -0
  174. package/dist/cjs/error/type/error-creator-entry-to-property-descriptor-map.js +14 -0
  175. package/dist/cjs/error/type/error-creator-entry.d.ts +3 -0
  176. package/dist/cjs/error/type/error-creator-entry.js +2 -0
  177. package/dist/cjs/error/type/error-from-type.d.ts +3 -0
  178. package/dist/cjs/error/type/error-from-type.js +2 -0
  179. package/dist/cjs/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +4 -0
  180. package/dist/cjs/error/type/error-properties-schema-entry-to-error-creator-entry.js +16 -0
  181. package/dist/cjs/error/type/error-type.d.ts +7 -0
  182. package/dist/cjs/error/type/error-type.js +2 -0
  183. package/dist/cjs/event/creator/event-creator.d.ts +4 -0
  184. package/dist/cjs/event/creator/event-creator.js +2 -0
  185. package/dist/cjs/event/creator/event-from-creator.d.ts +3 -0
  186. package/dist/cjs/event/creator/event-from-creator.js +2 -0
  187. package/dist/cjs/event/event-name.d.ts +3 -0
  188. package/dist/cjs/event/event-name.js +2 -0
  189. package/dist/cjs/event/event.d.ts +6 -0
  190. package/dist/cjs/event/event.js +2 -0
  191. package/dist/cjs/event/handler/event-handler.d.ts +4 -0
  192. package/dist/cjs/event/handler/event-handler.js +2 -0
  193. package/dist/cjs/event/index.d.ts +22 -0
  194. package/dist/cjs/event/index.js +21 -0
  195. package/dist/cjs/event/is-event-of-type.d.ts +9 -0
  196. package/dist/cjs/event/is-event-of-type.js +6 -0
  197. package/dist/cjs/event/is-event.d.ts +2 -0
  198. package/dist/cjs/event/is-event.js +13 -0
  199. package/dist/cjs/event/matcher/event-matcher-case.d.ts +4 -0
  200. package/dist/cjs/event/matcher/event-matcher-case.js +2 -0
  201. package/dist/cjs/event/matcher/event-matcher.d.ts +7 -0
  202. package/dist/cjs/event/matcher/event-matcher.js +2 -0
  203. package/dist/cjs/event/matcher/events-matcher-case.d.ts +4 -0
  204. package/dist/cjs/event/matcher/events-matcher-case.js +2 -0
  205. package/dist/cjs/event/matcher/events-matcher.d.ts +7 -0
  206. package/dist/cjs/event/matcher/events-matcher.js +2 -0
  207. package/dist/cjs/event/matcher/match-event.d.ts +3 -0
  208. package/dist/cjs/event/matcher/match-event.js +8 -0
  209. package/dist/cjs/event/matcher/match-events.d.ts +5 -0
  210. package/dist/cjs/event/matcher/match-events.js +21 -0
  211. package/dist/cjs/event/properties/event-properties-from-event-definitions.d.ts +5 -0
  212. package/dist/cjs/event/properties/event-properties-from-event-definitions.js +2 -0
  213. package/dist/cjs/event/properties/event-properties-schema-type-name.d.ts +1 -0
  214. package/dist/cjs/event/properties/event-properties-schema-type-name.js +4 -0
  215. package/dist/cjs/event/properties/event-properties-schema.d.ts +3 -0
  216. package/dist/cjs/event/properties/event-properties-schema.js +2 -0
  217. package/dist/cjs/event/properties/event-properties.d.ts +3 -0
  218. package/dist/cjs/event/properties/event-properties.js +8 -0
  219. package/dist/cjs/event/properties/event-to-event-name.d.ts +2 -0
  220. package/dist/cjs/event/properties/event-to-event-name.js +6 -0
  221. package/dist/cjs/event/properties/event-to-event-properties.d.ts +2 -0
  222. package/dist/cjs/event/properties/event-to-event-properties.js +6 -0
  223. package/dist/cjs/event/properties/event-to-properties.d.ts +2 -0
  224. package/dist/cjs/event/properties/event-to-properties.js +6 -0
  225. package/dist/cjs/event/type/create-event-type.d.ts +6 -0
  226. package/dist/cjs/event/type/create-event-type.js +12 -0
  227. package/dist/cjs/event/type/event-creator-entry-to-property-descriptor-map.d.ts +2 -0
  228. package/dist/cjs/event/type/event-creator-entry-to-property-descriptor-map.js +14 -0
  229. package/dist/cjs/event/type/event-creator-entry.d.ts +3 -0
  230. package/dist/cjs/event/type/event-creator-entry.js +2 -0
  231. package/dist/cjs/event/type/event-from-type.d.ts +3 -0
  232. package/dist/cjs/event/type/event-from-type.js +2 -0
  233. package/dist/cjs/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +4 -0
  234. package/dist/cjs/event/type/event-properties-schema-entry-to-event-creator-entry.js +13 -0
  235. package/dist/cjs/event/type/event-type-with-events.d.ts +2 -0
  236. package/dist/cjs/event/type/event-type-with-events.js +12 -0
  237. package/dist/cjs/event/type/event-type.d.ts +7 -0
  238. package/dist/cjs/event/type/event-type.js +2 -0
  239. package/dist/cjs/functional/call-with.d.ts +1 -0
  240. package/dist/cjs/functional/call-with.js +6 -0
  241. package/dist/cjs/functional/entries-to-object.d.ts +1 -0
  242. package/dist/cjs/functional/entries-to-object.js +6 -0
  243. package/dist/cjs/functional/identity.d.ts +1 -0
  244. package/dist/cjs/functional/identity.js +6 -0
  245. package/dist/cjs/functional/index.d.ts +12 -0
  246. package/dist/cjs/functional/index.js +27 -0
  247. package/dist/cjs/functional/is-defined.d.ts +1 -0
  248. package/dist/cjs/functional/is-defined.js +6 -0
  249. package/dist/cjs/functional/is-instance-of.d.ts +1 -0
  250. package/dist/cjs/functional/is-instance-of.js +6 -0
  251. package/dist/cjs/functional/is-not-null.d.ts +1 -0
  252. package/dist/cjs/functional/is-not-null.js +6 -0
  253. package/dist/cjs/functional/not.d.ts +1 -0
  254. package/dist/cjs/functional/not.js +6 -0
  255. package/dist/cjs/functional/object-to-entries.d.ts +2 -0
  256. package/dist/cjs/functional/object-to-entries.js +6 -0
  257. package/dist/cjs/functional/object-to-keys.d.ts +2 -0
  258. package/dist/cjs/functional/object-to-keys.js +6 -0
  259. package/dist/cjs/functional/object-to-values.d.ts +1 -0
  260. package/dist/cjs/functional/object-to-values.js +6 -0
  261. package/dist/cjs/functional/object-with-properties.d.ts +2 -0
  262. package/dist/cjs/functional/object-with-properties.js +24 -0
  263. package/dist/cjs/functional/pipe.d.ts +13 -0
  264. package/dist/cjs/functional/pipe.js +10 -0
  265. package/dist/cjs/geometry/index.d.ts +3 -0
  266. package/dist/cjs/geometry/index.js +2 -0
  267. package/dist/cjs/geometry/point.d.ts +5 -0
  268. package/dist/cjs/geometry/point.js +2 -0
  269. package/dist/cjs/geometry/polygon.d.ts +5 -0
  270. package/dist/cjs/geometry/polygon.js +2 -0
  271. package/dist/cjs/geometry/position.d.ts +1 -0
  272. package/dist/cjs/geometry/position.js +2 -0
  273. package/dist/cjs/http/client/create-http-client.d.ts +3 -0
  274. package/dist/cjs/http/client/create-http-client.js +37 -0
  275. package/dist/cjs/http/client/graphql/create-graphql-client.d.ts +3 -0
  276. package/dist/cjs/http/client/graphql/create-graphql-client.js +31 -0
  277. package/dist/cjs/http/client/graphql/graphql-client-options.d.ts +8 -0
  278. package/dist/cjs/http/client/graphql/graphql-client-options.js +2 -0
  279. package/dist/cjs/http/client/graphql/graphql-client.d.ts +4 -0
  280. package/dist/cjs/http/client/graphql/graphql-client.error.d.ts +11 -0
  281. package/dist/cjs/http/client/graphql/graphql-client.error.js +9 -0
  282. package/dist/cjs/http/client/graphql/graphql-client.js +2 -0
  283. package/dist/cjs/http/client/graphql/graphql-error-location.d.ts +4 -0
  284. package/dist/cjs/http/client/graphql/graphql-error-location.js +2 -0
  285. package/dist/cjs/http/client/graphql/graphql-error.d.ts +7 -0
  286. package/dist/cjs/http/client/graphql/graphql-error.js +2 -0
  287. package/dist/cjs/http/client/graphql/graphql-query-to-graphql-request.d.ts +3 -0
  288. package/dist/cjs/http/client/graphql/graphql-query-to-graphql-request.js +9 -0
  289. package/dist/cjs/http/client/graphql/graphql-request.d.ts +5 -0
  290. package/dist/cjs/http/client/graphql/graphql-request.js +2 -0
  291. package/dist/cjs/http/client/graphql/graphql-response.d.ts +5 -0
  292. package/dist/cjs/http/client/graphql/graphql-response.js +2 -0
  293. package/dist/cjs/http/client/graphql/index.d.ts +6 -0
  294. package/dist/cjs/http/client/graphql/index.js +7 -0
  295. package/dist/cjs/http/client/header/fetch-header-to-http-header.d.ts +2 -0
  296. package/dist/cjs/http/client/header/fetch-header-to-http-header.js +9 -0
  297. package/dist/cjs/http/client/header/http-headers-to-fetch-headers.d.ts +2 -0
  298. package/dist/cjs/http/client/header/http-headers-to-fetch-headers.js +8 -0
  299. package/dist/cjs/http/client/http-client-options.d.ts +5 -0
  300. package/dist/cjs/http/client/http-client-options.js +2 -0
  301. package/dist/cjs/http/client/http-client.d.ts +5 -0
  302. package/dist/cjs/http/client/http-client.error.d.ts +4 -0
  303. package/dist/cjs/http/client/http-client.error.js +9 -0
  304. package/dist/cjs/http/client/http-client.js +2 -0
  305. package/dist/cjs/http/client/index.d.ts +19 -0
  306. package/dist/cjs/http/client/index.js +27 -0
  307. package/dist/cjs/http/client/progress/controller-to-response-progress-chunks.d.ts +2 -0
  308. package/dist/cjs/http/client/progress/controller-to-response-progress-chunks.js +23 -0
  309. package/dist/cjs/http/client/progress/http-client-response-progress.d.ts +7 -0
  310. package/dist/cjs/http/client/progress/http-client-response-progress.js +2 -0
  311. package/dist/cjs/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +3 -0
  312. package/dist/cjs/http/client/progress/http-client-response-to-http-client-response-with-progress.js +34 -0
  313. package/dist/cjs/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +2 -0
  314. package/dist/cjs/http/client/progress/http-client-response-with-progress-to-bytes.js +7 -0
  315. package/dist/cjs/http/client/progress/http-client-response-with-progress.d.ts +7 -0
  316. package/dist/cjs/http/client/progress/http-client-response-with-progress.js +2 -0
  317. package/dist/cjs/http/client/progress/response-progress-chunk-to-response-progress.d.ts +2 -0
  318. package/dist/cjs/http/client/progress/response-progress-chunk-to-response-progress.js +19 -0
  319. package/dist/cjs/http/client/progress/response-progress-underlying-source.d.ts +5 -0
  320. package/dist/cjs/http/client/progress/response-progress-underlying-source.js +13 -0
  321. package/dist/cjs/http/client/request/http-client-request-options.d.ts +3 -0
  322. package/dist/cjs/http/client/request/http-client-request-options.js +2 -0
  323. package/dist/cjs/http/client/request/http-client-request.d.ts +8 -0
  324. package/dist/cjs/http/client/request/http-client-request.js +2 -0
  325. package/dist/cjs/http/client/response/fetch-response-symbol.d.ts +1 -0
  326. package/dist/cjs/http/client/response/fetch-response-symbol.js +4 -0
  327. package/dist/cjs/http/client/response/http-client-response-status-is-options.d.ts +7 -0
  328. package/dist/cjs/http/client/response/http-client-response-status-is-options.js +2 -0
  329. package/dist/cjs/http/client/response/http-client-response-status-is.d.ts +3 -0
  330. package/dist/cjs/http/client/response/http-client-response-status-is.js +13 -0
  331. package/dist/cjs/http/client/response/http-client-response-to-array-buffer.d.ts +2 -0
  332. package/dist/cjs/http/client/response/http-client-response-to-array-buffer.js +8 -0
  333. package/dist/cjs/http/client/response/http-client-response-to-blob.d.ts +2 -0
  334. package/dist/cjs/http/client/response/http-client-response-to-blob.js +8 -0
  335. package/dist/cjs/http/client/response/http-client-response-to-json-stream-options.d.ts +3 -0
  336. package/dist/cjs/http/client/response/http-client-response-to-json-stream-options.js +2 -0
  337. package/dist/cjs/http/client/response/http-client-response-to-json-stream.d.ts +4 -0
  338. package/dist/cjs/http/client/response/http-client-response-to-json-stream.js +38 -0
  339. package/dist/cjs/http/client/response/http-client-response-to-json.d.ts +2 -0
  340. package/dist/cjs/http/client/response/http-client-response-to-json.js +14 -0
  341. package/dist/cjs/http/client/response/http-client-response-to-text.d.ts +2 -0
  342. package/dist/cjs/http/client/response/http-client-response-to-text.js +8 -0
  343. package/dist/cjs/http/client/response/http-client-response.d.ts +7 -0
  344. package/dist/cjs/http/client/response/http-client-response.js +2 -0
  345. package/dist/cjs/http/client/response/response-to-http-client-response.d.ts +2 -0
  346. package/dist/cjs/http/client/response/response-to-http-client-response.js +14 -0
  347. package/dist/cjs/http/client/response/url-to-http-client-response.d.ts +4 -0
  348. package/dist/cjs/http/client/response/url-to-http-client-response.js +7 -0
  349. package/dist/cjs/http/client/testing/create-test-http-client.d.ts +3 -0
  350. package/dist/cjs/http/client/testing/create-test-http-client.js +20 -0
  351. package/dist/cjs/http/client/testing/index.d.ts +3 -0
  352. package/dist/cjs/http/client/testing/index.js +5 -0
  353. package/dist/cjs/http/client/testing/test-http-client-options.d.ts +3 -0
  354. package/dist/cjs/http/client/testing/test-http-client-options.js +2 -0
  355. package/dist/cjs/http/client/testing/test-http-client.d.ts +5 -0
  356. package/dist/cjs/http/client/testing/test-http-client.js +2 -0
  357. package/dist/cjs/http/cookie/http-cookie.d.ts +13 -0
  358. package/dist/cjs/http/cookie/http-cookie.js +2 -0
  359. package/dist/cjs/http/cookie/is-session-http-cookie.d.ts +2 -0
  360. package/dist/cjs/http/cookie/is-session-http-cookie.js +7 -0
  361. package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +2 -0
  362. package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-option.js +2 -0
  363. package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +1 -0
  364. package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-options.js +4 -0
  365. package/dist/cjs/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +2 -0
  366. package/dist/cjs/http/cookie/same-site-option/is-http-cookie-same-site-option.js +8 -0
  367. package/dist/cjs/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +2 -0
  368. package/dist/cjs/http/cookie/same-site-option/validate-http-cookie-same-site-option.js +10 -0
  369. package/dist/cjs/http/error/invalid-cookie-header-value-error-properties.d.ts +3 -0
  370. package/dist/cjs/http/error/invalid-cookie-header-value-error-properties.js +2 -0
  371. package/dist/cjs/http/error/invalid-cookie-same-site-option-error-properties.d.ts +3 -0
  372. package/dist/cjs/http/error/invalid-cookie-same-site-option-error-properties.js +2 -0
  373. package/dist/cjs/http/error/invalid-http-header-name-error-properties.d.ts +3 -0
  374. package/dist/cjs/http/error/invalid-http-header-name-error-properties.js +2 -0
  375. package/dist/cjs/http/error/invalid-http-method-error-properties.d.ts +3 -0
  376. package/dist/cjs/http/error/invalid-http-method-error-properties.js +2 -0
  377. package/dist/cjs/http/error/invalid-http-status-error-properties.d.ts +3 -0
  378. package/dist/cjs/http/error/invalid-http-status-error-properties.js +2 -0
  379. package/dist/cjs/http/header/authorization/parse-authorization-header-value.d.ts +1 -0
  380. package/dist/cjs/http/header/authorization/parse-authorization-header-value.js +12 -0
  381. package/dist/cjs/http/header/by-http-header-name.d.ts +3 -0
  382. package/dist/cjs/http/header/by-http-header-name.js +6 -0
  383. package/dist/cjs/http/header/cookie/create-set-cookie-http-header.d.ts +3 -0
  384. package/dist/cjs/http/header/cookie/create-set-cookie-http-header.js +24 -0
  385. package/dist/cjs/http/header/cookie/parse-cookie-header-value.d.ts +2 -0
  386. package/dist/cjs/http/header/cookie/parse-cookie-header-value.js +31 -0
  387. package/dist/cjs/http/header/http-header.d.ts +2 -0
  388. package/dist/cjs/http/header/http-header.js +2 -0
  389. package/dist/cjs/http/header/name/as-http-header-name.d.ts +2 -0
  390. package/dist/cjs/http/header/name/as-http-header-name.js +8 -0
  391. package/dist/cjs/http/header/name/http-header-name.d.ts +2 -0
  392. package/dist/cjs/http/header/name/http-header-name.js +2 -0
  393. package/dist/cjs/http/header/name/http-header-names.d.ts +1 -0
  394. package/dist/cjs/http/header/name/http-header-names.js +118 -0
  395. package/dist/cjs/http/header/name/is-http-header-name.d.ts +2 -0
  396. package/dist/cjs/http/header/name/is-http-header-name.js +6 -0
  397. package/dist/cjs/http/header/name/validate-http-header-name.d.ts +2 -0
  398. package/dist/cjs/http/header/name/validate-http-header-name.js +10 -0
  399. package/dist/cjs/http/http.error.d.ts +12 -0
  400. package/dist/cjs/http/http.error.js +12 -0
  401. package/dist/cjs/http/index.d.ts +31 -0
  402. package/dist/cjs/http/index.js +41 -0
  403. package/dist/cjs/http/method/as-http-method.d.ts +2 -0
  404. package/dist/cjs/http/method/as-http-method.js +8 -0
  405. package/dist/cjs/http/method/http-method.d.ts +2 -0
  406. package/dist/cjs/http/method/http-method.js +2 -0
  407. package/dist/cjs/http/method/http-methods.d.ts +1 -0
  408. package/dist/cjs/http/method/http-methods.js +4 -0
  409. package/dist/cjs/http/method/is-http-method.d.ts +2 -0
  410. package/dist/cjs/http/method/is-http-method.js +8 -0
  411. package/dist/cjs/http/method/validate-http-method.d.ts +2 -0
  412. package/dist/cjs/http/method/validate-http-method.js +10 -0
  413. package/dist/cjs/http/status/http-status.d.ts +2 -0
  414. package/dist/cjs/http/status/http-status.js +2 -0
  415. package/dist/cjs/http/status/http-statuses.d.ts +63 -0
  416. package/dist/cjs/http/status/http-statuses.js +66 -0
  417. package/dist/cjs/http/status/is-http-status.d.ts +2 -0
  418. package/dist/cjs/http/status/is-http-status.js +9 -0
  419. package/dist/cjs/http/status/validate-http-status.d.ts +2 -0
  420. package/dist/cjs/http/status/validate-http-status.js +10 -0
  421. package/dist/cjs/i18n/error/invalid-i18n-string-error-properties.d.ts +3 -0
  422. package/dist/cjs/i18n/error/invalid-i18n-string-error-properties.js +2 -0
  423. package/dist/cjs/i18n/i18n.error.d.ts +4 -0
  424. package/dist/cjs/i18n/i18n.error.js +8 -0
  425. package/dist/cjs/i18n/index.d.ts +12 -0
  426. package/dist/cjs/i18n/index.js +19 -0
  427. package/dist/cjs/i18n/string/as-i18n-string.d.ts +2 -0
  428. package/dist/cjs/i18n/string/as-i18n-string.js +8 -0
  429. package/dist/cjs/i18n/string/compare-i18n-strings-options.d.ts +5 -0
  430. package/dist/cjs/i18n/string/compare-i18n-strings-options.js +2 -0
  431. package/dist/cjs/i18n/string/compare-i18n-strings.d.ts +3 -0
  432. package/dist/cjs/i18n/string/compare-i18n-strings.js +11 -0
  433. package/dist/cjs/i18n/string/i18n-string-includes-options.d.ts +5 -0
  434. package/dist/cjs/i18n/string/i18n-string-includes-options.js +2 -0
  435. package/dist/cjs/i18n/string/i18n-string-includes.d.ts +3 -0
  436. package/dist/cjs/i18n/string/i18n-string-includes.js +23 -0
  437. package/dist/cjs/i18n/string/i18n-string.d.ts +3 -0
  438. package/dist/cjs/i18n/string/i18n-string.js +2 -0
  439. package/dist/cjs/i18n/string/is-i18n-string.d.ts +2 -0
  440. package/dist/cjs/i18n/string/is-i18n-string.js +10 -0
  441. package/dist/cjs/i18n/string/is-same-i18n-string.d.ts +2 -0
  442. package/dist/cjs/i18n/string/is-same-i18n-string.js +21 -0
  443. package/dist/cjs/i18n/string/merge-i18n-strings.d.ts +2 -0
  444. package/dist/cjs/i18n/string/merge-i18n-strings.js +9 -0
  445. package/dist/cjs/i18n/string/validate-i18n-string.d.ts +2 -0
  446. package/dist/cjs/i18n/string/validate-i18n-string.js +10 -0
  447. package/dist/cjs/index.d.ts +1 -0
  448. package/dist/cjs/index.js +5 -0
  449. package/dist/cjs/language/as-language-code.d.ts +2 -0
  450. package/dist/cjs/language/as-language-code.js +8 -0
  451. package/dist/cjs/language/error/invalid-language-code-error-properties.d.ts +3 -0
  452. package/dist/cjs/language/error/invalid-language-code-error-properties.js +2 -0
  453. package/dist/cjs/language/index.d.ts +7 -0
  454. package/dist/cjs/language/index.js +13 -0
  455. package/dist/cjs/language/is-language-code.d.ts +2 -0
  456. package/dist/cjs/language/is-language-code.js +8 -0
  457. package/dist/cjs/language/language-code.d.ts +2 -0
  458. package/dist/cjs/language/language-code.js +2 -0
  459. package/dist/cjs/language/language-codes.d.ts +1 -0
  460. package/dist/cjs/language/language-codes.js +21 -0
  461. package/dist/cjs/language/language.error.d.ts +4 -0
  462. package/dist/cjs/language/language.error.js +8 -0
  463. package/dist/cjs/language/validate-language-code.d.ts +2 -0
  464. package/dist/cjs/language/validate-language-code.js +10 -0
  465. package/dist/cjs/locale/as-locale-code.d.ts +2 -0
  466. package/dist/cjs/locale/as-locale-code.js +8 -0
  467. package/dist/cjs/locale/by-locale-code.d.ts +4 -0
  468. package/dist/cjs/locale/by-locale-code.js +7 -0
  469. package/dist/cjs/locale/error/invalid-locale-code-error-properties.d.ts +3 -0
  470. package/dist/cjs/locale/error/invalid-locale-code-error-properties.js +2 -0
  471. package/dist/cjs/locale/index.d.ts +7 -0
  472. package/dist/cjs/locale/index.js +13 -0
  473. package/dist/cjs/locale/is-locale-code.d.ts +2 -0
  474. package/dist/cjs/locale/is-locale-code.js +12 -0
  475. package/dist/cjs/locale/locale-code.d.ts +2 -0
  476. package/dist/cjs/locale/locale-code.js +2 -0
  477. package/dist/cjs/locale/locale-codes.d.ts +1 -0
  478. package/dist/cjs/locale/locale-codes.js +33 -0
  479. package/dist/cjs/locale/locale.error.d.ts +4 -0
  480. package/dist/cjs/locale/locale.error.js +8 -0
  481. package/dist/cjs/locale/validate-locale-code.d.ts +2 -0
  482. package/dist/cjs/locale/validate-locale-code.js +10 -0
  483. package/dist/cjs/platform.domain.d.ts +1 -0
  484. package/dist/cjs/platform.domain.js +5 -0
  485. package/dist/cjs/random/get-random-array-value.d.ts +1 -0
  486. package/dist/cjs/random/get-random-array-value.js +10 -0
  487. package/dist/cjs/random/index.d.ts +1 -0
  488. package/dist/cjs/random/index.js +5 -0
  489. package/dist/cjs/reactive/as-observable.d.ts +1 -0
  490. package/dist/cjs/reactive/as-observable.js +7 -0
  491. package/dist/cjs/reactive/catch-error-if.d.ts +3 -0
  492. package/dist/cjs/reactive/catch-error-if.js +12 -0
  493. package/dist/cjs/reactive/defer-value.d.ts +1 -0
  494. package/dist/cjs/reactive/defer-value.js +15 -0
  495. package/dist/cjs/reactive/index.d.ts +8 -0
  496. package/dist/cjs/reactive/index.js +19 -0
  497. package/dist/cjs/reactive/map-error-if.d.ts +3 -0
  498. package/dist/cjs/reactive/map-error-if.js +12 -0
  499. package/dist/cjs/reactive/observable-map.d.ts +5 -0
  500. package/dist/cjs/reactive/observable-map.js +20 -0
  501. package/dist/cjs/reactive/polyfill/index.d.ts +1 -0
  502. package/dist/cjs/reactive/polyfill/index.js +4 -0
  503. package/dist/cjs/reactive/tap-error.d.ts +2 -0
  504. package/dist/cjs/reactive/tap-error.js +9 -0
  505. package/dist/cjs/reactive/throw-if.d.ts +3 -0
  506. package/dist/cjs/reactive/throw-if.js +13 -0
  507. package/dist/cjs/reactive/throw-unless.d.ts +3 -0
  508. package/dist/cjs/reactive/throw-unless.js +13 -0
  509. package/dist/cjs/temporal/date/date-to-start-of-week.d.ts +1 -0
  510. package/dist/cjs/temporal/date/date-to-start-of-week.js +7 -0
  511. package/dist/cjs/temporal/date/string/as-date-string.d.ts +2 -0
  512. package/dist/cjs/temporal/date/string/as-date-string.js +15 -0
  513. package/dist/cjs/temporal/date/string/current-date-string.d.ts +2 -0
  514. package/dist/cjs/temporal/date/string/current-date-string.js +7 -0
  515. package/dist/cjs/temporal/date/string/date-string.d.ts +3 -0
  516. package/dist/cjs/temporal/date/string/date-string.js +2 -0
  517. package/dist/cjs/temporal/date/string/is-date-string.d.ts +2 -0
  518. package/dist/cjs/temporal/date/string/is-date-string.js +15 -0
  519. package/dist/cjs/temporal/date/string/validate-date-string.d.ts +2 -0
  520. package/dist/cjs/temporal/date/string/validate-date-string.js +10 -0
  521. package/dist/cjs/temporal/date-interval/string/as-date-interval-string.d.ts +2 -0
  522. package/dist/cjs/temporal/date-interval/string/as-date-interval-string.js +8 -0
  523. package/dist/cjs/temporal/date-interval/string/date-interval-string.d.ts +4 -0
  524. package/dist/cjs/temporal/date-interval/string/date-interval-string.js +2 -0
  525. package/dist/cjs/temporal/date-interval/string/is-date-interval-string.d.ts +2 -0
  526. package/dist/cjs/temporal/date-interval/string/is-date-interval-string.js +14 -0
  527. package/dist/cjs/temporal/date-interval/string/validate-date-interval-string.d.ts +2 -0
  528. package/dist/cjs/temporal/date-interval/string/validate-date-interval-string.js +10 -0
  529. package/dist/cjs/temporal/date-time/string/as-date-time-string.d.ts +2 -0
  530. package/dist/cjs/temporal/date-time/string/as-date-time-string.js +26 -0
  531. package/dist/cjs/temporal/date-time/string/current-date-time-string.d.ts +2 -0
  532. package/dist/cjs/temporal/date-time/string/current-date-time-string.js +7 -0
  533. package/dist/cjs/temporal/date-time/string/date-time-string-to-date-string.d.ts +4 -0
  534. package/dist/cjs/temporal/date-time/string/date-time-string-to-date-string.js +10 -0
  535. package/dist/cjs/temporal/date-time/string/date-time-string-to-instant.d.ts +1 -0
  536. package/dist/cjs/temporal/date-time/string/date-time-string-to-instant.js +6 -0
  537. package/dist/cjs/temporal/date-time/string/date-time-string.d.ts +3 -0
  538. package/dist/cjs/temporal/date-time/string/date-time-string.js +2 -0
  539. package/dist/cjs/temporal/date-time/string/is-date-time-string.d.ts +2 -0
  540. package/dist/cjs/temporal/date-time/string/is-date-time-string.js +16 -0
  541. package/dist/cjs/temporal/date-time/string/validate-date-time-string.d.ts +2 -0
  542. package/dist/cjs/temporal/date-time/string/validate-date-time-string.js +10 -0
  543. package/dist/cjs/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +2 -0
  544. package/dist/cjs/temporal/date-time-interval/string/as-date-time-interval-string.js +8 -0
  545. package/dist/cjs/temporal/date-time-interval/string/date-time-interval-string.d.ts +4 -0
  546. package/dist/cjs/temporal/date-time-interval/string/date-time-interval-string.js +2 -0
  547. package/dist/cjs/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +2 -0
  548. package/dist/cjs/temporal/date-time-interval/string/is-date-time-interval-string.js +14 -0
  549. package/dist/cjs/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +2 -0
  550. package/dist/cjs/temporal/date-time-interval/string/validate-date-time-interval-string.js +10 -0
  551. package/dist/cjs/temporal/duration/string/as-duration-string.d.ts +2 -0
  552. package/dist/cjs/temporal/duration/string/as-duration-string.js +15 -0
  553. package/dist/cjs/temporal/duration/string/duration-string.d.ts +3 -0
  554. package/dist/cjs/temporal/duration/string/duration-string.js +2 -0
  555. package/dist/cjs/temporal/duration/string/is-duration-string.d.ts +2 -0
  556. package/dist/cjs/temporal/duration/string/is-duration-string.js +15 -0
  557. package/dist/cjs/temporal/duration/string/validate-duration-string.d.ts +2 -0
  558. package/dist/cjs/temporal/duration/string/validate-duration-string.js +10 -0
  559. package/dist/cjs/temporal/error/invalid-date-interval-string-error-properties.d.ts +3 -0
  560. package/dist/cjs/temporal/error/invalid-date-interval-string-error-properties.js +2 -0
  561. package/dist/cjs/temporal/error/invalid-date-string-error-properties.d.ts +3 -0
  562. package/dist/cjs/temporal/error/invalid-date-string-error-properties.js +2 -0
  563. package/dist/cjs/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +3 -0
  564. package/dist/cjs/temporal/error/invalid-date-time-interval-string-error-properties.js +2 -0
  565. package/dist/cjs/temporal/error/invalid-date-time-string-error-properties.d.ts +3 -0
  566. package/dist/cjs/temporal/error/invalid-date-time-string-error-properties.js +2 -0
  567. package/dist/cjs/temporal/error/invalid-duration-string-error-properties.d.ts +3 -0
  568. package/dist/cjs/temporal/error/invalid-duration-string-error-properties.js +2 -0
  569. package/dist/cjs/temporal/error/invalid-time-interval-string-error-properties.d.ts +3 -0
  570. package/dist/cjs/temporal/error/invalid-time-interval-string-error-properties.js +2 -0
  571. package/dist/cjs/temporal/error/invalid-time-string-error-properties.d.ts +3 -0
  572. package/dist/cjs/temporal/error/invalid-time-string-error-properties.js +2 -0
  573. package/dist/cjs/temporal/index.d.ts +39 -0
  574. package/dist/cjs/temporal/index.js +53 -0
  575. package/dist/cjs/temporal/polyfill/index.d.ts +1 -0
  576. package/dist/cjs/temporal/polyfill/index.js +6 -0
  577. package/dist/cjs/temporal/temporal.error.d.ts +16 -0
  578. package/dist/cjs/temporal/temporal.error.js +14 -0
  579. package/dist/cjs/temporal/time/string/as-time-string.d.ts +2 -0
  580. package/dist/cjs/temporal/time/string/as-time-string.js +15 -0
  581. package/dist/cjs/temporal/time/string/current-time-string.d.ts +2 -0
  582. package/dist/cjs/temporal/time/string/current-time-string.js +7 -0
  583. package/dist/cjs/temporal/time/string/is-time-string.d.ts +2 -0
  584. package/dist/cjs/temporal/time/string/is-time-string.js +15 -0
  585. package/dist/cjs/temporal/time/string/time-string.d.ts +3 -0
  586. package/dist/cjs/temporal/time/string/time-string.js +2 -0
  587. package/dist/cjs/temporal/time/string/validate-time-string.d.ts +2 -0
  588. package/dist/cjs/temporal/time/string/validate-time-string.js +10 -0
  589. package/dist/cjs/temporal/time-interval/string/as-time-interval-string.d.ts +2 -0
  590. package/dist/cjs/temporal/time-interval/string/as-time-interval-string.js +8 -0
  591. package/dist/cjs/temporal/time-interval/string/is-time-interval-string.d.ts +2 -0
  592. package/dist/cjs/temporal/time-interval/string/is-time-interval-string.js +14 -0
  593. package/dist/cjs/temporal/time-interval/string/time-interval-string.d.ts +4 -0
  594. package/dist/cjs/temporal/time-interval/string/time-interval-string.js +2 -0
  595. package/dist/cjs/temporal/time-interval/string/validate-time-interval-string.d.ts +2 -0
  596. package/dist/cjs/temporal/time-interval/string/validate-time-interval-string.js +10 -0
  597. package/dist/cjs/testing/environment/create-test-environment-variables.d.ts +2 -0
  598. package/dist/cjs/testing/environment/create-test-environment-variables.js +9 -0
  599. package/dist/cjs/testing/environment/create-test-platform-environment.d.ts +2 -0
  600. package/dist/cjs/testing/environment/create-test-platform-environment.js +18 -0
  601. package/dist/cjs/testing/environment/test-platform-environment-id.d.ts +1 -0
  602. package/dist/cjs/testing/environment/test-platform-environment-id.js +5 -0
  603. package/dist/cjs/testing/index.d.ts +3 -0
  604. package/dist/cjs/testing/index.js +9 -0
  605. package/dist/cjs/typescript/deep-partial.d.ts +4 -0
  606. package/dist/cjs/typescript/deep-partial.js +2 -0
  607. package/dist/cjs/typescript/expand.d.ts +3 -0
  608. package/dist/cjs/typescript/expand.js +2 -0
  609. package/dist/cjs/typescript/function/unary-function.d.ts +3 -0
  610. package/dist/cjs/typescript/function/unary-function.js +2 -0
  611. package/dist/cjs/typescript/generic-function.d.ts +1 -0
  612. package/dist/cjs/typescript/generic-function.js +2 -0
  613. package/dist/cjs/typescript/index.d.ts +17 -0
  614. package/dist/cjs/typescript/index.js +5 -0
  615. package/dist/cjs/typescript/is-branded-type.d.ts +2 -0
  616. package/dist/cjs/typescript/is-branded-type.js +2 -0
  617. package/dist/cjs/typescript/keys-of-value-type.d.ts +3 -0
  618. package/dist/cjs/typescript/keys-of-value-type.js +2 -0
  619. package/dist/cjs/typescript/omit-call-signature.d.ts +4 -0
  620. package/dist/cjs/typescript/omit-call-signature.js +2 -0
  621. package/dist/cjs/typescript/omit-indexed-access.d.ts +3 -0
  622. package/dist/cjs/typescript/omit-indexed-access.js +2 -0
  623. package/dist/cjs/typescript/pick-call-signature.d.ts +2 -0
  624. package/dist/cjs/typescript/pick-call-signature.js +2 -0
  625. package/dist/cjs/typescript/properties-to-union.d.ts +5 -0
  626. package/dist/cjs/typescript/properties-to-union.js +2 -0
  627. package/dist/cjs/typescript/readonly-record.d.ts +3 -0
  628. package/dist/cjs/typescript/readonly-record.js +2 -0
  629. package/dist/cjs/typescript/schema/type-creator.d.ts +1 -0
  630. package/dist/cjs/typescript/schema/type-creator.js +2 -0
  631. package/dist/cjs/typescript/schema/type-schema-symbol.d.ts +2 -0
  632. package/dist/cjs/typescript/schema/type-schema-symbol.js +5 -0
  633. package/dist/cjs/typescript/schema/type-schema-type-name.d.ts +2 -0
  634. package/dist/cjs/typescript/schema/type-schema-type-name.js +2 -0
  635. package/dist/cjs/typescript/schema/type-schema-type.d.ts +2 -0
  636. package/dist/cjs/typescript/schema/type-schema-type.js +2 -0
  637. package/dist/cjs/typescript/schema/type-schema.d.ts +6 -0
  638. package/dist/cjs/typescript/schema/type-schema.js +10 -0
  639. package/dist/cjs/typescript/union-to-intersection.d.ts +1 -0
  640. package/dist/cjs/typescript/union-to-intersection.js +2 -0
  641. package/dist/cjs/url/error/invalid-url-string-error-properties.d.ts +3 -0
  642. package/dist/cjs/url/error/invalid-url-string-error-properties.js +2 -0
  643. package/dist/cjs/url/index.d.ts +4 -0
  644. package/dist/cjs/url/index.js +9 -0
  645. package/dist/cjs/url/string/as-url-string.d.ts +2 -0
  646. package/dist/cjs/url/string/as-url-string.js +14 -0
  647. package/dist/cjs/url/string/is-url-string.d.ts +2 -0
  648. package/dist/cjs/url/string/is-url-string.js +15 -0
  649. package/dist/cjs/url/string/url-string.d.ts +3 -0
  650. package/dist/cjs/url/string/url-string.js +2 -0
  651. package/dist/cjs/url/string/validate-url-string.d.ts +2 -0
  652. package/dist/cjs/url/string/validate-url-string.js +10 -0
  653. package/dist/cjs/url/url.error.d.ts +4 -0
  654. package/dist/cjs/url/url.error.js +8 -0
  655. package/dist/cjs/uuid/as-uuid.d.ts +2 -0
  656. package/dist/cjs/uuid/as-uuid.js +8 -0
  657. package/dist/cjs/uuid/error/invalid-uuid-error-properties.d.ts +3 -0
  658. package/dist/cjs/uuid/error/invalid-uuid-error-properties.js +2 -0
  659. package/dist/cjs/uuid/generate-uuid.d.ts +2 -0
  660. package/dist/cjs/uuid/generate-uuid.js +8 -0
  661. package/dist/cjs/uuid/index.d.ts +7 -0
  662. package/dist/cjs/uuid/index.js +13 -0
  663. package/dist/cjs/uuid/is-uuid.d.ts +2 -0
  664. package/dist/cjs/uuid/is-uuid.js +6 -0
  665. package/dist/cjs/uuid/uuid.d.ts +3 -0
  666. package/dist/cjs/uuid/uuid.error.d.ts +4 -0
  667. package/dist/cjs/uuid/uuid.error.js +8 -0
  668. package/dist/cjs/uuid/uuid.js +2 -0
  669. package/dist/cjs/uuid/validate-uuid.d.ts +2 -0
  670. package/dist/cjs/uuid/validate-uuid.js +10 -0
  671. package/dist/esm/collection/array/array-to-deduplicated-array-options.d.ts +4 -0
  672. package/dist/esm/collection/array/array-to-deduplicated-array-options.js +1 -0
  673. package/dist/esm/collection/array/array-to-deduplicated-array.d.ts +2 -0
  674. package/dist/esm/collection/array/array-to-deduplicated-array.js +20 -0
  675. package/dist/esm/collection/array/array-to-element-at.d.ts +1 -0
  676. package/dist/esm/collection/array/array-to-element-at.js +3 -0
  677. package/dist/esm/collection/array/array-to-first-element.d.ts +1 -0
  678. package/dist/esm/collection/array/array-to-first-element.js +3 -0
  679. package/dist/esm/collection/array/array-to-flattened-array.d.ts +1 -0
  680. package/dist/esm/collection/array/array-to-flattened-array.js +3 -0
  681. package/dist/esm/collection/array/array-to-slices.d.ts +1 -0
  682. package/dist/esm/collection/array/array-to-slices.js +10 -0
  683. package/dist/esm/collection/buffer/buffer-to-string-options.d.ts +3 -0
  684. package/dist/esm/collection/buffer/buffer-to-string-options.js +1 -0
  685. package/dist/esm/collection/buffer/buffer-to-string.d.ts +2 -0
  686. package/dist/esm/collection/buffer/buffer-to-string.js +5 -0
  687. package/dist/esm/collection/each.d.ts +1 -0
  688. package/dist/esm/collection/each.js +3 -0
  689. package/dist/esm/collection/included-in.d.ts +1 -0
  690. package/dist/esm/collection/included-in.js +3 -0
  691. package/dist/esm/collection/index.d.ts +10 -0
  692. package/dist/esm/collection/index.js +9 -0
  693. package/dist/esm/collection/string/string-to-line-stream.d.ts +1 -0
  694. package/dist/esm/collection/string/string-to-line-stream.js +4 -0
  695. package/dist/esm/color/color.error.d.ts +4 -0
  696. package/dist/esm/color/color.error.js +5 -0
  697. package/dist/esm/color/error/invalid-color-string-error-properties.d.ts +3 -0
  698. package/dist/esm/color/error/invalid-color-string-error-properties.js +1 -0
  699. package/dist/esm/color/index.d.ts +6 -0
  700. package/dist/esm/color/index.js +5 -0
  701. package/dist/esm/color/string/as-color-string.d.ts +2 -0
  702. package/dist/esm/color/string/as-color-string.js +5 -0
  703. package/dist/esm/color/string/color-string.d.ts +3 -0
  704. package/dist/esm/color/string/color-string.js +1 -0
  705. package/dist/esm/color/string/generate-color-string.d.ts +2 -0
  706. package/dist/esm/color/string/generate-color-string.js +9 -0
  707. package/dist/esm/color/string/is-color-string.d.ts +2 -0
  708. package/dist/esm/color/string/is-color-string.js +4 -0
  709. package/dist/esm/color/string/validate-color-string.d.ts +2 -0
  710. package/dist/esm/color/string/validate-color-string.js +7 -0
  711. package/dist/esm/domain/create-domain.d.ts +2 -0
  712. package/dist/esm/domain/create-domain.js +5 -0
  713. package/dist/esm/domain/domain.d.ts +3 -0
  714. package/dist/esm/domain/domain.js +1 -0
  715. package/dist/esm/domain/index.d.ts +3 -0
  716. package/dist/esm/domain/index.js +2 -0
  717. package/dist/esm/domain/is-domain.d.ts +3 -0
  718. package/dist/esm/domain/is-domain.js +6 -0
  719. package/dist/esm/environment/environment.error.d.ts +10 -0
  720. package/dist/esm/environment/environment.error.js +8 -0
  721. package/dist/esm/environment/error/invalid-platform-environment-id-error-properties.d.ts +3 -0
  722. package/dist/esm/environment/error/invalid-platform-environment-id-error-properties.js +1 -0
  723. package/dist/esm/environment/error/invalid-platform-environment-provider-error-properties.d.ts +3 -0
  724. package/dist/esm/environment/error/invalid-platform-environment-provider-error-properties.js +1 -0
  725. package/dist/esm/environment/error/invalid-platform-environment-region-error-properties.d.ts +3 -0
  726. package/dist/esm/environment/error/invalid-platform-environment-region-error-properties.js +1 -0
  727. package/dist/esm/environment/error/invalid-platform-environment-type-error-properties.d.ts +3 -0
  728. package/dist/esm/environment/error/invalid-platform-environment-type-error-properties.js +1 -0
  729. package/dist/esm/environment/id/as-platform-environment-id.d.ts +2 -0
  730. package/dist/esm/environment/id/as-platform-environment-id.js +5 -0
  731. package/dist/esm/environment/id/is-platform-environment-id.d.ts +2 -0
  732. package/dist/esm/environment/id/is-platform-environment-id.js +3 -0
  733. package/dist/esm/environment/id/platform-environment-id.d.ts +3 -0
  734. package/dist/esm/environment/id/platform-environment-id.js +1 -0
  735. package/dist/esm/environment/id/validate-platform-environment-id.d.ts +2 -0
  736. package/dist/esm/environment/id/validate-platform-environment-id.js +7 -0
  737. package/dist/esm/environment/index.d.ts +25 -0
  738. package/dist/esm/environment/index.js +19 -0
  739. package/dist/esm/environment/platform-environment.d.ts +11 -0
  740. package/dist/esm/environment/platform-environment.js +1 -0
  741. package/dist/esm/environment/provider/as-platform-environment-provider.d.ts +2 -0
  742. package/dist/esm/environment/provider/as-platform-environment-provider.js +5 -0
  743. package/dist/esm/environment/provider/is-platform-environment-provider.d.ts +2 -0
  744. package/dist/esm/environment/provider/is-platform-environment-provider.js +5 -0
  745. package/dist/esm/environment/provider/platform-environment-provider.d.ts +2 -0
  746. package/dist/esm/environment/provider/platform-environment-provider.js +1 -0
  747. package/dist/esm/environment/provider/platform-environment-providers.d.ts +1 -0
  748. package/dist/esm/environment/provider/platform-environment-providers.js +1 -0
  749. package/dist/esm/environment/provider/validate-platform-environment-provider.d.ts +2 -0
  750. package/dist/esm/environment/provider/validate-platform-environment-provider.js +7 -0
  751. package/dist/esm/environment/region/as-platform-environment-region.d.ts +2 -0
  752. package/dist/esm/environment/region/as-platform-environment-region.js +5 -0
  753. package/dist/esm/environment/region/is-platform-environment-region.d.ts +2 -0
  754. package/dist/esm/environment/region/is-platform-environment-region.js +5 -0
  755. package/dist/esm/environment/region/platform-environment-region.d.ts +2 -0
  756. package/dist/esm/environment/region/platform-environment-region.js +1 -0
  757. package/dist/esm/environment/region/platform-environment-regions.d.ts +1 -0
  758. package/dist/esm/environment/region/platform-environment-regions.js +9 -0
  759. package/dist/esm/environment/region/validate-platform-environment-region.d.ts +2 -0
  760. package/dist/esm/environment/region/validate-platform-environment-region.js +7 -0
  761. package/dist/esm/environment/type/as-platform-environment-type.d.ts +2 -0
  762. package/dist/esm/environment/type/as-platform-environment-type.js +5 -0
  763. package/dist/esm/environment/type/is-platform-environment-type.d.ts +2 -0
  764. package/dist/esm/environment/type/is-platform-environment-type.js +5 -0
  765. package/dist/esm/environment/type/platform-environment-type.d.ts +2 -0
  766. package/dist/esm/environment/type/platform-environment-type.js +1 -0
  767. package/dist/esm/environment/type/platform-environment-types.d.ts +1 -0
  768. package/dist/esm/environment/type/platform-environment-types.js +1 -0
  769. package/dist/esm/environment/type/validate-platform-environment-type.d.ts +2 -0
  770. package/dist/esm/environment/type/validate-platform-environment-type.js +7 -0
  771. package/dist/esm/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +3 -0
  772. package/dist/esm/environment/variable/definition/environment-variable-definition-to-resolver.js +11 -0
  773. package/dist/esm/environment/variable/definition/environment-variable-definition-type.d.ts +3 -0
  774. package/dist/esm/environment/variable/definition/environment-variable-definition-type.js +1 -0
  775. package/dist/esm/environment/variable/definition/environment-variable-definition.d.ts +7 -0
  776. package/dist/esm/environment/variable/definition/environment-variable-definition.js +1 -0
  777. package/dist/esm/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +4 -0
  778. package/dist/esm/environment/variable/definition/environment-variable-definitions-to-resolvers.js +8 -0
  779. package/dist/esm/environment/variable/definition/environment-variable-entries-to-object.d.ts +6 -0
  780. package/dist/esm/environment/variable/definition/environment-variable-entries-to-object.js +11 -0
  781. package/dist/esm/environment/variable/definition/environment-variable-entry.d.ts +9 -0
  782. package/dist/esm/environment/variable/definition/environment-variable-entry.js +1 -0
  783. package/dist/esm/environment/variable/definition/environment-variable-object-property-type.d.ts +4 -0
  784. package/dist/esm/environment/variable/definition/environment-variable-object-property-type.js +1 -0
  785. package/dist/esm/environment/variable/definition/environment-variable-object-property.d.ts +5 -0
  786. package/dist/esm/environment/variable/definition/environment-variable-object-property.js +1 -0
  787. package/dist/esm/environment/variable/definition/environment-variable-object.d.ts +6 -0
  788. package/dist/esm/environment/variable/definition/environment-variable-object.js +1 -0
  789. package/dist/esm/environment/variable/definition/environment-variable-resolver.d.ts +3 -0
  790. package/dist/esm/environment/variable/definition/environment-variable-resolver.js +1 -0
  791. package/dist/esm/environment/variable/environment-variables-to-platform-environment.d.ts +3 -0
  792. package/dist/esm/environment/variable/environment-variables-to-platform-environment.js +33 -0
  793. package/dist/esm/environment/variable/environment-variables-to-value.d.ts +5 -0
  794. package/dist/esm/environment/variable/environment-variables-to-value.js +9 -0
  795. package/dist/esm/environment/variable/environment-variables-to-values.d.ts +7 -0
  796. package/dist/esm/environment/variable/environment-variables-to-values.js +12 -0
  797. package/dist/esm/environment/variable/environment-variables.d.ts +2 -0
  798. package/dist/esm/environment/variable/environment-variables.js +1 -0
  799. package/dist/esm/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +5 -0
  800. package/dist/esm/environment/variable/indexed/get-indexed-environment-variables-count.js +18 -0
  801. package/dist/esm/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +6 -0
  802. package/dist/esm/environment/variable/indexed/index-to-indexed-environment-variables.js +12 -0
  803. package/dist/esm/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +6 -0
  804. package/dist/esm/environment/variable/indexed/indexed-environment-variable-definitions.js +1 -0
  805. package/dist/esm/environment/variable/platform-environment-to-environment-variables.d.ts +3 -0
  806. package/dist/esm/environment/variable/platform-environment-to-environment-variables.js +10 -0
  807. package/dist/esm/error/creator/error-creator.d.ts +4 -0
  808. package/dist/esm/error/creator/error-creator.js +1 -0
  809. package/dist/esm/error/creator/error-from-creator.d.ts +3 -0
  810. package/dist/esm/error/creator/error-from-creator.js +1 -0
  811. package/dist/esm/error/index.d.ts +14 -0
  812. package/dist/esm/error/index.js +9 -0
  813. package/dist/esm/error/is-error-of-type.d.ts +7 -0
  814. package/dist/esm/error/is-error-of-type.js +16 -0
  815. package/dist/esm/error/is-error.d.ts +1 -0
  816. package/dist/esm/error/is-error.js +3 -0
  817. package/dist/esm/error/is-platform-error.d.ts +2 -0
  818. package/dist/esm/error/is-platform-error.js +10 -0
  819. package/dist/esm/error/operator/catch-platform-error.d.ts +3 -0
  820. package/dist/esm/error/operator/catch-platform-error.js +5 -0
  821. package/dist/esm/error/operator/map-platform-error.d.ts +3 -0
  822. package/dist/esm/error/operator/map-platform-error.js +5 -0
  823. package/dist/esm/error/platform-error-instance.d.ts +9 -0
  824. package/dist/esm/error/platform-error-instance.js +12 -0
  825. package/dist/esm/error/platform-error-to-platform-error-instance.d.ts +4 -0
  826. package/dist/esm/error/platform-error-to-platform-error-instance.js +5 -0
  827. package/dist/esm/error/platform-error.d.ts +7 -0
  828. package/dist/esm/error/platform-error.js +1 -0
  829. package/dist/esm/error/properties/error-properties-from-error-definitions.d.ts +5 -0
  830. package/dist/esm/error/properties/error-properties-from-error-definitions.js +1 -0
  831. package/dist/esm/error/properties/error-properties-schema-type-name.d.ts +1 -0
  832. package/dist/esm/error/properties/error-properties-schema-type-name.js +1 -0
  833. package/dist/esm/error/properties/error-properties-schema.d.ts +3 -0
  834. package/dist/esm/error/properties/error-properties-schema.js +1 -0
  835. package/dist/esm/error/properties/error-properties.d.ts +3 -0
  836. package/dist/esm/error/properties/error-properties.js +5 -0
  837. package/dist/esm/error/stack/error-stack-to-platform-error-stack.d.ts +1 -0
  838. package/dist/esm/error/stack/error-stack-to-platform-error-stack.js +5 -0
  839. package/dist/esm/error/type/create-error-type.d.ts +6 -0
  840. package/dist/esm/error/type/create-error-type.js +9 -0
  841. package/dist/esm/error/type/error-creator-entry-to-property-descriptor-map.d.ts +2 -0
  842. package/dist/esm/error/type/error-creator-entry-to-property-descriptor-map.js +11 -0
  843. package/dist/esm/error/type/error-creator-entry.d.ts +3 -0
  844. package/dist/esm/error/type/error-creator-entry.js +1 -0
  845. package/dist/esm/error/type/error-from-type.d.ts +3 -0
  846. package/dist/esm/error/type/error-from-type.js +1 -0
  847. package/dist/esm/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +4 -0
  848. package/dist/esm/error/type/error-properties-schema-entry-to-error-creator-entry.js +13 -0
  849. package/dist/esm/error/type/error-type.d.ts +7 -0
  850. package/dist/esm/error/type/error-type.js +1 -0
  851. package/dist/esm/event/creator/event-creator.d.ts +4 -0
  852. package/dist/esm/event/creator/event-creator.js +1 -0
  853. package/dist/esm/event/creator/event-from-creator.d.ts +3 -0
  854. package/dist/esm/event/creator/event-from-creator.js +1 -0
  855. package/dist/esm/event/event-name.d.ts +3 -0
  856. package/dist/esm/event/event-name.js +1 -0
  857. package/dist/esm/event/event.d.ts +6 -0
  858. package/dist/esm/event/event.js +1 -0
  859. package/dist/esm/event/handler/event-handler.d.ts +4 -0
  860. package/dist/esm/event/handler/event-handler.js +1 -0
  861. package/dist/esm/event/index.d.ts +22 -0
  862. package/dist/esm/event/index.js +9 -0
  863. package/dist/esm/event/is-event-of-type.d.ts +9 -0
  864. package/dist/esm/event/is-event-of-type.js +3 -0
  865. package/dist/esm/event/is-event.d.ts +2 -0
  866. package/dist/esm/event/is-event.js +10 -0
  867. package/dist/esm/event/matcher/event-matcher-case.d.ts +4 -0
  868. package/dist/esm/event/matcher/event-matcher-case.js +1 -0
  869. package/dist/esm/event/matcher/event-matcher.d.ts +7 -0
  870. package/dist/esm/event/matcher/event-matcher.js +1 -0
  871. package/dist/esm/event/matcher/events-matcher-case.d.ts +4 -0
  872. package/dist/esm/event/matcher/events-matcher-case.js +1 -0
  873. package/dist/esm/event/matcher/events-matcher.d.ts +7 -0
  874. package/dist/esm/event/matcher/events-matcher.js +1 -0
  875. package/dist/esm/event/matcher/match-event.d.ts +3 -0
  876. package/dist/esm/event/matcher/match-event.js +5 -0
  877. package/dist/esm/event/matcher/match-events.d.ts +5 -0
  878. package/dist/esm/event/matcher/match-events.js +18 -0
  879. package/dist/esm/event/properties/event-properties-from-event-definitions.d.ts +5 -0
  880. package/dist/esm/event/properties/event-properties-from-event-definitions.js +1 -0
  881. package/dist/esm/event/properties/event-properties-schema-type-name.d.ts +1 -0
  882. package/dist/esm/event/properties/event-properties-schema-type-name.js +1 -0
  883. package/dist/esm/event/properties/event-properties-schema.d.ts +3 -0
  884. package/dist/esm/event/properties/event-properties-schema.js +1 -0
  885. package/dist/esm/event/properties/event-properties.d.ts +3 -0
  886. package/dist/esm/event/properties/event-properties.js +5 -0
  887. package/dist/esm/event/properties/event-to-event-name.d.ts +2 -0
  888. package/dist/esm/event/properties/event-to-event-name.js +3 -0
  889. package/dist/esm/event/properties/event-to-event-properties.d.ts +2 -0
  890. package/dist/esm/event/properties/event-to-event-properties.js +3 -0
  891. package/dist/esm/event/properties/event-to-properties.d.ts +2 -0
  892. package/dist/esm/event/properties/event-to-properties.js +3 -0
  893. package/dist/esm/event/type/create-event-type.d.ts +6 -0
  894. package/dist/esm/event/type/create-event-type.js +9 -0
  895. package/dist/esm/event/type/event-creator-entry-to-property-descriptor-map.d.ts +2 -0
  896. package/dist/esm/event/type/event-creator-entry-to-property-descriptor-map.js +11 -0
  897. package/dist/esm/event/type/event-creator-entry.d.ts +3 -0
  898. package/dist/esm/event/type/event-creator-entry.js +1 -0
  899. package/dist/esm/event/type/event-from-type.d.ts +3 -0
  900. package/dist/esm/event/type/event-from-type.js +1 -0
  901. package/dist/esm/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +4 -0
  902. package/dist/esm/event/type/event-properties-schema-entry-to-event-creator-entry.js +10 -0
  903. package/dist/esm/event/type/event-type-with-events.d.ts +2 -0
  904. package/dist/esm/event/type/event-type-with-events.js +9 -0
  905. package/dist/esm/event/type/event-type.d.ts +7 -0
  906. package/dist/esm/event/type/event-type.js +1 -0
  907. package/dist/esm/functional/call-with.d.ts +1 -0
  908. package/dist/esm/functional/call-with.js +3 -0
  909. package/dist/esm/functional/entries-to-object.d.ts +1 -0
  910. package/dist/esm/functional/entries-to-object.js +3 -0
  911. package/dist/esm/functional/identity.d.ts +1 -0
  912. package/dist/esm/functional/identity.js +3 -0
  913. package/dist/esm/functional/index.d.ts +12 -0
  914. package/dist/esm/functional/index.js +12 -0
  915. package/dist/esm/functional/is-defined.d.ts +1 -0
  916. package/dist/esm/functional/is-defined.js +3 -0
  917. package/dist/esm/functional/is-instance-of.d.ts +1 -0
  918. package/dist/esm/functional/is-instance-of.js +3 -0
  919. package/dist/esm/functional/is-not-null.d.ts +1 -0
  920. package/dist/esm/functional/is-not-null.js +3 -0
  921. package/dist/esm/functional/not.d.ts +1 -0
  922. package/dist/esm/functional/not.js +3 -0
  923. package/dist/esm/functional/object-to-entries.d.ts +2 -0
  924. package/dist/esm/functional/object-to-entries.js +3 -0
  925. package/dist/esm/functional/object-to-keys.d.ts +2 -0
  926. package/dist/esm/functional/object-to-keys.js +3 -0
  927. package/dist/esm/functional/object-to-values.d.ts +1 -0
  928. package/dist/esm/functional/object-to-values.js +3 -0
  929. package/dist/esm/functional/object-with-properties.d.ts +2 -0
  930. package/dist/esm/functional/object-with-properties.js +21 -0
  931. package/dist/esm/functional/pipe.d.ts +13 -0
  932. package/dist/esm/functional/pipe.js +7 -0
  933. package/dist/esm/geometry/index.d.ts +3 -0
  934. package/dist/esm/geometry/index.js +1 -0
  935. package/dist/esm/geometry/point.d.ts +5 -0
  936. package/dist/esm/geometry/point.js +1 -0
  937. package/dist/esm/geometry/polygon.d.ts +5 -0
  938. package/dist/esm/geometry/polygon.js +1 -0
  939. package/dist/esm/geometry/position.d.ts +1 -0
  940. package/dist/esm/geometry/position.js +1 -0
  941. package/dist/esm/http/client/create-http-client.d.ts +3 -0
  942. package/dist/esm/http/client/create-http-client.js +34 -0
  943. package/dist/esm/http/client/graphql/create-graphql-client.d.ts +3 -0
  944. package/dist/esm/http/client/graphql/create-graphql-client.js +28 -0
  945. package/dist/esm/http/client/graphql/graphql-client-options.d.ts +8 -0
  946. package/dist/esm/http/client/graphql/graphql-client-options.js +1 -0
  947. package/dist/esm/http/client/graphql/graphql-client.d.ts +4 -0
  948. package/dist/esm/http/client/graphql/graphql-client.error.d.ts +11 -0
  949. package/dist/esm/http/client/graphql/graphql-client.error.js +6 -0
  950. package/dist/esm/http/client/graphql/graphql-client.js +1 -0
  951. package/dist/esm/http/client/graphql/graphql-error-location.d.ts +4 -0
  952. package/dist/esm/http/client/graphql/graphql-error-location.js +1 -0
  953. package/dist/esm/http/client/graphql/graphql-error.d.ts +7 -0
  954. package/dist/esm/http/client/graphql/graphql-error.js +1 -0
  955. package/dist/esm/http/client/graphql/graphql-query-to-graphql-request.d.ts +3 -0
  956. package/dist/esm/http/client/graphql/graphql-query-to-graphql-request.js +6 -0
  957. package/dist/esm/http/client/graphql/graphql-request.d.ts +5 -0
  958. package/dist/esm/http/client/graphql/graphql-request.js +1 -0
  959. package/dist/esm/http/client/graphql/graphql-response.d.ts +5 -0
  960. package/dist/esm/http/client/graphql/graphql-response.js +1 -0
  961. package/dist/esm/http/client/graphql/index.d.ts +6 -0
  962. package/dist/esm/http/client/graphql/index.js +2 -0
  963. package/dist/esm/http/client/header/fetch-header-to-http-header.d.ts +2 -0
  964. package/dist/esm/http/client/header/fetch-header-to-http-header.js +6 -0
  965. package/dist/esm/http/client/header/http-headers-to-fetch-headers.d.ts +2 -0
  966. package/dist/esm/http/client/header/http-headers-to-fetch-headers.js +5 -0
  967. package/dist/esm/http/client/http-client-options.d.ts +5 -0
  968. package/dist/esm/http/client/http-client-options.js +1 -0
  969. package/dist/esm/http/client/http-client.d.ts +5 -0
  970. package/dist/esm/http/client/http-client.error.d.ts +4 -0
  971. package/dist/esm/http/client/http-client.error.js +6 -0
  972. package/dist/esm/http/client/http-client.js +1 -0
  973. package/dist/esm/http/client/index.d.ts +19 -0
  974. package/dist/esm/http/client/index.js +12 -0
  975. package/dist/esm/http/client/progress/controller-to-response-progress-chunks.d.ts +2 -0
  976. package/dist/esm/http/client/progress/controller-to-response-progress-chunks.js +20 -0
  977. package/dist/esm/http/client/progress/http-client-response-progress.d.ts +7 -0
  978. package/dist/esm/http/client/progress/http-client-response-progress.js +1 -0
  979. package/dist/esm/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +3 -0
  980. package/dist/esm/http/client/progress/http-client-response-to-http-client-response-with-progress.js +31 -0
  981. package/dist/esm/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +2 -0
  982. package/dist/esm/http/client/progress/http-client-response-with-progress-to-bytes.js +4 -0
  983. package/dist/esm/http/client/progress/http-client-response-with-progress.d.ts +7 -0
  984. package/dist/esm/http/client/progress/http-client-response-with-progress.js +1 -0
  985. package/dist/esm/http/client/progress/response-progress-chunk-to-response-progress.d.ts +2 -0
  986. package/dist/esm/http/client/progress/response-progress-chunk-to-response-progress.js +16 -0
  987. package/dist/esm/http/client/progress/response-progress-underlying-source.d.ts +5 -0
  988. package/dist/esm/http/client/progress/response-progress-underlying-source.js +9 -0
  989. package/dist/esm/http/client/request/http-client-request-options.d.ts +3 -0
  990. package/dist/esm/http/client/request/http-client-request-options.js +1 -0
  991. package/dist/esm/http/client/request/http-client-request.d.ts +8 -0
  992. package/dist/esm/http/client/request/http-client-request.js +1 -0
  993. package/dist/esm/http/client/response/fetch-response-symbol.d.ts +1 -0
  994. package/dist/esm/http/client/response/fetch-response-symbol.js +1 -0
  995. package/dist/esm/http/client/response/http-client-response-status-is-options.d.ts +7 -0
  996. package/dist/esm/http/client/response/http-client-response-status-is-options.js +1 -0
  997. package/dist/esm/http/client/response/http-client-response-status-is.d.ts +3 -0
  998. package/dist/esm/http/client/response/http-client-response-status-is.js +10 -0
  999. package/dist/esm/http/client/response/http-client-response-to-array-buffer.d.ts +2 -0
  1000. package/dist/esm/http/client/response/http-client-response-to-array-buffer.js +5 -0
  1001. package/dist/esm/http/client/response/http-client-response-to-blob.d.ts +2 -0
  1002. package/dist/esm/http/client/response/http-client-response-to-blob.js +5 -0
  1003. package/dist/esm/http/client/response/http-client-response-to-json-stream-options.d.ts +3 -0
  1004. package/dist/esm/http/client/response/http-client-response-to-json-stream-options.js +1 -0
  1005. package/dist/esm/http/client/response/http-client-response-to-json-stream.d.ts +4 -0
  1006. package/dist/esm/http/client/response/http-client-response-to-json-stream.js +35 -0
  1007. package/dist/esm/http/client/response/http-client-response-to-json.d.ts +2 -0
  1008. package/dist/esm/http/client/response/http-client-response-to-json.js +11 -0
  1009. package/dist/esm/http/client/response/http-client-response-to-text.d.ts +2 -0
  1010. package/dist/esm/http/client/response/http-client-response-to-text.js +5 -0
  1011. package/dist/esm/http/client/response/http-client-response.d.ts +7 -0
  1012. package/dist/esm/http/client/response/http-client-response.js +1 -0
  1013. package/dist/esm/http/client/response/response-to-http-client-response.d.ts +2 -0
  1014. package/dist/esm/http/client/response/response-to-http-client-response.js +11 -0
  1015. package/dist/esm/http/client/response/url-to-http-client-response.d.ts +4 -0
  1016. package/dist/esm/http/client/response/url-to-http-client-response.js +4 -0
  1017. package/dist/esm/http/client/testing/create-test-http-client.d.ts +3 -0
  1018. package/dist/esm/http/client/testing/create-test-http-client.js +17 -0
  1019. package/dist/esm/http/client/testing/index.d.ts +3 -0
  1020. package/dist/esm/http/client/testing/index.js +1 -0
  1021. package/dist/esm/http/client/testing/test-http-client-options.d.ts +3 -0
  1022. package/dist/esm/http/client/testing/test-http-client-options.js +1 -0
  1023. package/dist/esm/http/client/testing/test-http-client.d.ts +5 -0
  1024. package/dist/esm/http/client/testing/test-http-client.js +1 -0
  1025. package/dist/esm/http/cookie/http-cookie.d.ts +13 -0
  1026. package/dist/esm/http/cookie/http-cookie.js +1 -0
  1027. package/dist/esm/http/cookie/is-session-http-cookie.d.ts +2 -0
  1028. package/dist/esm/http/cookie/is-session-http-cookie.js +4 -0
  1029. package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +2 -0
  1030. package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-option.js +1 -0
  1031. package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +1 -0
  1032. package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-options.js +1 -0
  1033. package/dist/esm/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +2 -0
  1034. package/dist/esm/http/cookie/same-site-option/is-http-cookie-same-site-option.js +5 -0
  1035. package/dist/esm/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +2 -0
  1036. package/dist/esm/http/cookie/same-site-option/validate-http-cookie-same-site-option.js +7 -0
  1037. package/dist/esm/http/error/invalid-cookie-header-value-error-properties.d.ts +3 -0
  1038. package/dist/esm/http/error/invalid-cookie-header-value-error-properties.js +1 -0
  1039. package/dist/esm/http/error/invalid-cookie-same-site-option-error-properties.d.ts +3 -0
  1040. package/dist/esm/http/error/invalid-cookie-same-site-option-error-properties.js +1 -0
  1041. package/dist/esm/http/error/invalid-http-header-name-error-properties.d.ts +3 -0
  1042. package/dist/esm/http/error/invalid-http-header-name-error-properties.js +1 -0
  1043. package/dist/esm/http/error/invalid-http-method-error-properties.d.ts +3 -0
  1044. package/dist/esm/http/error/invalid-http-method-error-properties.js +1 -0
  1045. package/dist/esm/http/error/invalid-http-status-error-properties.d.ts +3 -0
  1046. package/dist/esm/http/error/invalid-http-status-error-properties.js +1 -0
  1047. package/dist/esm/http/header/authorization/parse-authorization-header-value.d.ts +1 -0
  1048. package/dist/esm/http/header/authorization/parse-authorization-header-value.js +9 -0
  1049. package/dist/esm/http/header/by-http-header-name.d.ts +3 -0
  1050. package/dist/esm/http/header/by-http-header-name.js +3 -0
  1051. package/dist/esm/http/header/cookie/create-set-cookie-http-header.d.ts +3 -0
  1052. package/dist/esm/http/header/cookie/create-set-cookie-http-header.js +21 -0
  1053. package/dist/esm/http/header/cookie/parse-cookie-header-value.d.ts +2 -0
  1054. package/dist/esm/http/header/cookie/parse-cookie-header-value.js +28 -0
  1055. package/dist/esm/http/header/http-header.d.ts +2 -0
  1056. package/dist/esm/http/header/http-header.js +1 -0
  1057. package/dist/esm/http/header/name/as-http-header-name.d.ts +2 -0
  1058. package/dist/esm/http/header/name/as-http-header-name.js +5 -0
  1059. package/dist/esm/http/header/name/http-header-name.d.ts +2 -0
  1060. package/dist/esm/http/header/name/http-header-name.js +1 -0
  1061. package/dist/esm/http/header/name/http-header-names.d.ts +1 -0
  1062. package/dist/esm/http/header/name/http-header-names.js +115 -0
  1063. package/dist/esm/http/header/name/is-http-header-name.d.ts +2 -0
  1064. package/dist/esm/http/header/name/is-http-header-name.js +3 -0
  1065. package/dist/esm/http/header/name/validate-http-header-name.d.ts +2 -0
  1066. package/dist/esm/http/header/name/validate-http-header-name.js +7 -0
  1067. package/dist/esm/http/http.error.d.ts +12 -0
  1068. package/dist/esm/http/http.error.js +9 -0
  1069. package/dist/esm/http/index.d.ts +31 -0
  1070. package/dist/esm/http/index.js +19 -0
  1071. package/dist/esm/http/method/as-http-method.d.ts +2 -0
  1072. package/dist/esm/http/method/as-http-method.js +5 -0
  1073. package/dist/esm/http/method/http-method.d.ts +2 -0
  1074. package/dist/esm/http/method/http-method.js +1 -0
  1075. package/dist/esm/http/method/http-methods.d.ts +1 -0
  1076. package/dist/esm/http/method/http-methods.js +1 -0
  1077. package/dist/esm/http/method/is-http-method.d.ts +2 -0
  1078. package/dist/esm/http/method/is-http-method.js +5 -0
  1079. package/dist/esm/http/method/validate-http-method.d.ts +2 -0
  1080. package/dist/esm/http/method/validate-http-method.js +7 -0
  1081. package/dist/esm/http/status/http-status.d.ts +2 -0
  1082. package/dist/esm/http/status/http-status.js +1 -0
  1083. package/dist/esm/http/status/http-statuses.d.ts +63 -0
  1084. package/dist/esm/http/status/http-statuses.js +63 -0
  1085. package/dist/esm/http/status/is-http-status.d.ts +2 -0
  1086. package/dist/esm/http/status/is-http-status.js +6 -0
  1087. package/dist/esm/http/status/validate-http-status.d.ts +2 -0
  1088. package/dist/esm/http/status/validate-http-status.js +7 -0
  1089. package/dist/esm/i18n/error/invalid-i18n-string-error-properties.d.ts +3 -0
  1090. package/dist/esm/i18n/error/invalid-i18n-string-error-properties.js +1 -0
  1091. package/dist/esm/i18n/i18n.error.d.ts +4 -0
  1092. package/dist/esm/i18n/i18n.error.js +5 -0
  1093. package/dist/esm/i18n/index.d.ts +12 -0
  1094. package/dist/esm/i18n/index.js +8 -0
  1095. package/dist/esm/i18n/string/as-i18n-string.d.ts +2 -0
  1096. package/dist/esm/i18n/string/as-i18n-string.js +5 -0
  1097. package/dist/esm/i18n/string/compare-i18n-strings-options.d.ts +5 -0
  1098. package/dist/esm/i18n/string/compare-i18n-strings-options.js +1 -0
  1099. package/dist/esm/i18n/string/compare-i18n-strings.d.ts +3 -0
  1100. package/dist/esm/i18n/string/compare-i18n-strings.js +8 -0
  1101. package/dist/esm/i18n/string/i18n-string-includes-options.d.ts +5 -0
  1102. package/dist/esm/i18n/string/i18n-string-includes-options.js +1 -0
  1103. package/dist/esm/i18n/string/i18n-string-includes.d.ts +3 -0
  1104. package/dist/esm/i18n/string/i18n-string-includes.js +20 -0
  1105. package/dist/esm/i18n/string/i18n-string.d.ts +3 -0
  1106. package/dist/esm/i18n/string/i18n-string.js +1 -0
  1107. package/dist/esm/i18n/string/is-i18n-string.d.ts +2 -0
  1108. package/dist/esm/i18n/string/is-i18n-string.js +7 -0
  1109. package/dist/esm/i18n/string/is-same-i18n-string.d.ts +2 -0
  1110. package/dist/esm/i18n/string/is-same-i18n-string.js +18 -0
  1111. package/dist/esm/i18n/string/merge-i18n-strings.d.ts +2 -0
  1112. package/dist/esm/i18n/string/merge-i18n-strings.js +6 -0
  1113. package/dist/esm/i18n/string/validate-i18n-string.d.ts +2 -0
  1114. package/dist/esm/i18n/string/validate-i18n-string.js +7 -0
  1115. package/dist/esm/index.d.ts +1 -0
  1116. package/dist/esm/index.js +1 -0
  1117. package/dist/esm/language/as-language-code.d.ts +2 -0
  1118. package/dist/esm/language/as-language-code.js +5 -0
  1119. package/dist/esm/language/error/invalid-language-code-error-properties.d.ts +3 -0
  1120. package/dist/esm/language/error/invalid-language-code-error-properties.js +1 -0
  1121. package/dist/esm/language/index.d.ts +7 -0
  1122. package/dist/esm/language/index.js +5 -0
  1123. package/dist/esm/language/is-language-code.d.ts +2 -0
  1124. package/dist/esm/language/is-language-code.js +5 -0
  1125. package/dist/esm/language/language-code.d.ts +2 -0
  1126. package/dist/esm/language/language-code.js +1 -0
  1127. package/dist/esm/language/language-codes.d.ts +1 -0
  1128. package/dist/esm/language/language-codes.js +18 -0
  1129. package/dist/esm/language/language.error.d.ts +4 -0
  1130. package/dist/esm/language/language.error.js +5 -0
  1131. package/dist/esm/language/validate-language-code.d.ts +2 -0
  1132. package/dist/esm/language/validate-language-code.js +7 -0
  1133. package/dist/esm/locale/as-locale-code.d.ts +2 -0
  1134. package/dist/esm/locale/as-locale-code.js +5 -0
  1135. package/dist/esm/locale/by-locale-code.d.ts +4 -0
  1136. package/dist/esm/locale/by-locale-code.js +4 -0
  1137. package/dist/esm/locale/error/invalid-locale-code-error-properties.d.ts +3 -0
  1138. package/dist/esm/locale/error/invalid-locale-code-error-properties.js +1 -0
  1139. package/dist/esm/locale/index.d.ts +7 -0
  1140. package/dist/esm/locale/index.js +5 -0
  1141. package/dist/esm/locale/is-locale-code.d.ts +2 -0
  1142. package/dist/esm/locale/is-locale-code.js +9 -0
  1143. package/dist/esm/locale/locale-code.d.ts +2 -0
  1144. package/dist/esm/locale/locale-code.js +1 -0
  1145. package/dist/esm/locale/locale-codes.d.ts +1 -0
  1146. package/dist/esm/locale/locale-codes.js +30 -0
  1147. package/dist/esm/locale/locale.error.d.ts +4 -0
  1148. package/dist/esm/locale/locale.error.js +5 -0
  1149. package/dist/esm/locale/validate-locale-code.d.ts +2 -0
  1150. package/dist/esm/locale/validate-locale-code.js +7 -0
  1151. package/dist/esm/platform.domain.d.ts +1 -0
  1152. package/dist/esm/platform.domain.js +2 -0
  1153. package/dist/esm/random/get-random-array-value.d.ts +1 -0
  1154. package/dist/esm/random/get-random-array-value.js +7 -0
  1155. package/dist/esm/random/index.d.ts +1 -0
  1156. package/dist/esm/random/index.js +1 -0
  1157. package/dist/esm/reactive/as-observable.d.ts +1 -0
  1158. package/dist/esm/reactive/as-observable.js +4 -0
  1159. package/dist/esm/reactive/catch-error-if.d.ts +3 -0
  1160. package/dist/esm/reactive/catch-error-if.js +9 -0
  1161. package/dist/esm/reactive/defer-value.d.ts +1 -0
  1162. package/dist/esm/reactive/defer-value.js +12 -0
  1163. package/dist/esm/reactive/index.d.ts +8 -0
  1164. package/dist/esm/reactive/index.js +8 -0
  1165. package/dist/esm/reactive/map-error-if.d.ts +3 -0
  1166. package/dist/esm/reactive/map-error-if.js +9 -0
  1167. package/dist/esm/reactive/observable-map.d.ts +5 -0
  1168. package/dist/esm/reactive/observable-map.js +16 -0
  1169. package/dist/esm/reactive/polyfill/index.d.ts +1 -0
  1170. package/dist/esm/reactive/polyfill/index.js +2 -0
  1171. package/dist/esm/reactive/tap-error.d.ts +2 -0
  1172. package/dist/esm/reactive/tap-error.js +6 -0
  1173. package/dist/esm/reactive/throw-if.d.ts +3 -0
  1174. package/dist/esm/reactive/throw-if.js +10 -0
  1175. package/dist/esm/reactive/throw-unless.d.ts +3 -0
  1176. package/dist/esm/reactive/throw-unless.js +10 -0
  1177. package/dist/esm/temporal/date/date-to-start-of-week.d.ts +1 -0
  1178. package/dist/esm/temporal/date/date-to-start-of-week.js +4 -0
  1179. package/dist/esm/temporal/date/string/as-date-string.d.ts +2 -0
  1180. package/dist/esm/temporal/date/string/as-date-string.js +12 -0
  1181. package/dist/esm/temporal/date/string/current-date-string.d.ts +2 -0
  1182. package/dist/esm/temporal/date/string/current-date-string.js +4 -0
  1183. package/dist/esm/temporal/date/string/date-string.d.ts +3 -0
  1184. package/dist/esm/temporal/date/string/date-string.js +1 -0
  1185. package/dist/esm/temporal/date/string/is-date-string.d.ts +2 -0
  1186. package/dist/esm/temporal/date/string/is-date-string.js +12 -0
  1187. package/dist/esm/temporal/date/string/validate-date-string.d.ts +2 -0
  1188. package/dist/esm/temporal/date/string/validate-date-string.js +7 -0
  1189. package/dist/esm/temporal/date-interval/string/as-date-interval-string.d.ts +2 -0
  1190. package/dist/esm/temporal/date-interval/string/as-date-interval-string.js +5 -0
  1191. package/dist/esm/temporal/date-interval/string/date-interval-string.d.ts +4 -0
  1192. package/dist/esm/temporal/date-interval/string/date-interval-string.js +1 -0
  1193. package/dist/esm/temporal/date-interval/string/is-date-interval-string.d.ts +2 -0
  1194. package/dist/esm/temporal/date-interval/string/is-date-interval-string.js +11 -0
  1195. package/dist/esm/temporal/date-interval/string/validate-date-interval-string.d.ts +2 -0
  1196. package/dist/esm/temporal/date-interval/string/validate-date-interval-string.js +7 -0
  1197. package/dist/esm/temporal/date-time/string/as-date-time-string.d.ts +2 -0
  1198. package/dist/esm/temporal/date-time/string/as-date-time-string.js +23 -0
  1199. package/dist/esm/temporal/date-time/string/current-date-time-string.d.ts +2 -0
  1200. package/dist/esm/temporal/date-time/string/current-date-time-string.js +4 -0
  1201. package/dist/esm/temporal/date-time/string/date-time-string-to-date-string.d.ts +4 -0
  1202. package/dist/esm/temporal/date-time/string/date-time-string-to-date-string.js +7 -0
  1203. package/dist/esm/temporal/date-time/string/date-time-string-to-instant.d.ts +1 -0
  1204. package/dist/esm/temporal/date-time/string/date-time-string-to-instant.js +3 -0
  1205. package/dist/esm/temporal/date-time/string/date-time-string.d.ts +3 -0
  1206. package/dist/esm/temporal/date-time/string/date-time-string.js +1 -0
  1207. package/dist/esm/temporal/date-time/string/is-date-time-string.d.ts +2 -0
  1208. package/dist/esm/temporal/date-time/string/is-date-time-string.js +13 -0
  1209. package/dist/esm/temporal/date-time/string/validate-date-time-string.d.ts +2 -0
  1210. package/dist/esm/temporal/date-time/string/validate-date-time-string.js +7 -0
  1211. package/dist/esm/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +2 -0
  1212. package/dist/esm/temporal/date-time-interval/string/as-date-time-interval-string.js +5 -0
  1213. package/dist/esm/temporal/date-time-interval/string/date-time-interval-string.d.ts +4 -0
  1214. package/dist/esm/temporal/date-time-interval/string/date-time-interval-string.js +1 -0
  1215. package/dist/esm/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +2 -0
  1216. package/dist/esm/temporal/date-time-interval/string/is-date-time-interval-string.js +11 -0
  1217. package/dist/esm/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +2 -0
  1218. package/dist/esm/temporal/date-time-interval/string/validate-date-time-interval-string.js +7 -0
  1219. package/dist/esm/temporal/duration/string/as-duration-string.d.ts +2 -0
  1220. package/dist/esm/temporal/duration/string/as-duration-string.js +12 -0
  1221. package/dist/esm/temporal/duration/string/duration-string.d.ts +3 -0
  1222. package/dist/esm/temporal/duration/string/duration-string.js +1 -0
  1223. package/dist/esm/temporal/duration/string/is-duration-string.d.ts +2 -0
  1224. package/dist/esm/temporal/duration/string/is-duration-string.js +12 -0
  1225. package/dist/esm/temporal/duration/string/validate-duration-string.d.ts +2 -0
  1226. package/dist/esm/temporal/duration/string/validate-duration-string.js +7 -0
  1227. package/dist/esm/temporal/error/invalid-date-interval-string-error-properties.d.ts +3 -0
  1228. package/dist/esm/temporal/error/invalid-date-interval-string-error-properties.js +1 -0
  1229. package/dist/esm/temporal/error/invalid-date-string-error-properties.d.ts +3 -0
  1230. package/dist/esm/temporal/error/invalid-date-string-error-properties.js +1 -0
  1231. package/dist/esm/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +3 -0
  1232. package/dist/esm/temporal/error/invalid-date-time-interval-string-error-properties.js +1 -0
  1233. package/dist/esm/temporal/error/invalid-date-time-string-error-properties.d.ts +3 -0
  1234. package/dist/esm/temporal/error/invalid-date-time-string-error-properties.js +1 -0
  1235. package/dist/esm/temporal/error/invalid-duration-string-error-properties.d.ts +3 -0
  1236. package/dist/esm/temporal/error/invalid-duration-string-error-properties.js +1 -0
  1237. package/dist/esm/temporal/error/invalid-time-interval-string-error-properties.d.ts +3 -0
  1238. package/dist/esm/temporal/error/invalid-time-interval-string-error-properties.js +1 -0
  1239. package/dist/esm/temporal/error/invalid-time-string-error-properties.d.ts +3 -0
  1240. package/dist/esm/temporal/error/invalid-time-string-error-properties.js +1 -0
  1241. package/dist/esm/temporal/index.d.ts +39 -0
  1242. package/dist/esm/temporal/index.js +25 -0
  1243. package/dist/esm/temporal/polyfill/index.d.ts +1 -0
  1244. package/dist/esm/temporal/polyfill/index.js +4 -0
  1245. package/dist/esm/temporal/temporal.error.d.ts +16 -0
  1246. package/dist/esm/temporal/temporal.error.js +11 -0
  1247. package/dist/esm/temporal/time/string/as-time-string.d.ts +2 -0
  1248. package/dist/esm/temporal/time/string/as-time-string.js +12 -0
  1249. package/dist/esm/temporal/time/string/current-time-string.d.ts +2 -0
  1250. package/dist/esm/temporal/time/string/current-time-string.js +4 -0
  1251. package/dist/esm/temporal/time/string/is-time-string.d.ts +2 -0
  1252. package/dist/esm/temporal/time/string/is-time-string.js +12 -0
  1253. package/dist/esm/temporal/time/string/time-string.d.ts +3 -0
  1254. package/dist/esm/temporal/time/string/time-string.js +1 -0
  1255. package/dist/esm/temporal/time/string/validate-time-string.d.ts +2 -0
  1256. package/dist/esm/temporal/time/string/validate-time-string.js +7 -0
  1257. package/dist/esm/temporal/time-interval/string/as-time-interval-string.d.ts +2 -0
  1258. package/dist/esm/temporal/time-interval/string/as-time-interval-string.js +5 -0
  1259. package/dist/esm/temporal/time-interval/string/is-time-interval-string.d.ts +2 -0
  1260. package/dist/esm/temporal/time-interval/string/is-time-interval-string.js +11 -0
  1261. package/dist/esm/temporal/time-interval/string/time-interval-string.d.ts +4 -0
  1262. package/dist/esm/temporal/time-interval/string/time-interval-string.js +1 -0
  1263. package/dist/esm/temporal/time-interval/string/validate-time-interval-string.d.ts +2 -0
  1264. package/dist/esm/temporal/time-interval/string/validate-time-interval-string.js +7 -0
  1265. package/dist/esm/testing/environment/create-test-environment-variables.d.ts +2 -0
  1266. package/dist/esm/testing/environment/create-test-environment-variables.js +6 -0
  1267. package/dist/esm/testing/environment/create-test-platform-environment.d.ts +2 -0
  1268. package/dist/esm/testing/environment/create-test-platform-environment.js +15 -0
  1269. package/dist/esm/testing/environment/test-platform-environment-id.d.ts +1 -0
  1270. package/dist/esm/testing/environment/test-platform-environment-id.js +2 -0
  1271. package/dist/esm/testing/index.d.ts +3 -0
  1272. package/dist/esm/testing/index.js +3 -0
  1273. package/dist/esm/typescript/deep-partial.d.ts +4 -0
  1274. package/dist/esm/typescript/deep-partial.js +1 -0
  1275. package/dist/esm/typescript/expand.d.ts +3 -0
  1276. package/dist/esm/typescript/expand.js +1 -0
  1277. package/dist/esm/typescript/function/unary-function.d.ts +3 -0
  1278. package/dist/esm/typescript/function/unary-function.js +1 -0
  1279. package/dist/esm/typescript/generic-function.d.ts +1 -0
  1280. package/dist/esm/typescript/generic-function.js +1 -0
  1281. package/dist/esm/typescript/index.d.ts +17 -0
  1282. package/dist/esm/typescript/index.js +1 -0
  1283. package/dist/esm/typescript/is-branded-type.d.ts +2 -0
  1284. package/dist/esm/typescript/is-branded-type.js +1 -0
  1285. package/dist/esm/typescript/keys-of-value-type.d.ts +3 -0
  1286. package/dist/esm/typescript/keys-of-value-type.js +1 -0
  1287. package/dist/esm/typescript/omit-call-signature.d.ts +4 -0
  1288. package/dist/esm/typescript/omit-call-signature.js +1 -0
  1289. package/dist/esm/typescript/omit-indexed-access.d.ts +3 -0
  1290. package/dist/esm/typescript/omit-indexed-access.js +1 -0
  1291. package/dist/esm/typescript/pick-call-signature.d.ts +2 -0
  1292. package/dist/esm/typescript/pick-call-signature.js +1 -0
  1293. package/dist/esm/typescript/properties-to-union.d.ts +5 -0
  1294. package/dist/esm/typescript/properties-to-union.js +1 -0
  1295. package/dist/esm/typescript/readonly-record.d.ts +3 -0
  1296. package/dist/esm/typescript/readonly-record.js +1 -0
  1297. package/dist/esm/typescript/schema/type-creator.d.ts +1 -0
  1298. package/dist/esm/typescript/schema/type-creator.js +1 -0
  1299. package/dist/esm/typescript/schema/type-schema-symbol.d.ts +2 -0
  1300. package/dist/esm/typescript/schema/type-schema-symbol.js +2 -0
  1301. package/dist/esm/typescript/schema/type-schema-type-name.d.ts +2 -0
  1302. package/dist/esm/typescript/schema/type-schema-type-name.js +1 -0
  1303. package/dist/esm/typescript/schema/type-schema-type.d.ts +2 -0
  1304. package/dist/esm/typescript/schema/type-schema-type.js +1 -0
  1305. package/dist/esm/typescript/schema/type-schema.d.ts +6 -0
  1306. package/dist/esm/typescript/schema/type-schema.js +7 -0
  1307. package/dist/esm/typescript/union-to-intersection.d.ts +1 -0
  1308. package/dist/esm/typescript/union-to-intersection.js +1 -0
  1309. package/dist/esm/url/error/invalid-url-string-error-properties.d.ts +3 -0
  1310. package/dist/esm/url/error/invalid-url-string-error-properties.js +1 -0
  1311. package/dist/esm/url/index.d.ts +4 -0
  1312. package/dist/esm/url/index.js +3 -0
  1313. package/dist/esm/url/string/as-url-string.d.ts +2 -0
  1314. package/dist/esm/url/string/as-url-string.js +11 -0
  1315. package/dist/esm/url/string/is-url-string.d.ts +2 -0
  1316. package/dist/esm/url/string/is-url-string.js +12 -0
  1317. package/dist/esm/url/string/url-string.d.ts +3 -0
  1318. package/dist/esm/url/string/url-string.js +1 -0
  1319. package/dist/esm/url/string/validate-url-string.d.ts +2 -0
  1320. package/dist/esm/url/string/validate-url-string.js +7 -0
  1321. package/dist/esm/url/url.error.d.ts +4 -0
  1322. package/dist/esm/url/url.error.js +5 -0
  1323. package/dist/esm/uuid/as-uuid.d.ts +2 -0
  1324. package/dist/esm/uuid/as-uuid.js +5 -0
  1325. package/dist/esm/uuid/error/invalid-uuid-error-properties.d.ts +3 -0
  1326. package/dist/esm/uuid/error/invalid-uuid-error-properties.js +1 -0
  1327. package/dist/esm/uuid/generate-uuid.d.ts +2 -0
  1328. package/dist/esm/uuid/generate-uuid.js +5 -0
  1329. package/dist/esm/uuid/index.d.ts +7 -0
  1330. package/dist/esm/uuid/index.js +5 -0
  1331. package/dist/esm/uuid/is-uuid.d.ts +2 -0
  1332. package/dist/esm/uuid/is-uuid.js +3 -0
  1333. package/dist/esm/uuid/uuid.d.ts +3 -0
  1334. package/dist/esm/uuid/uuid.error.d.ts +4 -0
  1335. package/dist/esm/uuid/uuid.error.js +5 -0
  1336. package/dist/esm/uuid/uuid.js +1 -0
  1337. package/dist/esm/uuid/validate-uuid.d.ts +2 -0
  1338. package/dist/esm/uuid/validate-uuid.js +7 -0
  1339. package/dist/types/collection/array/array-to-deduplicated-array-options.d.ts +14 -0
  1340. package/dist/types/collection/array/array-to-deduplicated-array-options.d.ts.map +1 -0
  1341. package/dist/types/collection/array/array-to-deduplicated-array.d.ts +9 -0
  1342. package/dist/types/collection/array/array-to-deduplicated-array.d.ts.map +1 -0
  1343. package/dist/types/collection/array/array-to-element-at.d.ts +8 -0
  1344. package/dist/types/collection/array/array-to-element-at.d.ts.map +1 -0
  1345. package/dist/types/collection/array/array-to-first-element.d.ts +8 -0
  1346. package/dist/types/collection/array/array-to-first-element.d.ts.map +1 -0
  1347. package/dist/types/collection/array/array-to-flattened-array.d.ts +8 -0
  1348. package/dist/types/collection/array/array-to-flattened-array.d.ts.map +1 -0
  1349. package/dist/types/collection/array/array-to-slices.d.ts +8 -0
  1350. package/dist/types/collection/array/array-to-slices.d.ts.map +1 -0
  1351. package/dist/types/collection/buffer/buffer-to-string-options.d.ts +10 -0
  1352. package/dist/types/collection/buffer/buffer-to-string-options.d.ts.map +1 -0
  1353. package/dist/types/collection/buffer/buffer-to-string.d.ts +9 -0
  1354. package/dist/types/collection/buffer/buffer-to-string.d.ts.map +1 -0
  1355. package/dist/types/collection/each.d.ts +10 -0
  1356. package/dist/types/collection/each.d.ts.map +1 -0
  1357. package/dist/types/collection/included-in.d.ts +9 -0
  1358. package/dist/types/collection/included-in.d.ts.map +1 -0
  1359. package/dist/types/collection/index.d.ts +11 -0
  1360. package/dist/types/collection/index.d.ts.map +1 -0
  1361. package/dist/types/collection/string/string-to-line-stream.d.ts +8 -0
  1362. package/dist/types/collection/string/string-to-line-stream.d.ts.map +1 -0
  1363. package/dist/types/color/color.error.d.ts +11 -0
  1364. package/dist/types/color/color.error.d.ts.map +1 -0
  1365. package/dist/types/color/error/invalid-color-string-error-properties.d.ts +7 -0
  1366. package/dist/types/color/error/invalid-color-string-error-properties.d.ts.map +1 -0
  1367. package/dist/types/color/index.d.ts +7 -0
  1368. package/dist/types/color/index.d.ts.map +1 -0
  1369. package/dist/types/color/string/as-color-string.d.ts +9 -0
  1370. package/dist/types/color/string/as-color-string.d.ts.map +1 -0
  1371. package/dist/types/color/string/color-string.d.ts +7 -0
  1372. package/dist/types/color/string/color-string.d.ts.map +1 -0
  1373. package/dist/types/color/string/generate-color-string.d.ts +8 -0
  1374. package/dist/types/color/string/generate-color-string.d.ts.map +1 -0
  1375. package/dist/types/color/string/is-color-string.d.ts +9 -0
  1376. package/dist/types/color/string/is-color-string.d.ts.map +1 -0
  1377. package/dist/types/color/string/validate-color-string.d.ts +8 -0
  1378. package/dist/types/color/string/validate-color-string.d.ts.map +1 -0
  1379. package/dist/types/domain/create-domain.d.ts +10 -0
  1380. package/dist/types/domain/create-domain.d.ts.map +1 -0
  1381. package/dist/types/domain/domain.d.ts +12 -0
  1382. package/dist/types/domain/domain.d.ts.map +1 -0
  1383. package/dist/types/domain/index.d.ts +4 -0
  1384. package/dist/types/domain/index.d.ts.map +1 -0
  1385. package/dist/types/domain/is-domain.d.ts +18 -0
  1386. package/dist/types/domain/is-domain.d.ts.map +1 -0
  1387. package/dist/types/environment/environment.error.d.ts +26 -0
  1388. package/dist/types/environment/environment.error.d.ts.map +1 -0
  1389. package/dist/types/environment/error/invalid-platform-environment-id-error-properties.d.ts +10 -0
  1390. package/dist/types/environment/error/invalid-platform-environment-id-error-properties.d.ts.map +1 -0
  1391. package/dist/types/environment/error/invalid-platform-environment-provider-error-properties.d.ts +10 -0
  1392. package/dist/types/environment/error/invalid-platform-environment-provider-error-properties.d.ts.map +1 -0
  1393. package/dist/types/environment/error/invalid-platform-environment-region-error-properties.d.ts +10 -0
  1394. package/dist/types/environment/error/invalid-platform-environment-region-error-properties.d.ts.map +1 -0
  1395. package/dist/types/environment/error/invalid-platform-environment-type-error-properties.d.ts +10 -0
  1396. package/dist/types/environment/error/invalid-platform-environment-type-error-properties.d.ts.map +1 -0
  1397. package/dist/types/environment/id/as-platform-environment-id.d.ts +9 -0
  1398. package/dist/types/environment/id/as-platform-environment-id.d.ts.map +1 -0
  1399. package/dist/types/environment/id/is-platform-environment-id.d.ts +9 -0
  1400. package/dist/types/environment/id/is-platform-environment-id.d.ts.map +1 -0
  1401. package/dist/types/environment/id/platform-environment-id.d.ts +7 -0
  1402. package/dist/types/environment/id/platform-environment-id.d.ts.map +1 -0
  1403. package/dist/types/environment/id/validate-platform-environment-id.d.ts +8 -0
  1404. package/dist/types/environment/id/validate-platform-environment-id.d.ts.map +1 -0
  1405. package/dist/types/environment/index.d.ts +26 -0
  1406. package/dist/types/environment/index.d.ts.map +1 -0
  1407. package/dist/types/environment/platform-environment.d.ts +30 -0
  1408. package/dist/types/environment/platform-environment.d.ts.map +1 -0
  1409. package/dist/types/environment/provider/as-platform-environment-provider.d.ts +9 -0
  1410. package/dist/types/environment/provider/as-platform-environment-provider.d.ts.map +1 -0
  1411. package/dist/types/environment/provider/is-platform-environment-provider.d.ts +9 -0
  1412. package/dist/types/environment/provider/is-platform-environment-provider.d.ts.map +1 -0
  1413. package/dist/types/environment/provider/platform-environment-provider.d.ts +6 -0
  1414. package/dist/types/environment/provider/platform-environment-provider.d.ts.map +1 -0
  1415. package/dist/types/environment/provider/platform-environment-providers.d.ts +5 -0
  1416. package/dist/types/environment/provider/platform-environment-providers.d.ts.map +1 -0
  1417. package/dist/types/environment/provider/validate-platform-environment-provider.d.ts +8 -0
  1418. package/dist/types/environment/provider/validate-platform-environment-provider.d.ts.map +1 -0
  1419. package/dist/types/environment/region/as-platform-environment-region.d.ts +9 -0
  1420. package/dist/types/environment/region/as-platform-environment-region.d.ts.map +1 -0
  1421. package/dist/types/environment/region/is-platform-environment-region.d.ts +9 -0
  1422. package/dist/types/environment/region/is-platform-environment-region.d.ts.map +1 -0
  1423. package/dist/types/environment/region/platform-environment-region.d.ts +6 -0
  1424. package/dist/types/environment/region/platform-environment-region.d.ts.map +1 -0
  1425. package/dist/types/environment/region/platform-environment-regions.d.ts +5 -0
  1426. package/dist/types/environment/region/platform-environment-regions.d.ts.map +1 -0
  1427. package/dist/types/environment/region/validate-platform-environment-region.d.ts +8 -0
  1428. package/dist/types/environment/region/validate-platform-environment-region.d.ts.map +1 -0
  1429. package/dist/types/environment/type/as-platform-environment-type.d.ts +9 -0
  1430. package/dist/types/environment/type/as-platform-environment-type.d.ts.map +1 -0
  1431. package/dist/types/environment/type/is-platform-environment-type.d.ts +9 -0
  1432. package/dist/types/environment/type/is-platform-environment-type.d.ts.map +1 -0
  1433. package/dist/types/environment/type/platform-environment-type.d.ts +6 -0
  1434. package/dist/types/environment/type/platform-environment-type.d.ts.map +1 -0
  1435. package/dist/types/environment/type/platform-environment-types.d.ts +5 -0
  1436. package/dist/types/environment/type/platform-environment-types.d.ts.map +1 -0
  1437. package/dist/types/environment/type/validate-platform-environment-type.d.ts +8 -0
  1438. package/dist/types/environment/type/validate-platform-environment-type.d.ts.map +1 -0
  1439. package/dist/types/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +12 -0
  1440. package/dist/types/environment/variable/definition/environment-variable-definition-to-resolver.d.ts.map +1 -0
  1441. package/dist/types/environment/variable/definition/environment-variable-definition-type.d.ts +7 -0
  1442. package/dist/types/environment/variable/definition/environment-variable-definition-type.d.ts.map +1 -0
  1443. package/dist/types/environment/variable/definition/environment-variable-definition.d.ts +29 -0
  1444. package/dist/types/environment/variable/definition/environment-variable-definition.d.ts.map +1 -0
  1445. package/dist/types/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +12 -0
  1446. package/dist/types/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts.map +1 -0
  1447. package/dist/types/environment/variable/definition/environment-variable-entries-to-object.d.ts +15 -0
  1448. package/dist/types/environment/variable/definition/environment-variable-entries-to-object.d.ts.map +1 -0
  1449. package/dist/types/environment/variable/definition/environment-variable-entry.d.ts +15 -0
  1450. package/dist/types/environment/variable/definition/environment-variable-entry.d.ts.map +1 -0
  1451. package/dist/types/environment/variable/definition/environment-variable-object-property-type.d.ts +8 -0
  1452. package/dist/types/environment/variable/definition/environment-variable-object-property-type.d.ts.map +1 -0
  1453. package/dist/types/environment/variable/definition/environment-variable-object-property.d.ts +11 -0
  1454. package/dist/types/environment/variable/definition/environment-variable-object-property.d.ts.map +1 -0
  1455. package/dist/types/environment/variable/definition/environment-variable-object.d.ts +12 -0
  1456. package/dist/types/environment/variable/definition/environment-variable-object.d.ts.map +1 -0
  1457. package/dist/types/environment/variable/definition/environment-variable-resolver.d.ts +7 -0
  1458. package/dist/types/environment/variable/definition/environment-variable-resolver.d.ts.map +1 -0
  1459. package/dist/types/environment/variable/environment-variables-to-platform-environment.d.ts +9 -0
  1460. package/dist/types/environment/variable/environment-variables-to-platform-environment.d.ts.map +1 -0
  1461. package/dist/types/environment/variable/environment-variables-to-value.d.ts +13 -0
  1462. package/dist/types/environment/variable/environment-variables-to-value.d.ts.map +1 -0
  1463. package/dist/types/environment/variable/environment-variables-to-values.d.ts +25 -0
  1464. package/dist/types/environment/variable/environment-variables-to-values.d.ts.map +1 -0
  1465. package/dist/types/environment/variable/environment-variables.d.ts +6 -0
  1466. package/dist/types/environment/variable/environment-variables.d.ts.map +1 -0
  1467. package/dist/types/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +14 -0
  1468. package/dist/types/environment/variable/indexed/get-indexed-environment-variables-count.d.ts.map +1 -0
  1469. package/dist/types/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +15 -0
  1470. package/dist/types/environment/variable/indexed/index-to-indexed-environment-variables.d.ts.map +1 -0
  1471. package/dist/types/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +18 -0
  1472. package/dist/types/environment/variable/indexed/indexed-environment-variable-definitions.d.ts.map +1 -0
  1473. package/dist/types/environment/variable/platform-environment-to-environment-variables.d.ts +10 -0
  1474. package/dist/types/environment/variable/platform-environment-to-environment-variables.d.ts.map +1 -0
  1475. package/dist/types/error/creator/error-creator.d.ts +14 -0
  1476. package/dist/types/error/creator/error-creator.d.ts.map +1 -0
  1477. package/dist/types/error/creator/error-from-creator.d.ts +9 -0
  1478. package/dist/types/error/creator/error-from-creator.d.ts.map +1 -0
  1479. package/dist/types/error/index.d.ts +15 -0
  1480. package/dist/types/error/index.d.ts.map +1 -0
  1481. package/dist/types/error/is-error-of-type.d.ts +22 -0
  1482. package/dist/types/error/is-error-of-type.d.ts.map +1 -0
  1483. package/dist/types/error/is-error.d.ts +8 -0
  1484. package/dist/types/error/is-error.d.ts.map +1 -0
  1485. package/dist/types/error/is-platform-error.d.ts +9 -0
  1486. package/dist/types/error/is-platform-error.d.ts.map +1 -0
  1487. package/dist/types/error/operator/catch-platform-error.d.ts +7 -0
  1488. package/dist/types/error/operator/catch-platform-error.d.ts.map +1 -0
  1489. package/dist/types/error/operator/map-platform-error.d.ts +9 -0
  1490. package/dist/types/error/operator/map-platform-error.d.ts.map +1 -0
  1491. package/dist/types/error/platform-error-instance.d.ts +24 -0
  1492. package/dist/types/error/platform-error-instance.d.ts.map +1 -0
  1493. package/dist/types/error/platform-error-to-platform-error-instance.d.ts +11 -0
  1494. package/dist/types/error/platform-error-to-platform-error-instance.d.ts.map +1 -0
  1495. package/dist/types/error/platform-error.d.ts +27 -0
  1496. package/dist/types/error/platform-error.d.ts.map +1 -0
  1497. package/dist/types/error/properties/error-properties-from-error-definitions.d.ts +11 -0
  1498. package/dist/types/error/properties/error-properties-from-error-definitions.d.ts.map +1 -0
  1499. package/dist/types/error/properties/error-properties-schema-type-name.d.ts +5 -0
  1500. package/dist/types/error/properties/error-properties-schema-type-name.d.ts.map +1 -0
  1501. package/dist/types/error/properties/error-properties-schema.d.ts +9 -0
  1502. package/dist/types/error/properties/error-properties-schema.d.ts.map +1 -0
  1503. package/dist/types/error/properties/error-properties.d.ts +9 -0
  1504. package/dist/types/error/properties/error-properties.d.ts.map +1 -0
  1505. package/dist/types/error/stack/error-stack-to-platform-error-stack.d.ts +10 -0
  1506. package/dist/types/error/stack/error-stack-to-platform-error-stack.d.ts.map +1 -0
  1507. package/dist/types/error/type/create-error-type.d.ts +18 -0
  1508. package/dist/types/error/type/create-error-type.d.ts.map +1 -0
  1509. package/dist/types/error/type/error-creator-entry-to-property-descriptor-map.d.ts +10 -0
  1510. package/dist/types/error/type/error-creator-entry-to-property-descriptor-map.d.ts.map +1 -0
  1511. package/dist/types/error/type/error-creator-entry.d.ts +7 -0
  1512. package/dist/types/error/type/error-creator-entry.d.ts.map +1 -0
  1513. package/dist/types/error/type/error-from-type.d.ts +9 -0
  1514. package/dist/types/error/type/error-from-type.d.ts.map +1 -0
  1515. package/dist/types/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +11 -0
  1516. package/dist/types/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts.map +1 -0
  1517. package/dist/types/error/type/error-type.d.ts +20 -0
  1518. package/dist/types/error/type/error-type.d.ts.map +1 -0
  1519. package/dist/types/event/creator/event-creator.d.ts +14 -0
  1520. package/dist/types/event/creator/event-creator.d.ts.map +1 -0
  1521. package/dist/types/event/creator/event-from-creator.d.ts +9 -0
  1522. package/dist/types/event/creator/event-from-creator.d.ts.map +1 -0
  1523. package/dist/types/event/event-name.d.ts +9 -0
  1524. package/dist/types/event/event-name.d.ts.map +1 -0
  1525. package/dist/types/event/event.d.ts +23 -0
  1526. package/dist/types/event/event.d.ts.map +1 -0
  1527. package/dist/types/event/handler/event-handler.d.ts +10 -0
  1528. package/dist/types/event/handler/event-handler.d.ts.map +1 -0
  1529. package/dist/types/event/index.d.ts +23 -0
  1530. package/dist/types/event/index.d.ts.map +1 -0
  1531. package/dist/types/event/is-event-of-type.d.ts +26 -0
  1532. package/dist/types/event/is-event-of-type.d.ts.map +1 -0
  1533. package/dist/types/event/is-event.d.ts +9 -0
  1534. package/dist/types/event/is-event.d.ts.map +1 -0
  1535. package/dist/types/event/matcher/event-matcher-case.d.ts +11 -0
  1536. package/dist/types/event/matcher/event-matcher-case.d.ts.map +1 -0
  1537. package/dist/types/event/matcher/event-matcher.d.ts +14 -0
  1538. package/dist/types/event/matcher/event-matcher.d.ts.map +1 -0
  1539. package/dist/types/event/matcher/events-matcher-case.d.ts +11 -0
  1540. package/dist/types/event/matcher/events-matcher-case.d.ts.map +1 -0
  1541. package/dist/types/event/matcher/events-matcher.d.ts +14 -0
  1542. package/dist/types/event/matcher/events-matcher.d.ts.map +1 -0
  1543. package/dist/types/event/matcher/match-event.d.ts +13 -0
  1544. package/dist/types/event/matcher/match-event.d.ts.map +1 -0
  1545. package/dist/types/event/matcher/match-events.d.ts +15 -0
  1546. package/dist/types/event/matcher/match-events.d.ts.map +1 -0
  1547. package/dist/types/event/properties/event-properties-from-event-definitions.d.ts +11 -0
  1548. package/dist/types/event/properties/event-properties-from-event-definitions.d.ts.map +1 -0
  1549. package/dist/types/event/properties/event-properties-schema-type-name.d.ts +5 -0
  1550. package/dist/types/event/properties/event-properties-schema-type-name.d.ts.map +1 -0
  1551. package/dist/types/event/properties/event-properties-schema.d.ts +9 -0
  1552. package/dist/types/event/properties/event-properties-schema.d.ts.map +1 -0
  1553. package/dist/types/event/properties/event-properties.d.ts +10 -0
  1554. package/dist/types/event/properties/event-properties.d.ts.map +1 -0
  1555. package/dist/types/event/properties/event-to-event-name.d.ts +10 -0
  1556. package/dist/types/event/properties/event-to-event-name.d.ts.map +1 -0
  1557. package/dist/types/event/properties/event-to-event-properties.d.ts +10 -0
  1558. package/dist/types/event/properties/event-to-event-properties.d.ts.map +1 -0
  1559. package/dist/types/event/properties/event-to-properties.d.ts +10 -0
  1560. package/dist/types/event/properties/event-to-properties.d.ts.map +1 -0
  1561. package/dist/types/event/type/create-event-type.d.ts +16 -0
  1562. package/dist/types/event/type/create-event-type.d.ts.map +1 -0
  1563. package/dist/types/event/type/event-creator-entry-to-property-descriptor-map.d.ts +11 -0
  1564. package/dist/types/event/type/event-creator-entry-to-property-descriptor-map.d.ts.map +1 -0
  1565. package/dist/types/event/type/event-creator-entry.d.ts +7 -0
  1566. package/dist/types/event/type/event-creator-entry.d.ts.map +1 -0
  1567. package/dist/types/event/type/event-from-type.d.ts +9 -0
  1568. package/dist/types/event/type/event-from-type.d.ts.map +1 -0
  1569. package/dist/types/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +13 -0
  1570. package/dist/types/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts.map +1 -0
  1571. package/dist/types/event/type/event-type-with-events.d.ts +10 -0
  1572. package/dist/types/event/type/event-type-with-events.d.ts.map +1 -0
  1573. package/dist/types/event/type/event-type.d.ts +20 -0
  1574. package/dist/types/event/type/event-type.d.ts.map +1 -0
  1575. package/dist/types/functional/call-with.d.ts +9 -0
  1576. package/dist/types/functional/call-with.d.ts.map +1 -0
  1577. package/dist/types/functional/entries-to-object.d.ts +8 -0
  1578. package/dist/types/functional/entries-to-object.d.ts.map +1 -0
  1579. package/dist/types/functional/identity.d.ts +8 -0
  1580. package/dist/types/functional/identity.d.ts.map +1 -0
  1581. package/dist/types/functional/index.d.ts +13 -0
  1582. package/dist/types/functional/index.d.ts.map +1 -0
  1583. package/dist/types/functional/is-defined.d.ts +9 -0
  1584. package/dist/types/functional/is-defined.d.ts.map +1 -0
  1585. package/dist/types/functional/is-instance-of.d.ts +9 -0
  1586. package/dist/types/functional/is-instance-of.d.ts.map +1 -0
  1587. package/dist/types/functional/is-not-null.d.ts +8 -0
  1588. package/dist/types/functional/is-not-null.d.ts.map +1 -0
  1589. package/dist/types/functional/not.d.ts +9 -0
  1590. package/dist/types/functional/not.d.ts.map +1 -0
  1591. package/dist/types/functional/object-to-entries.d.ts +9 -0
  1592. package/dist/types/functional/object-to-entries.d.ts.map +1 -0
  1593. package/dist/types/functional/object-to-keys.d.ts +9 -0
  1594. package/dist/types/functional/object-to-keys.d.ts.map +1 -0
  1595. package/dist/types/functional/object-to-values.d.ts +8 -0
  1596. package/dist/types/functional/object-to-values.d.ts.map +1 -0
  1597. package/dist/types/functional/object-with-properties.d.ts +10 -0
  1598. package/dist/types/functional/object-with-properties.d.ts.map +1 -0
  1599. package/dist/types/functional/pipe.d.ts +14 -0
  1600. package/dist/types/functional/pipe.d.ts.map +1 -0
  1601. package/dist/types/geometry/index.d.ts +4 -0
  1602. package/dist/types/geometry/index.d.ts.map +1 -0
  1603. package/dist/types/geometry/point.d.ts +17 -0
  1604. package/dist/types/geometry/point.d.ts.map +1 -0
  1605. package/dist/types/geometry/polygon.d.ts +17 -0
  1606. package/dist/types/geometry/polygon.d.ts.map +1 -0
  1607. package/dist/types/geometry/position.d.ts +7 -0
  1608. package/dist/types/geometry/position.d.ts.map +1 -0
  1609. package/dist/types/http/client/create-http-client.d.ts +10 -0
  1610. package/dist/types/http/client/create-http-client.d.ts.map +1 -0
  1611. package/dist/types/http/client/graphql/create-graphql-client.d.ts +10 -0
  1612. package/dist/types/http/client/graphql/create-graphql-client.d.ts.map +1 -0
  1613. package/dist/types/http/client/graphql/graphql-client-options.d.ts +26 -0
  1614. package/dist/types/http/client/graphql/graphql-client-options.d.ts.map +1 -0
  1615. package/dist/types/http/client/graphql/graphql-client.d.ts +16 -0
  1616. package/dist/types/http/client/graphql/graphql-client.d.ts.map +1 -0
  1617. package/dist/types/http/client/graphql/graphql-client.error.d.ts +21 -0
  1618. package/dist/types/http/client/graphql/graphql-client.error.d.ts.map +1 -0
  1619. package/dist/types/http/client/graphql/graphql-error-location.d.ts +14 -0
  1620. package/dist/types/http/client/graphql/graphql-error-location.d.ts.map +1 -0
  1621. package/dist/types/http/client/graphql/graphql-error.d.ts +23 -0
  1622. package/dist/types/http/client/graphql/graphql-error.d.ts.map +1 -0
  1623. package/dist/types/http/client/graphql/graphql-query-to-graphql-request.d.ts +11 -0
  1624. package/dist/types/http/client/graphql/graphql-query-to-graphql-request.d.ts.map +1 -0
  1625. package/dist/types/http/client/graphql/graphql-request.d.ts +15 -0
  1626. package/dist/types/http/client/graphql/graphql-request.d.ts.map +1 -0
  1627. package/dist/types/http/client/graphql/graphql-response.d.ts +17 -0
  1628. package/dist/types/http/client/graphql/graphql-response.d.ts.map +1 -0
  1629. package/dist/types/http/client/graphql/index.d.ts +7 -0
  1630. package/dist/types/http/client/graphql/index.d.ts.map +1 -0
  1631. package/dist/types/http/client/header/fetch-header-to-http-header.d.ts +9 -0
  1632. package/dist/types/http/client/header/fetch-header-to-http-header.d.ts.map +1 -0
  1633. package/dist/types/http/client/header/http-headers-to-fetch-headers.d.ts +10 -0
  1634. package/dist/types/http/client/header/http-headers-to-fetch-headers.d.ts.map +1 -0
  1635. package/dist/types/http/client/http-client-options.d.ts +15 -0
  1636. package/dist/types/http/client/http-client-options.d.ts.map +1 -0
  1637. package/dist/types/http/client/http-client.d.ts +15 -0
  1638. package/dist/types/http/client/http-client.d.ts.map +1 -0
  1639. package/dist/types/http/client/http-client.error.d.ts +14 -0
  1640. package/dist/types/http/client/http-client.error.d.ts.map +1 -0
  1641. package/dist/types/http/client/index.d.ts +20 -0
  1642. package/dist/types/http/client/index.d.ts.map +1 -0
  1643. package/dist/types/http/client/progress/controller-to-response-progress-chunks.d.ts +10 -0
  1644. package/dist/types/http/client/progress/controller-to-response-progress-chunks.d.ts.map +1 -0
  1645. package/dist/types/http/client/progress/http-client-response-progress.d.ts +26 -0
  1646. package/dist/types/http/client/progress/http-client-response-progress.d.ts.map +1 -0
  1647. package/dist/types/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +10 -0
  1648. package/dist/types/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts.map +1 -0
  1649. package/dist/types/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +9 -0
  1650. package/dist/types/http/client/progress/http-client-response-with-progress-to-bytes.d.ts.map +1 -0
  1651. package/dist/types/http/client/progress/http-client-response-with-progress.d.ts +11 -0
  1652. package/dist/types/http/client/progress/http-client-response-with-progress.d.ts.map +1 -0
  1653. package/dist/types/http/client/progress/response-progress-chunk-to-response-progress.d.ts +10 -0
  1654. package/dist/types/http/client/progress/response-progress-chunk-to-response-progress.d.ts.map +1 -0
  1655. package/dist/types/http/client/progress/response-progress-underlying-source.d.ts +20 -0
  1656. package/dist/types/http/client/progress/response-progress-underlying-source.d.ts.map +1 -0
  1657. package/dist/types/http/client/request/http-client-request-options.d.ts +12 -0
  1658. package/dist/types/http/client/request/http-client-request-options.d.ts.map +1 -0
  1659. package/dist/types/http/client/request/http-client-request.d.ts +26 -0
  1660. package/dist/types/http/client/request/http-client-request.d.ts.map +1 -0
  1661. package/dist/types/http/client/response/fetch-response-symbol.d.ts +5 -0
  1662. package/dist/types/http/client/response/fetch-response-symbol.d.ts.map +1 -0
  1663. package/dist/types/http/client/response/http-client-response-status-is-options.d.ts +11 -0
  1664. package/dist/types/http/client/response/http-client-response-status-is-options.d.ts.map +1 -0
  1665. package/dist/types/http/client/response/http-client-response-status-is.d.ts +10 -0
  1666. package/dist/types/http/client/response/http-client-response-status-is.d.ts.map +1 -0
  1667. package/dist/types/http/client/response/http-client-response-to-array-buffer.d.ts +8 -0
  1668. package/dist/types/http/client/response/http-client-response-to-array-buffer.d.ts.map +1 -0
  1669. package/dist/types/http/client/response/http-client-response-to-blob.d.ts +8 -0
  1670. package/dist/types/http/client/response/http-client-response-to-blob.d.ts.map +1 -0
  1671. package/dist/types/http/client/response/http-client-response-to-json-stream-options.d.ts +12 -0
  1672. package/dist/types/http/client/response/http-client-response-to-json-stream-options.d.ts.map +1 -0
  1673. package/dist/types/http/client/response/http-client-response-to-json-stream.d.ts +12 -0
  1674. package/dist/types/http/client/response/http-client-response-to-json-stream.d.ts.map +1 -0
  1675. package/dist/types/http/client/response/http-client-response-to-json.d.ts +10 -0
  1676. package/dist/types/http/client/response/http-client-response-to-json.d.ts.map +1 -0
  1677. package/dist/types/http/client/response/http-client-response-to-text.d.ts +8 -0
  1678. package/dist/types/http/client/response/http-client-response-to-text.d.ts.map +1 -0
  1679. package/dist/types/http/client/response/http-client-response.d.ts +20 -0
  1680. package/dist/types/http/client/response/http-client-response.d.ts.map +1 -0
  1681. package/dist/types/http/client/response/response-to-http-client-response.d.ts +9 -0
  1682. package/dist/types/http/client/response/response-to-http-client-response.d.ts.map +1 -0
  1683. package/dist/types/http/client/response/url-to-http-client-response.d.ts +12 -0
  1684. package/dist/types/http/client/response/url-to-http-client-response.d.ts.map +1 -0
  1685. package/dist/types/http/client/testing/create-test-http-client.d.ts +10 -0
  1686. package/dist/types/http/client/testing/create-test-http-client.d.ts.map +1 -0
  1687. package/dist/types/http/client/testing/index.d.ts +4 -0
  1688. package/dist/types/http/client/testing/index.d.ts.map +1 -0
  1689. package/dist/types/http/client/testing/test-http-client-options.d.ts +7 -0
  1690. package/dist/types/http/client/testing/test-http-client-options.d.ts.map +1 -0
  1691. package/dist/types/http/client/testing/test-http-client.d.ts +15 -0
  1692. package/dist/types/http/client/testing/test-http-client.d.ts.map +1 -0
  1693. package/dist/types/http/cookie/http-cookie.d.ts +52 -0
  1694. package/dist/types/http/cookie/http-cookie.d.ts.map +1 -0
  1695. package/dist/types/http/cookie/is-session-http-cookie.d.ts +11 -0
  1696. package/dist/types/http/cookie/is-session-http-cookie.d.ts.map +1 -0
  1697. package/dist/types/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +6 -0
  1698. package/dist/types/http/cookie/same-site-option/http-cookie-same-site-option.d.ts.map +1 -0
  1699. package/dist/types/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +5 -0
  1700. package/dist/types/http/cookie/same-site-option/http-cookie-same-site-options.d.ts.map +1 -0
  1701. package/dist/types/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +9 -0
  1702. package/dist/types/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts.map +1 -0
  1703. package/dist/types/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +8 -0
  1704. package/dist/types/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts.map +1 -0
  1705. package/dist/types/http/error/invalid-cookie-header-value-error-properties.d.ts +10 -0
  1706. package/dist/types/http/error/invalid-cookie-header-value-error-properties.d.ts.map +1 -0
  1707. package/dist/types/http/error/invalid-cookie-same-site-option-error-properties.d.ts +10 -0
  1708. package/dist/types/http/error/invalid-cookie-same-site-option-error-properties.d.ts.map +1 -0
  1709. package/dist/types/http/error/invalid-http-header-name-error-properties.d.ts +10 -0
  1710. package/dist/types/http/error/invalid-http-header-name-error-properties.d.ts.map +1 -0
  1711. package/dist/types/http/error/invalid-http-method-error-properties.d.ts +10 -0
  1712. package/dist/types/http/error/invalid-http-method-error-properties.d.ts.map +1 -0
  1713. package/dist/types/http/error/invalid-http-status-error-properties.d.ts +10 -0
  1714. package/dist/types/http/error/invalid-http-status-error-properties.d.ts.map +1 -0
  1715. package/dist/types/http/header/authorization/parse-authorization-header-value.d.ts +8 -0
  1716. package/dist/types/http/header/authorization/parse-authorization-header-value.d.ts.map +1 -0
  1717. package/dist/types/http/header/by-http-header-name.d.ts +10 -0
  1718. package/dist/types/http/header/by-http-header-name.d.ts.map +1 -0
  1719. package/dist/types/http/header/cookie/create-set-cookie-http-header.d.ts +10 -0
  1720. package/dist/types/http/header/cookie/create-set-cookie-http-header.d.ts.map +1 -0
  1721. package/dist/types/http/header/cookie/parse-cookie-header-value.d.ts +9 -0
  1722. package/dist/types/http/header/cookie/parse-cookie-header-value.d.ts.map +1 -0
  1723. package/dist/types/http/header/http-header.d.ts +6 -0
  1724. package/dist/types/http/header/http-header.d.ts.map +1 -0
  1725. package/dist/types/http/header/name/as-http-header-name.d.ts +9 -0
  1726. package/dist/types/http/header/name/as-http-header-name.d.ts.map +1 -0
  1727. package/dist/types/http/header/name/http-header-name.d.ts +6 -0
  1728. package/dist/types/http/header/name/http-header-name.d.ts.map +1 -0
  1729. package/dist/types/http/header/name/http-header-names.d.ts +5 -0
  1730. package/dist/types/http/header/name/http-header-names.d.ts.map +1 -0
  1731. package/dist/types/http/header/name/is-http-header-name.d.ts +9 -0
  1732. package/dist/types/http/header/name/is-http-header-name.d.ts.map +1 -0
  1733. package/dist/types/http/header/name/validate-http-header-name.d.ts +8 -0
  1734. package/dist/types/http/header/name/validate-http-header-name.d.ts.map +1 -0
  1735. package/dist/types/http/http.error.d.ts +31 -0
  1736. package/dist/types/http/http.error.d.ts.map +1 -0
  1737. package/dist/types/http/index.d.ts +32 -0
  1738. package/dist/types/http/index.d.ts.map +1 -0
  1739. package/dist/types/http/method/as-http-method.d.ts +9 -0
  1740. package/dist/types/http/method/as-http-method.d.ts.map +1 -0
  1741. package/dist/types/http/method/http-method.d.ts +6 -0
  1742. package/dist/types/http/method/http-method.d.ts.map +1 -0
  1743. package/dist/types/http/method/http-methods.d.ts +5 -0
  1744. package/dist/types/http/method/http-methods.d.ts.map +1 -0
  1745. package/dist/types/http/method/is-http-method.d.ts +9 -0
  1746. package/dist/types/http/method/is-http-method.d.ts.map +1 -0
  1747. package/dist/types/http/method/validate-http-method.d.ts +8 -0
  1748. package/dist/types/http/method/validate-http-method.d.ts.map +1 -0
  1749. package/dist/types/http/status/http-status.d.ts +6 -0
  1750. package/dist/types/http/status/http-status.d.ts.map +1 -0
  1751. package/dist/types/http/status/http-statuses.d.ts +67 -0
  1752. package/dist/types/http/status/http-statuses.d.ts.map +1 -0
  1753. package/dist/types/http/status/is-http-status.d.ts +9 -0
  1754. package/dist/types/http/status/is-http-status.d.ts.map +1 -0
  1755. package/dist/types/http/status/validate-http-status.d.ts +8 -0
  1756. package/dist/types/http/status/validate-http-status.d.ts.map +1 -0
  1757. package/dist/types/i18n/error/invalid-i18n-string-error-properties.d.ts +7 -0
  1758. package/dist/types/i18n/error/invalid-i18n-string-error-properties.d.ts.map +1 -0
  1759. package/dist/types/i18n/i18n.error.d.ts +11 -0
  1760. package/dist/types/i18n/i18n.error.d.ts.map +1 -0
  1761. package/dist/types/i18n/index.d.ts +13 -0
  1762. package/dist/types/i18n/index.d.ts.map +1 -0
  1763. package/dist/types/i18n/string/as-i18n-string.d.ts +9 -0
  1764. package/dist/types/i18n/string/as-i18n-string.d.ts.map +1 -0
  1765. package/dist/types/i18n/string/compare-i18n-strings-options.d.ts +15 -0
  1766. package/dist/types/i18n/string/compare-i18n-strings-options.d.ts.map +1 -0
  1767. package/dist/types/i18n/string/compare-i18n-strings.d.ts +10 -0
  1768. package/dist/types/i18n/string/compare-i18n-strings.d.ts.map +1 -0
  1769. package/dist/types/i18n/string/i18n-string-includes-options.d.ts +15 -0
  1770. package/dist/types/i18n/string/i18n-string-includes-options.d.ts.map +1 -0
  1771. package/dist/types/i18n/string/i18n-string-includes.d.ts +11 -0
  1772. package/dist/types/i18n/string/i18n-string-includes.d.ts.map +1 -0
  1773. package/dist/types/i18n/string/i18n-string.d.ts +7 -0
  1774. package/dist/types/i18n/string/i18n-string.d.ts.map +1 -0
  1775. package/dist/types/i18n/string/is-i18n-string.d.ts +9 -0
  1776. package/dist/types/i18n/string/is-i18n-string.d.ts.map +1 -0
  1777. package/dist/types/i18n/string/is-same-i18n-string.d.ts +10 -0
  1778. package/dist/types/i18n/string/is-same-i18n-string.d.ts.map +1 -0
  1779. package/dist/types/i18n/string/merge-i18n-strings.d.ts +8 -0
  1780. package/dist/types/i18n/string/merge-i18n-strings.d.ts.map +1 -0
  1781. package/dist/types/i18n/string/validate-i18n-string.d.ts +8 -0
  1782. package/dist/types/i18n/string/validate-i18n-string.d.ts.map +1 -0
  1783. package/dist/types/index.d.ts +2 -0
  1784. package/dist/types/index.d.ts.map +1 -0
  1785. package/dist/types/language/as-language-code.d.ts +9 -0
  1786. package/dist/types/language/as-language-code.d.ts.map +1 -0
  1787. package/dist/types/language/error/invalid-language-code-error-properties.d.ts +7 -0
  1788. package/dist/types/language/error/invalid-language-code-error-properties.d.ts.map +1 -0
  1789. package/dist/types/language/index.d.ts +8 -0
  1790. package/dist/types/language/index.d.ts.map +1 -0
  1791. package/dist/types/language/is-language-code.d.ts +9 -0
  1792. package/dist/types/language/is-language-code.d.ts.map +1 -0
  1793. package/dist/types/language/language-code.d.ts +6 -0
  1794. package/dist/types/language/language-code.d.ts.map +1 -0
  1795. package/dist/types/language/language-codes.d.ts +5 -0
  1796. package/dist/types/language/language-codes.d.ts.map +1 -0
  1797. package/dist/types/language/language.error.d.ts +11 -0
  1798. package/dist/types/language/language.error.d.ts.map +1 -0
  1799. package/dist/types/language/validate-language-code.d.ts +8 -0
  1800. package/dist/types/language/validate-language-code.d.ts.map +1 -0
  1801. package/dist/types/locale/as-locale-code.d.ts +9 -0
  1802. package/dist/types/locale/as-locale-code.d.ts.map +1 -0
  1803. package/dist/types/locale/by-locale-code.d.ts +11 -0
  1804. package/dist/types/locale/by-locale-code.d.ts.map +1 -0
  1805. package/dist/types/locale/error/invalid-locale-code-error-properties.d.ts +7 -0
  1806. package/dist/types/locale/error/invalid-locale-code-error-properties.d.ts.map +1 -0
  1807. package/dist/types/locale/index.d.ts +8 -0
  1808. package/dist/types/locale/index.d.ts.map +1 -0
  1809. package/dist/types/locale/is-locale-code.d.ts +9 -0
  1810. package/dist/types/locale/is-locale-code.d.ts.map +1 -0
  1811. package/dist/types/locale/locale-code.d.ts +6 -0
  1812. package/dist/types/locale/locale-code.d.ts.map +1 -0
  1813. package/dist/types/locale/locale-codes.d.ts +10 -0
  1814. package/dist/types/locale/locale-codes.d.ts.map +1 -0
  1815. package/dist/types/locale/locale.error.d.ts +11 -0
  1816. package/dist/types/locale/locale.error.d.ts.map +1 -0
  1817. package/dist/types/locale/validate-locale-code.d.ts +8 -0
  1818. package/dist/types/locale/validate-locale-code.d.ts.map +1 -0
  1819. package/dist/types/platform.domain.d.ts +5 -0
  1820. package/dist/types/platform.domain.d.ts.map +1 -0
  1821. package/dist/types/random/get-random-array-value.d.ts +8 -0
  1822. package/dist/types/random/get-random-array-value.d.ts.map +1 -0
  1823. package/dist/types/random/index.d.ts +2 -0
  1824. package/dist/types/random/index.d.ts.map +1 -0
  1825. package/dist/types/reactive/as-observable.d.ts +9 -0
  1826. package/dist/types/reactive/as-observable.d.ts.map +1 -0
  1827. package/dist/types/reactive/catch-error-if.d.ts +21 -0
  1828. package/dist/types/reactive/catch-error-if.d.ts.map +1 -0
  1829. package/dist/types/reactive/defer-value.d.ts +9 -0
  1830. package/dist/types/reactive/defer-value.d.ts.map +1 -0
  1831. package/dist/types/reactive/index.d.ts +9 -0
  1832. package/dist/types/reactive/index.d.ts.map +1 -0
  1833. package/dist/types/reactive/map-error-if.d.ts +19 -0
  1834. package/dist/types/reactive/map-error-if.d.ts.map +1 -0
  1835. package/dist/types/reactive/observable-map.d.ts +18 -0
  1836. package/dist/types/reactive/observable-map.d.ts.map +1 -0
  1837. package/dist/types/reactive/polyfill/index.d.ts +2 -0
  1838. package/dist/types/reactive/polyfill/index.d.ts.map +1 -0
  1839. package/dist/types/reactive/tap-error.d.ts +8 -0
  1840. package/dist/types/reactive/tap-error.d.ts.map +1 -0
  1841. package/dist/types/reactive/throw-if.d.ts +18 -0
  1842. package/dist/types/reactive/throw-if.d.ts.map +1 -0
  1843. package/dist/types/reactive/throw-unless.d.ts +18 -0
  1844. package/dist/types/reactive/throw-unless.d.ts.map +1 -0
  1845. package/dist/types/temporal/date/date-to-start-of-week.d.ts +8 -0
  1846. package/dist/types/temporal/date/date-to-start-of-week.d.ts.map +1 -0
  1847. package/dist/types/temporal/date/string/as-date-string.d.ts +9 -0
  1848. package/dist/types/temporal/date/string/as-date-string.d.ts.map +1 -0
  1849. package/dist/types/temporal/date/string/current-date-string.d.ts +8 -0
  1850. package/dist/types/temporal/date/string/current-date-string.d.ts.map +1 -0
  1851. package/dist/types/temporal/date/string/date-string.d.ts +7 -0
  1852. package/dist/types/temporal/date/string/date-string.d.ts.map +1 -0
  1853. package/dist/types/temporal/date/string/is-date-string.d.ts +9 -0
  1854. package/dist/types/temporal/date/string/is-date-string.d.ts.map +1 -0
  1855. package/dist/types/temporal/date/string/validate-date-string.d.ts +8 -0
  1856. package/dist/types/temporal/date/string/validate-date-string.d.ts.map +1 -0
  1857. package/dist/types/temporal/date-interval/string/as-date-interval-string.d.ts +9 -0
  1858. package/dist/types/temporal/date-interval/string/as-date-interval-string.d.ts.map +1 -0
  1859. package/dist/types/temporal/date-interval/string/date-interval-string.d.ts +8 -0
  1860. package/dist/types/temporal/date-interval/string/date-interval-string.d.ts.map +1 -0
  1861. package/dist/types/temporal/date-interval/string/is-date-interval-string.d.ts +9 -0
  1862. package/dist/types/temporal/date-interval/string/is-date-interval-string.d.ts.map +1 -0
  1863. package/dist/types/temporal/date-interval/string/validate-date-interval-string.d.ts +8 -0
  1864. package/dist/types/temporal/date-interval/string/validate-date-interval-string.d.ts.map +1 -0
  1865. package/dist/types/temporal/date-time/string/as-date-time-string.d.ts +9 -0
  1866. package/dist/types/temporal/date-time/string/as-date-time-string.d.ts.map +1 -0
  1867. package/dist/types/temporal/date-time/string/current-date-time-string.d.ts +8 -0
  1868. package/dist/types/temporal/date-time/string/current-date-time-string.d.ts.map +1 -0
  1869. package/dist/types/temporal/date-time/string/date-time-string-to-date-string.d.ts +17 -0
  1870. package/dist/types/temporal/date-time/string/date-time-string-to-date-string.d.ts.map +1 -0
  1871. package/dist/types/temporal/date-time/string/date-time-string-to-instant.d.ts +8 -0
  1872. package/dist/types/temporal/date-time/string/date-time-string-to-instant.d.ts.map +1 -0
  1873. package/dist/types/temporal/date-time/string/date-time-string.d.ts +7 -0
  1874. package/dist/types/temporal/date-time/string/date-time-string.d.ts.map +1 -0
  1875. package/dist/types/temporal/date-time/string/is-date-time-string.d.ts +9 -0
  1876. package/dist/types/temporal/date-time/string/is-date-time-string.d.ts.map +1 -0
  1877. package/dist/types/temporal/date-time/string/validate-date-time-string.d.ts +8 -0
  1878. package/dist/types/temporal/date-time/string/validate-date-time-string.d.ts.map +1 -0
  1879. package/dist/types/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +9 -0
  1880. package/dist/types/temporal/date-time-interval/string/as-date-time-interval-string.d.ts.map +1 -0
  1881. package/dist/types/temporal/date-time-interval/string/date-time-interval-string.d.ts +8 -0
  1882. package/dist/types/temporal/date-time-interval/string/date-time-interval-string.d.ts.map +1 -0
  1883. package/dist/types/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +9 -0
  1884. package/dist/types/temporal/date-time-interval/string/is-date-time-interval-string.d.ts.map +1 -0
  1885. package/dist/types/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +8 -0
  1886. package/dist/types/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts.map +1 -0
  1887. package/dist/types/temporal/duration/string/as-duration-string.d.ts +9 -0
  1888. package/dist/types/temporal/duration/string/as-duration-string.d.ts.map +1 -0
  1889. package/dist/types/temporal/duration/string/duration-string.d.ts +7 -0
  1890. package/dist/types/temporal/duration/string/duration-string.d.ts.map +1 -0
  1891. package/dist/types/temporal/duration/string/is-duration-string.d.ts +9 -0
  1892. package/dist/types/temporal/duration/string/is-duration-string.d.ts.map +1 -0
  1893. package/dist/types/temporal/duration/string/validate-duration-string.d.ts +8 -0
  1894. package/dist/types/temporal/duration/string/validate-duration-string.d.ts.map +1 -0
  1895. package/dist/types/temporal/error/invalid-date-interval-string-error-properties.d.ts +7 -0
  1896. package/dist/types/temporal/error/invalid-date-interval-string-error-properties.d.ts.map +1 -0
  1897. package/dist/types/temporal/error/invalid-date-string-error-properties.d.ts +7 -0
  1898. package/dist/types/temporal/error/invalid-date-string-error-properties.d.ts.map +1 -0
  1899. package/dist/types/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +7 -0
  1900. package/dist/types/temporal/error/invalid-date-time-interval-string-error-properties.d.ts.map +1 -0
  1901. package/dist/types/temporal/error/invalid-date-time-string-error-properties.d.ts +7 -0
  1902. package/dist/types/temporal/error/invalid-date-time-string-error-properties.d.ts.map +1 -0
  1903. package/dist/types/temporal/error/invalid-duration-string-error-properties.d.ts +7 -0
  1904. package/dist/types/temporal/error/invalid-duration-string-error-properties.d.ts.map +1 -0
  1905. package/dist/types/temporal/error/invalid-time-interval-string-error-properties.d.ts +7 -0
  1906. package/dist/types/temporal/error/invalid-time-interval-string-error-properties.d.ts.map +1 -0
  1907. package/dist/types/temporal/error/invalid-time-string-error-properties.d.ts +7 -0
  1908. package/dist/types/temporal/error/invalid-time-string-error-properties.d.ts.map +1 -0
  1909. package/dist/types/temporal/index.d.ts +40 -0
  1910. package/dist/types/temporal/index.d.ts.map +1 -0
  1911. package/dist/types/temporal/polyfill/index.d.ts +2 -0
  1912. package/dist/types/temporal/polyfill/index.d.ts.map +1 -0
  1913. package/dist/types/temporal/temporal.error.d.ts +41 -0
  1914. package/dist/types/temporal/temporal.error.d.ts.map +1 -0
  1915. package/dist/types/temporal/time/string/as-time-string.d.ts +9 -0
  1916. package/dist/types/temporal/time/string/as-time-string.d.ts.map +1 -0
  1917. package/dist/types/temporal/time/string/current-time-string.d.ts +8 -0
  1918. package/dist/types/temporal/time/string/current-time-string.d.ts.map +1 -0
  1919. package/dist/types/temporal/time/string/is-time-string.d.ts +9 -0
  1920. package/dist/types/temporal/time/string/is-time-string.d.ts.map +1 -0
  1921. package/dist/types/temporal/time/string/time-string.d.ts +7 -0
  1922. package/dist/types/temporal/time/string/time-string.d.ts.map +1 -0
  1923. package/dist/types/temporal/time/string/validate-time-string.d.ts +8 -0
  1924. package/dist/types/temporal/time/string/validate-time-string.d.ts.map +1 -0
  1925. package/dist/types/temporal/time-interval/string/as-time-interval-string.d.ts +9 -0
  1926. package/dist/types/temporal/time-interval/string/as-time-interval-string.d.ts.map +1 -0
  1927. package/dist/types/temporal/time-interval/string/is-time-interval-string.d.ts +9 -0
  1928. package/dist/types/temporal/time-interval/string/is-time-interval-string.d.ts.map +1 -0
  1929. package/dist/types/temporal/time-interval/string/time-interval-string.d.ts +8 -0
  1930. package/dist/types/temporal/time-interval/string/time-interval-string.d.ts.map +1 -0
  1931. package/dist/types/temporal/time-interval/string/validate-time-interval-string.d.ts +8 -0
  1932. package/dist/types/temporal/time-interval/string/validate-time-interval-string.d.ts.map +1 -0
  1933. package/dist/types/testing/environment/create-test-environment-variables.d.ts +8 -0
  1934. package/dist/types/testing/environment/create-test-environment-variables.d.ts.map +1 -0
  1935. package/dist/types/testing/environment/create-test-platform-environment.d.ts +9 -0
  1936. package/dist/types/testing/environment/create-test-platform-environment.d.ts.map +1 -0
  1937. package/dist/types/testing/environment/test-platform-environment-id.d.ts +5 -0
  1938. package/dist/types/testing/environment/test-platform-environment-id.d.ts.map +1 -0
  1939. package/dist/types/testing/index.d.ts +4 -0
  1940. package/dist/types/testing/index.d.ts.map +1 -0
  1941. package/dist/types/typescript/deep-partial.d.ts +12 -0
  1942. package/dist/types/typescript/deep-partial.d.ts.map +1 -0
  1943. package/dist/types/typescript/expand.d.ts +13 -0
  1944. package/dist/types/typescript/expand.d.ts.map +1 -0
  1945. package/dist/types/typescript/function/unary-function.d.ts +10 -0
  1946. package/dist/types/typescript/function/unary-function.d.ts.map +1 -0
  1947. package/dist/types/typescript/generic-function.d.ts +5 -0
  1948. package/dist/types/typescript/generic-function.d.ts.map +1 -0
  1949. package/dist/types/typescript/index.d.ts +18 -0
  1950. package/dist/types/typescript/index.d.ts.map +1 -0
  1951. package/dist/types/typescript/is-branded-type.d.ts +8 -0
  1952. package/dist/types/typescript/is-branded-type.d.ts.map +1 -0
  1953. package/dist/types/typescript/keys-of-value-type.d.ts +7 -0
  1954. package/dist/types/typescript/keys-of-value-type.d.ts.map +1 -0
  1955. package/dist/types/typescript/omit-call-signature.d.ts +10 -0
  1956. package/dist/types/typescript/omit-call-signature.d.ts.map +1 -0
  1957. package/dist/types/typescript/omit-indexed-access.d.ts +9 -0
  1958. package/dist/types/typescript/omit-indexed-access.d.ts.map +1 -0
  1959. package/dist/types/typescript/pick-call-signature.d.ts +8 -0
  1960. package/dist/types/typescript/pick-call-signature.d.ts.map +1 -0
  1961. package/dist/types/typescript/properties-to-union.d.ts +9 -0
  1962. package/dist/types/typescript/properties-to-union.d.ts.map +1 -0
  1963. package/dist/types/typescript/readonly-record.d.ts +10 -0
  1964. package/dist/types/typescript/readonly-record.d.ts.map +1 -0
  1965. package/dist/types/typescript/schema/type-creator.d.ts +5 -0
  1966. package/dist/types/typescript/schema/type-creator.d.ts.map +1 -0
  1967. package/dist/types/typescript/schema/type-schema-symbol.d.ts +9 -0
  1968. package/dist/types/typescript/schema/type-schema-symbol.d.ts.map +1 -0
  1969. package/dist/types/typescript/schema/type-schema-type-name.d.ts +9 -0
  1970. package/dist/types/typescript/schema/type-schema-type-name.d.ts.map +1 -0
  1971. package/dist/types/typescript/schema/type-schema-type.d.ts +9 -0
  1972. package/dist/types/typescript/schema/type-schema-type.d.ts.map +1 -0
  1973. package/dist/types/typescript/schema/type-schema.d.ts +21 -0
  1974. package/dist/types/typescript/schema/type-schema.d.ts.map +1 -0
  1975. package/dist/types/typescript/union-to-intersection.d.ts +5 -0
  1976. package/dist/types/typescript/union-to-intersection.d.ts.map +1 -0
  1977. package/dist/types/url/error/invalid-url-string-error-properties.d.ts +7 -0
  1978. package/dist/types/url/error/invalid-url-string-error-properties.d.ts.map +1 -0
  1979. package/dist/types/url/index.d.ts +5 -0
  1980. package/dist/types/url/index.d.ts.map +1 -0
  1981. package/dist/types/url/string/as-url-string.d.ts +9 -0
  1982. package/dist/types/url/string/as-url-string.d.ts.map +1 -0
  1983. package/dist/types/url/string/is-url-string.d.ts +9 -0
  1984. package/dist/types/url/string/is-url-string.d.ts.map +1 -0
  1985. package/dist/types/url/string/url-string.d.ts +7 -0
  1986. package/dist/types/url/string/url-string.d.ts.map +1 -0
  1987. package/dist/types/url/string/validate-url-string.d.ts +8 -0
  1988. package/dist/types/url/string/validate-url-string.d.ts.map +1 -0
  1989. package/dist/types/url/url.error.d.ts +11 -0
  1990. package/dist/types/url/url.error.d.ts.map +1 -0
  1991. package/dist/types/uuid/as-uuid.d.ts +9 -0
  1992. package/dist/types/uuid/as-uuid.d.ts.map +1 -0
  1993. package/dist/types/uuid/error/invalid-uuid-error-properties.d.ts +7 -0
  1994. package/dist/types/uuid/error/invalid-uuid-error-properties.d.ts.map +1 -0
  1995. package/dist/types/uuid/generate-uuid.d.ts +8 -0
  1996. package/dist/types/uuid/generate-uuid.d.ts.map +1 -0
  1997. package/dist/types/uuid/index.d.ts +8 -0
  1998. package/dist/types/uuid/index.d.ts.map +1 -0
  1999. package/dist/types/uuid/is-uuid.d.ts +9 -0
  2000. package/dist/types/uuid/is-uuid.d.ts.map +1 -0
  2001. package/dist/types/uuid/uuid.d.ts +7 -0
  2002. package/dist/types/uuid/uuid.d.ts.map +1 -0
  2003. package/dist/types/uuid/uuid.error.d.ts +12 -0
  2004. package/dist/types/uuid/uuid.error.d.ts.map +1 -0
  2005. package/dist/types/uuid/validate-uuid.d.ts +8 -0
  2006. package/dist/types/uuid/validate-uuid.d.ts.map +1 -0
  2007. package/package.json +270 -0
  2008. package/src/collection/array/array-to-deduplicated-array-options.ts +13 -0
  2009. package/src/collection/array/array-to-deduplicated-array.ts +29 -0
  2010. package/src/collection/array/array-to-element-at.ts +9 -0
  2011. package/src/collection/array/array-to-first-element.ts +9 -0
  2012. package/src/collection/array/array-to-flattened-array.spec.ts +8 -0
  2013. package/src/collection/array/array-to-flattened-array.ts +11 -0
  2014. package/src/collection/array/array-to-slices.spec.ts +7 -0
  2015. package/src/collection/array/array-to-slices.ts +18 -0
  2016. package/src/collection/buffer/buffer-to-string-options.ts +9 -0
  2017. package/src/collection/buffer/buffer-to-string.ts +13 -0
  2018. package/src/collection/each.spec.ts +8 -0
  2019. package/src/collection/each.ts +12 -0
  2020. package/src/collection/included-in.ts +12 -0
  2021. package/src/collection/index.ts +10 -0
  2022. package/src/collection/string/string-to-line-stream.spec.ts +21 -0
  2023. package/src/collection/string/string-to-line-stream.ts +11 -0
  2024. package/src/color/color.error.ts +14 -0
  2025. package/src/color/error/invalid-color-string-error-properties.ts +6 -0
  2026. package/src/color/index.ts +6 -0
  2027. package/src/color/string/as-color-string.spec.ts +8 -0
  2028. package/src/color/string/as-color-string.ts +13 -0
  2029. package/src/color/string/color-string.ts +6 -0
  2030. package/src/color/string/generate-color-string.ts +16 -0
  2031. package/src/color/string/is-color-string.spec.ts +8 -0
  2032. package/src/color/string/is-color-string.ts +13 -0
  2033. package/src/color/string/validate-color-string.spec.ts +8 -0
  2034. package/src/color/string/validate-color-string.ts +14 -0
  2035. package/src/domain/create-domain.spec.ts +18 -0
  2036. package/src/domain/create-domain.ts +14 -0
  2037. package/src/domain/domain.ts +11 -0
  2038. package/src/domain/index.ts +3 -0
  2039. package/src/domain/is-domain.ts +34 -0
  2040. package/src/environment/environment.error.ts +29 -0
  2041. package/src/environment/error/invalid-platform-environment-id-error-properties.ts +9 -0
  2042. package/src/environment/error/invalid-platform-environment-provider-error-properties.ts +9 -0
  2043. package/src/environment/error/invalid-platform-environment-region-error-properties.ts +9 -0
  2044. package/src/environment/error/invalid-platform-environment-type-error-properties.ts +9 -0
  2045. package/src/environment/id/as-platform-environment-id.spec.ts +25 -0
  2046. package/src/environment/id/as-platform-environment-id.ts +13 -0
  2047. package/src/environment/id/is-platform-environment-id.spec.ts +40 -0
  2048. package/src/environment/id/is-platform-environment-id.ts +11 -0
  2049. package/src/environment/id/platform-environment-id.ts +6 -0
  2050. package/src/environment/id/validate-platform-environment-id.spec.ts +37 -0
  2051. package/src/environment/id/validate-platform-environment-id.ts +14 -0
  2052. package/src/environment/index.ts +25 -0
  2053. package/src/environment/platform-environment.ts +30 -0
  2054. package/src/environment/provider/as-platform-environment-provider.spec.ts +27 -0
  2055. package/src/environment/provider/as-platform-environment-provider.ts +13 -0
  2056. package/src/environment/provider/is-platform-environment-provider.spec.ts +22 -0
  2057. package/src/environment/provider/is-platform-environment-provider.ts +17 -0
  2058. package/src/environment/provider/platform-environment-provider.ts +6 -0
  2059. package/src/environment/provider/platform-environment-providers.ts +4 -0
  2060. package/src/environment/provider/validate-platform-environment-provider.spec.ts +36 -0
  2061. package/src/environment/provider/validate-platform-environment-provider.ts +14 -0
  2062. package/src/environment/region/as-platform-environment-region.spec.ts +27 -0
  2063. package/src/environment/region/as-platform-environment-region.ts +13 -0
  2064. package/src/environment/region/is-platform-environment-region.spec.ts +31 -0
  2065. package/src/environment/region/is-platform-environment-region.ts +17 -0
  2066. package/src/environment/region/platform-environment-region.ts +6 -0
  2067. package/src/environment/region/platform-environment-regions.ts +12 -0
  2068. package/src/environment/region/validate-platform-environment-region.spec.ts +23 -0
  2069. package/src/environment/region/validate-platform-environment-region.ts +14 -0
  2070. package/src/environment/type/as-platform-environment-type.spec.ts +25 -0
  2071. package/src/environment/type/as-platform-environment-type.ts +13 -0
  2072. package/src/environment/type/is-platform-environment-type.spec.ts +21 -0
  2073. package/src/environment/type/is-platform-environment-type.ts +17 -0
  2074. package/src/environment/type/platform-environment-type.ts +6 -0
  2075. package/src/environment/type/platform-environment-types.ts +4 -0
  2076. package/src/environment/type/validate-platform-environment-type.spec.ts +35 -0
  2077. package/src/environment/type/validate-platform-environment-type.ts +14 -0
  2078. package/src/environment/variable/definition/environment-variable-definition-to-resolver.ts +28 -0
  2079. package/src/environment/variable/definition/environment-variable-definition-type.ts +10 -0
  2080. package/src/environment/variable/definition/environment-variable-definition.ts +28 -0
  2081. package/src/environment/variable/definition/environment-variable-definitions-to-resolvers.ts +22 -0
  2082. package/src/environment/variable/definition/environment-variable-entries-to-object.ts +37 -0
  2083. package/src/environment/variable/definition/environment-variable-entry.ts +18 -0
  2084. package/src/environment/variable/definition/environment-variable-object-property-type.spec.ts +36 -0
  2085. package/src/environment/variable/definition/environment-variable-object-property-type.ts +8 -0
  2086. package/src/environment/variable/definition/environment-variable-object-property.spec.ts +36 -0
  2087. package/src/environment/variable/definition/environment-variable-object-property.ts +13 -0
  2088. package/src/environment/variable/definition/environment-variable-object.ts +15 -0
  2089. package/src/environment/variable/definition/environment-variable-resolver.ts +6 -0
  2090. package/src/environment/variable/environment-variables-to-platform-environment.spec.ts +35 -0
  2091. package/src/environment/variable/environment-variables-to-platform-environment.ts +43 -0
  2092. package/src/environment/variable/environment-variables-to-value.spec.ts +55 -0
  2093. package/src/environment/variable/environment-variables-to-value.ts +29 -0
  2094. package/src/environment/variable/environment-variables-to-values.spec.ts +87 -0
  2095. package/src/environment/variable/environment-variables-to-values.ts +63 -0
  2096. package/src/environment/variable/environment-variables.ts +6 -0
  2097. package/src/environment/variable/indexed/get-indexed-environment-variables-count.spec.ts +119 -0
  2098. package/src/environment/variable/indexed/get-indexed-environment-variables-count.ts +41 -0
  2099. package/src/environment/variable/indexed/index-to-indexed-environment-variables.spec.ts +40 -0
  2100. package/src/environment/variable/indexed/index-to-indexed-environment-variables.ts +39 -0
  2101. package/src/environment/variable/indexed/indexed-environment-variable-definitions.ts +21 -0
  2102. package/src/environment/variable/platform-environment-to-environment-variables.ts +22 -0
  2103. package/src/error/creator/error-creator.ts +14 -0
  2104. package/src/error/creator/error-from-creator.ts +10 -0
  2105. package/src/error/index.ts +14 -0
  2106. package/src/error/is-error-of-type.spec.ts +8 -0
  2107. package/src/error/is-error-of-type.ts +54 -0
  2108. package/src/error/is-error.spec.ts +8 -0
  2109. package/src/error/is-error.ts +9 -0
  2110. package/src/error/is-platform-error.ts +20 -0
  2111. package/src/error/operator/catch-platform-error.ts +15 -0
  2112. package/src/error/operator/map-platform-error.ts +15 -0
  2113. package/src/error/platform-error-instance.spec.ts +28 -0
  2114. package/src/error/platform-error-instance.ts +34 -0
  2115. package/src/error/platform-error-to-platform-error-instance.ts +17 -0
  2116. package/src/error/platform-error.ts +31 -0
  2117. package/src/error/properties/error-properties-from-error-definitions.ts +14 -0
  2118. package/src/error/properties/error-properties-schema-type-name.ts +4 -0
  2119. package/src/error/properties/error-properties-schema.ts +10 -0
  2120. package/src/error/properties/error-properties.ts +16 -0
  2121. package/src/error/stack/error-stack-to-platform-error-stack.ts +13 -0
  2122. package/src/error/type/create-error-type.spec.ts +9 -0
  2123. package/src/error/type/create-error-type.ts +36 -0
  2124. package/src/error/type/error-creator-entry-to-property-descriptor-map.ts +24 -0
  2125. package/src/error/type/error-creator-entry.ts +8 -0
  2126. package/src/error/type/error-from-type.ts +9 -0
  2127. package/src/error/type/error-properties-schema-entry-to-error-creator-entry.ts +32 -0
  2128. package/src/error/type/error-type.ts +31 -0
  2129. package/src/event/creator/event-creator.ts +14 -0
  2130. package/src/event/creator/event-from-creator.ts +10 -0
  2131. package/src/event/event-name.spec.ts +32 -0
  2132. package/src/event/event-name.ts +11 -0
  2133. package/src/event/event.spec.ts +16 -0
  2134. package/src/event/event.ts +27 -0
  2135. package/src/event/handler/event-handler.ts +10 -0
  2136. package/src/event/index.ts +22 -0
  2137. package/src/event/is-event-of-type.spec.ts +44 -0
  2138. package/src/event/is-event-of-type.ts +45 -0
  2139. package/src/event/is-event.ts +21 -0
  2140. package/src/event/matcher/event-matcher-case.ts +11 -0
  2141. package/src/event/matcher/event-matcher.ts +12 -0
  2142. package/src/event/matcher/events-matcher-case.ts +11 -0
  2143. package/src/event/matcher/events-matcher.ts +12 -0
  2144. package/src/event/matcher/match-event.spec.ts +9 -0
  2145. package/src/event/matcher/match-event.ts +22 -0
  2146. package/src/event/matcher/match-events.ts +44 -0
  2147. package/src/event/properties/event-properties-from-event-definitions.ts +14 -0
  2148. package/src/event/properties/event-properties-schema-type-name.ts +4 -0
  2149. package/src/event/properties/event-properties-schema.ts +10 -0
  2150. package/src/event/properties/event-properties.spec.ts +19 -0
  2151. package/src/event/properties/event-properties.ts +17 -0
  2152. package/src/event/properties/event-to-event-name.ts +12 -0
  2153. package/src/event/properties/event-to-event-properties.spec.ts +22 -0
  2154. package/src/event/properties/event-to-event-properties.ts +12 -0
  2155. package/src/event/type/create-event-type.spec.ts +9 -0
  2156. package/src/event/type/create-event-type.ts +34 -0
  2157. package/src/event/type/event-creator-entry-to-property-descriptor-map.ts +25 -0
  2158. package/src/event/type/event-creator-entry.ts +8 -0
  2159. package/src/event/type/event-from-type.ts +12 -0
  2160. package/src/event/type/event-properties-schema-entry-to-event-creator-entry.ts +25 -0
  2161. package/src/event/type/event-type-with-events.ts +26 -0
  2162. package/src/event/type/event-type.ts +31 -0
  2163. package/src/functional/call-with.ts +12 -0
  2164. package/src/functional/entries-to-object.spec.ts +11 -0
  2165. package/src/functional/entries-to-object.ts +11 -0
  2166. package/src/functional/identity.spec.ts +16 -0
  2167. package/src/functional/identity.ts +9 -0
  2168. package/src/functional/index.ts +12 -0
  2169. package/src/functional/is-defined.spec.ts +26 -0
  2170. package/src/functional/is-defined.ts +10 -0
  2171. package/src/functional/is-instance-of.spec.ts +31 -0
  2172. package/src/functional/is-instance-of.ts +10 -0
  2173. package/src/functional/is-not-null.spec.ts +26 -0
  2174. package/src/functional/is-not-null.ts +9 -0
  2175. package/src/functional/not.ts +12 -0
  2176. package/src/functional/object-to-entries.spec.ts +40 -0
  2177. package/src/functional/object-to-entries.ts +13 -0
  2178. package/src/functional/object-to-keys.spec.ts +30 -0
  2179. package/src/functional/object-to-keys.ts +11 -0
  2180. package/src/functional/object-to-values.spec.ts +11 -0
  2181. package/src/functional/object-to-values.ts +9 -0
  2182. package/src/functional/object-with-properties.spec.ts +13 -0
  2183. package/src/functional/object-with-properties.ts +48 -0
  2184. package/src/functional/pipe.ts +89 -0
  2185. package/src/geometry/index.ts +3 -0
  2186. package/src/geometry/point.ts +17 -0
  2187. package/src/geometry/polygon.ts +17 -0
  2188. package/src/geometry/position.ts +6 -0
  2189. package/src/http/client/create-http-client.ts +49 -0
  2190. package/src/http/client/graphql/create-graphql-client.ts +52 -0
  2191. package/src/http/client/graphql/graphql-client-options.ts +26 -0
  2192. package/src/http/client/graphql/graphql-client.error.ts +19 -0
  2193. package/src/http/client/graphql/graphql-client.ts +16 -0
  2194. package/src/http/client/graphql/graphql-error-location.ts +13 -0
  2195. package/src/http/client/graphql/graphql-error.ts +23 -0
  2196. package/src/http/client/graphql/graphql-query-to-graphql-request.spec.ts +33 -0
  2197. package/src/http/client/graphql/graphql-query-to-graphql-request.ts +20 -0
  2198. package/src/http/client/graphql/graphql-request.ts +15 -0
  2199. package/src/http/client/graphql/graphql-response.ts +17 -0
  2200. package/src/http/client/graphql/index.ts +6 -0
  2201. package/src/http/client/header/fetch-header-to-http-header.spec.ts +11 -0
  2202. package/src/http/client/header/fetch-header-to-http-header.ts +13 -0
  2203. package/src/http/client/header/http-headers-to-fetch-headers.spec.ts +11 -0
  2204. package/src/http/client/header/http-headers-to-fetch-headers.ts +14 -0
  2205. package/src/http/client/http-client-options.ts +15 -0
  2206. package/src/http/client/http-client.error.ts +16 -0
  2207. package/src/http/client/http-client.ts +15 -0
  2208. package/src/http/client/index.ts +19 -0
  2209. package/src/http/client/progress/controller-to-response-progress-chunks.spec.ts +13 -0
  2210. package/src/http/client/progress/controller-to-response-progress-chunks.ts +33 -0
  2211. package/src/http/client/progress/http-client-response-progress.ts +25 -0
  2212. package/src/http/client/progress/http-client-response-to-http-client-response-with-progress.spec.ts +11 -0
  2213. package/src/http/client/progress/http-client-response-to-http-client-response-with-progress.ts +52 -0
  2214. package/src/http/client/progress/http-client-response-with-progress-to-bytes.ts +12 -0
  2215. package/src/http/client/progress/http-client-response-with-progress.ts +11 -0
  2216. package/src/http/client/progress/response-progress-chunk-to-response-progress.spec.ts +11 -0
  2217. package/src/http/client/progress/response-progress-chunk-to-response-progress.ts +28 -0
  2218. package/src/http/client/progress/response-progress-underlying-source.spec.ts +11 -0
  2219. package/src/http/client/progress/response-progress-underlying-source.ts +25 -0
  2220. package/src/http/client/request/http-client-request-options.ts +11 -0
  2221. package/src/http/client/request/http-client-request.ts +27 -0
  2222. package/src/http/client/response/fetch-response-symbol.ts +4 -0
  2223. package/src/http/client/response/http-client-response-status-is-options.ts +13 -0
  2224. package/src/http/client/response/http-client-response-status-is.spec.ts +32 -0
  2225. package/src/http/client/response/http-client-response-status-is.ts +20 -0
  2226. package/src/http/client/response/http-client-response-to-array-buffer.spec.ts +29 -0
  2227. package/src/http/client/response/http-client-response-to-array-buffer.ts +13 -0
  2228. package/src/http/client/response/http-client-response-to-blob.spec.ts +27 -0
  2229. package/src/http/client/response/http-client-response-to-blob.ts +13 -0
  2230. package/src/http/client/response/http-client-response-to-json-stream-options.ts +11 -0
  2231. package/src/http/client/response/http-client-response-to-json-stream.spec.ts +85 -0
  2232. package/src/http/client/response/http-client-response-to-json-stream.ts +52 -0
  2233. package/src/http/client/response/http-client-response-to-json.spec.ts +49 -0
  2234. package/src/http/client/response/http-client-response-to-json.ts +26 -0
  2235. package/src/http/client/response/http-client-response-to-text.spec.ts +27 -0
  2236. package/src/http/client/response/http-client-response-to-text.ts +13 -0
  2237. package/src/http/client/response/http-client-response.ts +21 -0
  2238. package/src/http/client/response/response-to-http-client-response.spec.ts +11 -0
  2239. package/src/http/client/response/response-to-http-client-response.ts +19 -0
  2240. package/src/http/client/response/url-to-http-client-response.spec.ts +11 -0
  2241. package/src/http/client/response/url-to-http-client-response.ts +18 -0
  2242. package/src/http/client/testing/create-test-http-client.ts +32 -0
  2243. package/src/http/client/testing/index.ts +3 -0
  2244. package/src/http/client/testing/test-http-client-options.ts +6 -0
  2245. package/src/http/client/testing/test-http-client.ts +15 -0
  2246. package/src/http/cookie/http-cookie.ts +52 -0
  2247. package/src/http/cookie/is-session-http-cookie.ts +14 -0
  2248. package/src/http/cookie/same-site-option/http-cookie-same-site-option.ts +6 -0
  2249. package/src/http/cookie/same-site-option/http-cookie-same-site-options.ts +4 -0
  2250. package/src/http/cookie/same-site-option/is-http-cookie-same-site-option.ts +17 -0
  2251. package/src/http/cookie/same-site-option/validate-http-cookie-same-site-option.ts +14 -0
  2252. package/src/http/error/invalid-cookie-header-value-error-properties.ts +9 -0
  2253. package/src/http/error/invalid-cookie-same-site-option-error-properties.ts +9 -0
  2254. package/src/http/error/invalid-http-header-name-error-properties.ts +9 -0
  2255. package/src/http/error/invalid-http-method-error-properties.ts +9 -0
  2256. package/src/http/error/invalid-http-status-error-properties.ts +9 -0
  2257. package/src/http/header/authorization/parse-authorization-header-value.ts +24 -0
  2258. package/src/http/header/by-http-header-name.ts +12 -0
  2259. package/src/http/header/cookie/create-set-cookie-http-header.ts +34 -0
  2260. package/src/http/header/cookie/parse-cookie-header-value.spec.ts +125 -0
  2261. package/src/http/header/cookie/parse-cookie-header-value.ts +53 -0
  2262. package/src/http/header/http-header.ts +6 -0
  2263. package/src/http/header/name/as-http-header-name.ts +13 -0
  2264. package/src/http/header/name/http-header-name.ts +6 -0
  2265. package/src/http/header/name/http-header-names.ts +118 -0
  2266. package/src/http/header/name/is-http-header-name.ts +11 -0
  2267. package/src/http/header/name/validate-http-header-name.ts +14 -0
  2268. package/src/http/http.error.ts +34 -0
  2269. package/src/http/index.ts +31 -0
  2270. package/src/http/method/as-http-method.ts +13 -0
  2271. package/src/http/method/http-method.ts +6 -0
  2272. package/src/http/method/http-methods.ts +4 -0
  2273. package/src/http/method/is-http-method.ts +14 -0
  2274. package/src/http/method/validate-http-method.ts +14 -0
  2275. package/src/http/status/http-status.ts +6 -0
  2276. package/src/http/status/http-statuses.ts +68 -0
  2277. package/src/http/status/is-http-status.spec.ts +20 -0
  2278. package/src/http/status/is-http-status.ts +16 -0
  2279. package/src/http/status/validate-http-status.spec.ts +21 -0
  2280. package/src/http/status/validate-http-status.ts +14 -0
  2281. package/src/i18n/error/invalid-i18n-string-error-properties.ts +6 -0
  2282. package/src/i18n/i18n.error.ts +14 -0
  2283. package/src/i18n/index.ts +12 -0
  2284. package/src/i18n/string/as-i18n-string.ts +13 -0
  2285. package/src/i18n/string/compare-i18n-strings-options.ts +15 -0
  2286. package/src/i18n/string/compare-i18n-strings.ts +19 -0
  2287. package/src/i18n/string/i18n-string-includes-options.ts +15 -0
  2288. package/src/i18n/string/i18n-string-includes.ts +44 -0
  2289. package/src/i18n/string/i18n-string.ts +7 -0
  2290. package/src/i18n/string/is-i18n-string.spec.ts +19 -0
  2291. package/src/i18n/string/is-i18n-string.ts +20 -0
  2292. package/src/i18n/string/is-same-i18n-string.ts +32 -0
  2293. package/src/i18n/string/merge-i18n-strings.ts +16 -0
  2294. package/src/i18n/string/validate-i18n-string.ts +14 -0
  2295. package/src/index.ts +1 -0
  2296. package/src/language/as-language-code.spec.ts +8 -0
  2297. package/src/language/as-language-code.ts +13 -0
  2298. package/src/language/error/invalid-language-code-error-properties.ts +6 -0
  2299. package/src/language/index.ts +7 -0
  2300. package/src/language/is-language-code.spec.ts +8 -0
  2301. package/src/language/is-language-code.ts +17 -0
  2302. package/src/language/language-code.ts +6 -0
  2303. package/src/language/language-codes.ts +21 -0
  2304. package/src/language/language.error.ts +14 -0
  2305. package/src/language/validate-language-code.spec.ts +8 -0
  2306. package/src/language/validate-language-code.ts +14 -0
  2307. package/src/locale/as-locale-code.spec.ts +8 -0
  2308. package/src/locale/as-locale-code.ts +13 -0
  2309. package/src/locale/by-locale-code.ts +14 -0
  2310. package/src/locale/error/invalid-locale-code-error-properties.ts +6 -0
  2311. package/src/locale/index.ts +7 -0
  2312. package/src/locale/is-locale-code.spec.ts +8 -0
  2313. package/src/locale/is-locale-code.ts +23 -0
  2314. package/src/locale/locale-code.ts +6 -0
  2315. package/src/locale/locale.error.ts +14 -0
  2316. package/src/locale/validate-locale-code.spec.ts +8 -0
  2317. package/src/locale/validate-locale-code.ts +14 -0
  2318. package/src/platform.domain.ts +6 -0
  2319. package/src/random/get-random-array-value.ts +14 -0
  2320. package/src/random/index.ts +1 -0
  2321. package/src/reactive/as-observable.spec.ts +29 -0
  2322. package/src/reactive/as-observable.ts +12 -0
  2323. package/src/reactive/catch-error-if.spec.ts +55 -0
  2324. package/src/reactive/catch-error-if.ts +41 -0
  2325. package/src/reactive/defer-value.spec.ts +29 -0
  2326. package/src/reactive/defer-value.ts +18 -0
  2327. package/src/reactive/index.ts +8 -0
  2328. package/src/reactive/map-error-if.ts +39 -0
  2329. package/src/reactive/observable-map.spec.ts +41 -0
  2330. package/src/reactive/observable-map.ts +31 -0
  2331. package/src/reactive/polyfill/index.spec.ts +11 -0
  2332. package/src/reactive/polyfill/index.ts +3 -0
  2333. package/src/reactive/polyfill/types/reactive.d.ts +6 -0
  2334. package/src/reactive/tap-error.ts +12 -0
  2335. package/src/reactive/throw-if.ts +39 -0
  2336. package/src/reactive/throw-unless.spec.ts +52 -0
  2337. package/src/reactive/throw-unless.ts +39 -0
  2338. package/src/temporal/date/date-to-start-of-week.ts +10 -0
  2339. package/src/temporal/date/string/as-date-string.ts +22 -0
  2340. package/src/temporal/date/string/current-date-string.ts +11 -0
  2341. package/src/temporal/date/string/date-string.ts +6 -0
  2342. package/src/temporal/date/string/is-date-string.ts +20 -0
  2343. package/src/temporal/date/string/validate-date-string.ts +14 -0
  2344. package/src/temporal/date-interval/string/as-date-interval-string.ts +13 -0
  2345. package/src/temporal/date-interval/string/date-interval-string.ts +8 -0
  2346. package/src/temporal/date-interval/string/is-date-interval-string.ts +21 -0
  2347. package/src/temporal/date-interval/string/validate-date-interval-string.ts +14 -0
  2348. package/src/temporal/date-time/string/as-date-time-string.spec.ts +45 -0
  2349. package/src/temporal/date-time/string/as-date-time-string.ts +34 -0
  2350. package/src/temporal/date-time/string/current-date-time-string.ts +11 -0
  2351. package/src/temporal/date-time/string/date-time-string-to-date-string.ts +27 -0
  2352. package/src/temporal/date-time/string/date-time-string-to-instant.ts +9 -0
  2353. package/src/temporal/date-time/string/date-time-string.ts +6 -0
  2354. package/src/temporal/date-time/string/is-date-time-string.ts +21 -0
  2355. package/src/temporal/date-time/string/validate-date-time-string.ts +14 -0
  2356. package/src/temporal/date-time-interval/string/as-date-time-interval-string.ts +13 -0
  2357. package/src/temporal/date-time-interval/string/date-time-interval-string.ts +8 -0
  2358. package/src/temporal/date-time-interval/string/is-date-time-interval-string.ts +21 -0
  2359. package/src/temporal/date-time-interval/string/validate-date-time-interval-string.ts +14 -0
  2360. package/src/temporal/duration/string/as-duration-string.spec.ts +36 -0
  2361. package/src/temporal/duration/string/as-duration-string.ts +22 -0
  2362. package/src/temporal/duration/string/duration-string.ts +6 -0
  2363. package/src/temporal/duration/string/is-duration-string.ts +20 -0
  2364. package/src/temporal/duration/string/validate-duration-string.ts +14 -0
  2365. package/src/temporal/error/invalid-date-interval-string-error-properties.ts +6 -0
  2366. package/src/temporal/error/invalid-date-string-error-properties.ts +6 -0
  2367. package/src/temporal/error/invalid-date-time-interval-string-error-properties.ts +6 -0
  2368. package/src/temporal/error/invalid-date-time-string-error-properties.ts +6 -0
  2369. package/src/temporal/error/invalid-duration-string-error-properties.ts +6 -0
  2370. package/src/temporal/error/invalid-time-interval-string-error-properties.ts +6 -0
  2371. package/src/temporal/error/invalid-time-string-error-properties.ts +6 -0
  2372. package/src/temporal/index.ts +39 -0
  2373. package/src/temporal/polyfill/index.spec.ts +21 -0
  2374. package/src/temporal/polyfill/index.ts +5 -0
  2375. package/src/temporal/polyfill/types/temporal.d.ts +75 -0
  2376. package/src/temporal/temporal.error.ts +44 -0
  2377. package/src/temporal/time/string/as-time-string.ts +22 -0
  2378. package/src/temporal/time/string/current-time-string.ts +11 -0
  2379. package/src/temporal/time/string/is-time-string.ts +20 -0
  2380. package/src/temporal/time/string/time-string.ts +6 -0
  2381. package/src/temporal/time/string/validate-time-string.ts +14 -0
  2382. package/src/temporal/time-interval/string/as-time-interval-string.ts +13 -0
  2383. package/src/temporal/time-interval/string/is-time-interval-string.ts +21 -0
  2384. package/src/temporal/time-interval/string/time-interval-string.ts +8 -0
  2385. package/src/temporal/time-interval/string/validate-time-interval-string.ts +14 -0
  2386. package/src/testing/environment/create-test-environment-variables.ts +13 -0
  2387. package/src/testing/environment/create-test-platform-environment.ts +25 -0
  2388. package/src/testing/environment/test-platform-environment-id.ts +6 -0
  2389. package/src/testing/index.ts +3 -0
  2390. package/src/tsconfig.base.json +37 -0
  2391. package/src/tsconfig.cjs.json +8 -0
  2392. package/src/tsconfig.esm.json +8 -0
  2393. package/src/tsconfig.spec.json +9 -0
  2394. package/src/tsconfig.types.json +13 -0
  2395. package/src/typescript/deep-partial.ts +17 -0
  2396. package/src/typescript/expand.spec.ts +16 -0
  2397. package/src/typescript/expand.ts +10 -0
  2398. package/src/typescript/function/unary-function.ts +9 -0
  2399. package/src/typescript/generic-function.ts +4 -0
  2400. package/src/typescript/index.ts +17 -0
  2401. package/src/typescript/is-branded-type.ts +12 -0
  2402. package/src/typescript/keys-of-value-type.ts +4 -0
  2403. package/src/typescript/omit-call-signature.ts +10 -0
  2404. package/src/typescript/omit-indexed-access.ts +8 -0
  2405. package/src/typescript/pick-call-signature.ts +8 -0
  2406. package/src/typescript/properties-to-union.ts +6 -0
  2407. package/src/typescript/readonly-record.spec.ts +17 -0
  2408. package/src/typescript/readonly-record.ts +10 -0
  2409. package/src/typescript/schema/type-creator.ts +6 -0
  2410. package/src/typescript/schema/type-schema-symbol.ts +9 -0
  2411. package/src/typescript/schema/type-schema-type-name.spec.ts +16 -0
  2412. package/src/typescript/schema/type-schema-type-name.ts +10 -0
  2413. package/src/typescript/schema/type-schema-type.spec.ts +19 -0
  2414. package/src/typescript/schema/type-schema-type.ts +10 -0
  2415. package/src/typescript/schema/type-schema.spec.ts +20 -0
  2416. package/src/typescript/schema/type-schema.ts +29 -0
  2417. package/src/typescript/union-to-intersection.ts +8 -0
  2418. package/src/url/error/invalid-url-string-error-properties.ts +6 -0
  2419. package/src/url/index.ts +4 -0
  2420. package/src/url/string/as-url-string.spec.ts +35 -0
  2421. package/src/url/string/as-url-string.ts +19 -0
  2422. package/src/url/string/is-url-string.spec.ts +30 -0
  2423. package/src/url/string/is-url-string.ts +20 -0
  2424. package/src/url/string/url-string.ts +6 -0
  2425. package/src/url/string/validate-url-string.spec.ts +21 -0
  2426. package/src/url/string/validate-url-string.ts +14 -0
  2427. package/src/url/url.error.ts +14 -0
  2428. package/src/uuid/as-uuid.spec.ts +25 -0
  2429. package/src/uuid/as-uuid.ts +13 -0
  2430. package/src/uuid/error/invalid-uuid-error-properties.ts +6 -0
  2431. package/src/uuid/generate-uuid.spec.ts +14 -0
  2432. package/src/uuid/generate-uuid.ts +12 -0
  2433. package/src/uuid/index.ts +7 -0
  2434. package/src/uuid/is-uuid.spec.ts +30 -0
  2435. package/src/uuid/is-uuid.ts +12 -0
  2436. package/src/uuid/uuid.error.ts +15 -0
  2437. package/src/uuid/uuid.ts +6 -0
  2438. package/src/uuid/validate-uuid.spec.ts +24 -0
  2439. package/src/uuid/validate-uuid.ts +14 -0
  2440. package/tsconfig.json +50 -0
@@ -0,0 +1,53 @@
1
+ import { entriesToObject, isDefined } from '@edumalin/platform/functional';
2
+ import { type ReadonlyRecord } from '@edumalin/platform/typescript';
3
+
4
+ import { httpError } from '../../http.error.js';
5
+
6
+ /**
7
+ * Parses a cookie header value
8
+ *
9
+ * @param cookieHeaderValue Cookie header value
10
+ * @returns Name and value
11
+ */
12
+ export function parseCookieHeaderValue(cookieHeaderValue: string): ReadonlyRecord<string, string> {
13
+ const entries = cookieHeaderValue.split(';').map(segmentToCookieNameValuePair).filter(isDefined);
14
+ return entriesToObject(entries);
15
+ }
16
+
17
+ /**
18
+ * Returns a cookie name-value pair, given a segment
19
+ *
20
+ * @param segment Segment
21
+ * @returns Cookie name-value pair
22
+ */
23
+ function segmentToCookieNameValuePair(segment: string): readonly [cookieName: string, cookieValue: string] | undefined {
24
+ const separator = segment.indexOf('=');
25
+ if (separator === -1) {
26
+ return undefined;
27
+ }
28
+
29
+ const namePart = segment.substring(0, separator);
30
+ const name = decodeString(namePart).trim();
31
+ if (!name) {
32
+ return undefined;
33
+ }
34
+
35
+ const valuePart = segment.substring(separator + 1);
36
+ const value = decodeString(valuePart).trim();
37
+
38
+ return [name, value];
39
+ }
40
+
41
+ /**
42
+ * Returns a decoded string, or the original string if decoding failed
43
+ *
44
+ * @param value Value
45
+ * @returns Decoded value
46
+ */
47
+ function decodeString(value: string): string {
48
+ try {
49
+ return decodeURIComponent(value);
50
+ } catch {
51
+ throw httpError.invalidCookieHeaderValue({ value });
52
+ }
53
+ }
@@ -0,0 +1,6 @@
1
+ import { type HttpHeaderName } from './name/http-header-name.js';
2
+
3
+ /**
4
+ * HTTP header
5
+ */
6
+ export type HttpHeader = readonly [headerName: HttpHeaderName | (string & {}), headerValue: string];
@@ -0,0 +1,13 @@
1
+ import { type HttpHeaderName } from './http-header-name.js';
2
+ import { validateHttpHeaderName } from './validate-http-header-name.js';
3
+
4
+ /**
5
+ * Safely casts a string to an HTTP header name
6
+ *
7
+ * @param string String
8
+ * @returns HTTP header name
9
+ */
10
+ export function asHttpHeaderName(string: string): HttpHeaderName {
11
+ validateHttpHeaderName(string);
12
+ return string;
13
+ }
@@ -0,0 +1,6 @@
1
+ import { type httpHeaderNames } from './http-header-names.js';
2
+
3
+ /**
4
+ * HTTP header name
5
+ */
6
+ export type HttpHeaderName = (typeof httpHeaderNames)[number];
@@ -0,0 +1,118 @@
1
+ /**
2
+ * HTTP header names
3
+ */
4
+ export const httpHeaderNames = [
5
+ 'accept',
6
+ 'accept-ch',
7
+ 'accept-charset',
8
+ 'accept-encoding',
9
+ 'accept-language',
10
+ 'accept-patch',
11
+ 'accept-post',
12
+ 'accept-ranges',
13
+ 'access-control-allow-credentials',
14
+ 'access-control-allow-headers',
15
+ 'access-control-allow-methods',
16
+ 'access-control-allow-origin',
17
+ 'access-control-expose-headers',
18
+ 'access-control-max-age',
19
+ 'access-control-request-headers',
20
+ 'access-control-request-method',
21
+ 'age',
22
+ 'allow',
23
+ 'alt-svc',
24
+ 'alt-used',
25
+ 'authorization',
26
+ 'cache-control',
27
+ 'clear-site-data',
28
+ 'connection',
29
+ 'content-disposition',
30
+ 'content-encoding',
31
+ 'content-language',
32
+ 'content-length',
33
+ 'content-location',
34
+ 'content-security-policy',
35
+ 'content-security-policy-report-only',
36
+ 'content-type',
37
+ 'cookie',
38
+ 'critical-ch',
39
+ 'cross-origin-embedder-policy',
40
+ 'cross-origin-opener-policy',
41
+ 'cross-origin-resource-policy',
42
+ 'date',
43
+ 'device-memory',
44
+ 'downlink',
45
+ 'early-data',
46
+ 'ect',
47
+ 'etag',
48
+ 'expect',
49
+ 'expect-ct',
50
+ 'expires',
51
+ 'forwarded',
52
+ 'from',
53
+ 'host',
54
+ 'if-match',
55
+ 'if-modified-since',
56
+ 'if-none-match',
57
+ 'if-range',
58
+ 'if-unmodified-since',
59
+ 'keep-alive',
60
+ 'last-modified',
61
+ 'link',
62
+ 'location',
63
+ 'max-forwards',
64
+ 'nel',
65
+ 'origin',
66
+ 'origin-agent-cluster',
67
+ 'permissions-policy',
68
+ 'pragma',
69
+ 'proxy-authenticate',
70
+ 'proxy-authorization',
71
+ 'range',
72
+ 'referer',
73
+ 'referrer-policy',
74
+ 'retry-after',
75
+ 'rtt',
76
+ 'save-data',
77
+ 'sec-ch-prefers-color-scheme',
78
+ 'sec-ch-prefers-reduced-motion',
79
+ 'sec-ch-prefers-reduced-transparency',
80
+ 'sec-ch-ua',
81
+ 'sec-ch-ua-arch',
82
+ 'sec-ch-ua-bitness',
83
+ 'sec-ch-ua-full-version-list',
84
+ 'sec-ch-ua-mobile',
85
+ 'sec-ch-ua-model',
86
+ 'sec-ch-ua-platform',
87
+ 'sec-ch-ua-platform-version',
88
+ 'sec-fetch-dest',
89
+ 'sec-fetch-mode',
90
+ 'sec-fetch-site',
91
+ 'sec-fetch-user',
92
+ 'sec-gpc',
93
+ 'sec-purpose',
94
+ 'sec-websocket-accept',
95
+ 'server',
96
+ 'server-timing',
97
+ 'service-worker-navigation-preload',
98
+ 'set-cookie',
99
+ 'sourcemap',
100
+ 'strict-transport-security',
101
+ 'supports-loading-mode',
102
+ 'te',
103
+ 'timing-allow-origin',
104
+ 'trailer',
105
+ 'upgrade',
106
+ 'upgrade-insecure-requests',
107
+ 'user-agent',
108
+ 'vary',
109
+ 'via',
110
+ 'www-authenticate',
111
+ 'x-content-type-options',
112
+ 'x-dns-prefetch-control',
113
+ 'x-forwarded-for',
114
+ 'x-forwarded-host',
115
+ 'x-forwarded-proto',
116
+ 'x-frame-options',
117
+ 'x-xss-protection',
118
+ ] as const;
@@ -0,0 +1,11 @@
1
+ import { type HttpHeaderName } from './http-header-name.js';
2
+
3
+ /**
4
+ * Tests whether an HTTP header name is a recognized HTTP header name
5
+ *
6
+ * @param httpHeaderName HTTP header name
7
+ * @returns true if the HTTP header name is valid
8
+ */
9
+ export function isHttpHeaderName(httpHeaderName: string): httpHeaderName is HttpHeaderName {
10
+ return httpHeaderName.length > 0;
11
+ }
@@ -0,0 +1,14 @@
1
+ import { httpError } from '../../http.error.js';
2
+ import { type HttpHeaderName } from './http-header-name.js';
3
+ import { isHttpHeaderName } from './is-http-header-name.js';
4
+
5
+ /**
6
+ * Validates an HTTP header name is a recognized HTTP header name
7
+ *
8
+ * @param httpHeaderName HTTP header name
9
+ */
10
+ export function validateHttpHeaderName(httpHeaderName: string): asserts httpHeaderName is HttpHeaderName {
11
+ if (!isHttpHeaderName(httpHeaderName)) {
12
+ throw httpError.invalidHttpHeaderName({ value: httpHeaderName });
13
+ }
14
+ }
@@ -0,0 +1,34 @@
1
+ import { platformDomain } from '@edumalin/platform';
2
+ import { createErrorType, errorProperties } from '@edumalin/platform/error';
3
+
4
+ import { type InvalidCookieHeaderValueErrorProperties } from './error/invalid-cookie-header-value-error-properties.js';
5
+ import { type InvalidCookieSameSiteOptionErrorProperties } from './error/invalid-cookie-same-site-option-error-properties.js';
6
+ import { type InvalidHttpHeaderNameErrorProperties } from './error/invalid-http-header-name-error-properties.js';
7
+ import { type InvalidHttpMethodErrorProperties } from './error/invalid-http-method-error-properties.js';
8
+ import { type InvalidHttpStatusErrorProperties } from './error/invalid-http-status-error-properties.js';
9
+
10
+ /**
11
+ * HTTP error
12
+ */
13
+ export const httpError = createErrorType(platformDomain, {
14
+ /**
15
+ * Invalid cookie header value
16
+ */
17
+ invalidCookieHeaderValue: errorProperties<InvalidCookieHeaderValueErrorProperties>(),
18
+ /**
19
+ * Invalid cookie same-site option
20
+ */
21
+ invalidCookieSameSiteOption: errorProperties<InvalidCookieSameSiteOptionErrorProperties>(),
22
+ /**
23
+ * Invalid HTTP header name
24
+ */
25
+ invalidHttpHeaderName: errorProperties<InvalidHttpHeaderNameErrorProperties>(),
26
+ /**
27
+ * Invalid HTTP method
28
+ */
29
+ invalidHttpMethod: errorProperties<InvalidHttpMethodErrorProperties>(),
30
+ /**
31
+ * Invalid HTTP status
32
+ */
33
+ invalidHttpStatus: errorProperties<InvalidHttpStatusErrorProperties>(),
34
+ });
@@ -0,0 +1,31 @@
1
+ export { asHttpHeaderName } from './header/name/as-http-header-name.js';
2
+ export { asHttpMethod } from './method/as-http-method.js';
3
+ export { byHttpHeaderName } from './header/by-http-header-name.js';
4
+ export { createSetCookieHttpHeader } from './header/cookie/create-set-cookie-http-header.js';
5
+ export { type HttpCookie } from './cookie/http-cookie.js';
6
+ export { type HttpCookieSameSiteOption } from './cookie/same-site-option/http-cookie-same-site-option.js';
7
+ export { httpCookieSameSiteOptions } from './cookie/same-site-option/http-cookie-same-site-options.js';
8
+ export { httpError } from './http.error.js';
9
+ export { type HttpHeader } from './header/http-header.js';
10
+ export { type HttpHeaderName } from './header/name/http-header-name.js';
11
+ export { type httpHeaderNames } from './header/name/http-header-names.js';
12
+ export { type HttpMethod } from './method/http-method.js';
13
+ export { httpMethods } from './method/http-methods.js';
14
+ export { type HttpStatus } from './status/http-status.js';
15
+ export { httpStatuses } from './status/http-statuses.js';
16
+ export { type InvalidCookieHeaderValueErrorProperties } from './error/invalid-cookie-header-value-error-properties.js';
17
+ export { type InvalidCookieSameSiteOptionErrorProperties } from './error/invalid-cookie-same-site-option-error-properties.js';
18
+ export { type InvalidHttpHeaderNameErrorProperties } from './error/invalid-http-header-name-error-properties.js';
19
+ export { type InvalidHttpMethodErrorProperties } from './error/invalid-http-method-error-properties.js';
20
+ export { type InvalidHttpStatusErrorProperties } from './error/invalid-http-status-error-properties.js';
21
+ export { isHttpCookieSameSiteOption } from './cookie/same-site-option/is-http-cookie-same-site-option.js';
22
+ export { isHttpHeaderName } from './header/name/is-http-header-name.js';
23
+ export { isHttpMethod } from './method/is-http-method.js';
24
+ export { isHttpStatus } from './status/is-http-status.js';
25
+ export { isSessionHttpCookie } from './cookie/is-session-http-cookie.js';
26
+ export { parseAuthorizationHeaderValue } from './header/authorization/parse-authorization-header-value.js';
27
+ export { parseCookieHeaderValue } from './header/cookie/parse-cookie-header-value.js';
28
+ export { validateHttpCookieSameSiteOption } from './cookie/same-site-option/validate-http-cookie-same-site-option.js';
29
+ export { validateHttpHeaderName } from './header/name/validate-http-header-name.js';
30
+ export { validateHttpMethod } from './method/validate-http-method.js';
31
+ export { validateHttpStatus } from './status/validate-http-status.js';
@@ -0,0 +1,13 @@
1
+ import { type HttpMethod } from './http-method.js';
2
+ import { validateHttpMethod } from './validate-http-method.js';
3
+
4
+ /**
5
+ * Safely casts a string to an HTTP method
6
+ *
7
+ * @param string String
8
+ * @returns HTTP method
9
+ */
10
+ export function asHttpMethod(string: string): HttpMethod {
11
+ validateHttpMethod(string);
12
+ return string;
13
+ }
@@ -0,0 +1,6 @@
1
+ import { type httpMethods } from './http-methods.js';
2
+
3
+ /**
4
+ * HTTP method
5
+ */
6
+ export type HttpMethod = (typeof httpMethods)[number];
@@ -0,0 +1,4 @@
1
+ /**
2
+ * HTTP methods
3
+ */
4
+ export const httpMethods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'] as const;
@@ -0,0 +1,14 @@
1
+ import { httpMethods } from './http-methods.js';
2
+ import { type HttpMethod } from './http-method.js';
3
+
4
+ /**
5
+ * Tests whether a string is a known HTTP method
6
+ *
7
+ * @param httpMethod HTTP method string
8
+ * @returns true if the string is a known HTTP method
9
+ */
10
+ export function isHttpMethod(httpMethod: string): httpMethod is HttpMethod {
11
+ return set.has(httpMethod);
12
+ }
13
+
14
+ const set: ReadonlySet<string> = new Set(httpMethods);
@@ -0,0 +1,14 @@
1
+ import { httpError } from '../http.error.js';
2
+ import { type HttpMethod } from './http-method.js';
3
+ import { isHttpMethod } from './is-http-method.js';
4
+
5
+ /**
6
+ * Validates that a string is a known HTTP method
7
+ *
8
+ * @param httpMethod HTTP method string
9
+ */
10
+ export function validateHttpMethod(httpMethod: string): asserts httpMethod is HttpMethod {
11
+ if (!isHttpMethod(httpMethod)) {
12
+ throw httpError.invalidHttpMethod({ value: httpMethod });
13
+ }
14
+ }
@@ -0,0 +1,6 @@
1
+ import { type httpStatuses } from './http-statuses.js';
2
+
3
+ /**
4
+ * HTTP status
5
+ */
6
+ export type HttpStatus = (typeof httpStatuses)[keyof typeof httpStatuses] | (number & {});
@@ -0,0 +1,68 @@
1
+ import { type ReadonlyRecord } from '@edumalin/platform/typescript';
2
+
3
+ /**
4
+ * HTTP statuses
5
+ */
6
+ export const httpStatuses = {
7
+ Continue: 100,
8
+ SwitchingProtocols: 101,
9
+ Processing: 102,
10
+ EarlyHints: 103,
11
+ Ok: 200,
12
+ Created: 201,
13
+ Accepted: 202,
14
+ NonAuthoritativeInformation: 203,
15
+ NoContent: 204,
16
+ ResetContent: 205,
17
+ PartialContent: 206,
18
+ MultiStatus: 207,
19
+ AlreadyReported: 208,
20
+ ImUsed: 226,
21
+ MultipleChoices: 300,
22
+ MovedPermanently: 301,
23
+ Found: 302,
24
+ SeeOther: 303,
25
+ NotModified: 304,
26
+ TemporaryRedirect: 307,
27
+ PermanentRedirect: 308,
28
+ BadRequest: 400,
29
+ Unauthorized: 401,
30
+ PaymentRequired: 402,
31
+ Forbidden: 403,
32
+ NotFound: 404,
33
+ MethodNotAllowed: 405,
34
+ NotAcceptable: 406,
35
+ ProxyAuthenticationRequired: 407,
36
+ RequestTimeout: 408,
37
+ Conflict: 409,
38
+ Gone: 410,
39
+ LengthRequired: 411,
40
+ PreconditionFailed: 412,
41
+ ContentTooLarge: 413,
42
+ UriTooLong: 414,
43
+ UnsupportedMediaType: 415,
44
+ RangeNotSatisfiable: 416,
45
+ ExpectationFAiled: 417,
46
+ ImATeapot: 418,
47
+ MisdirectedRequest: 421,
48
+ UnprocessableContent: 422,
49
+ Locked: 423,
50
+ FailedDependency: 424,
51
+ TooEarly: 425,
52
+ UpgradeRequired: 426,
53
+ PreconditionRequired: 428,
54
+ TooManyRequests: 429,
55
+ RequestHeaderFieldsTooLarge: 431,
56
+ UnavailableForLegalReasons: 451,
57
+ InternalServerError: 500,
58
+ NotImplemented: 501,
59
+ BadGateway: 502,
60
+ ServiceUnavailable: 503,
61
+ GatewayTimeout: 504,
62
+ HttpVersionNotSupported: 505,
63
+ VariantAlsoNegotiates: 506,
64
+ InsufficientStorage: 507,
65
+ LoopDetected: 508,
66
+ NotExtended: 510,
67
+ NetworkAuthenticationRequired: 511,
68
+ } as const satisfies ReadonlyRecord<string, number>;
@@ -0,0 +1,20 @@
1
+ import { objectToEntries } from '@edumalin/platform/functional';
2
+ import { describe, expect, it } from 'vitest';
3
+
4
+ import { httpStatuses } from './http-statuses.js';
5
+ import { isHttpStatus } from './is-http-status.js';
6
+
7
+ describe('Is HTTP status', () => {
8
+ it.each(objectToEntries(httpStatuses).map(([name, value]) => [value, name] as const))(
9
+ 'returns true given HTTP status %d (%s)',
10
+ value => {
11
+ // given: an HTTP status value
12
+
13
+ // when: testing whether the number is an HTTP status code
14
+ const result = isHttpStatus(value);
15
+
16
+ // then: true is returned
17
+ expect(result).toBe(true);
18
+ }
19
+ );
20
+ });
@@ -0,0 +1,16 @@
1
+ import { objectToValues } from '@edumalin/platform/functional';
2
+
3
+ import { type HttpStatus } from './http-status.js';
4
+ import { httpStatuses } from './http-statuses.js';
5
+
6
+ /**
7
+ * Tests whether a number is a known HTTP status
8
+ *
9
+ * @param httpStatus HTTP status number
10
+ * @returns true if the string is a known HTTP status
11
+ */
12
+ export function isHttpStatus(httpStatus: number): httpStatus is HttpStatus {
13
+ return set.has(httpStatus);
14
+ }
15
+
16
+ const set: ReadonlySet<number> = new Set(objectToValues(httpStatuses));
@@ -0,0 +1,21 @@
1
+ import { describe, expect, it } from 'vitest';
2
+
3
+ import { validateHttpStatus } from './validate-http-status';
4
+
5
+ describe('Validate HTTP status', () => {
6
+ it('does not throw for a valid status code', () => {
7
+ // given: a valid status code
8
+ const statusCode = 200;
9
+
10
+ // expect: validating the status code not to throw
11
+ expect(() => validateHttpStatus(statusCode)).not.toThrow();
12
+ });
13
+
14
+ it('throws for an invalid status code', () => {
15
+ // given: an invalid status code
16
+ const statusCode = 999;
17
+
18
+ // expect: validating the status code to throw
19
+ expect(() => validateHttpStatus(statusCode)).toThrow(`invalid HTTP status ${statusCode}"`);
20
+ });
21
+ });
@@ -0,0 +1,14 @@
1
+ import { httpError } from '../http.error.js';
2
+ import { type HttpStatus } from './http-status.js';
3
+ import { isHttpStatus } from './is-http-status.js';
4
+
5
+ /**
6
+ * Validates that a string is a known HTTP status
7
+ *
8
+ * @param httpStatus HTTP status string
9
+ */
10
+ export function validateHttpStatus(httpStatus: number): asserts httpStatus is HttpStatus {
11
+ if (!isHttpStatus(httpStatus)) {
12
+ throw httpError.invalidHttpStatus({ value: httpStatus });
13
+ }
14
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Invalid i18n string error properties
3
+ */
4
+ export interface InvalidI18nStringErrorProperties {
5
+ readonly value: unknown;
6
+ }
@@ -0,0 +1,14 @@
1
+ import { platformDomain } from '@edumalin/platform';
2
+ import { createErrorType, errorProperties } from '@edumalin/platform/error';
3
+
4
+ import { type InvalidI18nStringErrorProperties } from './error/invalid-i18n-string-error-properties.js';
5
+
6
+ /**
7
+ * i18n error
8
+ */
9
+ export const i18nError = createErrorType(platformDomain, {
10
+ /**
11
+ * Invalid i18n string
12
+ */
13
+ invalidI18nString: errorProperties<InvalidI18nStringErrorProperties>(),
14
+ });
@@ -0,0 +1,12 @@
1
+ export { asI18nString } from './string/as-i18n-string.js';
2
+ export { compareI18nString } from './string/compare-i18n-strings.js';
3
+ export { type CompareI18nStringsOptions } from './string/compare-i18n-strings-options.js';
4
+ export { i18nError } from './i18n.error.js';
5
+ export { type I18nString } from './string/i18n-string.js';
6
+ export { i18nStringIncludes } from './string/i18n-string-includes.js';
7
+ export { type I18nStringIncludesOptions } from './string/i18n-string-includes-options.js';
8
+ export { type InvalidI18nStringErrorProperties } from './error/invalid-i18n-string-error-properties.js';
9
+ export { isI18nString } from './string/is-i18n-string.js';
10
+ export { isSameI18nString } from './string/is-same-i18n-string.js';
11
+ export { mergeI18nStrings } from './string/merge-i18n-strings.js';
12
+ export { validateI18nString } from './string/validate-i18n-string.js';
@@ -0,0 +1,13 @@
1
+ import { type I18nString } from './i18n-string.js';
2
+ import { validateI18nString } from './validate-i18n-string.js';
3
+
4
+ /**
5
+ * Safely casts a value to an i18n string
6
+ *
7
+ * @param value Value
8
+ * @returns i18n string
9
+ */
10
+ export function asI18nString(value: unknown): I18nString {
11
+ validateI18nString(value);
12
+ return value;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { type LocaleCode } from '@edumalin/platform/locale';
2
+
3
+ /**
4
+ * Compare i18n string options
5
+ */
6
+ export interface CompareI18nStringsOptions {
7
+ /**
8
+ * Locale code
9
+ */
10
+ readonly localeCode: LocaleCode;
11
+ /**
12
+ * Usage
13
+ */
14
+ readonly usage?: 'search' | 'sort';
15
+ }
@@ -0,0 +1,19 @@
1
+ import { type CompareI18nStringsOptions } from './compare-i18n-strings-options';
2
+ import { type I18nString } from './i18n-string';
3
+
4
+ /**
5
+ * Creates a function that compares i18n strings using a given locale code
6
+ *
7
+ * @param options I18n string comparison options
8
+ * @returns Function that compares i18n strings using a given locale code
9
+ */
10
+ export function compareI18nString(options: CompareI18nStringsOptions): (lhs: I18nString, rhs: I18nString) => number {
11
+ const { localeCode, usage } = options;
12
+
13
+ return (lhs, rhs) => {
14
+ const lhsString = lhs[localeCode] ?? '';
15
+ const rhsString = rhs[localeCode] ?? '';
16
+
17
+ return lhsString.localeCompare(rhsString, localeCode, usage ? { usage } : undefined);
18
+ };
19
+ }
@@ -0,0 +1,15 @@
1
+ import { type LocaleCode } from '@edumalin/platform/locale';
2
+
3
+ /**
4
+ * i18n string includes options
5
+ */
6
+ export interface I18nStringIncludesOptions {
7
+ /**
8
+ * Ignore case when comparing
9
+ */
10
+ readonly ignoreCase?: boolean;
11
+ /**
12
+ * Locale code
13
+ */
14
+ readonly localeCode?: LocaleCode;
15
+ }
@@ -0,0 +1,44 @@
1
+ import { isDefined, objectToValues } from '@edumalin/platform/functional';
2
+
3
+ import { type I18nString } from './i18n-string';
4
+ import { type I18nStringIncludesOptions } from './i18n-string-includes-options';
5
+
6
+ /**
7
+ * Creates a function that tests whether an i18n string includes a substring
8
+ *
9
+ * @param substring Substring
10
+ * @param localeCode Locale code
11
+ * @returns Function that tests whether an i18n string includes a substring
12
+ */
13
+ export function i18nStringIncludes(
14
+ substring: string,
15
+ options?: I18nStringIncludesOptions
16
+ ): (i18nString: I18nString) => boolean {
17
+ const localeCode = options?.localeCode;
18
+ const ignoreCase = options?.ignoreCase ?? false;
19
+ const stringMatches = i18nStringValueIncluding(substring, ignoreCase);
20
+
21
+ return i18nString => {
22
+ if (localeCode) {
23
+ const string = i18nString[localeCode];
24
+ return string !== undefined ? stringMatches(string) : false;
25
+ }
26
+
27
+ return objectToValues(i18nString).filter(isDefined).some(stringMatches);
28
+ };
29
+ }
30
+
31
+ /**
32
+ * Creates a function that tests whether an i18n string value includes a substring
33
+ *
34
+ * @param substring Substring
35
+ * @param ignoreCase Whether to ignore case
36
+ * @returns Function that tests whether an i18n string value includes a substring
37
+ */
38
+ function i18nStringValueIncluding(substring: string, ignoreCase: boolean): (targeString: string) => boolean {
39
+ const expectedSubstring = ignoreCase ? substring.toLocaleLowerCase() : substring;
40
+ return targetString => {
41
+ const string = ignoreCase ? targetString.toLocaleLowerCase() : targetString;
42
+ return string.includes(expectedSubstring);
43
+ };
44
+ }
@@ -0,0 +1,7 @@
1
+ import { type LocaleCode } from '@edumalin/platform/locale';
2
+ import { type ReadonlyRecord } from '@edumalin/platform/typescript';
3
+
4
+ /**
5
+ * i18n string
6
+ */
7
+ export type I18nString = Partial<ReadonlyRecord<LocaleCode, string>>;