pi-proactive 0.2.0-beta.3 → 0.2.0-beta.4

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 (1412) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +46 -29
  3. package/build/cli.mjs +70 -6
  4. package/build/extensions/proactive.js +185 -1
  5. package/build/src/assistant.js +572 -0
  6. package/build/src/commands.js +13 -0
  7. package/build/src/config.js +20 -0
  8. package/build/src/content.js +2 -0
  9. package/build/src/daemon-host.js +2 -0
  10. package/build/src/daemon.js +2 -0
  11. package/build/src/dedupe.js +2 -0
  12. package/build/src/health.js +2 -0
  13. package/build/src/lineage.js +2 -0
  14. package/build/src/mailbox.js +2 -0
  15. package/build/src/notify.js +2 -0
  16. package/build/src/peer-spawn.js +2 -0
  17. package/build/src/peer.js +2 -0
  18. package/build/src/registry.js +2 -0
  19. package/build/src/socket.js +2 -0
  20. package/build/src/supervisor-state.js +355 -0
  21. package/build/src/supervisor-tui.js +85 -0
  22. package/build/src/supervisor-web.js +262 -0
  23. package/build/src/task-store.js +2 -0
  24. package/build/src/thread.js +2 -0
  25. package/package.json +3 -8
  26. package/skills/pi-proactive/SKILL.md +29 -27
  27. package/tools/cli.mjs +70 -6
  28. package/node_modules/typebox/build/compile/code.d.mts +0 -12
  29. package/node_modules/typebox/build/compile/code.mjs +0 -65
  30. package/node_modules/typebox/build/compile/compile.d.mts +0 -6
  31. package/node_modules/typebox/build/compile/compile.mjs +0 -12
  32. package/node_modules/typebox/build/compile/index.d.mts +0 -8
  33. package/node_modules/typebox/build/compile/index.mjs +0 -14
  34. package/node_modules/typebox/build/compile/validator.d.mts +0 -35
  35. package/node_modules/typebox/build/compile/validator.mjs +0 -91
  36. package/node_modules/typebox/build/error/errors.d.mts +0 -208
  37. package/node_modules/typebox/build/error/errors.mjs +0 -18
  38. package/node_modules/typebox/build/error/index.d.mts +0 -1
  39. package/node_modules/typebox/build/error/index.mjs +0 -1
  40. package/node_modules/typebox/build/format/_registry.d.mts +0 -15
  41. package/node_modules/typebox/build/format/_registry.mjs +0 -96
  42. package/node_modules/typebox/build/format/date.d.mts +0 -6
  43. package/node_modules/typebox/build/format/date.mjs +0 -19
  44. package/node_modules/typebox/build/format/date_time.d.mts +0 -6
  45. package/node_modules/typebox/build/format/date_time.mjs +0 -11
  46. package/node_modules/typebox/build/format/duration.d.mts +0 -5
  47. package/node_modules/typebox/build/format/duration.mjs +0 -8
  48. package/node_modules/typebox/build/format/email.d.mts +0 -5
  49. package/node_modules/typebox/build/format/email.mjs +0 -8
  50. package/node_modules/typebox/build/format/format.d.mts +0 -22
  51. package/node_modules/typebox/build/format/format.mjs +0 -22
  52. package/node_modules/typebox/build/format/hostname.d.mts +0 -7
  53. package/node_modules/typebox/build/format/hostname.mjs +0 -10
  54. package/node_modules/typebox/build/format/idn_email.d.mts +0 -5
  55. package/node_modules/typebox/build/format/idn_email.mjs +0 -8
  56. package/node_modules/typebox/build/format/idn_hostname.d.mts +0 -8
  57. package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
  58. package/node_modules/typebox/build/format/idna/format/bidi.d.mts +0 -3
  59. package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
  60. package/node_modules/typebox/build/format/idna/format/puny.d.mts +0 -3
  61. package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
  62. package/node_modules/typebox/build/format/idna/hostname.d.mts +0 -1
  63. package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
  64. package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +0 -1
  65. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
  66. package/node_modules/typebox/build/format/idna/index.d.mts +0 -2
  67. package/node_modules/typebox/build/format/idna/index.mjs +0 -2
  68. package/node_modules/typebox/build/format/idna/label/ascii.d.mts +0 -1
  69. package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
  70. package/node_modules/typebox/build/format/idna/label/puny.d.mts +0 -1
  71. package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
  72. package/node_modules/typebox/build/format/idna/label/unicode.d.mts +0 -1
  73. package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
  74. package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +0 -30
  75. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
  76. package/node_modules/typebox/build/format/index.d.mts +0 -4
  77. package/node_modules/typebox/build/format/index.mjs +0 -4
  78. package/node_modules/typebox/build/format/ipv4.d.mts +0 -5
  79. package/node_modules/typebox/build/format/ipv4.mjs +0 -8
  80. package/node_modules/typebox/build/format/ipv6.d.mts +0 -5
  81. package/node_modules/typebox/build/format/ipv6.mjs +0 -8
  82. package/node_modules/typebox/build/format/iri.d.mts +0 -5
  83. package/node_modules/typebox/build/format/iri.mjs +0 -35
  84. package/node_modules/typebox/build/format/iri_reference.d.mts +0 -5
  85. package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
  86. package/node_modules/typebox/build/format/json_pointer.d.mts +0 -6
  87. package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
  88. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +0 -6
  89. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
  90. package/node_modules/typebox/build/format/regex.d.mts +0 -5
  91. package/node_modules/typebox/build/format/regex.mjs +0 -13
  92. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +0 -6
  93. package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
  94. package/node_modules/typebox/build/format/time.d.mts +0 -5
  95. package/node_modules/typebox/build/format/time.mjs +0 -32
  96. package/node_modules/typebox/build/format/uri.d.mts +0 -5
  97. package/node_modules/typebox/build/format/uri.mjs +0 -8
  98. package/node_modules/typebox/build/format/uri_reference.d.mts +0 -5
  99. package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
  100. package/node_modules/typebox/build/format/uri_template.d.mts +0 -5
  101. package/node_modules/typebox/build/format/uri_template.mjs +0 -9
  102. package/node_modules/typebox/build/format/url.d.mts +0 -6
  103. package/node_modules/typebox/build/format/url.mjs +0 -8
  104. package/node_modules/typebox/build/format/uuid.d.mts +0 -6
  105. package/node_modules/typebox/build/format/uuid.mjs +0 -9
  106. package/node_modules/typebox/build/guard/emit.d.mts +0 -56
  107. package/node_modules/typebox/build/guard/emit.mjs +0 -191
  108. package/node_modules/typebox/build/guard/globals.d.mts +0 -35
  109. package/node_modules/typebox/build/guard/globals.mjs +0 -90
  110. package/node_modules/typebox/build/guard/guard.d.mts +0 -71
  111. package/node_modules/typebox/build/guard/guard.mjs +0 -221
  112. package/node_modules/typebox/build/guard/index.d.mts +0 -6
  113. package/node_modules/typebox/build/guard/index.mjs +0 -6
  114. package/node_modules/typebox/build/guard/native.d.mts +0 -20
  115. package/node_modules/typebox/build/guard/native.mjs +0 -60
  116. package/node_modules/typebox/build/guard/string.d.mts +0 -6
  117. package/node_modules/typebox/build/guard/string.mjs +0 -168
  118. package/node_modules/typebox/build/index.d.mts +0 -8
  119. package/node_modules/typebox/build/index.mjs +0 -14
  120. package/node_modules/typebox/build/schema/build.d.mts +0 -39
  121. package/node_modules/typebox/build/schema/build.mjs +0 -118
  122. package/node_modules/typebox/build/schema/check.d.mts +0 -6
  123. package/node_modules/typebox/build/schema/check.mjs +0 -14
  124. package/node_modules/typebox/build/schema/compile.d.mts +0 -23
  125. package/node_modules/typebox/build/schema/compile.mjs +0 -46
  126. package/node_modules/typebox/build/schema/engine/_context.d.mts +0 -30
  127. package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
  128. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +0 -3
  129. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
  130. package/node_modules/typebox/build/schema/engine/_externals.d.mts +0 -7
  131. package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
  132. package/node_modules/typebox/build/schema/engine/_functions.d.mts +0 -6
  133. package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
  134. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +0 -4
  135. package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
  136. package/node_modules/typebox/build/schema/engine/_refine.d.mts +0 -6
  137. package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
  138. package/node_modules/typebox/build/schema/engine/_regexp.d.mts +0 -2
  139. package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
  140. package/node_modules/typebox/build/schema/engine/_stack.d.mts +0 -22
  141. package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
  142. package/node_modules/typebox/build/schema/engine/_unique.d.mts +0 -2
  143. package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
  144. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +0 -6
  145. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
  146. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -9
  147. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
  148. package/node_modules/typebox/build/schema/engine/allOf.d.mts +0 -6
  149. package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
  150. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +0 -6
  151. package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
  152. package/node_modules/typebox/build/schema/engine/boolean.d.mts +0 -5
  153. package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
  154. package/node_modules/typebox/build/schema/engine/const.d.mts +0 -6
  155. package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
  156. package/node_modules/typebox/build/schema/engine/contains.d.mts +0 -6
  157. package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
  158. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +0 -6
  159. package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
  160. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +0 -6
  161. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
  162. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +0 -6
  163. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
  164. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +0 -6
  165. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
  166. package/node_modules/typebox/build/schema/engine/enum.d.mts +0 -6
  167. package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
  168. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +0 -6
  169. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
  170. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +0 -6
  171. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
  172. package/node_modules/typebox/build/schema/engine/format.d.mts +0 -6
  173. package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
  174. package/node_modules/typebox/build/schema/engine/if.d.mts +0 -6
  175. package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
  176. package/node_modules/typebox/build/schema/engine/index.d.mts +0 -48
  177. package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
  178. package/node_modules/typebox/build/schema/engine/items.d.mts +0 -6
  179. package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
  180. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +0 -6
  181. package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
  182. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +0 -6
  183. package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
  184. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +0 -6
  185. package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
  186. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +0 -6
  187. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
  188. package/node_modules/typebox/build/schema/engine/maximum.d.mts +0 -6
  189. package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
  190. package/node_modules/typebox/build/schema/engine/minContains.d.mts +0 -6
  191. package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
  192. package/node_modules/typebox/build/schema/engine/minItems.d.mts +0 -6
  193. package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
  194. package/node_modules/typebox/build/schema/engine/minLength.d.mts +0 -6
  195. package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
  196. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +0 -6
  197. package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
  198. package/node_modules/typebox/build/schema/engine/minimum.d.mts +0 -6
  199. package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
  200. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +0 -6
  201. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
  202. package/node_modules/typebox/build/schema/engine/not.d.mts +0 -6
  203. package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
  204. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +0 -6
  205. package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
  206. package/node_modules/typebox/build/schema/engine/pattern.d.mts +0 -6
  207. package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
  208. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +0 -6
  209. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
  210. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +0 -6
  211. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
  212. package/node_modules/typebox/build/schema/engine/properties.d.mts +0 -6
  213. package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
  214. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +0 -6
  215. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
  216. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +0 -6
  217. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
  218. package/node_modules/typebox/build/schema/engine/ref.d.mts +0 -6
  219. package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
  220. package/node_modules/typebox/build/schema/engine/required.d.mts +0 -6
  221. package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
  222. package/node_modules/typebox/build/schema/engine/schema.d.mts +0 -9
  223. package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
  224. package/node_modules/typebox/build/schema/engine/type.d.mts +0 -6
  225. package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
  226. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +0 -6
  227. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
  228. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +0 -6
  229. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
  230. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +0 -6
  231. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
  232. package/node_modules/typebox/build/schema/errors.d.mts +0 -6
  233. package/node_modules/typebox/build/schema/errors.mjs +0 -18
  234. package/node_modules/typebox/build/schema/index.d.mts +0 -3
  235. package/node_modules/typebox/build/schema/index.mjs +0 -9
  236. package/node_modules/typebox/build/schema/intern/index.d.mts +0 -1
  237. package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
  238. package/node_modules/typebox/build/schema/intern/intern.d.mts +0 -14
  239. package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
  240. package/node_modules/typebox/build/schema/parse.d.mts +0 -14
  241. package/node_modules/typebox/build/schema/parse.mjs +0 -32
  242. package/node_modules/typebox/build/schema/pointer/index.d.mts +0 -2
  243. package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
  244. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +0 -10
  245. package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
  246. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +0 -9
  247. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
  248. package/node_modules/typebox/build/schema/resolve/index.d.mts +0 -1
  249. package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
  250. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +0 -35
  251. package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
  252. package/node_modules/typebox/build/schema/schema.d.mts +0 -11
  253. package/node_modules/typebox/build/schema/schema.mjs +0 -11
  254. package/node_modules/typebox/build/schema/static/_canonical.d.mts +0 -7
  255. package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
  256. package/node_modules/typebox/build/schema/static/_comparer.d.mts +0 -6
  257. package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
  258. package/node_modules/typebox/build/schema/static/_elements.d.mts +0 -18
  259. package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
  260. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +0 -7
  261. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
  262. package/node_modules/typebox/build/schema/static/allOf.d.mts +0 -3
  263. package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
  264. package/node_modules/typebox/build/schema/static/anyOf.d.mts +0 -3
  265. package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
  266. package/node_modules/typebox/build/schema/static/const.d.mts +0 -1
  267. package/node_modules/typebox/build/schema/static/const.mjs +0 -2
  268. package/node_modules/typebox/build/schema/static/enum.d.mts +0 -1
  269. package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
  270. package/node_modules/typebox/build/schema/static/if.d.mts +0 -15
  271. package/node_modules/typebox/build/schema/static/if.mjs +0 -2
  272. package/node_modules/typebox/build/schema/static/index.d.mts +0 -1
  273. package/node_modules/typebox/build/schema/static/index.mjs +0 -1
  274. package/node_modules/typebox/build/schema/static/items.d.mts +0 -7
  275. package/node_modules/typebox/build/schema/static/items.mjs +0 -2
  276. package/node_modules/typebox/build/schema/static/oneOf.d.mts +0 -3
  277. package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
  278. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +0 -7
  279. package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
  280. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +0 -3
  281. package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
  282. package/node_modules/typebox/build/schema/static/properties.d.mts +0 -32
  283. package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
  284. package/node_modules/typebox/build/schema/static/propertyNames.d.mts +0 -5
  285. package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
  286. package/node_modules/typebox/build/schema/static/ref.d.mts +0 -8
  287. package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
  288. package/node_modules/typebox/build/schema/static/required.d.mts +0 -3
  289. package/node_modules/typebox/build/schema/static/required.mjs +0 -3
  290. package/node_modules/typebox/build/schema/static/schema.d.mts +0 -59
  291. package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
  292. package/node_modules/typebox/build/schema/static/static.d.mts +0 -4
  293. package/node_modules/typebox/build/schema/static/static.mjs +0 -3
  294. package/node_modules/typebox/build/schema/static/type.d.mts +0 -4
  295. package/node_modules/typebox/build/schema/static/type.mjs +0 -3
  296. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +0 -7
  297. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
  298. package/node_modules/typebox/build/schema/types/_refine.d.mts +0 -13
  299. package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
  300. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +0 -9
  301. package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
  302. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +0 -9
  303. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
  304. package/node_modules/typebox/build/schema/types/allOf.d.mts +0 -9
  305. package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
  306. package/node_modules/typebox/build/schema/types/anchor.d.mts +0 -8
  307. package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
  308. package/node_modules/typebox/build/schema/types/anyOf.d.mts +0 -9
  309. package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
  310. package/node_modules/typebox/build/schema/types/const.d.mts +0 -9
  311. package/node_modules/typebox/build/schema/types/const.mjs +0 -12
  312. package/node_modules/typebox/build/schema/types/contains.d.mts +0 -9
  313. package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
  314. package/node_modules/typebox/build/schema/types/default.d.mts +0 -9
  315. package/node_modules/typebox/build/schema/types/default.mjs +0 -12
  316. package/node_modules/typebox/build/schema/types/defs.d.mts +0 -6
  317. package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
  318. package/node_modules/typebox/build/schema/types/dependencies.d.mts +0 -11
  319. package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
  320. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +0 -9
  321. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
  322. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +0 -9
  323. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
  324. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +0 -8
  325. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
  326. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +0 -8
  327. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
  328. package/node_modules/typebox/build/schema/types/else.d.mts +0 -9
  329. package/node_modules/typebox/build/schema/types/else.mjs +0 -14
  330. package/node_modules/typebox/build/schema/types/enum.d.mts +0 -9
  331. package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
  332. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +0 -9
  333. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
  334. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +0 -9
  335. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
  336. package/node_modules/typebox/build/schema/types/format.d.mts +0 -9
  337. package/node_modules/typebox/build/schema/types/format.mjs +0 -13
  338. package/node_modules/typebox/build/schema/types/id.d.mts +0 -9
  339. package/node_modules/typebox/build/schema/types/id.mjs +0 -13
  340. package/node_modules/typebox/build/schema/types/if.d.mts +0 -9
  341. package/node_modules/typebox/build/schema/types/if.mjs +0 -14
  342. package/node_modules/typebox/build/schema/types/index.d.mts +0 -51
  343. package/node_modules/typebox/build/schema/types/index.mjs +0 -57
  344. package/node_modules/typebox/build/schema/types/items.d.mts +0 -19
  345. package/node_modules/typebox/build/schema/types/items.mjs +0 -26
  346. package/node_modules/typebox/build/schema/types/maxContains.d.mts +0 -9
  347. package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
  348. package/node_modules/typebox/build/schema/types/maxItems.d.mts +0 -9
  349. package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
  350. package/node_modules/typebox/build/schema/types/maxLength.d.mts +0 -9
  351. package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
  352. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +0 -9
  353. package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
  354. package/node_modules/typebox/build/schema/types/maximum.d.mts +0 -9
  355. package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
  356. package/node_modules/typebox/build/schema/types/minContains.d.mts +0 -9
  357. package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
  358. package/node_modules/typebox/build/schema/types/minItems.d.mts +0 -9
  359. package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
  360. package/node_modules/typebox/build/schema/types/minLength.d.mts +0 -9
  361. package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
  362. package/node_modules/typebox/build/schema/types/minProperties.d.mts +0 -9
  363. package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
  364. package/node_modules/typebox/build/schema/types/minimum.d.mts +0 -9
  365. package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
  366. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +0 -9
  367. package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
  368. package/node_modules/typebox/build/schema/types/not.d.mts +0 -9
  369. package/node_modules/typebox/build/schema/types/not.mjs +0 -14
  370. package/node_modules/typebox/build/schema/types/oneOf.d.mts +0 -9
  371. package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
  372. package/node_modules/typebox/build/schema/types/pattern.d.mts +0 -9
  373. package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
  374. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +0 -9
  375. package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
  376. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +0 -8
  377. package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
  378. package/node_modules/typebox/build/schema/types/properties.d.mts +0 -9
  379. package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
  380. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +0 -9
  381. package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
  382. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +0 -12
  383. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
  384. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +0 -8
  385. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
  386. package/node_modules/typebox/build/schema/types/ref.d.mts +0 -9
  387. package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
  388. package/node_modules/typebox/build/schema/types/required.d.mts +0 -9
  389. package/node_modules/typebox/build/schema/types/required.mjs +0 -14
  390. package/node_modules/typebox/build/schema/types/schema.d.mts +0 -9
  391. package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
  392. package/node_modules/typebox/build/schema/types/then.d.mts +0 -9
  393. package/node_modules/typebox/build/schema/types/then.mjs +0 -14
  394. package/node_modules/typebox/build/schema/types/type.d.mts +0 -9
  395. package/node_modules/typebox/build/schema/types/type.mjs +0 -15
  396. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +0 -9
  397. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
  398. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +0 -9
  399. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
  400. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +0 -9
  401. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
  402. package/node_modules/typebox/build/system/arguments/arguments.d.mts +0 -5
  403. package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
  404. package/node_modules/typebox/build/system/arguments/index.d.mts +0 -1
  405. package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
  406. package/node_modules/typebox/build/system/environment/environment.d.mts +0 -1
  407. package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
  408. package/node_modules/typebox/build/system/environment/evaluate.d.mts +0 -9
  409. package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
  410. package/node_modules/typebox/build/system/environment/index.d.mts +0 -1
  411. package/node_modules/typebox/build/system/environment/index.mjs +0 -1
  412. package/node_modules/typebox/build/system/hashing/hash.d.mts +0 -4
  413. package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
  414. package/node_modules/typebox/build/system/hashing/index.d.mts +0 -1
  415. package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
  416. package/node_modules/typebox/build/system/index.d.mts +0 -4
  417. package/node_modules/typebox/build/system/index.mjs +0 -4
  418. package/node_modules/typebox/build/system/locale/_config.d.mts +0 -7
  419. package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
  420. package/node_modules/typebox/build/system/locale/_locale.d.mts +0 -40
  421. package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
  422. package/node_modules/typebox/build/system/locale/ar_001.d.mts +0 -3
  423. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
  424. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +0 -3
  425. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
  426. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +0 -3
  427. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
  428. package/node_modules/typebox/build/system/locale/de_DE.d.mts +0 -3
  429. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
  430. package/node_modules/typebox/build/system/locale/el_GR.d.mts +0 -3
  431. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
  432. package/node_modules/typebox/build/system/locale/en_US.d.mts +0 -3
  433. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
  434. package/node_modules/typebox/build/system/locale/es_419.d.mts +0 -3
  435. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
  436. package/node_modules/typebox/build/system/locale/es_AR.d.mts +0 -3
  437. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
  438. package/node_modules/typebox/build/system/locale/es_ES.d.mts +0 -3
  439. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
  440. package/node_modules/typebox/build/system/locale/es_MX.d.mts +0 -3
  441. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
  442. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +0 -3
  443. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
  444. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +0 -3
  445. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
  446. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +0 -3
  447. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
  448. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +0 -3
  449. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
  450. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +0 -3
  451. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
  452. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +0 -3
  453. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
  454. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +0 -3
  455. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
  456. package/node_modules/typebox/build/system/locale/id_ID.d.mts +0 -3
  457. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
  458. package/node_modules/typebox/build/system/locale/index.d.mts +0 -1
  459. package/node_modules/typebox/build/system/locale/index.mjs +0 -1
  460. package/node_modules/typebox/build/system/locale/it_IT.d.mts +0 -3
  461. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
  462. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +0 -3
  463. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
  464. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +0 -3
  465. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
  466. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +0 -3
  467. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
  468. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +0 -3
  469. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
  470. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +0 -3
  471. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
  472. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +0 -3
  473. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
  474. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +0 -3
  475. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
  476. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +0 -3
  477. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
  478. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +0 -3
  479. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
  480. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +0 -3
  481. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
  482. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +0 -3
  483. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
  484. package/node_modules/typebox/build/system/locale/th_TH.d.mts +0 -3
  485. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
  486. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +0 -3
  487. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
  488. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +0 -3
  489. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
  490. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +0 -3
  491. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
  492. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +0 -3
  493. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
  494. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +0 -3
  495. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
  496. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +0 -3
  497. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
  498. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +0 -3
  499. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
  500. package/node_modules/typebox/build/system/memory/assign.d.mts +0 -14
  501. package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
  502. package/node_modules/typebox/build/system/memory/clone.d.mts +0 -5
  503. package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
  504. package/node_modules/typebox/build/system/memory/create.d.mts +0 -8
  505. package/node_modules/typebox/build/system/memory/create.mjs +0 -29
  506. package/node_modules/typebox/build/system/memory/discard.d.mts +0 -4
  507. package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
  508. package/node_modules/typebox/build/system/memory/freeze.d.mts +0 -4
  509. package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
  510. package/node_modules/typebox/build/system/memory/index.d.mts +0 -1
  511. package/node_modules/typebox/build/system/memory/index.mjs +0 -1
  512. package/node_modules/typebox/build/system/memory/memory.d.mts +0 -6
  513. package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
  514. package/node_modules/typebox/build/system/memory/metrics.d.mts +0 -14
  515. package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
  516. package/node_modules/typebox/build/system/memory/update.d.mts +0 -7
  517. package/node_modules/typebox/build/system/memory/update.mjs +0 -33
  518. package/node_modules/typebox/build/system/settings/index.d.mts +0 -1
  519. package/node_modules/typebox/build/system/settings/index.mjs +0 -1
  520. package/node_modules/typebox/build/system/settings/settings.d.mts +0 -80
  521. package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
  522. package/node_modules/typebox/build/system/system.d.mts +0 -6
  523. package/node_modules/typebox/build/system/system.mjs +0 -6
  524. package/node_modules/typebox/build/system/unreachable/index.d.mts +0 -1
  525. package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
  526. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +0 -3
  527. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
  528. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +0 -11
  529. package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
  530. package/node_modules/typebox/build/type/action/_add_optional.d.mts +0 -11
  531. package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
  532. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +0 -11
  533. package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
  534. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +0 -11
  535. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
  536. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +0 -11
  537. package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
  538. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +0 -11
  539. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
  540. package/node_modules/typebox/build/type/action/capitalize.d.mts +0 -11
  541. package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
  542. package/node_modules/typebox/build/type/action/conditional.d.mts +0 -12
  543. package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
  544. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +0 -11
  545. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
  546. package/node_modules/typebox/build/type/action/evaluate.d.mts +0 -11
  547. package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
  548. package/node_modules/typebox/build/type/action/exclude.d.mts +0 -11
  549. package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
  550. package/node_modules/typebox/build/type/action/extract.d.mts +0 -11
  551. package/node_modules/typebox/build/type/action/extract.mjs +0 -11
  552. package/node_modules/typebox/build/type/action/index.d.mts +0 -30
  553. package/node_modules/typebox/build/type/action/index.mjs +0 -30
  554. package/node_modules/typebox/build/type/action/indexed.d.mts +0 -14
  555. package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
  556. package/node_modules/typebox/build/type/action/instance_type.d.mts +0 -11
  557. package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
  558. package/node_modules/typebox/build/type/action/interface.d.mts +0 -14
  559. package/node_modules/typebox/build/type/action/interface.mjs +0 -22
  560. package/node_modules/typebox/build/type/action/keyof.d.mts +0 -11
  561. package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
  562. package/node_modules/typebox/build/type/action/lowercase.d.mts +0 -11
  563. package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
  564. package/node_modules/typebox/build/type/action/mapped.d.mts +0 -13
  565. package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
  566. package/node_modules/typebox/build/type/action/module.d.mts +0 -13
  567. package/node_modules/typebox/build/type/action/module.mjs +0 -13
  568. package/node_modules/typebox/build/type/action/non_nullable.d.mts +0 -11
  569. package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
  570. package/node_modules/typebox/build/type/action/omit.d.mts +0 -14
  571. package/node_modules/typebox/build/type/action/omit.mjs +0 -14
  572. package/node_modules/typebox/build/type/action/parameters.d.mts +0 -11
  573. package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
  574. package/node_modules/typebox/build/type/action/partial.d.mts +0 -11
  575. package/node_modules/typebox/build/type/action/partial.mjs +0 -11
  576. package/node_modules/typebox/build/type/action/pick.d.mts +0 -14
  577. package/node_modules/typebox/build/type/action/pick.mjs +0 -14
  578. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -16
  579. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
  580. package/node_modules/typebox/build/type/action/required.d.mts +0 -11
  581. package/node_modules/typebox/build/type/action/required.mjs +0 -11
  582. package/node_modules/typebox/build/type/action/return_type.d.mts +0 -11
  583. package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
  584. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +0 -11
  585. package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
  586. package/node_modules/typebox/build/type/action/uppercase.d.mts +0 -11
  587. package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
  588. package/node_modules/typebox/build/type/action/with.d.mts +0 -11
  589. package/node_modules/typebox/build/type/action/with.mjs +0 -11
  590. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +0 -20
  591. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
  592. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +0 -21
  593. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
  594. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +0 -13
  595. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
  596. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +0 -25
  597. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
  598. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +0 -1
  599. package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
  600. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +0 -12
  601. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
  602. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +0 -1
  603. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
  604. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +0 -14
  605. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
  606. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +0 -8
  607. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
  608. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +0 -21
  609. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
  610. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +0 -22
  611. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
  612. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +0 -28
  613. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
  614. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +0 -6
  615. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
  616. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +0 -17
  617. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
  618. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +0 -10
  619. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
  620. package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
  621. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  622. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +0 -8
  623. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
  624. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +0 -15
  625. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
  626. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +0 -11
  627. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
  628. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +0 -37
  629. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
  630. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +0 -12
  631. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
  632. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +0 -26
  633. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
  634. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +0 -6
  635. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
  636. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +0 -8
  637. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
  638. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +0 -8
  639. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
  640. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +0 -20
  641. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
  642. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +0 -1
  643. package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
  644. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +0 -9
  645. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
  646. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +0 -10
  647. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
  648. package/node_modules/typebox/build/type/engine/extract/index.d.mts +0 -1
  649. package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
  650. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +0 -9
  651. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
  652. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +0 -10
  653. package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
  654. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +0 -3
  655. package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
  656. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +0 -3
  657. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
  658. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +0 -7
  659. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
  660. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +0 -7
  661. package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
  662. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +0 -10
  663. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
  664. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +0 -10
  665. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
  666. package/node_modules/typebox/build/type/engine/index.d.mts +0 -31
  667. package/node_modules/typebox/build/type/engine/index.mjs +0 -37
  668. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +0 -6
  669. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
  670. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +0 -5
  671. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
  672. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +0 -6
  673. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
  674. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +0 -5
  675. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
  676. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +0 -3
  677. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
  678. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +0 -5
  679. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
  680. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +0 -19
  681. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
  682. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +0 -4
  683. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
  684. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +0 -9
  685. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
  686. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +0 -10
  687. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
  688. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +0 -12
  689. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
  690. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +0 -15
  691. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
  692. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +0 -16
  693. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
  694. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +0 -13
  695. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
  696. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +0 -11
  697. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
  698. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +0 -1
  699. package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
  700. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +0 -16
  701. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
  702. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +0 -1
  703. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
  704. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +0 -12
  705. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
  706. package/node_modules/typebox/build/type/engine/instantiate.d.mts +0 -178
  707. package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
  708. package/node_modules/typebox/build/type/engine/interface/index.d.mts +0 -1
  709. package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
  710. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +0 -15
  711. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
  712. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +0 -5
  713. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
  714. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +0 -6
  715. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
  716. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +0 -10
  717. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
  718. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +0 -6
  719. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
  720. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +0 -1
  721. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
  722. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +0 -38
  723. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
  724. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +0 -9
  725. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
  726. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +0 -6
  727. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
  728. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +0 -4
  729. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
  730. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +0 -10
  731. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
  732. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +0 -4
  733. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
  734. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +0 -5
  735. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
  736. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +0 -15
  737. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
  738. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +0 -1
  739. package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
  740. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +0 -16
  741. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
  742. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +0 -1
  743. package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
  744. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +0 -10
  745. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
  746. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +0 -22
  747. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
  748. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +0 -17
  749. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
  750. package/node_modules/typebox/build/type/engine/module/index.d.mts +0 -1
  751. package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
  752. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +0 -19
  753. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
  754. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +0 -1
  755. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
  756. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +0 -14
  757. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
  758. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +0 -12
  759. package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
  760. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +0 -6
  761. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
  762. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +0 -5
  763. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
  764. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +0 -17
  765. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
  766. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +0 -3
  767. package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
  768. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +0 -6
  769. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
  770. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +0 -16
  771. package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
  772. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +0 -12
  773. package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
  774. package/node_modules/typebox/build/type/engine/object/index.d.mts +0 -1
  775. package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
  776. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +0 -12
  777. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
  778. package/node_modules/typebox/build/type/engine/omit/index.d.mts +0 -1
  779. package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
  780. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +0 -9
  781. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
  782. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +0 -10
  783. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
  784. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +0 -10
  785. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
  786. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +0 -1
  787. package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
  788. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +0 -14
  789. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
  790. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +0 -10
  791. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
  792. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +0 -5
  793. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
  794. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +0 -5
  795. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
  796. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +0 -8
  797. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
  798. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +0 -14
  799. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
  800. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +0 -5
  801. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
  802. package/node_modules/typebox/build/type/engine/partial/index.d.mts +0 -1
  803. package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
  804. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +0 -9
  805. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
  806. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +0 -2
  807. package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
  808. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +0 -6
  809. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
  810. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +0 -7
  811. package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
  812. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +0 -13
  813. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
  814. package/node_modules/typebox/build/type/engine/pick/index.d.mts +0 -1
  815. package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
  816. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +0 -9
  817. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
  818. package/node_modules/typebox/build/type/engine/priority/index.d.mts +0 -1
  819. package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
  820. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +0 -20
  821. package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
  822. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +0 -10
  823. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
  824. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +0 -10
  825. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
  826. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +0 -5
  827. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
  828. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +0 -10
  829. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
  830. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +0 -5
  831. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
  832. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +0 -5
  833. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
  834. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +0 -8
  835. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
  836. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +0 -5
  837. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
  838. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +0 -18
  839. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
  840. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +0 -5
  841. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
  842. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +0 -1
  843. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
  844. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +0 -9
  845. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
  846. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +0 -24
  847. package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
  848. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +0 -4
  849. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
  850. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +0 -7
  851. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
  852. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +0 -6
  853. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
  854. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +0 -5
  855. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
  856. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +0 -5
  857. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
  858. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +0 -11
  859. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
  860. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +0 -5
  861. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
  862. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +0 -5
  863. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
  864. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +0 -8
  865. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
  866. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +0 -20
  867. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
  868. package/node_modules/typebox/build/type/engine/record/index.d.mts +0 -1
  869. package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
  870. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +0 -9
  871. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
  872. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +0 -3
  873. package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
  874. package/node_modules/typebox/build/type/engine/ref/index.d.mts +0 -1
  875. package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
  876. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +0 -6
  877. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
  878. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +0 -10
  879. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
  880. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +0 -5
  881. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
  882. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +0 -5
  883. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
  884. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +0 -8
  885. package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
  886. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +0 -14
  887. package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
  888. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +0 -5
  889. package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
  890. package/node_modules/typebox/build/type/engine/required/index.d.mts +0 -1
  891. package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
  892. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +0 -9
  893. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
  894. package/node_modules/typebox/build/type/engine/rest/index.d.mts +0 -1
  895. package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
  896. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +0 -12
  897. package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
  898. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +0 -1
  899. package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
  900. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +0 -12
  901. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
  902. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +0 -1
  903. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
  904. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +0 -30
  905. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
  906. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +0 -33
  907. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
  908. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +0 -6
  909. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
  910. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +0 -9
  911. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
  912. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +0 -12
  913. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
  914. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +0 -6
  915. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
  916. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +0 -18
  917. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
  918. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +0 -16
  919. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
  920. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +0 -12
  921. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
  922. package/node_modules/typebox/build/type/engine/with/index.d.mts +0 -1
  923. package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
  924. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +0 -8
  925. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
  926. package/node_modules/typebox/build/type/extends/any.d.mts +0 -9
  927. package/node_modules/typebox/build/type/extends/any.mjs +0 -12
  928. package/node_modules/typebox/build/type/extends/array.d.mts +0 -20
  929. package/node_modules/typebox/build/type/extends/array.mjs +0 -21
  930. package/node_modules/typebox/build/type/extends/bigint.d.mts +0 -7
  931. package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
  932. package/node_modules/typebox/build/type/extends/boolean.d.mts +0 -7
  933. package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
  934. package/node_modules/typebox/build/type/extends/constructor.d.mts +0 -10
  935. package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
  936. package/node_modules/typebox/build/type/extends/dependent.d.mts +0 -6
  937. package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
  938. package/node_modules/typebox/build/type/extends/enum.d.mts +0 -7
  939. package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
  940. package/node_modules/typebox/build/type/extends/extends.d.mts +0 -13
  941. package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
  942. package/node_modules/typebox/build/type/extends/extends_left.d.mts +0 -53
  943. package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
  944. package/node_modules/typebox/build/type/extends/extends_right.d.mts +0 -27
  945. package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
  946. package/node_modules/typebox/build/type/extends/function.d.mts +0 -10
  947. package/node_modules/typebox/build/type/extends/function.mjs +0 -17
  948. package/node_modules/typebox/build/type/extends/index.d.mts +0 -2
  949. package/node_modules/typebox/build/type/extends/index.mjs +0 -2
  950. package/node_modules/typebox/build/type/extends/inference.d.mts +0 -34
  951. package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
  952. package/node_modules/typebox/build/type/extends/integer.d.mts +0 -8
  953. package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
  954. package/node_modules/typebox/build/type/extends/intersect.d.mts +0 -6
  955. package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
  956. package/node_modules/typebox/build/type/extends/literal.d.mts +0 -18
  957. package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
  958. package/node_modules/typebox/build/type/extends/never.d.mts +0 -8
  959. package/node_modules/typebox/build/type/extends/never.mjs +0 -9
  960. package/node_modules/typebox/build/type/extends/null.d.mts +0 -7
  961. package/node_modules/typebox/build/type/extends/null.mjs +0 -9
  962. package/node_modules/typebox/build/type/extends/number.d.mts +0 -7
  963. package/node_modules/typebox/build/type/extends/number.mjs +0 -9
  964. package/node_modules/typebox/build/type/extends/object.d.mts +0 -32
  965. package/node_modules/typebox/build/type/extends/object.mjs +0 -109
  966. package/node_modules/typebox/build/type/extends/parameters.d.mts +0 -15
  967. package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
  968. package/node_modules/typebox/build/type/extends/record.d.mts +0 -13
  969. package/node_modules/typebox/build/type/extends/record.mjs +0 -23
  970. package/node_modules/typebox/build/type/extends/result.d.mts +0 -24
  971. package/node_modules/typebox/build/type/extends/result.mjs +0 -36
  972. package/node_modules/typebox/build/type/extends/return_type.d.mts +0 -7
  973. package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
  974. package/node_modules/typebox/build/type/extends/string.d.mts +0 -7
  975. package/node_modules/typebox/build/type/extends/string.mjs +0 -9
  976. package/node_modules/typebox/build/type/extends/symbol.d.mts +0 -7
  977. package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
  978. package/node_modules/typebox/build/type/extends/template_literal.d.mts +0 -6
  979. package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
  980. package/node_modules/typebox/build/type/extends/tuple.d.mts +0 -22
  981. package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
  982. package/node_modules/typebox/build/type/extends/undefined.d.mts +0 -8
  983. package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
  984. package/node_modules/typebox/build/type/extends/union.d.mts +0 -11
  985. package/node_modules/typebox/build/type/extends/union.mjs +0 -24
  986. package/node_modules/typebox/build/type/extends/unknown.d.mts +0 -9
  987. package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
  988. package/node_modules/typebox/build/type/extends/void.d.mts +0 -7
  989. package/node_modules/typebox/build/type/extends/void.mjs +0 -9
  990. package/node_modules/typebox/build/type/index.d.mts +0 -5
  991. package/node_modules/typebox/build/type/index.mjs +0 -5
  992. package/node_modules/typebox/build/type/script/index.d.mts +0 -1
  993. package/node_modules/typebox/build/type/script/index.mjs +0 -1
  994. package/node_modules/typebox/build/type/script/mapping.d.mts +0 -356
  995. package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
  996. package/node_modules/typebox/build/type/script/parser.d.mts +0 -256
  997. package/node_modules/typebox/build/type/script/parser.mjs +0 -140
  998. package/node_modules/typebox/build/type/script/script.d.mts +0 -16
  999. package/node_modules/typebox/build/type/script/script.mjs +0 -22
  1000. package/node_modules/typebox/build/type/script/token/bigint.d.mts +0 -8
  1001. package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
  1002. package/node_modules/typebox/build/type/script/token/const.d.mts +0 -11
  1003. package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
  1004. package/node_modules/typebox/build/type/script/token/ident.d.mts +0 -16
  1005. package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
  1006. package/node_modules/typebox/build/type/script/token/index.d.mts +0 -12
  1007. package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
  1008. package/node_modules/typebox/build/type/script/token/integer.d.mts +0 -11
  1009. package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
  1010. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +0 -75
  1011. package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
  1012. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +0 -1
  1013. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
  1014. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +0 -7
  1015. package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
  1016. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +0 -6
  1017. package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
  1018. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +0 -5
  1019. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
  1020. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +0 -6
  1021. package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
  1022. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +0 -19
  1023. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
  1024. package/node_modules/typebox/build/type/script/token/number.d.mts +0 -11
  1025. package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
  1026. package/node_modules/typebox/build/type/script/token/rest.d.mts +0 -4
  1027. package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
  1028. package/node_modules/typebox/build/type/script/token/span.d.mts +0 -11
  1029. package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
  1030. package/node_modules/typebox/build/type/script/token/string.d.mts +0 -11
  1031. package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
  1032. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +0 -16
  1033. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
  1034. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +0 -17
  1035. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
  1036. package/node_modules/typebox/build/type/script/token/until.d.mts +0 -7
  1037. package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
  1038. package/node_modules/typebox/build/type/script/token/until_1.d.mts +0 -5
  1039. package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
  1040. package/node_modules/typebox/build/type/types/_codec.d.mts +0 -30
  1041. package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
  1042. package/node_modules/typebox/build/type/types/_immutable.d.mts +0 -9
  1043. package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
  1044. package/node_modules/typebox/build/type/types/_optional.d.mts +0 -9
  1045. package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
  1046. package/node_modules/typebox/build/type/types/_readonly.d.mts +0 -9
  1047. package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
  1048. package/node_modules/typebox/build/type/types/_refine.d.mts +0 -24
  1049. package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
  1050. package/node_modules/typebox/build/type/types/any.d.mts +0 -10
  1051. package/node_modules/typebox/build/type/types/any.mjs +0 -18
  1052. package/node_modules/typebox/build/type/types/array.d.mts +0 -18
  1053. package/node_modules/typebox/build/type/types/array.mjs +0 -25
  1054. package/node_modules/typebox/build/type/types/bigint.d.mts +0 -12
  1055. package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
  1056. package/node_modules/typebox/build/type/types/boolean.d.mts +0 -11
  1057. package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
  1058. package/node_modules/typebox/build/type/types/call.d.mts +0 -16
  1059. package/node_modules/typebox/build/type/types/call.mjs +0 -23
  1060. package/node_modules/typebox/build/type/types/constructor.d.mts +0 -18
  1061. package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
  1062. package/node_modules/typebox/build/type/types/cyclic.d.mts +0 -16
  1063. package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
  1064. package/node_modules/typebox/build/type/types/deferred.d.mts +0 -13
  1065. package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
  1066. package/node_modules/typebox/build/type/types/dependent.d.mts +0 -17
  1067. package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
  1068. package/node_modules/typebox/build/type/types/enum.d.mts +0 -18
  1069. package/node_modules/typebox/build/type/types/enum.mjs +0 -22
  1070. package/node_modules/typebox/build/type/types/function.d.mts +0 -21
  1071. package/node_modules/typebox/build/type/types/function.mjs +0 -25
  1072. package/node_modules/typebox/build/type/types/generic.d.mts +0 -13
  1073. package/node_modules/typebox/build/type/types/generic.mjs +0 -17
  1074. package/node_modules/typebox/build/type/types/identifier.d.mts +0 -11
  1075. package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
  1076. package/node_modules/typebox/build/type/types/index.d.mts +0 -45
  1077. package/node_modules/typebox/build/type/types/index.mjs +0 -51
  1078. package/node_modules/typebox/build/type/types/infer.d.mts +0 -15
  1079. package/node_modules/typebox/build/type/types/infer.mjs +0 -20
  1080. package/node_modules/typebox/build/type/types/integer.d.mts +0 -12
  1081. package/node_modules/typebox/build/type/types/integer.mjs +0 -21
  1082. package/node_modules/typebox/build/type/types/intersect.d.mts +0 -15
  1083. package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
  1084. package/node_modules/typebox/build/type/types/literal.d.mts +0 -31
  1085. package/node_modules/typebox/build/type/types/literal.mjs +0 -62
  1086. package/node_modules/typebox/build/type/types/never.d.mts +0 -12
  1087. package/node_modules/typebox/build/type/types/never.mjs +0 -22
  1088. package/node_modules/typebox/build/type/types/null.d.mts +0 -11
  1089. package/node_modules/typebox/build/type/types/null.mjs +0 -17
  1090. package/node_modules/typebox/build/type/types/number.d.mts +0 -12
  1091. package/node_modules/typebox/build/type/types/number.mjs +0 -21
  1092. package/node_modules/typebox/build/type/types/object.d.mts +0 -18
  1093. package/node_modules/typebox/build/type/types/object.mjs +0 -28
  1094. package/node_modules/typebox/build/type/types/parameter.d.mts +0 -17
  1095. package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
  1096. package/node_modules/typebox/build/type/types/properties.d.mts +0 -43
  1097. package/node_modules/typebox/build/type/types/properties.mjs +0 -15
  1098. package/node_modules/typebox/build/type/types/record.d.mts +0 -52
  1099. package/node_modules/typebox/build/type/types/record.mjs +0 -66
  1100. package/node_modules/typebox/build/type/types/ref.d.mts +0 -19
  1101. package/node_modules/typebox/build/type/types/ref.mjs +0 -18
  1102. package/node_modules/typebox/build/type/types/rest.d.mts +0 -11
  1103. package/node_modules/typebox/build/type/types/rest.mjs +0 -17
  1104. package/node_modules/typebox/build/type/types/schema.d.mts +0 -176
  1105. package/node_modules/typebox/build/type/types/schema.mjs +0 -15
  1106. package/node_modules/typebox/build/type/types/static.d.mts +0 -45
  1107. package/node_modules/typebox/build/type/types/static.mjs +0 -3
  1108. package/node_modules/typebox/build/type/types/string.d.mts +0 -12
  1109. package/node_modules/typebox/build/type/types/string.mjs +0 -22
  1110. package/node_modules/typebox/build/type/types/symbol.d.mts +0 -11
  1111. package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
  1112. package/node_modules/typebox/build/type/types/template_literal.d.mts +0 -28
  1113. package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
  1114. package/node_modules/typebox/build/type/types/this.d.mts +0 -14
  1115. package/node_modules/typebox/build/type/types/this.mjs +0 -17
  1116. package/node_modules/typebox/build/type/types/tuple.d.mts +0 -38
  1117. package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
  1118. package/node_modules/typebox/build/type/types/undefined.d.mts +0 -11
  1119. package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
  1120. package/node_modules/typebox/build/type/types/union.d.mts +0 -15
  1121. package/node_modules/typebox/build/type/types/union.mjs +0 -24
  1122. package/node_modules/typebox/build/type/types/unknown.d.mts +0 -10
  1123. package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
  1124. package/node_modules/typebox/build/type/types/unsafe.d.mts +0 -10
  1125. package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
  1126. package/node_modules/typebox/build/type/types/void.d.mts +0 -11
  1127. package/node_modules/typebox/build/type/types/void.mjs +0 -17
  1128. package/node_modules/typebox/build/typebox.d.mts +0 -69
  1129. package/node_modules/typebox/build/typebox.mjs +0 -85
  1130. package/node_modules/typebox/build/value/assert/assert.d.mts +0 -14
  1131. package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
  1132. package/node_modules/typebox/build/value/assert/index.d.mts +0 -1
  1133. package/node_modules/typebox/build/value/assert/index.mjs +0 -1
  1134. package/node_modules/typebox/build/value/check/check.d.mts +0 -5
  1135. package/node_modules/typebox/build/value/check/check.mjs +0 -11
  1136. package/node_modules/typebox/build/value/check/index.d.mts +0 -1
  1137. package/node_modules/typebox/build/value/check/index.mjs +0 -1
  1138. package/node_modules/typebox/build/value/clean/additional.d.mts +0 -2
  1139. package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
  1140. package/node_modules/typebox/build/value/clean/clean.d.mts +0 -15
  1141. package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
  1142. package/node_modules/typebox/build/value/clean/from_array.d.mts +0 -2
  1143. package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
  1144. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +0 -2
  1145. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
  1146. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +0 -2
  1147. package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
  1148. package/node_modules/typebox/build/value/clean/from_object.d.mts +0 -2
  1149. package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
  1150. package/node_modules/typebox/build/value/clean/from_record.d.mts +0 -2
  1151. package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
  1152. package/node_modules/typebox/build/value/clean/from_ref.d.mts +0 -2
  1153. package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
  1154. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +0 -2
  1155. package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
  1156. package/node_modules/typebox/build/value/clean/from_type.d.mts +0 -2
  1157. package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
  1158. package/node_modules/typebox/build/value/clean/from_union.d.mts +0 -2
  1159. package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
  1160. package/node_modules/typebox/build/value/clean/index.d.mts +0 -1
  1161. package/node_modules/typebox/build/value/clean/index.mjs +0 -1
  1162. package/node_modules/typebox/build/value/clone/clone.d.mts +0 -5
  1163. package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
  1164. package/node_modules/typebox/build/value/clone/index.d.mts +0 -1
  1165. package/node_modules/typebox/build/value/clone/index.mjs +0 -1
  1166. package/node_modules/typebox/build/value/codec/callback.d.mts +0 -2
  1167. package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
  1168. package/node_modules/typebox/build/value/codec/decode.d.mts +0 -12
  1169. package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
  1170. package/node_modules/typebox/build/value/codec/encode.d.mts +0 -12
  1171. package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
  1172. package/node_modules/typebox/build/value/codec/from_array.d.mts +0 -2
  1173. package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
  1174. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +0 -2
  1175. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
  1176. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +0 -2
  1177. package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
  1178. package/node_modules/typebox/build/value/codec/from_object.d.mts +0 -2
  1179. package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
  1180. package/node_modules/typebox/build/value/codec/from_record.d.mts +0 -2
  1181. package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
  1182. package/node_modules/typebox/build/value/codec/from_ref.d.mts +0 -2
  1183. package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
  1184. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +0 -2
  1185. package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
  1186. package/node_modules/typebox/build/value/codec/from_type.d.mts +0 -2
  1187. package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
  1188. package/node_modules/typebox/build/value/codec/from_union.d.mts +0 -2
  1189. package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
  1190. package/node_modules/typebox/build/value/codec/has.d.mts +0 -5
  1191. package/node_modules/typebox/build/value/codec/has.mjs +0 -93
  1192. package/node_modules/typebox/build/value/codec/index.d.mts +0 -3
  1193. package/node_modules/typebox/build/value/codec/index.mjs +0 -3
  1194. package/node_modules/typebox/build/value/convert/convert.d.mts +0 -13
  1195. package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
  1196. package/node_modules/typebox/build/value/convert/from_additional.d.mts +0 -6
  1197. package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
  1198. package/node_modules/typebox/build/value/convert/from_array.d.mts +0 -2
  1199. package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
  1200. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +0 -2
  1201. package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
  1202. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +0 -2
  1203. package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
  1204. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +0 -2
  1205. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
  1206. package/node_modules/typebox/build/value/convert/from_enum.d.mts +0 -2
  1207. package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
  1208. package/node_modules/typebox/build/value/convert/from_integer.d.mts +0 -2
  1209. package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
  1210. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +0 -2
  1211. package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
  1212. package/node_modules/typebox/build/value/convert/from_literal.d.mts +0 -2
  1213. package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
  1214. package/node_modules/typebox/build/value/convert/from_null.d.mts +0 -2
  1215. package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
  1216. package/node_modules/typebox/build/value/convert/from_number.d.mts +0 -2
  1217. package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
  1218. package/node_modules/typebox/build/value/convert/from_object.d.mts +0 -2
  1219. package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
  1220. package/node_modules/typebox/build/value/convert/from_record.d.mts +0 -2
  1221. package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
  1222. package/node_modules/typebox/build/value/convert/from_ref.d.mts +0 -2
  1223. package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
  1224. package/node_modules/typebox/build/value/convert/from_string.d.mts +0 -2
  1225. package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
  1226. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +0 -2
  1227. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
  1228. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +0 -2
  1229. package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
  1230. package/node_modules/typebox/build/value/convert/from_type.d.mts +0 -2
  1231. package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
  1232. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +0 -2
  1233. package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
  1234. package/node_modules/typebox/build/value/convert/from_union.d.mts +0 -2
  1235. package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
  1236. package/node_modules/typebox/build/value/convert/from_void.d.mts +0 -2
  1237. package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
  1238. package/node_modules/typebox/build/value/convert/index.d.mts +0 -1
  1239. package/node_modules/typebox/build/value/convert/index.mjs +0 -1
  1240. package/node_modules/typebox/build/value/convert/try/index.d.mts +0 -1
  1241. package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
  1242. package/node_modules/typebox/build/value/convert/try/try.d.mts +0 -8
  1243. package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
  1244. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +0 -2
  1245. package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
  1246. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +0 -2
  1247. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
  1248. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +0 -2
  1249. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
  1250. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +0 -2
  1251. package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
  1252. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +0 -2
  1253. package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
  1254. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +0 -8
  1255. package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
  1256. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +0 -2
  1257. package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
  1258. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +0 -2
  1259. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
  1260. package/node_modules/typebox/build/value/create/create.d.mts +0 -5
  1261. package/node_modules/typebox/build/value/create/create.mjs +0 -11
  1262. package/node_modules/typebox/build/value/create/error.d.mts +0 -5
  1263. package/node_modules/typebox/build/value/create/error.mjs +0 -7
  1264. package/node_modules/typebox/build/value/create/from_array.d.mts +0 -2
  1265. package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
  1266. package/node_modules/typebox/build/value/create/from_bigint.d.mts +0 -2
  1267. package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
  1268. package/node_modules/typebox/build/value/create/from_boolean.d.mts +0 -2
  1269. package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
  1270. package/node_modules/typebox/build/value/create/from_constructor.d.mts +0 -2
  1271. package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
  1272. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +0 -2
  1273. package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
  1274. package/node_modules/typebox/build/value/create/from_default.d.mts +0 -3
  1275. package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
  1276. package/node_modules/typebox/build/value/create/from_enum.d.mts +0 -2
  1277. package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
  1278. package/node_modules/typebox/build/value/create/from_function.d.mts +0 -2
  1279. package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
  1280. package/node_modules/typebox/build/value/create/from_integer.d.mts +0 -2
  1281. package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
  1282. package/node_modules/typebox/build/value/create/from_intersect.d.mts +0 -2
  1283. package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
  1284. package/node_modules/typebox/build/value/create/from_literal.d.mts +0 -2
  1285. package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
  1286. package/node_modules/typebox/build/value/create/from_never.d.mts +0 -2
  1287. package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
  1288. package/node_modules/typebox/build/value/create/from_null.d.mts +0 -2
  1289. package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
  1290. package/node_modules/typebox/build/value/create/from_number.d.mts +0 -2
  1291. package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
  1292. package/node_modules/typebox/build/value/create/from_object.d.mts +0 -2
  1293. package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
  1294. package/node_modules/typebox/build/value/create/from_record.d.mts +0 -2
  1295. package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
  1296. package/node_modules/typebox/build/value/create/from_ref.d.mts +0 -2
  1297. package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
  1298. package/node_modules/typebox/build/value/create/from_string.d.mts +0 -2
  1299. package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
  1300. package/node_modules/typebox/build/value/create/from_symbol.d.mts +0 -2
  1301. package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
  1302. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +0 -2
  1303. package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
  1304. package/node_modules/typebox/build/value/create/from_tuple.d.mts +0 -2
  1305. package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
  1306. package/node_modules/typebox/build/value/create/from_type.d.mts +0 -2
  1307. package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
  1308. package/node_modules/typebox/build/value/create/from_undefined.d.mts +0 -2
  1309. package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
  1310. package/node_modules/typebox/build/value/create/from_union.d.mts +0 -2
  1311. package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
  1312. package/node_modules/typebox/build/value/create/from_void.d.mts +0 -2
  1313. package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
  1314. package/node_modules/typebox/build/value/create/index.d.mts +0 -2
  1315. package/node_modules/typebox/build/value/create/index.mjs +0 -2
  1316. package/node_modules/typebox/build/value/default/default.d.mts +0 -13
  1317. package/node_modules/typebox/build/value/default/default.mjs +0 -15
  1318. package/node_modules/typebox/build/value/default/from_array.d.mts +0 -2
  1319. package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
  1320. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +0 -2
  1321. package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
  1322. package/node_modules/typebox/build/value/default/from_default.d.mts +0 -3
  1323. package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
  1324. package/node_modules/typebox/build/value/default/from_intersect.d.mts +0 -2
  1325. package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
  1326. package/node_modules/typebox/build/value/default/from_object.d.mts +0 -2
  1327. package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
  1328. package/node_modules/typebox/build/value/default/from_record.d.mts +0 -2
  1329. package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
  1330. package/node_modules/typebox/build/value/default/from_ref.d.mts +0 -2
  1331. package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
  1332. package/node_modules/typebox/build/value/default/from_tuple.d.mts +0 -2
  1333. package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
  1334. package/node_modules/typebox/build/value/default/from_type.d.mts +0 -2
  1335. package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
  1336. package/node_modules/typebox/build/value/default/from_union.d.mts +0 -2
  1337. package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
  1338. package/node_modules/typebox/build/value/default/index.d.mts +0 -1
  1339. package/node_modules/typebox/build/value/default/index.mjs +0 -1
  1340. package/node_modules/typebox/build/value/delta/diff.d.mts +0 -10
  1341. package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
  1342. package/node_modules/typebox/build/value/delta/edit.d.mts +0 -24
  1343. package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
  1344. package/node_modules/typebox/build/value/delta/index.d.mts +0 -3
  1345. package/node_modules/typebox/build/value/delta/index.mjs +0 -3
  1346. package/node_modules/typebox/build/value/delta/patch.d.mts +0 -8
  1347. package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
  1348. package/node_modules/typebox/build/value/equal/equal.d.mts +0 -2
  1349. package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
  1350. package/node_modules/typebox/build/value/equal/index.d.mts +0 -1
  1351. package/node_modules/typebox/build/value/equal/index.mjs +0 -1
  1352. package/node_modules/typebox/build/value/errors/errors.d.mts +0 -6
  1353. package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
  1354. package/node_modules/typebox/build/value/errors/index.d.mts +0 -1
  1355. package/node_modules/typebox/build/value/errors/index.mjs +0 -1
  1356. package/node_modules/typebox/build/value/hash/hash.d.mts +0 -6
  1357. package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
  1358. package/node_modules/typebox/build/value/hash/index.d.mts +0 -1
  1359. package/node_modules/typebox/build/value/hash/index.mjs +0 -1
  1360. package/node_modules/typebox/build/value/index.d.mts +0 -20
  1361. package/node_modules/typebox/build/value/index.mjs +0 -29
  1362. package/node_modules/typebox/build/value/parse/index.d.mts +0 -1
  1363. package/node_modules/typebox/build/value/parse/index.mjs +0 -1
  1364. package/node_modules/typebox/build/value/parse/parse.d.mts +0 -11
  1365. package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
  1366. package/node_modules/typebox/build/value/pipeline/index.d.mts +0 -1
  1367. package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
  1368. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +0 -10
  1369. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
  1370. package/node_modules/typebox/build/value/pointer/index.d.mts +0 -1
  1371. package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
  1372. package/node_modules/typebox/build/value/repair/error.d.mts +0 -7
  1373. package/node_modules/typebox/build/value/repair/error.mjs +0 -8
  1374. package/node_modules/typebox/build/value/repair/from_array.d.mts +0 -2
  1375. package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
  1376. package/node_modules/typebox/build/value/repair/from_enum.d.mts +0 -2
  1377. package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
  1378. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +0 -2
  1379. package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
  1380. package/node_modules/typebox/build/value/repair/from_object.d.mts +0 -2
  1381. package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
  1382. package/node_modules/typebox/build/value/repair/from_record.d.mts +0 -2
  1383. package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
  1384. package/node_modules/typebox/build/value/repair/from_ref.d.mts +0 -2
  1385. package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
  1386. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +0 -2
  1387. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
  1388. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +0 -2
  1389. package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
  1390. package/node_modules/typebox/build/value/repair/from_type.d.mts +0 -2
  1391. package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
  1392. package/node_modules/typebox/build/value/repair/from_union.d.mts +0 -2
  1393. package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
  1394. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +0 -2
  1395. package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
  1396. package/node_modules/typebox/build/value/repair/index.d.mts +0 -1
  1397. package/node_modules/typebox/build/value/repair/index.mjs +0 -1
  1398. package/node_modules/typebox/build/value/repair/repair.d.mts +0 -17
  1399. package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
  1400. package/node_modules/typebox/build/value/shared/index.d.mts +0 -3
  1401. package/node_modules/typebox/build/value/shared/index.mjs +0 -4
  1402. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +0 -2
  1403. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
  1404. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +0 -7
  1405. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
  1406. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +0 -3
  1407. package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
  1408. package/node_modules/typebox/build/value/value.d.mts +0 -15
  1409. package/node_modules/typebox/build/value/value.mjs +0 -15
  1410. package/node_modules/typebox/license +0 -23
  1411. package/node_modules/typebox/package.json +0 -87
  1412. package/node_modules/typebox/readme.md +0 -371
@@ -1,3 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TRecord } from '../../types/record.mjs';
3
- export declare function CreateRecord<Key extends string, Value extends TSchema>(key: Key, value: Value): TRecord<Key, Value>;
@@ -1,7 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- export function CreateRecord(key, value) {
4
- const type = 'object';
5
- const patternProperties = { [key]: value };
6
- return Memory.Create({ ['~kind']: 'Record' }, { type, patternProperties });
7
- }
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1,6 +0,0 @@
1
- import { type TProperties } from '../../types/properties.mjs';
2
- import { type TInstantiateType } from '../instantiate.mjs';
3
- import { type TRef } from '../../types/ref.mjs';
4
- import { type TState } from '../instantiate.mjs';
5
- export type TRefInstantiate<Context extends TProperties, State extends TState, Type extends TRef, Ref extends string> = (Ref extends State['visited'][number] ? Type : Ref extends keyof Context ? TInstantiateType<Context, TState<State['callstack'], [...State['visited'], Ref]>, Context[Ref]> : Type);
6
- export declare function RefInstantiate<Context extends TProperties, State extends TState, Type extends TRef, Ref extends string>(context: Context, state: State, type: Type, ref: Ref): TRefInstantiate<Context, State, Type, Ref>;
@@ -1,10 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { InstantiateType } from '../instantiate.mjs';
3
- import { State } from '../instantiate.mjs';
4
- export function RefInstantiate(context, state, type, ref) {
5
- return (state.visited.includes(ref)
6
- ? type
7
- : ref in context
8
- ? InstantiateType(context, State(state['callstack'], [...state['visited'], ref]), context[ref])
9
- : type);
10
- }
@@ -1,10 +0,0 @@
1
- import { Memory } from '../../../system/memory/index.mjs';
2
- import { type TSchema } from '../../types/schema.mjs';
3
- import { type TCyclic } from '../../types/cyclic.mjs';
4
- import { type TProperties } from '../../types/properties.mjs';
5
- import { type TFromType } from './from_type.mjs';
6
- import { type TCyclicTarget } from '../cyclic/target.mjs';
7
- export type TFromCyclic<Defs extends TProperties, Ref extends string, Target extends TSchema = TCyclicTarget<Defs, Ref>, Partial extends TSchema = TFromType<Target>, Result extends TSchema = TCyclic<Memory.TAssign<Defs, {
8
- [_ in Ref]: Partial;
9
- }>, Ref>> = Result;
10
- export declare function FromCyclic<Defs extends TProperties, Ref extends string>(defs: Defs, ref: Ref): TFromCyclic<Defs, Ref>;
@@ -1,11 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- import { Cyclic } from '../../types/cyclic.mjs';
4
- import { FromType } from './from_type.mjs';
5
- import { CyclicTarget } from '../cyclic/target.mjs';
6
- export function FromCyclic(defs, ref) {
7
- const target = CyclicTarget(defs, ref);
8
- const partial = FromType(target);
9
- const result = Cyclic(Memory.Assign(defs, { [ref]: partial }), ref);
10
- return result;
11
- }
@@ -1,5 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TFromType } from './from_type.mjs';
3
- import { type TEvaluateDependent } from '../evaluate/evaluate.mjs';
4
- export type TFromDependent<If extends TSchema, Then extends TSchema, Else extends TSchema, Evaluated extends TSchema = TEvaluateDependent<If, Then, Else>, Result extends TSchema = TFromType<Evaluated>> = Result;
5
- export declare function FromDependent<If extends TSchema, Then extends TSchema, Else extends TSchema>(if_: If, then_: Then, else_: Else): TFromDependent<If, Then, Else>;
@@ -1,8 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { FromType } from './from_type.mjs';
3
- import { EvaluateDependent } from '../evaluate/evaluate.mjs';
4
- export function FromDependent(if_, then_, else_) {
5
- const evaluated = EvaluateDependent(if_, then_, else_);
6
- const result = FromType(evaluated);
7
- return result;
8
- }
@@ -1,5 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TFromType } from './from_type.mjs';
3
- import { type TEvaluateIntersect } from '../evaluate/evaluate.mjs';
4
- export type TFromIntersect<Types extends TSchema[], Evaluated extends TSchema = TEvaluateIntersect<Types>, Result extends TSchema = TFromType<Evaluated>> = Result;
5
- export declare function FromIntersect<Types extends TSchema[]>(types: [...Types]): TFromIntersect<Types>;
@@ -1,8 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { FromType } from './from_type.mjs';
3
- import { EvaluateIntersect } from '../evaluate/evaluate.mjs';
4
- export function FromIntersect(types) {
5
- const evaluated = EvaluateIntersect(types);
6
- const result = FromType(evaluated);
7
- return result;
8
- }
@@ -1,8 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TObject } from '../../types/object.mjs';
3
- import { type TRemoveOptional } from '../../action/_remove_optional.mjs';
4
- import { type TProperties } from '../../types/properties.mjs';
5
- export type TFromObject<Properties extends TProperties, Mapped extends TProperties = {
6
- [Key in keyof Properties]: TRemoveOptional<Properties[Key]>;
7
- }, Result extends TSchema = TObject<Mapped>> = Result;
8
- export declare function FromObject<Properties extends TProperties>(properties: Properties): TFromObject<Properties>;
@@ -1,11 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Guard } from '../../../guard/index.mjs';
3
- import { Object } from '../../types/object.mjs';
4
- import { RemoveOptional } from '../../action/_remove_optional.mjs';
5
- export function FromObject(properties) {
6
- const mapped = Guard.Keys(properties).reduce((result, left) => {
7
- return { ...result, [left]: RemoveOptional(properties[left]) };
8
- }, {});
9
- const result = Object(mapped);
10
- return result;
11
- }
@@ -1,14 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TCyclic } from '../../types/cyclic.mjs';
3
- import { type TDependent } from '../../types/dependent.mjs';
4
- import { type TIntersect } from '../../types/intersect.mjs';
5
- import { type TObject } from '../../types/object.mjs';
6
- import { type TProperties } from '../../types/properties.mjs';
7
- import { type TUnion } from '../../types/union.mjs';
8
- import { type TFromCyclic } from './from_cyclic.mjs';
9
- import { type TFromDependent } from './from_dependent.mjs';
10
- import { type TFromIntersect } from './from_intersect.mjs';
11
- import { type TFromUnion } from './from_union.mjs';
12
- import { type TFromObject } from './from_object.mjs';
13
- export type TFromType<Type extends TSchema> = (Type extends TCyclic<infer Defs extends TProperties, infer Ref extends string> ? TFromCyclic<Defs, Ref> : Type extends TDependent<infer If extends TSchema, infer Then extends TSchema, infer Else extends TSchema> ? TFromDependent<If, Then, Else> : Type extends TIntersect<infer Types extends TSchema[]> ? TFromIntersect<Types> : Type extends TUnion<infer Types extends TSchema[]> ? TFromUnion<Types> : Type extends TObject<infer Properties extends TProperties> ? TFromObject<Properties> : TObject<{}>);
14
- export declare function FromType<Type extends TSchema>(type: Type): TFromType<Type>;
@@ -1,20 +0,0 @@
1
- // deno-lint-ignore-file ban-types
2
- // deno-fmt-ignore-file
3
- import { IsCyclic } from '../../types/cyclic.mjs';
4
- import { IsDependent } from '../../types/dependent.mjs';
5
- import { IsIntersect } from '../../types/intersect.mjs';
6
- import { Object, IsObject } from '../../types/object.mjs';
7
- import { IsUnion } from '../../types/union.mjs';
8
- import { FromCyclic } from './from_cyclic.mjs';
9
- import { FromDependent } from './from_dependent.mjs';
10
- import { FromIntersect } from './from_intersect.mjs';
11
- import { FromUnion } from './from_union.mjs';
12
- import { FromObject } from './from_object.mjs';
13
- export function FromType(type) {
14
- return (IsCyclic(type) ? FromCyclic(type.$defs, type.$ref) :
15
- IsDependent(type) ? FromDependent(type.if, type.then, type.else) :
16
- IsIntersect(type) ? FromIntersect(type.allOf) :
17
- IsUnion(type) ? FromUnion(type.anyOf) :
18
- IsObject(type) ? FromObject(type.properties) :
19
- Object({}));
20
- }
@@ -1,5 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TUnion } from '../../types/union.mjs';
3
- import { type TFromType } from './from_type.mjs';
4
- export type TFromUnion<Types extends TSchema[], Result extends TSchema[] = []> = (Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TFromUnion<Right, [...Result, TFromType<Left>]> : TUnion<Result>);
5
- export declare function FromUnion<Types extends TSchema[]>(types: [...Types]): TFromUnion<Types>;
@@ -1,7 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Union } from '../../types/union.mjs';
3
- import { FromType } from './from_type.mjs';
4
- export function FromUnion(types) {
5
- const result = types.map(type => FromType(type));
6
- return Union(result);
7
- }
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1,9 +0,0 @@
1
- import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
- import { type TProperties } from '../../types/properties.mjs';
3
- import { type TFromType } from './from_type.mjs';
4
- import { type TRequiredDeferred } from '../../action/required.mjs';
5
- import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate.mjs';
6
- export type TRequiredAction<Type extends TSchema, Result extends TSchema = TCanInstantiate<[Type]> extends true ? TFromType<Type> : TRequiredDeferred<Type>> = Result;
7
- export declare function RequiredAction<Type extends TSchema>(type: Type, options: TSchemaOptions): TRequiredAction<Type>;
8
- export type TRequiredInstantiate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TRequiredAction<InstantiatedType>;
9
- export declare function RequiredInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TRequiredInstantiate<Context, State, Type>;
@@ -1,15 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- import { FromType } from './from_type.mjs';
4
- import { RequiredDeferred } from '../../action/required.mjs';
5
- import { InstantiateType, CanInstantiate } from '../instantiate.mjs';
6
- export function RequiredAction(type, options) {
7
- const result = CanInstantiate([type])
8
- ? Memory.Update(FromType(type), {}, options)
9
- : RequiredDeferred(type, options);
10
- return result;
11
- }
12
- export function RequiredInstantiate(context, state, type, options) {
13
- const instaniatedType = InstantiateType(context, state, type);
14
- return RequiredAction(instaniatedType, options);
15
- }
@@ -1 +0,0 @@
1
- export * from './spread.mjs';
@@ -1 +0,0 @@
1
- export * from './spread.mjs';
@@ -1,12 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TInfer } from '../../types/infer.mjs';
3
- import { type TNever } from '../../types/never.mjs';
4
- import { type TRest } from '../../types/rest.mjs';
5
- import { type TRef } from '../../types/ref.mjs';
6
- import { type TTuple } from '../../types/tuple.mjs';
7
- type TSpreadElement<Type extends TSchema, Result extends TSchema[] = (Type extends TRest<infer Rest extends TSchema> ? (Rest extends TTuple<infer Elements extends TSchema[]> ? TRestSpread<Elements> : Rest extends TInfer<string, TSchema> ? [Type] : Rest extends TRef<string> ? [Type] : [
8
- TNever
9
- ]) : [Type])> = Result;
10
- export type TRestSpread<Types extends TSchema[], Result extends TSchema[] = []> = (Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TRestSpread<Right, [...Result, ...TSpreadElement<Left>]> : Result);
11
- export declare function RestSpread<Types extends TSchema[]>(types: [...Types]): TRestSpread<Types>;
12
- export {};
@@ -1,19 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { IsInfer } from '../../types/infer.mjs';
3
- import { Never } from '../../types/never.mjs';
4
- import { IsRest } from '../../types/rest.mjs';
5
- import { IsRef } from '../../types/ref.mjs';
6
- import { IsTuple } from '../../types/tuple.mjs';
7
- function SpreadElement(type) {
8
- const result = (IsRest(type) ? (IsTuple(type.items) ? RestSpread(type.items.items) :
9
- IsInfer(type.items) ? [type] :
10
- IsRef(type.items) ? [type] :
11
- [Never()]) : [type]);
12
- return result;
13
- }
14
- export function RestSpread(types) {
15
- const result = types.reduce((result, left) => {
16
- return [...result, ...SpreadElement(left)];
17
- }, []);
18
- return result;
19
- }
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1 +0,0 @@
1
- export * from './instantiate.mjs';
@@ -1,12 +0,0 @@
1
- import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
- import { type TProperties } from '../../types/properties.mjs';
3
- import { type TFunction } from '../../types/function.mjs';
4
- import { type TNever } from '../../types/never.mjs';
5
- import { type TReturnTypeDeferred } from '../../action/return_type.mjs';
6
- import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate.mjs';
7
- type TReturnTypeOperation<Type extends TSchema> = (Type extends TFunction ? Type['returnType'] : TNever);
8
- export type TReturnTypeAction<Type extends TSchema, Result extends TSchema = TCanInstantiate<[Type]> extends true ? TReturnTypeOperation<Type> : TReturnTypeDeferred<Type>> = Result;
9
- export declare function ReturnTypeAction<Type extends TSchema>(type: Type, options: TSchemaOptions): TReturnTypeAction<Type>;
10
- export type TReturnTypeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiatedType extends TSchema = TInstantiateType<Context, State, Type>> = TReturnTypeAction<InstantiatedType>;
11
- export declare function ReturnTypeInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options?: TSchemaOptions): TReturnTypeInstantiate<Context, State, Type>;
12
- export {};
@@ -1,21 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- import { IsFunction } from '../../types/function.mjs';
4
- import { Never } from '../../types/never.mjs';
5
- import { ReturnTypeDeferred } from '../../action/return_type.mjs';
6
- import { InstantiateType, CanInstantiate } from '../instantiate.mjs';
7
- function ReturnTypeOperation(type) {
8
- return (IsFunction(type)
9
- ? type['returnType']
10
- : Never());
11
- }
12
- export function ReturnTypeAction(type, options) {
13
- const result = CanInstantiate([type])
14
- ? Memory.Update(ReturnTypeOperation(type), {}, options)
15
- : ReturnTypeDeferred(type, options);
16
- return result;
17
- }
18
- export function ReturnTypeInstantiate(context, state, type, options = {}) {
19
- const instantiatedType = InstantiateType(context, state, type);
20
- return ReturnTypeAction(instantiatedType, options);
21
- }
@@ -1 +0,0 @@
1
- export declare function TemplateLiteralCreate<Pattern extends string>(pattern: Pattern): never;
@@ -1,5 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- export function TemplateLiteralCreate(pattern) {
4
- return Memory.Create({ ['~kind']: 'TemplateLiteral' }, { type: 'string', pattern }, {});
5
- }
@@ -1,30 +0,0 @@
1
- import { type TUnreachable } from '../../../system/unreachable/index.mjs';
2
- import { type TSchema } from '../../types/schema.mjs';
3
- import { type TLiteral, type TLiteralValue } from '../../types/literal.mjs';
4
- import { type TString } from '../../types/string.mjs';
5
- import { type TTemplateLiteral } from '../../types/template_literal.mjs';
6
- import { type TUnion } from '../../types/union.mjs';
7
- import { type TParsePatternIntoTypes } from '../patterns/pattern.mjs';
8
- import { type TIsTemplateLiteralFinite } from './is_finite.mjs';
9
- type TFromLiteralPush<Variants extends string[], Value extends TLiteralValue, Result extends string[] = []> = Variants extends [infer Left extends string, ...infer Right extends string[]] ? TFromLiteralPush<Right, Value, [...Result, `${Left}${Value}`]> : Result;
10
- type TFromLiteral<Variants extends string[], Value extends TLiteralValue> = Variants extends [] ? [`${Value}`] : TFromLiteralPush<Variants, Value>;
11
- type TFromUnion<Variants extends string[], Types extends TSchema[], Result extends string[] = []> = Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TFromUnion<Variants, Right, [...Result, ...TFromType<Variants, Left>]> : Result;
12
- type TFromType<Variants extends string[], Type extends TSchema, Result extends string[] = (Type extends TUnion<infer Types extends TSchema[]> ? TFromUnion<Variants, Types> : Type extends TLiteral<infer Value extends TLiteralValue> ? TFromLiteral<Variants, Value> : TUnreachable)> = Result;
13
- type TDecodeFromSpan<Variants extends string[], Types extends TSchema[]> = Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TDecodeFromSpan<TFromType<Variants, Left>, Right> : Variants;
14
- type TVariantsToLiterals<Variants extends string[], Result extends TSchema[] = []> = Variants extends [infer Left extends string, ...infer Right extends string[]] ? TVariantsToLiterals<Right, [...Result, TLiteral<Left>]> : Result;
15
- type TDecodeTypesAsUnion<Types extends TSchema[], Variants extends string[] = TDecodeFromSpan<[], Types>, Literals extends TSchema[] = TVariantsToLiterals<Variants>, Result extends TSchema = TUnion<Literals>> = Result;
16
- type TDecodeTypes<Types extends TSchema[], Result extends TSchema = (Types extends [] ? TUnreachable : Types extends [infer Type extends TLiteral] ? Type : TDecodeTypesAsUnion<Types>)> = Result;
17
- /** Decodes a TemplateLiteral into a Type. */
18
- export type TTemplateLiteralDecodeUnsafe<Pattern extends string, Types extends TSchema[] = TParsePatternIntoTypes<Pattern>, Result extends TSchema = (Types extends [] ? TString : TIsTemplateLiteralFinite<Types> extends true ? TDecodeTypes<Types> : TTemplateLiteral<Pattern>)> = Result;
19
- /**
20
- * (Internal) Decodes a TemplateLiteral pattern into a Type. This function is unsafe. Decoding a non-finite
21
- * TemplateLiteral pattern may produce another TemplateLiteral pattern. During enumeration, this
22
- * TemplateLiteral -> TemplateLiteral behavior can cause a StackOverflow. A better in-flight template-literal
23
- * decoding algorithm is needed. (for review)
24
- */
25
- export declare function TemplateLiteralDecodeUnsafe<Pattern extends string>(pattern: Pattern): TTemplateLiteralDecodeUnsafe<Pattern>;
26
- /** Decodes a TemplateLiteral pattern but returns TString if the pattern in non-finite. */
27
- export type TTemplateLiteralDecode<Pattern extends string, Decoded extends TSchema = TTemplateLiteralDecodeUnsafe<Pattern>, Result extends TSchema = Decoded extends TTemplateLiteral ? TString : Decoded> = Result;
28
- /** Decodes a TemplateLiteral pattern but returns TString if the pattern in non-finite. */
29
- export declare function TemplateLiteralDecode<Pattern extends string>(pattern: Pattern): TTemplateLiteralDecode<Pattern>;
30
- export {};
@@ -1,81 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Guard } from '../../../guard/index.mjs';
3
- import { Unreachable } from '../../../system/unreachable/index.mjs';
4
- import { Literal, IsLiteral } from '../../types/literal.mjs';
5
- import { String } from '../../types/string.mjs';
6
- import { IsTemplateLiteral } from '../../types/template_literal.mjs';
7
- import { Union, IsUnion } from '../../types/union.mjs';
8
- import { ParsePatternIntoTypes } from '../patterns/pattern.mjs';
9
- import { IsTemplateLiteralFinite } from './is_finite.mjs';
10
- import { TemplateLiteralCreate } from './create.mjs';
11
- function FromLiteralPush(variants, value, result = []) {
12
- return Guard.ShiftLeft(variants, (left, right) => FromLiteralPush(right, value, [...result, `${left}${value}`]), () => result);
13
- }
14
- function FromLiteral(variants, value) {
15
- return (Guard.IsEqual(variants.length, 0) ? [`${value}`] : FromLiteralPush(variants, value));
16
- }
17
- function FromUnion(variants, types, result = []) {
18
- return Guard.ShiftLeft(types, (left, right) => FromUnion(variants, right, [...result, ...FromType(variants, left)]), () => result);
19
- }
20
- // ------------------------------------------------------------------
21
- // deno-coverage-ignore-start - symmetric unreachable | internal
22
- //
23
- // Parsed TemplateLiteral patterns only yield Literal or Union but
24
- // we keep the fall-through to assert that no other types can reach
25
- // here without error.
26
- //
27
- // ------------------------------------------------------------------
28
- function FromType(variants, type) {
29
- const result = (IsUnion(type) ? FromUnion(variants, type.anyOf) :
30
- IsLiteral(type) ? FromLiteral(variants, type.const) :
31
- Unreachable() // []
32
- );
33
- return result;
34
- }
35
- function DecodeFromSpan(variants, types) {
36
- return Guard.ShiftLeft(types, (left, right) => DecodeFromSpan(FromType(variants, left), right), () => variants);
37
- }
38
- function VariantsToLiterals(variants) {
39
- return variants.map(variant => Literal(variant));
40
- }
41
- function DecodeTypesAsUnion(types) {
42
- const variants = DecodeFromSpan([], types);
43
- const literals = VariantsToLiterals(variants);
44
- const result = Union(literals);
45
- return result;
46
- }
47
- // ------------------------------------------------------------------
48
- // deno-coverage-ignore-start - internal
49
- //
50
- // Cannot invoke the 0-length condition as the TemplateLiteral
51
- // parsers always return at least 1 TLiteral or TUnion. We would
52
- // return a empty string TLiteral for this case, but will use
53
- // Unreachable to catch parse inputs that trigger 0-length.
54
- //
55
- // ------------------------------------------------------------------
56
- function DecodeTypes(types) {
57
- return (Guard.IsEqual(types.length, 0) ? Unreachable() : // Literal('') :
58
- Guard.IsEqual(types.length, 1) && IsLiteral(types[0]) ? types[0] :
59
- DecodeTypesAsUnion(types));
60
- }
61
- /**
62
- * (Internal) Decodes a TemplateLiteral pattern into a Type. This function is unsafe. Decoding a non-finite
63
- * TemplateLiteral pattern may produce another TemplateLiteral pattern. During enumeration, this
64
- * TemplateLiteral -> TemplateLiteral behavior can cause a StackOverflow. A better in-flight template-literal
65
- * decoding algorithm is needed. (for review)
66
- */
67
- export function TemplateLiteralDecodeUnsafe(pattern) {
68
- const types = ParsePatternIntoTypes(pattern);
69
- const result = Guard.IsEqual(types.length, 0) // Failed to Parse | IsTemplateLiteralPattern
70
- ? String() // ... Pattern cannot be typed, so discard
71
- : IsTemplateLiteralFinite(types)
72
- ? DecodeTypes(types)
73
- : TemplateLiteralCreate(pattern);
74
- return result;
75
- }
76
- /** Decodes a TemplateLiteral pattern but returns TString if the pattern in non-finite. */
77
- export function TemplateLiteralDecode(pattern) {
78
- const decoded = TemplateLiteralDecodeUnsafe(pattern);
79
- const result = IsTemplateLiteral(decoded) ? String() : decoded;
80
- return result;
81
- }
@@ -1,33 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TEnum, type TEnumValue } from '../../types/enum.mjs';
3
- import { type TLiteral, type TLiteralValue } from '../../types/literal.mjs';
4
- import { type TUnion } from '../../types/union.mjs';
5
- import { type TTemplateLiteral, type TTemplateLiteralDeferred } from '../../types/template_literal.mjs';
6
- import { type TBigInt, BigIntPattern } from '../../types/bigint.mjs';
7
- import { type TString, StringPattern } from '../../types/string.mjs';
8
- import { type TNumber, NumberPattern } from '../../types/number.mjs';
9
- import { type TInteger, IntegerPattern } from '../../types/integer.mjs';
10
- import { type TBoolean } from '../../types/boolean.mjs';
11
- import { NeverPattern } from '../../types/never.mjs';
12
- import { type TEvaluateEnum } from '../evaluate/evaluate.mjs';
13
- import { type TTemplateLiteralAction } from './instantiate.mjs';
14
- type TJoinString<Input extends string[], Result extends string = ''> = (Input extends [infer Left extends string, ...infer Right extends string[]] ? Result extends '' ? TJoinString<Right, Left> : TJoinString<Right, `${Result}|${Left}`> : Result);
15
- type TUnwrapTemplateLiteralPattern<Pattern extends string> = (Pattern extends `^${infer Pattern extends string}$` ? Pattern : never);
16
- type TEncodeLiteral<Value extends TLiteralValue, Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${Value}`>);
17
- type TEncodeBigInt<Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${typeof BigIntPattern}`>);
18
- type TEncodeInteger<Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${typeof IntegerPattern}`>);
19
- type TEncodeNumber<Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${typeof NumberPattern}`>);
20
- type TEncodeBoolean<Right extends TSchema[], Pattern extends string> = (TEncodeType<TUnion<[TLiteral<'false'>, TLiteral<'true'>]>, Right, Pattern>);
21
- type TEncodeString<Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${typeof StringPattern}`>);
22
- type TEncodeTemplateLiteral<TemplatePattern extends string, Right extends TSchema[], Pattern extends string> = (TEncodeTypes<Right, `${Pattern}${TUnwrapTemplateLiteralPattern<TemplatePattern>}`>);
23
- type TEncodeTemplateLiteralDeferred<Types extends TSchema[], Right extends TSchema[], Pattern extends string, TemplateLiteral extends TSchema = TTemplateLiteralAction<Types>, Result extends TSchema = TEncodeType<TemplateLiteral, Right, Pattern>> = Result;
24
- type TEncodeEnum<Values extends TEnumValue[], Right extends TSchema[], Pattern extends string, Evaluated extends TSchema = TEvaluateEnum<Values>> = TEncodeType<Evaluated, Right, Pattern>;
25
- type TEncodeUnion<Types extends TSchema[], Right extends TSchema[], Pattern extends string, Result extends string[] = []> = Types extends [infer Head extends TSchema, ...infer Tail extends TSchema[]] ? TEncodeUnion<Tail, Right, Pattern, [...Result, TEncodeType<Head, [], ''>]> : TEncodeTypes<Right, `${Pattern}(${TJoinString<Result>})`>;
26
- type TEncodeType<Type extends TSchema, Right extends TSchema[], Pattern extends string> = (Type extends TEnum<infer Values extends TEnumValue[]> ? TEncodeEnum<Values, Right, Pattern> : Type extends TInteger ? TEncodeInteger<Right, Pattern> : Type extends TLiteral<infer Value extends TLiteralValue> ? TEncodeLiteral<Value, Right, Pattern> : Type extends TBigInt ? TEncodeBigInt<Right, Pattern> : Type extends TBoolean ? TEncodeBoolean<Right, Pattern> : Type extends TNumber ? TEncodeNumber<Right, Pattern> : Type extends TString ? TEncodeString<Right, Pattern> : Type extends TTemplateLiteral<infer TemplatePattern extends string> ? TEncodeTemplateLiteral<TemplatePattern, Right, Pattern> : Type extends TTemplateLiteralDeferred<infer Types extends TSchema[]> ? TEncodeTemplateLiteralDeferred<Types, Right, Pattern> : Type extends TUnion<infer Types extends TSchema[]> ? TEncodeUnion<Types, Right, Pattern> : typeof NeverPattern);
27
- type TEncodeTypes<Types extends TSchema[], Pattern extends string> = (Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TEncodeType<Left, Right, Pattern> : Pattern);
28
- type TEncodePattern<Types extends TSchema[], Encoded extends string = TEncodeTypes<Types, ''>, Result extends string = `^${Encoded}$`> = Result;
29
- /** Encodes a TemplateLiteral type sequence into a TemplateLiteral */
30
- export type TTemplateLiteralEncode<Types extends TSchema[], Pattern extends string = TEncodePattern<Types>, Result extends TSchema = TTemplateLiteral<Pattern>> = Result;
31
- /** Encodes a TemplateLiteral type sequence into a TemplateLiteral */
32
- export declare function TemplateLiteralEncode<Types extends TSchema[]>(types: [...Types]): TTemplateLiteralEncode<Types>;
33
- export {};
@@ -1,81 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Guard } from '../../../guard/index.mjs';
3
- import { IsEnum } from '../../types/enum.mjs';
4
- import { Literal, IsLiteral } from '../../types/literal.mjs';
5
- import { Union, IsUnion } from '../../types/union.mjs';
6
- import { IsTemplateLiteral, IsTemplateLiteralDeferred } from '../../types/template_literal.mjs';
7
- import { IsBigInt, BigIntPattern } from '../../types/bigint.mjs';
8
- import { IsString, StringPattern } from '../../types/string.mjs';
9
- import { IsNumber, NumberPattern } from '../../types/number.mjs';
10
- import { IsInteger, IntegerPattern } from '../../types/integer.mjs';
11
- import { IsBoolean } from '../../types/boolean.mjs';
12
- import { NeverPattern } from '../../types/never.mjs';
13
- import { TemplateLiteralCreate } from './create.mjs';
14
- import { EvaluateEnum } from '../evaluate/evaluate.mjs';
15
- import { TemplateLiteralAction } from './instantiate.mjs';
16
- function JoinString(input) {
17
- return input.join('|');
18
- }
19
- function UnwrapTemplateLiteralPattern(pattern) {
20
- return pattern.slice(1, pattern.length - 1);
21
- }
22
- function EncodeLiteral(value, right, pattern) {
23
- return EncodeTypes(right, `${pattern}${value}`);
24
- }
25
- function EncodeBigInt(right, pattern) {
26
- return EncodeTypes(right, `${pattern}${BigIntPattern}`);
27
- }
28
- function EncodeInteger(right, pattern) {
29
- return EncodeTypes(right, `${pattern}${IntegerPattern}`);
30
- }
31
- function EncodeNumber(right, pattern) {
32
- return EncodeTypes(right, `${pattern}${NumberPattern}`);
33
- }
34
- function EncodeBoolean(right, pattern) {
35
- return EncodeType(Union([Literal('false'), Literal('true')]), right, pattern);
36
- }
37
- function EncodeString(right, pattern) {
38
- return EncodeTypes(right, `${pattern}${StringPattern}`);
39
- }
40
- function EncodeTemplateLiteral(templatePattern, right, pattern) {
41
- return EncodeTypes(right, `${pattern}${UnwrapTemplateLiteralPattern(templatePattern)}`);
42
- }
43
- function EncodeTemplateLiteralDeferred(types, right, pattern) {
44
- const templateLiteral = TemplateLiteralAction(types, {});
45
- const result = EncodeType(templateLiteral, right, pattern);
46
- return result;
47
- }
48
- function EncodeEnum(values, right, pattern) {
49
- const evaluated = EvaluateEnum(values);
50
- return EncodeType(evaluated, right, pattern);
51
- }
52
- function EncodeUnion(types, right, pattern, result = []) {
53
- return Guard.ShiftLeft(types, (head, tail) => EncodeUnion(tail, right, pattern, [...result, EncodeType(head, [], '')]), () => EncodeTypes(right, `${pattern}(${JoinString(result)})`));
54
- }
55
- function EncodeType(type, right, pattern) {
56
- return (IsEnum(type) ? EncodeEnum(type.enum, right, pattern) :
57
- IsInteger(type) ? EncodeInteger(right, pattern) :
58
- IsLiteral(type) ? EncodeLiteral(type.const, right, pattern) :
59
- IsBigInt(type) ? EncodeBigInt(right, pattern) :
60
- IsBoolean(type) ? EncodeBoolean(right, pattern) :
61
- IsNumber(type) ? EncodeNumber(right, pattern) :
62
- IsString(type) ? EncodeString(right, pattern) :
63
- IsTemplateLiteral(type) ? EncodeTemplateLiteral(type.pattern, right, pattern) :
64
- IsTemplateLiteralDeferred(type) ? EncodeTemplateLiteralDeferred(type.parameters[0], right, pattern) :
65
- IsUnion(type) ? EncodeUnion(type.anyOf, right, pattern) :
66
- NeverPattern);
67
- }
68
- function EncodeTypes(types, pattern) {
69
- return Guard.ShiftLeft(types, (left, right) => EncodeType(left, right, pattern), () => pattern);
70
- }
71
- function EncodePattern(types) {
72
- const encoded = EncodeTypes(types, '');
73
- const result = `^${encoded}$`;
74
- return result;
75
- }
76
- /** Encodes a TemplateLiteral type sequence into a TemplateLiteral */
77
- export function TemplateLiteralEncode(types) {
78
- const pattern = EncodePattern(types);
79
- const result = TemplateLiteralCreate(pattern);
80
- return result;
81
- }
@@ -1,6 +0,0 @@
1
- export * from './create.mjs';
2
- export * from './decode.mjs';
3
- export * from './encode.mjs';
4
- export * from './static.mjs';
5
- export * from './is_finite.mjs';
6
- export * from './is_pattern.mjs';
@@ -1,6 +0,0 @@
1
- export * from './create.mjs';
2
- export * from './decode.mjs';
3
- export * from './encode.mjs';
4
- export * from './static.mjs';
5
- export * from './is_finite.mjs';
6
- export * from './is_pattern.mjs';
@@ -1,9 +0,0 @@
1
- import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
- import { type TProperties } from '../../types/properties.mjs';
3
- import { type TTemplateLiteralDeferred } from '../../types/template_literal.mjs';
4
- import { type TTemplateLiteralEncode } from './encode.mjs';
5
- import { type TState, type TInstantiateTypes, type TCanInstantiate } from '../instantiate.mjs';
6
- export type TTemplateLiteralAction<Types extends TSchema[], Result extends TSchema = TCanInstantiate<Types> extends true ? TTemplateLiteralEncode<Types> : TTemplateLiteralDeferred<Types>> = Result;
7
- export declare function TemplateLiteralAction<Types extends TSchema[]>(types: [...Types], options: TSchemaOptions): TTemplateLiteralAction<Types>;
8
- export type TTemplateLiteralInstantiate<Context extends TProperties, State extends TState, Types extends TSchema[], InstantiatedTypes extends TSchema[] = TInstantiateTypes<Context, State, Types>> = TTemplateLiteralAction<InstantiatedTypes>;
9
- export declare function TemplateLiteralInstantiate<Context extends TProperties, State extends TState, Types extends TSchema[]>(context: Context, state: State, types: [...Types], options: TSchemaOptions): TTemplateLiteralInstantiate<Context, State, Types>;
@@ -1,15 +0,0 @@
1
- // deno-fmt-ignore-file
2
- import { Memory } from '../../../system/memory/index.mjs';
3
- import { TemplateLiteralDeferred } from '../../types/template_literal.mjs';
4
- import { TemplateLiteralEncode } from './encode.mjs';
5
- import { InstantiateTypes, CanInstantiate } from '../instantiate.mjs';
6
- export function TemplateLiteralAction(types, options) {
7
- const result = CanInstantiate(types)
8
- ? Memory.Update(TemplateLiteralEncode(types), {}, options)
9
- : TemplateLiteralDeferred(types, options);
10
- return result;
11
- }
12
- export function TemplateLiteralInstantiate(context, state, types, options) {
13
- const instantiatedTypes = InstantiateTypes(context, state, types);
14
- return TemplateLiteralAction(instantiatedTypes, options);
15
- }
@@ -1,12 +0,0 @@
1
- import { type TSchema } from '../../types/schema.mjs';
2
- import { type TLiteral, type TLiteralValue } from '../../types/literal.mjs';
3
- import { type TUnion } from '../../types/union.mjs';
4
- type TFromLiteral<_Value extends TLiteralValue> = true;
5
- type TFromTypesReduce<Types extends TSchema[]> = (Types extends [infer Left extends TSchema, ...infer Right extends TSchema[]] ? TFromType<Left> extends true ? TFromTypesReduce<Right> : false : true);
6
- type TFromTypes<Types extends TSchema[], Result extends boolean = Types extends [] ? false : TFromTypesReduce<Types>> = Result;
7
- type TFromType<Type extends TSchema> = Type extends TUnion<infer Types extends TSchema[]> ? TFromTypes<Types> : Type extends TLiteral<infer Value extends TLiteralValue> ? TFromLiteral<Value> : false;
8
- /** Returns true if the given TemplateLiteral types yields a finite variant set */
9
- export type TIsTemplateLiteralFinite<Types extends TSchema[], Result extends boolean = TFromTypes<Types>> = Result;
10
- /** Returns true if the given TemplateLiteral types yields a finite variant set */
11
- export declare function IsTemplateLiteralFinite<Types extends TSchema[]>(types: [...Types]): TIsTemplateLiteralFinite<Types>;
12
- export {};