effect 4.0.1 → 4.0.2

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 (917) hide show
  1. package/ai-docs/package.json +2 -2
  2. package/ai-docs/tsconfig.json +2 -1
  3. package/dist/Array.d.ts +339 -0
  4. package/dist/Array.d.ts.map +1 -1
  5. package/dist/Array.js +143 -3
  6. package/dist/Array.js.map +1 -1
  7. package/dist/BigDecimal.d.ts +88 -0
  8. package/dist/BigDecimal.d.ts.map +1 -1
  9. package/dist/BigDecimal.js +44 -0
  10. package/dist/BigDecimal.js.map +1 -1
  11. package/dist/BigInt.d.ts +68 -0
  12. package/dist/BigInt.d.ts.map +1 -1
  13. package/dist/BigInt.js +36 -0
  14. package/dist/BigInt.js.map +1 -1
  15. package/dist/Boolean.d.ts +34 -0
  16. package/dist/Boolean.d.ts.map +1 -1
  17. package/dist/Boolean.js +18 -0
  18. package/dist/Boolean.js.map +1 -1
  19. package/dist/Brand.d.ts +9 -0
  20. package/dist/Brand.d.ts.map +1 -1
  21. package/dist/Brand.js +6 -0
  22. package/dist/Brand.js.map +1 -1
  23. package/dist/ByteSize.d.ts +86 -0
  24. package/dist/ByteSize.d.ts.map +1 -1
  25. package/dist/ByteSize.js +51 -0
  26. package/dist/ByteSize.js.map +1 -1
  27. package/dist/Cache.d.ts +38 -1
  28. package/dist/Cache.d.ts.map +1 -1
  29. package/dist/Cache.js +27 -7
  30. package/dist/Cache.js.map +1 -1
  31. package/dist/Cause.d.ts +82 -0
  32. package/dist/Cause.d.ts.map +1 -1
  33. package/dist/Cause.js +60 -0
  34. package/dist/Cause.js.map +1 -1
  35. package/dist/Channel.d.ts +327 -4
  36. package/dist/Channel.d.ts.map +1 -1
  37. package/dist/Channel.js +168 -8
  38. package/dist/Channel.js.map +1 -1
  39. package/dist/ChannelSchema.d.ts +11 -0
  40. package/dist/ChannelSchema.d.ts.map +1 -1
  41. package/dist/ChannelSchema.js +6 -0
  42. package/dist/ChannelSchema.js.map +1 -1
  43. package/dist/Chunk.d.ts +192 -0
  44. package/dist/Chunk.d.ts.map +1 -1
  45. package/dist/Chunk.js +78 -0
  46. package/dist/Chunk.js.map +1 -1
  47. package/dist/Clock.d.ts +7 -0
  48. package/dist/Clock.d.ts.map +1 -1
  49. package/dist/Clock.js +5 -0
  50. package/dist/Clock.js.map +1 -1
  51. package/dist/Combiner.d.ts +10 -0
  52. package/dist/Combiner.d.ts.map +1 -1
  53. package/dist/Combiner.js +8 -0
  54. package/dist/Combiner.js.map +1 -1
  55. package/dist/Config.d.ts +52 -12
  56. package/dist/Config.d.ts.map +1 -1
  57. package/dist/Config.js +55 -5
  58. package/dist/Config.js.map +1 -1
  59. package/dist/ConfigProvider.d.ts +28 -0
  60. package/dist/ConfigProvider.d.ts.map +1 -1
  61. package/dist/ConfigProvider.js +19 -0
  62. package/dist/ConfigProvider.js.map +1 -1
  63. package/dist/Console.d.ts +22 -0
  64. package/dist/Console.d.ts.map +1 -1
  65. package/dist/Console.js +20 -0
  66. package/dist/Console.js.map +1 -1
  67. package/dist/Context.d.ts +50 -0
  68. package/dist/Context.d.ts.map +1 -1
  69. package/dist/Context.js +21 -0
  70. package/dist/Context.js.map +1 -1
  71. package/dist/Cron.d.ts +16 -0
  72. package/dist/Cron.d.ts.map +1 -1
  73. package/dist/Cron.js +26 -1
  74. package/dist/Cron.js.map +1 -1
  75. package/dist/Crypto.d.ts +5 -0
  76. package/dist/Crypto.d.ts.map +1 -1
  77. package/dist/Crypto.js +3 -0
  78. package/dist/Crypto.js.map +1 -1
  79. package/dist/Data.d.ts +13 -0
  80. package/dist/Data.d.ts.map +1 -1
  81. package/dist/Data.js +5 -0
  82. package/dist/Data.js.map +1 -1
  83. package/dist/DateTime.d.ts +171 -0
  84. package/dist/DateTime.d.ts.map +1 -1
  85. package/dist/DateTime.js +89 -0
  86. package/dist/DateTime.js.map +1 -1
  87. package/dist/Deferred.d.ts +51 -0
  88. package/dist/Deferred.d.ts.map +1 -1
  89. package/dist/Deferred.js +22 -0
  90. package/dist/Deferred.js.map +1 -1
  91. package/dist/Differ.d.ts +2 -0
  92. package/dist/Differ.d.ts.map +1 -1
  93. package/dist/Differ.js +1 -0
  94. package/dist/Duration.d.ts +90 -0
  95. package/dist/Duration.d.ts.map +1 -1
  96. package/dist/Duration.js +53 -0
  97. package/dist/Duration.js.map +1 -1
  98. package/dist/Effect.d.ts +527 -0
  99. package/dist/Effect.d.ts.map +1 -1
  100. package/dist/Effect.js +240 -5
  101. package/dist/Effect.js.map +1 -1
  102. package/dist/Effectable.d.ts +4 -0
  103. package/dist/Effectable.d.ts.map +1 -1
  104. package/dist/Effectable.js +3 -0
  105. package/dist/Effectable.js.map +1 -1
  106. package/dist/Equal.d.ts +8 -0
  107. package/dist/Equal.d.ts.map +1 -1
  108. package/dist/Equal.js +9 -1
  109. package/dist/Equal.js.map +1 -1
  110. package/dist/Equivalence.d.ts +21 -0
  111. package/dist/Equivalence.d.ts.map +1 -1
  112. package/dist/Equivalence.js +16 -0
  113. package/dist/Equivalence.js.map +1 -1
  114. package/dist/ErrorReporter.d.ts +36 -0
  115. package/dist/ErrorReporter.d.ts.map +1 -1
  116. package/dist/ErrorReporter.js +11 -0
  117. package/dist/ErrorReporter.js.map +1 -1
  118. package/dist/ExecutionPlan.d.ts +49 -8
  119. package/dist/ExecutionPlan.d.ts.map +1 -1
  120. package/dist/ExecutionPlan.js +7 -0
  121. package/dist/ExecutionPlan.js.map +1 -1
  122. package/dist/Exit.d.ts +40 -0
  123. package/dist/Exit.d.ts.map +1 -1
  124. package/dist/Exit.js +27 -0
  125. package/dist/Exit.js.map +1 -1
  126. package/dist/Fiber.d.ts +20 -0
  127. package/dist/Fiber.d.ts.map +1 -1
  128. package/dist/Fiber.js +11 -0
  129. package/dist/Fiber.js.map +1 -1
  130. package/dist/FiberHandle.d.ts +21 -0
  131. package/dist/FiberHandle.d.ts.map +1 -1
  132. package/dist/FiberHandle.js +21 -4
  133. package/dist/FiberHandle.js.map +1 -1
  134. package/dist/FiberMap.d.ts +35 -0
  135. package/dist/FiberMap.d.ts.map +1 -1
  136. package/dist/FiberMap.js +19 -0
  137. package/dist/FiberMap.js.map +1 -1
  138. package/dist/FiberSet.d.ts +20 -0
  139. package/dist/FiberSet.d.ts.map +1 -1
  140. package/dist/FiberSet.js +14 -0
  141. package/dist/FiberSet.js.map +1 -1
  142. package/dist/FileSystem.d.ts +15 -0
  143. package/dist/FileSystem.d.ts.map +1 -1
  144. package/dist/FileSystem.js +8 -0
  145. package/dist/FileSystem.js.map +1 -1
  146. package/dist/Filter.d.ts +55 -0
  147. package/dist/Filter.d.ts.map +1 -1
  148. package/dist/Filter.js +28 -0
  149. package/dist/Filter.js.map +1 -1
  150. package/dist/Formatter.d.ts +3 -0
  151. package/dist/Formatter.d.ts.map +1 -1
  152. package/dist/Formatter.js +39 -1
  153. package/dist/Formatter.js.map +1 -1
  154. package/dist/Function.d.ts +30 -0
  155. package/dist/Function.d.ts.map +1 -1
  156. package/dist/Function.js +20 -0
  157. package/dist/Function.js.map +1 -1
  158. package/dist/Graph.d.ts +247 -12
  159. package/dist/Graph.d.ts.map +1 -1
  160. package/dist/Graph.js +149 -28
  161. package/dist/Graph.js.map +1 -1
  162. package/dist/HKT.d.ts +5 -0
  163. package/dist/HKT.d.ts.map +1 -1
  164. package/dist/Hash.d.ts +14 -0
  165. package/dist/Hash.d.ts.map +1 -1
  166. package/dist/Hash.js +12 -0
  167. package/dist/Hash.js.map +1 -1
  168. package/dist/HashMap.d.ts +91 -0
  169. package/dist/HashMap.d.ts.map +1 -1
  170. package/dist/HashMap.js +39 -0
  171. package/dist/HashMap.js.map +1 -1
  172. package/dist/HashRing.d.ts +17 -0
  173. package/dist/HashRing.d.ts.map +1 -1
  174. package/dist/HashRing.js +9 -0
  175. package/dist/HashRing.js.map +1 -1
  176. package/dist/HashSet.d.ts +49 -0
  177. package/dist/HashSet.d.ts.map +1 -1
  178. package/dist/HashSet.js +19 -0
  179. package/dist/HashSet.js.map +1 -1
  180. package/dist/Inspectable.d.ts +7 -0
  181. package/dist/Inspectable.d.ts.map +1 -1
  182. package/dist/Inspectable.js +6 -0
  183. package/dist/Inspectable.js.map +1 -1
  184. package/dist/Iterable.d.ts +127 -0
  185. package/dist/Iterable.d.ts.map +1 -1
  186. package/dist/Iterable.js +51 -0
  187. package/dist/Iterable.js.map +1 -1
  188. package/dist/JsonPatch.d.ts +4 -0
  189. package/dist/JsonPatch.d.ts.map +1 -1
  190. package/dist/JsonPatch.js +3 -0
  191. package/dist/JsonPatch.js.map +1 -1
  192. package/dist/JsonPointer.d.ts +5 -0
  193. package/dist/JsonPointer.d.ts.map +1 -1
  194. package/dist/JsonPointer.js +5 -0
  195. package/dist/JsonPointer.js.map +1 -1
  196. package/dist/JsonSchema.d.ts +16 -0
  197. package/dist/JsonSchema.d.ts.map +1 -1
  198. package/dist/JsonSchema.js +11 -0
  199. package/dist/JsonSchema.js.map +1 -1
  200. package/dist/Latch.d.ts +14 -0
  201. package/dist/Latch.d.ts.map +1 -1
  202. package/dist/Latch.js +10 -0
  203. package/dist/Latch.js.map +1 -1
  204. package/dist/Layer.d.ts +100 -0
  205. package/dist/Layer.d.ts.map +1 -1
  206. package/dist/Layer.js +45 -1
  207. package/dist/Layer.js.map +1 -1
  208. package/dist/LayerMap.d.ts +7 -0
  209. package/dist/LayerMap.d.ts.map +1 -1
  210. package/dist/LayerMap.js +4 -0
  211. package/dist/LayerMap.js.map +1 -1
  212. package/dist/LayerRef.d.ts +5 -0
  213. package/dist/LayerRef.d.ts.map +1 -1
  214. package/dist/LayerRef.js +3 -0
  215. package/dist/LayerRef.js.map +1 -1
  216. package/dist/LogLevel.d.ts +20 -0
  217. package/dist/LogLevel.d.ts.map +1 -1
  218. package/dist/LogLevel.js +9 -0
  219. package/dist/LogLevel.js.map +1 -1
  220. package/dist/Logger.d.ts +25 -0
  221. package/dist/Logger.d.ts.map +1 -1
  222. package/dist/Logger.js +30 -4
  223. package/dist/Logger.js.map +1 -1
  224. package/dist/ManagedRuntime.d.ts +5 -0
  225. package/dist/ManagedRuntime.d.ts.map +1 -1
  226. package/dist/ManagedRuntime.js +9 -1
  227. package/dist/ManagedRuntime.js.map +1 -1
  228. package/dist/Match.d.ts +51 -0
  229. package/dist/Match.d.ts.map +1 -1
  230. package/dist/Match.js +39 -0
  231. package/dist/Match.js.map +1 -1
  232. package/dist/Metric.d.ts +59 -0
  233. package/dist/Metric.d.ts.map +1 -1
  234. package/dist/Metric.js +31 -0
  235. package/dist/Metric.js.map +1 -1
  236. package/dist/MutableHashMap.d.ts +32 -0
  237. package/dist/MutableHashMap.d.ts.map +1 -1
  238. package/dist/MutableHashMap.js +16 -0
  239. package/dist/MutableHashMap.js.map +1 -1
  240. package/dist/MutableHashSet.d.ts +16 -0
  241. package/dist/MutableHashSet.d.ts.map +1 -1
  242. package/dist/MutableHashSet.js +10 -0
  243. package/dist/MutableHashSet.js.map +1 -1
  244. package/dist/MutableList.d.ts +20 -0
  245. package/dist/MutableList.d.ts.map +1 -1
  246. package/dist/MutableList.js +18 -0
  247. package/dist/MutableList.js.map +1 -1
  248. package/dist/MutableRef.d.ts +31 -0
  249. package/dist/MutableRef.d.ts.map +1 -1
  250. package/dist/MutableRef.js +17 -0
  251. package/dist/MutableRef.js.map +1 -1
  252. package/dist/Newtype.d.ts +9 -0
  253. package/dist/Newtype.d.ts.map +1 -1
  254. package/dist/Newtype.js +6 -0
  255. package/dist/Newtype.js.map +1 -1
  256. package/dist/NonEmptyIterable.d.ts +4 -0
  257. package/dist/NonEmptyIterable.d.ts.map +1 -1
  258. package/dist/NonEmptyIterable.js +2 -0
  259. package/dist/NonEmptyIterable.js.map +1 -1
  260. package/dist/Number.d.ts +61 -0
  261. package/dist/Number.d.ts.map +1 -1
  262. package/dist/Number.js +31 -0
  263. package/dist/Number.js.map +1 -1
  264. package/dist/Optic.d.ts +41 -0
  265. package/dist/Optic.d.ts.map +1 -1
  266. package/dist/Optic.js +20 -0
  267. package/dist/Optic.js.map +1 -1
  268. package/dist/Option.d.ts +134 -0
  269. package/dist/Option.d.ts.map +1 -1
  270. package/dist/Option.js +61 -0
  271. package/dist/Option.js.map +1 -1
  272. package/dist/Order.d.ts +29 -0
  273. package/dist/Order.d.ts.map +1 -1
  274. package/dist/Order.js +24 -0
  275. package/dist/Order.js.map +1 -1
  276. package/dist/Ordering.d.ts +7 -0
  277. package/dist/Ordering.d.ts.map +1 -1
  278. package/dist/Ordering.js +3 -0
  279. package/dist/Ordering.js.map +1 -1
  280. package/dist/PartitionedSemaphore.d.ts +24 -0
  281. package/dist/PartitionedSemaphore.d.ts.map +1 -1
  282. package/dist/PartitionedSemaphore.js +47 -21
  283. package/dist/PartitionedSemaphore.js.map +1 -1
  284. package/dist/Path.d.ts +6 -0
  285. package/dist/Path.d.ts.map +1 -1
  286. package/dist/Path.js +4 -0
  287. package/dist/Path.js.map +1 -1
  288. package/dist/Pipeable.d.ts +7 -0
  289. package/dist/Pipeable.d.ts.map +1 -1
  290. package/dist/Pipeable.js +5 -0
  291. package/dist/Pipeable.js.map +1 -1
  292. package/dist/PlatformError.d.ts +8 -0
  293. package/dist/PlatformError.d.ts.map +1 -1
  294. package/dist/PlatformError.js +7 -0
  295. package/dist/PlatformError.js.map +1 -1
  296. package/dist/Pool.d.ts +19 -0
  297. package/dist/Pool.d.ts.map +1 -1
  298. package/dist/Pool.js +8 -1
  299. package/dist/Pool.js.map +1 -1
  300. package/dist/Predicate.d.ts +84 -0
  301. package/dist/Predicate.d.ts.map +1 -1
  302. package/dist/Predicate.js +48 -0
  303. package/dist/Predicate.js.map +1 -1
  304. package/dist/PrimaryKey.d.ts +5 -0
  305. package/dist/PrimaryKey.d.ts.map +1 -1
  306. package/dist/PrimaryKey.js +4 -0
  307. package/dist/PrimaryKey.js.map +1 -1
  308. package/dist/PubSub.d.ts +67 -5
  309. package/dist/PubSub.d.ts.map +1 -1
  310. package/dist/PubSub.js +60 -8
  311. package/dist/PubSub.js.map +1 -1
  312. package/dist/Pull.d.ts +20 -0
  313. package/dist/Pull.d.ts.map +1 -1
  314. package/dist/Pull.js +10 -0
  315. package/dist/Pull.js.map +1 -1
  316. package/dist/Queue.d.ts +60 -0
  317. package/dist/Queue.d.ts.map +1 -1
  318. package/dist/Queue.js +58 -8
  319. package/dist/Queue.js.map +1 -1
  320. package/dist/Random.d.ts +13 -0
  321. package/dist/Random.d.ts.map +1 -1
  322. package/dist/Random.js +9 -0
  323. package/dist/Random.js.map +1 -1
  324. package/dist/RcMap.d.ts +23 -0
  325. package/dist/RcMap.d.ts.map +1 -1
  326. package/dist/RcMap.js +8 -0
  327. package/dist/RcMap.js.map +1 -1
  328. package/dist/RcRef.d.ts +6 -0
  329. package/dist/RcRef.d.ts.map +1 -1
  330. package/dist/RcRef.js +3 -0
  331. package/dist/RcRef.js.map +1 -1
  332. package/dist/Record.d.ts +100 -0
  333. package/dist/Record.d.ts.map +1 -1
  334. package/dist/Record.js +43 -0
  335. package/dist/Record.js.map +1 -1
  336. package/dist/Redactable.d.ts +6 -0
  337. package/dist/Redactable.d.ts.map +1 -1
  338. package/dist/Redactable.js +4 -0
  339. package/dist/Redactable.js.map +1 -1
  340. package/dist/Redacted.d.ts +8 -0
  341. package/dist/Redacted.d.ts.map +1 -1
  342. package/dist/Redacted.js +6 -0
  343. package/dist/Redacted.js.map +1 -1
  344. package/dist/Reducer.d.ts +4 -0
  345. package/dist/Reducer.d.ts.map +1 -1
  346. package/dist/Reducer.js +3 -0
  347. package/dist/Reducer.js.map +1 -1
  348. package/dist/Ref.d.ts +20 -0
  349. package/dist/Ref.d.ts.map +1 -1
  350. package/dist/Ref.js +16 -0
  351. package/dist/Ref.js.map +1 -1
  352. package/dist/References.d.ts +21 -0
  353. package/dist/References.d.ts.map +1 -1
  354. package/dist/References.js +19 -0
  355. package/dist/References.js.map +1 -1
  356. package/dist/RegExp.d.ts +3 -0
  357. package/dist/RegExp.d.ts.map +1 -1
  358. package/dist/RegExp.js +4 -0
  359. package/dist/RegExp.js.map +1 -1
  360. package/dist/Request.d.ts +32 -0
  361. package/dist/Request.d.ts.map +1 -1
  362. package/dist/Request.js +12 -0
  363. package/dist/Request.js.map +1 -1
  364. package/dist/RequestResolver.d.ts +42 -0
  365. package/dist/RequestResolver.d.ts.map +1 -1
  366. package/dist/RequestResolver.js +27 -6
  367. package/dist/RequestResolver.js.map +1 -1
  368. package/dist/Resource.d.ts +6 -0
  369. package/dist/Resource.d.ts.map +1 -1
  370. package/dist/Resource.js +6 -0
  371. package/dist/Resource.js.map +1 -1
  372. package/dist/Result.d.ts +91 -0
  373. package/dist/Result.d.ts.map +1 -1
  374. package/dist/Result.js +41 -0
  375. package/dist/Result.js.map +1 -1
  376. package/dist/Runtime.d.ts +9 -0
  377. package/dist/Runtime.d.ts.map +1 -1
  378. package/dist/Runtime.js +7 -0
  379. package/dist/Runtime.js.map +1 -1
  380. package/dist/Schedule.d.ts +57 -0
  381. package/dist/Schedule.d.ts.map +1 -1
  382. package/dist/Schedule.js +32 -0
  383. package/dist/Schedule.js.map +1 -1
  384. package/dist/Scheduler.d.ts +7 -0
  385. package/dist/Scheduler.d.ts.map +1 -1
  386. package/dist/Scheduler.js +5 -0
  387. package/dist/Scheduler.js.map +1 -1
  388. package/dist/Schema.d.ts +496 -1
  389. package/dist/Schema.d.ts.map +1 -1
  390. package/dist/Schema.js +280 -1
  391. package/dist/Schema.js.map +1 -1
  392. package/dist/SchemaAST.d.ts +107 -0
  393. package/dist/SchemaAST.d.ts.map +1 -1
  394. package/dist/SchemaAST.js +81 -1
  395. package/dist/SchemaAST.js.map +1 -1
  396. package/dist/SchemaGetter.d.ts +69 -2
  397. package/dist/SchemaGetter.d.ts.map +1 -1
  398. package/dist/SchemaGetter.js +63 -4
  399. package/dist/SchemaGetter.js.map +1 -1
  400. package/dist/SchemaIssue.d.ts +33 -0
  401. package/dist/SchemaIssue.d.ts.map +1 -1
  402. package/dist/SchemaIssue.js +18 -0
  403. package/dist/SchemaIssue.js.map +1 -1
  404. package/dist/SchemaParser.d.ts +25 -0
  405. package/dist/SchemaParser.d.ts.map +1 -1
  406. package/dist/SchemaParser.js +26 -0
  407. package/dist/SchemaParser.js.map +1 -1
  408. package/dist/SchemaRepresentation.d.ts +147 -0
  409. package/dist/SchemaRepresentation.d.ts.map +1 -1
  410. package/dist/SchemaRepresentation.js +99 -0
  411. package/dist/SchemaRepresentation.js.map +1 -1
  412. package/dist/SchemaTransformation.d.ts +53 -0
  413. package/dist/SchemaTransformation.d.ts.map +1 -1
  414. package/dist/SchemaTransformation.js +46 -0
  415. package/dist/SchemaTransformation.js.map +1 -1
  416. package/dist/Scope.d.ts +19 -0
  417. package/dist/Scope.d.ts.map +1 -1
  418. package/dist/Scope.js +12 -0
  419. package/dist/Scope.js.map +1 -1
  420. package/dist/ScopedCache.d.ts +34 -0
  421. package/dist/ScopedCache.d.ts.map +1 -1
  422. package/dist/ScopedCache.js +26 -3
  423. package/dist/ScopedCache.js.map +1 -1
  424. package/dist/ScopedRef.d.ts +9 -0
  425. package/dist/ScopedRef.d.ts.map +1 -1
  426. package/dist/ScopedRef.js +6 -0
  427. package/dist/ScopedRef.js.map +1 -1
  428. package/dist/Semaphore.d.ts +26 -0
  429. package/dist/Semaphore.d.ts.map +1 -1
  430. package/dist/Semaphore.js +10 -0
  431. package/dist/Semaphore.js.map +1 -1
  432. package/dist/Sink.d.ts +125 -1
  433. package/dist/Sink.d.ts.map +1 -1
  434. package/dist/Sink.js +75 -1
  435. package/dist/Sink.js.map +1 -1
  436. package/dist/StandardSchema.d.ts +1 -0
  437. package/dist/StandardSchema.d.ts.map +1 -1
  438. package/dist/StandardSchema.js +1 -0
  439. package/dist/Stdio.d.ts +7 -0
  440. package/dist/Stdio.d.ts.map +1 -1
  441. package/dist/Stdio.js +5 -0
  442. package/dist/Stdio.js.map +1 -1
  443. package/dist/Stream.d.ts +558 -0
  444. package/dist/Stream.d.ts.map +1 -1
  445. package/dist/Stream.js +261 -13
  446. package/dist/Stream.js.map +1 -1
  447. package/dist/String.d.ts +87 -0
  448. package/dist/String.d.ts.map +1 -1
  449. package/dist/String.js +61 -0
  450. package/dist/String.js.map +1 -1
  451. package/dist/Struct.d.ts +46 -0
  452. package/dist/Struct.d.ts.map +1 -1
  453. package/dist/Struct.js +19 -0
  454. package/dist/Struct.js.map +1 -1
  455. package/dist/SubscriptionRef.d.ts +65 -0
  456. package/dist/SubscriptionRef.d.ts.map +1 -1
  457. package/dist/SubscriptionRef.js +25 -0
  458. package/dist/SubscriptionRef.js.map +1 -1
  459. package/dist/Symbol.d.ts +2 -0
  460. package/dist/Symbol.d.ts.map +1 -1
  461. package/dist/Symbol.js +2 -0
  462. package/dist/Symbol.js.map +1 -1
  463. package/dist/SynchronizedRef.d.ts +63 -0
  464. package/dist/SynchronizedRef.d.ts.map +1 -1
  465. package/dist/SynchronizedRef.js +24 -0
  466. package/dist/SynchronizedRef.js.map +1 -1
  467. package/dist/Take.d.ts +3 -0
  468. package/dist/Take.d.ts.map +1 -1
  469. package/dist/Take.js +1 -0
  470. package/dist/Take.js.map +1 -1
  471. package/dist/Terminal.d.ts +8 -0
  472. package/dist/Terminal.d.ts.map +1 -1
  473. package/dist/Terminal.js +4 -0
  474. package/dist/Terminal.js.map +1 -1
  475. package/dist/Tracer.d.ts +23 -0
  476. package/dist/Tracer.d.ts.map +1 -1
  477. package/dist/Tracer.js +12 -0
  478. package/dist/Tracer.js.map +1 -1
  479. package/dist/Trie.d.ts +68 -0
  480. package/dist/Trie.d.ts.map +1 -1
  481. package/dist/Trie.js +28 -0
  482. package/dist/Trie.js.map +1 -1
  483. package/dist/Tuple.d.ts +38 -0
  484. package/dist/Tuple.d.ts.map +1 -1
  485. package/dist/Tuple.js +18 -0
  486. package/dist/Tuple.js.map +1 -1
  487. package/dist/TxChunk.d.ts +52 -0
  488. package/dist/TxChunk.d.ts.map +1 -1
  489. package/dist/TxChunk.js +23 -0
  490. package/dist/TxChunk.js.map +1 -1
  491. package/dist/TxDeferred.d.ts +15 -0
  492. package/dist/TxDeferred.d.ts.map +1 -1
  493. package/dist/TxDeferred.js +8 -0
  494. package/dist/TxDeferred.js.map +1 -1
  495. package/dist/TxHashMap.d.ts +83 -0
  496. package/dist/TxHashMap.d.ts.map +1 -1
  497. package/dist/TxHashMap.js +52 -7
  498. package/dist/TxHashMap.js.map +1 -1
  499. package/dist/TxHashSet.d.ts +51 -0
  500. package/dist/TxHashSet.d.ts.map +1 -1
  501. package/dist/TxHashSet.js +29 -4
  502. package/dist/TxHashSet.js.map +1 -1
  503. package/dist/TxPriorityQueue.d.ts +30 -0
  504. package/dist/TxPriorityQueue.d.ts.map +1 -1
  505. package/dist/TxPriorityQueue.js +22 -1
  506. package/dist/TxPriorityQueue.js.map +1 -1
  507. package/dist/TxPubSub.d.ts +25 -0
  508. package/dist/TxPubSub.d.ts.map +1 -1
  509. package/dist/TxPubSub.js +19 -0
  510. package/dist/TxPubSub.js.map +1 -1
  511. package/dist/TxQueue.d.ts +51 -0
  512. package/dist/TxQueue.d.ts.map +1 -1
  513. package/dist/TxQueue.js +30 -0
  514. package/dist/TxQueue.js.map +1 -1
  515. package/dist/TxReentrantLock.d.ts +24 -0
  516. package/dist/TxReentrantLock.d.ts.map +1 -1
  517. package/dist/TxReentrantLock.js +32 -18
  518. package/dist/TxReentrantLock.js.map +1 -1
  519. package/dist/TxRef.d.ts +14 -0
  520. package/dist/TxRef.d.ts.map +1 -1
  521. package/dist/TxRef.js +7 -0
  522. package/dist/TxRef.js.map +1 -1
  523. package/dist/TxSemaphore.d.ts +25 -0
  524. package/dist/TxSemaphore.d.ts.map +1 -1
  525. package/dist/TxSemaphore.js +29 -13
  526. package/dist/TxSemaphore.js.map +1 -1
  527. package/dist/TxSubscriptionRef.d.ts +25 -0
  528. package/dist/TxSubscriptionRef.d.ts.map +1 -1
  529. package/dist/TxSubscriptionRef.js +12 -0
  530. package/dist/TxSubscriptionRef.js.map +1 -1
  531. package/dist/Types.d.ts +36 -0
  532. package/dist/Types.d.ts.map +1 -1
  533. package/dist/Types.js +1 -0
  534. package/dist/UndefinedOr.d.ts +15 -0
  535. package/dist/UndefinedOr.d.ts.map +1 -1
  536. package/dist/UndefinedOr.js +9 -0
  537. package/dist/UndefinedOr.js.map +1 -1
  538. package/dist/Unify.d.ts +15 -0
  539. package/dist/Unify.d.ts.map +1 -1
  540. package/dist/Unify.js +2 -0
  541. package/dist/Unify.js.map +1 -1
  542. package/dist/Utils.d.ts +4 -0
  543. package/dist/Utils.d.ts.map +1 -1
  544. package/dist/Utils.js +1 -0
  545. package/dist/Utils.js.map +1 -1
  546. package/dist/Version.d.ts +26 -0
  547. package/dist/Version.d.ts.map +1 -0
  548. package/dist/Version.js +36 -0
  549. package/dist/Version.js.map +1 -0
  550. package/dist/ai/Chat.js +1 -1
  551. package/dist/ai/Chat.js.map +1 -1
  552. package/dist/ai/DecisionModel.d.ts +22 -0
  553. package/dist/ai/DecisionModel.d.ts.map +1 -1
  554. package/dist/ai/DecisionModel.js +22 -4
  555. package/dist/ai/DecisionModel.js.map +1 -1
  556. package/dist/ai/LanguageModel.d.ts.map +1 -1
  557. package/dist/ai/LanguageModel.js +14 -13
  558. package/dist/ai/LanguageModel.js.map +1 -1
  559. package/dist/ai/McpServer.d.ts +32 -11
  560. package/dist/ai/McpServer.d.ts.map +1 -1
  561. package/dist/ai/McpServer.js +213 -169
  562. package/dist/ai/McpServer.js.map +1 -1
  563. package/dist/ai/Telemetry.d.ts +49 -41
  564. package/dist/ai/Telemetry.d.ts.map +1 -1
  565. package/dist/ai/Telemetry.js +6 -8
  566. package/dist/ai/Telemetry.js.map +1 -1
  567. package/dist/ai/internal/mcpRuntime.js +79 -46
  568. package/dist/ai/internal/mcpRuntime.js.map +1 -1
  569. package/dist/ai/internal/mcpStatefulRuntime.js +1 -0
  570. package/dist/ai/internal/mcpStatefulRuntime.js.map +1 -1
  571. package/dist/cluster/K8sHttpClient.d.ts.map +1 -1
  572. package/dist/cluster/K8sHttpClient.js +5 -2
  573. package/dist/cluster/K8sHttpClient.js.map +1 -1
  574. package/dist/encoding/Base64.d.ts +4 -0
  575. package/dist/encoding/Base64.d.ts.map +1 -1
  576. package/dist/encoding/Base64.js +4 -0
  577. package/dist/encoding/Base64.js.map +1 -1
  578. package/dist/encoding/Base64Url.d.ts +4 -0
  579. package/dist/encoding/Base64Url.d.ts.map +1 -1
  580. package/dist/encoding/Base64Url.js +4 -0
  581. package/dist/encoding/Base64Url.js.map +1 -1
  582. package/dist/encoding/EncodingError.d.ts +4 -0
  583. package/dist/encoding/EncodingError.d.ts.map +1 -1
  584. package/dist/encoding/EncodingError.js +4 -0
  585. package/dist/encoding/EncodingError.js.map +1 -1
  586. package/dist/encoding/Hex.d.ts +5 -0
  587. package/dist/encoding/Hex.d.ts.map +1 -1
  588. package/dist/encoding/Hex.js +5 -0
  589. package/dist/encoding/Hex.js.map +1 -1
  590. package/dist/encoding/Toml.js +2 -2
  591. package/dist/encoding/Toml.js.map +1 -1
  592. package/dist/encoding/Yaml.d.ts.map +1 -1
  593. package/dist/encoding/Yaml.js +6 -4
  594. package/dist/encoding/Yaml.js.map +1 -1
  595. package/dist/encoding/index.d.ts +4 -0
  596. package/dist/encoding/index.d.ts.map +1 -1
  597. package/dist/encoding/index.js +4 -0
  598. package/dist/encoding/index.js.map +1 -1
  599. package/dist/eventlog/SqlEventJournal.js +8 -4
  600. package/dist/eventlog/SqlEventJournal.js.map +1 -1
  601. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts +27 -10
  602. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
  603. package/dist/eventlog/SqlEventLogServerUnencrypted.js +49 -7
  604. package/dist/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
  605. package/dist/http/Headers.d.ts +3 -1
  606. package/dist/http/Headers.d.ts.map +1 -1
  607. package/dist/http/Headers.js +4 -2
  608. package/dist/http/Headers.js.map +1 -1
  609. package/dist/http/HttpClient.d.ts +9 -0
  610. package/dist/http/HttpClient.d.ts.map +1 -1
  611. package/dist/http/HttpClient.js +40 -21
  612. package/dist/http/HttpClient.js.map +1 -1
  613. package/dist/http/HttpClientResponse.js +3 -1
  614. package/dist/http/HttpClientResponse.js.map +1 -1
  615. package/dist/http/HttpEffect.d.ts +3 -0
  616. package/dist/http/HttpEffect.d.ts.map +1 -1
  617. package/dist/http/HttpEffect.js +5 -2
  618. package/dist/http/HttpEffect.js.map +1 -1
  619. package/dist/http/HttpMiddleware.d.ts +17 -0
  620. package/dist/http/HttpMiddleware.d.ts.map +1 -1
  621. package/dist/http/HttpMiddleware.js +56 -39
  622. package/dist/http/HttpMiddleware.js.map +1 -1
  623. package/dist/http/HttpServer.d.ts +1 -1
  624. package/dist/http/HttpServer.d.ts.map +1 -1
  625. package/dist/http/internal/tracing.d.ts +2 -0
  626. package/dist/http/internal/tracing.d.ts.map +1 -0
  627. package/dist/http/internal/tracing.js +37 -0
  628. package/dist/http/internal/tracing.js.map +1 -0
  629. package/dist/http-api/HttpApiBuilder.js +2 -1
  630. package/dist/http-api/HttpApiBuilder.js.map +1 -1
  631. package/dist/http-api/HttpApiClient.d.ts +12 -3
  632. package/dist/http-api/HttpApiClient.d.ts.map +1 -1
  633. package/dist/http-api/HttpApiClient.js.map +1 -1
  634. package/dist/http-api/HttpApiError.d.ts +4 -3
  635. package/dist/http-api/HttpApiError.d.ts.map +1 -1
  636. package/dist/http-api/HttpApiError.js +7 -4
  637. package/dist/http-api/HttpApiError.js.map +1 -1
  638. package/dist/http-api/HttpApiSecurity.d.ts +8 -8
  639. package/dist/http-api/HttpApiSecurity.js +8 -8
  640. package/dist/index.d.ts +155 -0
  641. package/dist/index.d.ts.map +1 -1
  642. package/dist/index.js +155 -0
  643. package/dist/index.js.map +1 -1
  644. package/dist/internal/arbitrary/array.js +3 -3
  645. package/dist/internal/arbitrary/array.js.map +1 -1
  646. package/dist/internal/arbitrary/model.js +26 -11
  647. package/dist/internal/arbitrary/model.js.map +1 -1
  648. package/dist/internal/arbitrary/runner.js +8 -8
  649. package/dist/internal/arbitrary/runner.js.map +1 -1
  650. package/dist/internal/arbitrary/schema.js +4 -5
  651. package/dist/internal/arbitrary/schema.js.map +1 -1
  652. package/dist/internal/effect.js +41 -39
  653. package/dist/internal/effect.js.map +1 -1
  654. package/dist/internal/schedule.js +7 -5
  655. package/dist/internal/schedule.js.map +1 -1
  656. package/dist/internal/schema/standardSchema.js +2 -2
  657. package/dist/internal/schema/standardSchema.js.map +1 -1
  658. package/dist/internal/version.d.ts +2 -0
  659. package/dist/internal/version.d.ts.map +1 -0
  660. package/dist/internal/version.js +3 -0
  661. package/dist/internal/version.js.map +1 -0
  662. package/dist/observability/OtlpExporter.d.ts.map +1 -1
  663. package/dist/observability/OtlpExporter.js +5 -6
  664. package/dist/observability/OtlpExporter.js.map +1 -1
  665. package/dist/observability/OtlpLogger.d.ts.map +1 -1
  666. package/dist/observability/OtlpLogger.js +23 -27
  667. package/dist/observability/OtlpLogger.js.map +1 -1
  668. package/dist/observability/OtlpMetrics.d.ts +5 -3
  669. package/dist/observability/OtlpMetrics.d.ts.map +1 -1
  670. package/dist/observability/OtlpMetrics.js +21 -94
  671. package/dist/observability/OtlpMetrics.js.map +1 -1
  672. package/dist/observability/OtlpResource.d.ts +4 -3
  673. package/dist/observability/OtlpResource.d.ts.map +1 -1
  674. package/dist/observability/OtlpResource.js +20 -23
  675. package/dist/observability/OtlpResource.js.map +1 -1
  676. package/dist/observability/OtlpTracer.d.ts +1 -0
  677. package/dist/observability/OtlpTracer.d.ts.map +1 -1
  678. package/dist/observability/OtlpTracer.js +32 -36
  679. package/dist/observability/OtlpTracer.js.map +1 -1
  680. package/dist/observability/internal/otlpProtobuf.js +32 -1
  681. package/dist/observability/internal/otlpProtobuf.js.map +1 -1
  682. package/dist/reactivity/AsyncResult.d.ts +1 -1
  683. package/dist/reactivity/Atom.d.ts +5 -5
  684. package/dist/reactivity/Atom.d.ts.map +1 -1
  685. package/dist/reactivity/Atom.js +9 -5
  686. package/dist/reactivity/Atom.js.map +1 -1
  687. package/dist/reactivity/AtomHttpApi.d.ts +2 -2
  688. package/dist/reactivity/AtomHttpApi.d.ts.map +1 -1
  689. package/dist/reactivity/AtomRegistry.d.ts +8 -0
  690. package/dist/reactivity/AtomRegistry.d.ts.map +1 -1
  691. package/dist/reactivity/AtomRegistry.js.map +1 -1
  692. package/dist/rpc/RpcClient.d.ts +21 -3
  693. package/dist/rpc/RpcClient.d.ts.map +1 -1
  694. package/dist/rpc/RpcClient.js +38 -20
  695. package/dist/rpc/RpcClient.js.map +1 -1
  696. package/dist/rpc/RpcServer.d.ts.map +1 -1
  697. package/dist/rpc/RpcServer.js +18 -21
  698. package/dist/rpc/RpcServer.js.map +1 -1
  699. package/dist/rpc/internal/tracing.d.ts +2 -0
  700. package/dist/rpc/internal/tracing.d.ts.map +1 -0
  701. package/dist/rpc/internal/tracing.js +18 -0
  702. package/dist/rpc/internal/tracing.js.map +1 -0
  703. package/dist/schema/SchemaCompiler/runtime.js +9 -1
  704. package/dist/schema/SchemaCompiler/runtime.js.map +1 -1
  705. package/dist/sql/SqlClient.js +4 -4
  706. package/dist/sql/SqlClient.js.map +1 -1
  707. package/dist/sql/Statement.d.ts +21 -1
  708. package/dist/sql/Statement.d.ts.map +1 -1
  709. package/dist/sql/Statement.js +55 -7
  710. package/dist/sql/Statement.js.map +1 -1
  711. package/dist/testing/TestClock.d.ts +8 -0
  712. package/dist/testing/TestClock.d.ts.map +1 -1
  713. package/dist/testing/TestClock.js +7 -0
  714. package/dist/testing/TestClock.js.map +1 -1
  715. package/dist/testing/TestConsole.d.ts +7 -0
  716. package/dist/testing/TestConsole.d.ts.map +1 -1
  717. package/dist/testing/TestConsole.js +6 -0
  718. package/dist/testing/TestConsole.js.map +1 -1
  719. package/dist/testing/index.d.ts +3 -0
  720. package/dist/testing/index.d.ts.map +1 -1
  721. package/dist/testing/index.js +3 -0
  722. package/dist/testing/index.js.map +1 -1
  723. package/package.json +3 -3
  724. package/src/Array.ts +351 -3
  725. package/src/BigDecimal.ts +88 -0
  726. package/src/BigInt.ts +68 -0
  727. package/src/Boolean.ts +34 -0
  728. package/src/Brand.ts +10 -0
  729. package/src/ByteSize.ts +87 -0
  730. package/src/Cache.ts +50 -8
  731. package/src/Cause.ts +82 -0
  732. package/src/Channel.ts +368 -18
  733. package/src/ChannelSchema.ts +13 -0
  734. package/src/Chunk.ts +193 -0
  735. package/src/Clock.ts +7 -0
  736. package/src/Combiner.ts +10 -0
  737. package/src/Config.ts +82 -8
  738. package/src/ConfigProvider.ts +28 -0
  739. package/src/Console.ts +26 -0
  740. package/src/Context.ts +50 -0
  741. package/src/Cron.ts +32 -1
  742. package/src/Crypto.ts +5 -0
  743. package/src/Data.ts +13 -0
  744. package/src/DateTime.ts +171 -0
  745. package/src/Deferred.ts +51 -0
  746. package/src/Differ.ts +2 -0
  747. package/src/Duration.ts +90 -0
  748. package/src/Effect.ts +539 -5
  749. package/src/Effectable.ts +4 -0
  750. package/src/Equal.ts +12 -1
  751. package/src/Equivalence.ts +22 -0
  752. package/src/ErrorReporter.ts +36 -0
  753. package/src/ExecutionPlan.ts +58 -14
  754. package/src/Exit.ts +40 -0
  755. package/src/Fiber.ts +20 -0
  756. package/src/FiberHandle.ts +29 -4
  757. package/src/FiberMap.ts +38 -0
  758. package/src/FiberSet.ts +21 -0
  759. package/src/FileSystem.ts +16 -0
  760. package/src/Filter.ts +55 -0
  761. package/src/Formatter.ts +42 -1
  762. package/src/Function.ts +30 -0
  763. package/src/Graph.ts +317 -36
  764. package/src/HKT.ts +5 -0
  765. package/src/Hash.ts +15 -0
  766. package/src/HashMap.ts +91 -0
  767. package/src/HashRing.ts +18 -0
  768. package/src/HashSet.ts +53 -0
  769. package/src/Inspectable.ts +8 -0
  770. package/src/Iterable.ts +127 -0
  771. package/src/JsonPatch.ts +5 -0
  772. package/src/JsonPointer.ts +5 -0
  773. package/src/JsonSchema.ts +17 -0
  774. package/src/Latch.ts +14 -0
  775. package/src/Layer.ts +101 -1
  776. package/src/LayerMap.ts +7 -0
  777. package/src/LayerRef.ts +5 -0
  778. package/src/LogLevel.ts +20 -0
  779. package/src/Logger.ts +41 -5
  780. package/src/ManagedRuntime.ts +12 -1
  781. package/src/Match.ts +52 -0
  782. package/src/Metric.ts +69 -0
  783. package/src/MutableHashMap.ts +44 -0
  784. package/src/MutableHashSet.ts +17 -0
  785. package/src/MutableList.ts +21 -0
  786. package/src/MutableRef.ts +32 -0
  787. package/src/Newtype.ts +9 -0
  788. package/src/NonEmptyIterable.ts +4 -0
  789. package/src/Number.ts +61 -0
  790. package/src/Optic.ts +57 -0
  791. package/src/Option.ts +134 -0
  792. package/src/Order.ts +30 -0
  793. package/src/Ordering.ts +7 -0
  794. package/src/PartitionedSemaphore.ts +61 -22
  795. package/src/Path.ts +6 -0
  796. package/src/Pipeable.ts +7 -0
  797. package/src/PlatformError.ts +8 -0
  798. package/src/Pool.ts +20 -1
  799. package/src/Predicate.ts +85 -0
  800. package/src/PrimaryKey.ts +5 -0
  801. package/src/PubSub.ts +90 -9
  802. package/src/Pull.ts +20 -0
  803. package/src/Queue.ts +80 -10
  804. package/src/Random.ts +13 -0
  805. package/src/RcMap.ts +23 -0
  806. package/src/RcRef.ts +6 -0
  807. package/src/Record.ts +100 -0
  808. package/src/Redactable.ts +6 -0
  809. package/src/Redacted.ts +8 -0
  810. package/src/Reducer.ts +4 -0
  811. package/src/Ref.ts +42 -0
  812. package/src/References.ts +21 -0
  813. package/src/RegExp.ts +4 -0
  814. package/src/Request.ts +32 -0
  815. package/src/RequestResolver.ts +59 -10
  816. package/src/Resource.ts +7 -0
  817. package/src/Result.ts +93 -0
  818. package/src/Runtime.ts +10 -0
  819. package/src/Schedule.ts +61 -0
  820. package/src/Scheduler.ts +7 -0
  821. package/src/Schema.ts +499 -4
  822. package/src/SchemaAST.ts +115 -1
  823. package/src/SchemaGetter.ts +80 -4
  824. package/src/SchemaIssue.ts +34 -0
  825. package/src/SchemaParser.ts +26 -0
  826. package/src/SchemaRepresentation.ts +148 -0
  827. package/src/SchemaTransformation.ts +53 -0
  828. package/src/Scope.ts +19 -0
  829. package/src/ScopedCache.ts +55 -3
  830. package/src/ScopedRef.ts +9 -0
  831. package/src/Semaphore.ts +26 -0
  832. package/src/Sink.ts +126 -2
  833. package/src/StandardSchema.ts +1 -0
  834. package/src/Stdio.ts +7 -0
  835. package/src/Stream.ts +622 -15
  836. package/src/String.ts +87 -0
  837. package/src/Struct.ts +46 -0
  838. package/src/SubscriptionRef.ts +65 -0
  839. package/src/Symbol.ts +2 -0
  840. package/src/SynchronizedRef.ts +63 -0
  841. package/src/Take.ts +3 -0
  842. package/src/Terminal.ts +8 -0
  843. package/src/Tracer.ts +23 -0
  844. package/src/Trie.ts +68 -0
  845. package/src/Tuple.ts +38 -0
  846. package/src/TxChunk.ts +52 -0
  847. package/src/TxDeferred.ts +15 -0
  848. package/src/TxHashMap.ts +97 -6
  849. package/src/TxHashSet.ts +83 -3
  850. package/src/TxPriorityQueue.ts +34 -2
  851. package/src/TxPubSub.ts +26 -0
  852. package/src/TxQueue.ts +51 -0
  853. package/src/TxReentrantLock.ts +53 -36
  854. package/src/TxRef.ts +14 -0
  855. package/src/TxSemaphore.ts +47 -31
  856. package/src/TxSubscriptionRef.ts +25 -0
  857. package/src/Types.ts +36 -0
  858. package/src/UndefinedOr.ts +15 -0
  859. package/src/Unify.ts +15 -0
  860. package/src/Utils.ts +4 -0
  861. package/src/Version.ts +38 -0
  862. package/src/ai/Chat.ts +1 -1
  863. package/src/ai/DecisionModel.ts +42 -1
  864. package/src/ai/LanguageModel.ts +16 -19
  865. package/src/ai/McpServer.ts +107 -36
  866. package/src/ai/Telemetry.ts +62 -58
  867. package/src/ai/internal/mcpRuntime.ts +84 -43
  868. package/src/ai/internal/mcpStatefulRuntime.ts +2 -0
  869. package/src/cluster/K8sHttpClient.ts +12 -2
  870. package/src/encoding/Base64.ts +4 -0
  871. package/src/encoding/Base64Url.ts +4 -0
  872. package/src/encoding/EncodingError.ts +5 -0
  873. package/src/encoding/Hex.ts +5 -0
  874. package/src/encoding/Toml.ts +2 -2
  875. package/src/encoding/Yaml.ts +8 -4
  876. package/src/encoding/index.ts +4 -0
  877. package/src/eventlog/SqlEventJournal.ts +18 -4
  878. package/src/eventlog/SqlEventLogServerUnencrypted.ts +282 -235
  879. package/src/http/Headers.ts +8 -2
  880. package/src/http/HttpClient.ts +44 -27
  881. package/src/http/HttpClientResponse.ts +3 -1
  882. package/src/http/HttpEffect.ts +11 -2
  883. package/src/http/HttpMiddleware.ts +60 -45
  884. package/src/http/HttpServer.ts +1 -1
  885. package/src/http/internal/tracing.ts +52 -0
  886. package/src/http-api/HttpApiBuilder.ts +5 -1
  887. package/src/http-api/HttpApiClient.ts +13 -4
  888. package/src/http-api/HttpApiError.ts +8 -4
  889. package/src/http-api/HttpApiSecurity.ts +8 -8
  890. package/src/index.ts +156 -0
  891. package/src/internal/arbitrary/array.ts +3 -3
  892. package/src/internal/arbitrary/model.ts +37 -14
  893. package/src/internal/arbitrary/runner.ts +7 -7
  894. package/src/internal/arbitrary/schema.ts +4 -3
  895. package/src/internal/effect.ts +47 -45
  896. package/src/internal/schedule.ts +23 -17
  897. package/src/internal/schema/standardSchema.ts +2 -2
  898. package/src/internal/version.ts +2 -0
  899. package/src/observability/OtlpExporter.ts +9 -6
  900. package/src/observability/OtlpLogger.ts +20 -21
  901. package/src/observability/OtlpMetrics.ts +34 -93
  902. package/src/observability/OtlpResource.ts +18 -27
  903. package/src/observability/OtlpTracer.ts +34 -40
  904. package/src/observability/internal/otlpProtobuf.ts +60 -0
  905. package/src/reactivity/AsyncResult.ts +1 -1
  906. package/src/reactivity/Atom.ts +10 -6
  907. package/src/reactivity/AtomHttpApi.ts +2 -4
  908. package/src/reactivity/AtomRegistry.ts +7 -0
  909. package/src/rpc/RpcClient.ts +48 -24
  910. package/src/rpc/RpcServer.ts +26 -24
  911. package/src/rpc/internal/tracing.ts +22 -0
  912. package/src/schema/SchemaCompiler/runtime.ts +4 -1
  913. package/src/sql/SqlClient.ts +4 -4
  914. package/src/sql/Statement.ts +59 -7
  915. package/src/testing/TestClock.ts +9 -0
  916. package/src/testing/TestConsole.ts +8 -0
  917. package/src/testing/index.ts +3 -0
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * Open, compiler-extensible representation of Effect schemas.
3
3
  *
4
+ * @stability stable
4
5
  * @since 4.0.0
5
6
  */
6
7
  import * as InternalRecord from "./internal/record.ts"
@@ -18,6 +19,7 @@ import * as InternalGetter from "./SchemaGetter.ts"
18
19
  /**
19
20
  * Open persistence identity carried by declarations and opaque checks.
20
21
  *
22
+ * @stability stable
21
23
  * @category annotations
22
24
  * @since 4.0.0
23
25
  */
@@ -29,6 +31,7 @@ export interface RepresentationAnnotation {
29
31
  /**
30
32
  * Open persistence identity and schema dependencies carried by opaque checks.
31
33
  *
34
+ * @stability stable
32
35
  * @category annotations
33
36
  * @since 4.0.0
34
37
  */
@@ -39,6 +42,7 @@ export interface CheckRepresentationAnnotation<S> extends RepresentationAnnotati
39
42
  /**
40
43
  * Input and output contracts for JSON Schema compiler annotations.
41
44
  *
45
+ * @stability stable
42
46
  * @since 4.0.0
43
47
  */
44
48
  export declare namespace ToJsonSchema {
@@ -123,6 +127,7 @@ export declare namespace ToJsonSchema {
123
127
  /**
124
128
  * Input and output contracts for code generation annotations.
125
129
  *
130
+ * @stability stable
126
131
  * @since 4.0.0
127
132
  */
128
133
  export declare namespace Generation {
@@ -189,6 +194,7 @@ export declare namespace Generation {
189
194
  /**
190
195
  * A custom opaque declaration.
191
196
  *
197
+ * @stability stable
192
198
  * @category models
193
199
  * @since 4.0.0
194
200
  */
@@ -203,6 +209,7 @@ export interface Declaration {
203
209
  /**
204
210
  * A lazily resolved representation.
205
211
  *
212
+ * @stability stable
206
213
  * @category models
207
214
  * @since 4.0.0
208
215
  */
@@ -216,6 +223,7 @@ export interface Suspend {
216
223
  /**
217
224
  * A named reference.
218
225
  *
226
+ * @stability stable
219
227
  * @category models
220
228
  * @since 4.0.0
221
229
  */
@@ -233,6 +241,7 @@ interface Keyword<Tag extends string> {
233
241
  /**
234
242
  * The null keyword representation.
235
243
  *
244
+ * @stability stable
236
245
  * @category models
237
246
  * @since 4.0.0
238
247
  */
@@ -240,6 +249,7 @@ export interface Null extends Keyword<"Null"> {}
240
249
  /**
241
250
  * The undefined keyword representation.
242
251
  *
252
+ * @stability stable
243
253
  * @category models
244
254
  * @since 4.0.0
245
255
  */
@@ -247,6 +257,7 @@ export interface Undefined extends Keyword<"Undefined"> {}
247
257
  /**
248
258
  * The void keyword representation.
249
259
  *
260
+ * @stability stable
250
261
  * @category models
251
262
  * @since 4.0.0
252
263
  */
@@ -254,6 +265,7 @@ export interface Void extends Keyword<"Void"> {}
254
265
  /**
255
266
  * The never keyword representation.
256
267
  *
268
+ * @stability stable
257
269
  * @category models
258
270
  * @since 4.0.0
259
271
  */
@@ -261,6 +273,7 @@ export interface Never extends Keyword<"Never"> {}
261
273
  /**
262
274
  * The unknown keyword representation.
263
275
  *
276
+ * @stability stable
264
277
  * @category models
265
278
  * @since 4.0.0
266
279
  */
@@ -268,6 +281,7 @@ export interface Unknown extends Keyword<"Unknown"> {}
268
281
  /**
269
282
  * The any keyword representation.
270
283
  *
284
+ * @stability stable
271
285
  * @category models
272
286
  * @since 4.0.0
273
287
  */
@@ -276,6 +290,7 @@ export interface Any extends Keyword<"Any"> {}
276
290
  /**
277
291
  * A string representation.
278
292
  *
293
+ * @stability stable
279
294
  * @category models
280
295
  * @since 4.0.0
281
296
  */
@@ -284,6 +299,7 @@ export interface String extends Keyword<"String"> {}
284
299
  /**
285
300
  * A number representation.
286
301
  *
302
+ * @stability stable
287
303
  * @category models
288
304
  * @since 4.0.0
289
305
  */
@@ -291,6 +307,7 @@ export interface Number extends Keyword<"Number"> {}
291
307
  /**
292
308
  * A boolean representation.
293
309
  *
310
+ * @stability stable
294
311
  * @category models
295
312
  * @since 4.0.0
296
313
  */
@@ -298,6 +315,7 @@ export interface Boolean extends Keyword<"Boolean"> {}
298
315
  /**
299
316
  * A bigint representation.
300
317
  *
318
+ * @stability stable
301
319
  * @category models
302
320
  * @since 4.0.0
303
321
  */
@@ -305,6 +323,7 @@ export interface BigInt extends Keyword<"BigInt"> {}
305
323
  /**
306
324
  * A symbol representation.
307
325
  *
326
+ * @stability stable
308
327
  * @category models
309
328
  * @since 4.0.0
310
329
  */
@@ -318,6 +337,7 @@ export interface Symbol extends Keyword<"Symbol"> {}
318
337
  * The live representation stores the native literal value. Persistent codecs
319
338
  * add an explicit type discriminator when encoding it.
320
339
  *
340
+ * @stability stable
321
341
  * @category models
322
342
  * @since 4.0.0
323
343
  */
@@ -333,6 +353,7 @@ export interface Literal extends Keyword<"Literal"> {
333
353
  * Globally registered symbols have an exact JSON string representation. Local
334
354
  * symbols have no JSON representation.
335
355
  *
356
+ * @stability stable
336
357
  * @category models
337
358
  * @since 4.0.0
338
359
  */
@@ -343,6 +364,7 @@ export interface UniqueSymbol extends Keyword<"UniqueSymbol"> {
343
364
  /**
344
365
  * The object keyword representation.
345
366
  *
367
+ * @stability stable
346
368
  * @category models
347
369
  * @since 4.0.0
348
370
  */
@@ -356,6 +378,7 @@ export interface ObjectKeyword extends Keyword<"ObjectKeyword"> {}
356
378
  * Enum members are stored as native string or finite number values. Persistent
357
379
  * codecs add an explicit type discriminator when encoding them.
358
380
  *
381
+ * @stability stable
359
382
  * @category models
360
383
  * @since 4.0.0
361
384
  */
@@ -366,6 +389,7 @@ export interface Enum extends Keyword<"Enum"> {
366
389
  /**
367
390
  * A template literal representation.
368
391
  *
392
+ * @stability stable
369
393
  * @category models
370
394
  * @since 4.0.0
371
395
  */
@@ -376,6 +400,7 @@ export interface TemplateLiteral extends Keyword<"TemplateLiteral"> {
376
400
  /**
377
401
  * A tuple element.
378
402
  *
403
+ * @stability stable
379
404
  * @category models
380
405
  * @since 4.0.0
381
406
  */
@@ -388,6 +413,7 @@ export interface Element {
388
413
  /**
389
414
  * An array or tuple representation.
390
415
  *
416
+ * @stability stable
391
417
  * @category models
392
418
  * @since 4.0.0
393
419
  */
@@ -409,6 +435,7 @@ export interface Arrays extends Keyword<"Arrays"> {
409
435
  * Local symbols can be represented while the schema is live, but persistent
410
436
  * codecs reject them because they cannot be reconstructed by identity.
411
437
  *
438
+ * @stability stable
412
439
  * @category models
413
440
  * @since 4.0.0
414
441
  */
@@ -423,6 +450,7 @@ export interface PropertySignature {
423
450
  /**
424
451
  * An index signature.
425
452
  *
453
+ * @stability stable
426
454
  * @category models
427
455
  * @since 4.0.0
428
456
  */
@@ -434,6 +462,7 @@ export interface IndexSignature {
434
462
  /**
435
463
  * An object representation.
436
464
  *
465
+ * @stability stable
437
466
  * @category models
438
467
  * @since 4.0.0
439
468
  */
@@ -445,6 +474,7 @@ export interface Objects extends Keyword<"Objects"> {
445
474
  /**
446
475
  * A union representation.
447
476
  *
477
+ * @stability stable
448
478
  * @category models
449
479
  * @since 4.0.0
450
480
  */
@@ -456,6 +486,7 @@ export interface Union extends Keyword<"Union"> {
456
486
  /**
457
487
  * The structural schema representation.
458
488
  *
489
+ * @stability stable
459
490
  * @category models
460
491
  * @since 4.0.0
461
492
  */
@@ -486,6 +517,7 @@ export type Representation =
486
517
  /**
487
518
  * A structural check.
488
519
  *
520
+ * @stability stable
489
521
  * @category models
490
522
  * @since 4.0.0
491
523
  */
@@ -494,6 +526,7 @@ export type Check = Filter | FilterGroup
494
526
  /**
495
527
  * An opaque leaf check.
496
528
  *
529
+ * @stability stable
497
530
  * @category models
498
531
  * @since 4.0.0
499
532
  */
@@ -507,6 +540,7 @@ export interface Filter {
507
540
  /**
508
541
  * A non-empty group of checks.
509
542
  *
543
+ * @stability stable
510
544
  * @category models
511
545
  * @since 4.0.0
512
546
  */
@@ -520,6 +554,7 @@ export interface FilterGroup {
520
554
  /**
521
555
  * Named representation definitions.
522
556
  *
557
+ * @stability stable
523
558
  * @category models
524
559
  * @since 4.0.0
525
560
  */
@@ -530,6 +565,7 @@ export interface References {
530
565
  /**
531
566
  * A single representation and its definitions.
532
567
  *
568
+ * @stability stable
533
569
  * @category models
534
570
  * @since 4.0.0
535
571
  */
@@ -541,6 +577,7 @@ export interface Document {
541
577
  /**
542
578
  * Multiple representations sharing definitions.
543
579
  *
580
+ * @stability stable
544
581
  * @category models
545
582
  * @since 4.0.0
546
583
  */
@@ -552,6 +589,7 @@ export interface MultiDocument {
552
589
  /**
553
590
  * Reviver for a declaration.
554
591
  *
592
+ * @stability stable
555
593
  * @category models
556
594
  * @since 4.0.0
557
595
  */
@@ -568,6 +606,7 @@ export interface DeclarationReviver<P> {
568
606
  /**
569
607
  * Reviver for a leaf check.
570
608
  *
609
+ * @stability stable
571
610
  * @category models
572
611
  * @since 4.0.0
573
612
  */
@@ -584,6 +623,7 @@ export interface FilterReviver<P> {
584
623
  /**
585
624
  * Reviver for a check group.
586
625
  *
626
+ * @stability stable
587
627
  * @category models
588
628
  * @since 4.0.0
589
629
  */
@@ -600,6 +640,7 @@ export interface FilterGroupReviver<P> {
600
640
  /**
601
641
  * A check reviver.
602
642
  *
643
+ * @stability stable
603
644
  * @category models
604
645
  * @since 4.0.0
605
646
  */
@@ -608,6 +649,7 @@ export type CheckReviver<P> = FilterReviver<P> | FilterGroupReviver<P>
608
649
  /**
609
650
  * A typed reviver.
610
651
  *
652
+ * @stability stable
611
653
  * @category models
612
654
  * @since 4.0.0
613
655
  */
@@ -616,6 +658,7 @@ export type Reviver<P> = DeclarationReviver<P> | CheckReviver<P>
616
658
  /**
617
659
  * A reviver erased only at collection boundaries.
618
660
  *
661
+ * @stability stable
619
662
  * @category models
620
663
  * @since 4.0.0
621
664
  */
@@ -624,6 +667,7 @@ export type AnyReviver = Reviver<any>
624
667
  /**
625
668
  * Creates a declaration reviver while inferring its payload type from `payloadSchema`.
626
669
  *
670
+ * @stability stable
627
671
  * @category constructors
628
672
  * @since 4.0.0
629
673
  */
@@ -636,6 +680,7 @@ export const makeReviverDeclaration: <P>(
636
680
  /**
637
681
  * Creates a filter reviver while inferring its payload type from `payloadSchema`.
638
682
  *
683
+ * @stability stable
639
684
  * @category constructors
640
685
  * @since 4.0.0
641
686
  */
@@ -648,6 +693,7 @@ export const makeReviverFilter: <P>(
648
693
  /**
649
694
  * Creates a filter group reviver while inferring its payload type from `payloadSchema`.
650
695
  *
696
+ * @stability stable
651
697
  * @category constructors
652
698
  * @since 4.0.0
653
699
  */
@@ -728,6 +774,7 @@ const RedactedRepresentationPayload: Schema.Decoder<RedactedRepresentationPayloa
728
774
  *
729
775
  * @see {@link Schema.isTrimmed} for creating the corresponding check
730
776
  *
777
+ * @stability stable
731
778
  * @category validation
732
779
  * @since 4.0.0
733
780
  */
@@ -746,6 +793,7 @@ export const isTrimmedReviver: FilterReviver<null> = makeReviverFilter(
746
793
  *
747
794
  * @see {@link Schema.isPattern} for creating the corresponding check
748
795
  *
796
+ * @stability stable
749
797
  * @category validation
750
798
  * @since 4.0.0
751
799
  */
@@ -767,6 +815,7 @@ export const isPatternReviver: FilterReviver<{
767
815
  *
768
816
  * @see {@link Schema.isStringFinite} for creating the corresponding check
769
817
  *
818
+ * @stability stable
770
819
  * @category validation
771
820
  * @since 4.0.0
772
821
  */
@@ -785,6 +834,7 @@ export const isStringFiniteReviver: FilterReviver<null> = makeReviverFilter(
785
834
  *
786
835
  * @see {@link Schema.isStringBigInt} for creating the corresponding check
787
836
  *
837
+ * @stability stable
788
838
  * @category validation
789
839
  * @since 4.0.0
790
840
  */
@@ -803,6 +853,7 @@ export const isStringBigIntReviver: FilterReviver<null> = makeReviverFilter(
803
853
  *
804
854
  * @see {@link Schema.isStringSymbol} for creating the corresponding check
805
855
  *
856
+ * @stability stable
806
857
  * @category validation
807
858
  * @since 4.0.0
808
859
  */
@@ -821,6 +872,7 @@ export const isStringSymbolReviver: FilterReviver<null> = makeReviverFilter(
821
872
  *
822
873
  * @see {@link Schema.isUUID} for creating the corresponding check
823
874
  *
875
+ * @stability stable
824
876
  * @category validation
825
877
  * @since 4.0.0
826
878
  */
@@ -841,6 +893,7 @@ export const isUUIDReviver: FilterReviver<{
841
893
  *
842
894
  * @see {@link Schema.isGUID} for creating the corresponding check
843
895
  *
896
+ * @stability stable
844
897
  * @category validation
845
898
  * @since 4.0.0
846
899
  */
@@ -859,6 +912,7 @@ export const isGUIDReviver: FilterReviver<null> = makeReviverFilter(
859
912
  *
860
913
  * @see {@link Schema.isULID} for creating the corresponding check
861
914
  *
915
+ * @stability stable
862
916
  * @category validation
863
917
  * @since 4.0.0
864
918
  */
@@ -877,6 +931,7 @@ export const isULIDReviver: FilterReviver<null> = makeReviverFilter(
877
931
  *
878
932
  * @see {@link Schema.isBase64} for creating the corresponding check
879
933
  *
934
+ * @stability stable
880
935
  * @category validation
881
936
  * @since 4.0.0
882
937
  */
@@ -895,6 +950,7 @@ export const isBase64Reviver: FilterReviver<null> = makeReviverFilter(
895
950
  *
896
951
  * @see {@link Schema.isBase64Url} for creating the corresponding check
897
952
  *
953
+ * @stability stable
898
954
  * @category validation
899
955
  * @since 4.0.0
900
956
  */
@@ -913,6 +969,7 @@ export const isBase64UrlReviver: FilterReviver<null> = makeReviverFilter(
913
969
  *
914
970
  * @see {@link Schema.isStartingWith} for creating the corresponding check
915
971
  *
972
+ * @stability stable
916
973
  * @category validation
917
974
  * @since 4.0.0
918
975
  */
@@ -933,6 +990,7 @@ export const isStartingWithReviver: FilterReviver<{
933
990
  *
934
991
  * @see {@link Schema.isEndingWith} for creating the corresponding check
935
992
  *
993
+ * @stability stable
936
994
  * @category validation
937
995
  * @since 4.0.0
938
996
  */
@@ -953,6 +1011,7 @@ export const isEndingWithReviver: FilterReviver<{
953
1011
  *
954
1012
  * @see {@link Schema.isIncluding} for creating the corresponding check
955
1013
  *
1014
+ * @stability stable
956
1015
  * @category validation
957
1016
  * @since 4.0.0
958
1017
  */
@@ -973,6 +1032,7 @@ export const isIncludingReviver: FilterReviver<{
973
1032
  *
974
1033
  * @see {@link Schema.isUppercased} for creating the corresponding check
975
1034
  *
1035
+ * @stability stable
976
1036
  * @category validation
977
1037
  * @since 4.0.0
978
1038
  */
@@ -991,6 +1051,7 @@ export const isUppercasedReviver: FilterReviver<null> = makeReviverFilter(
991
1051
  *
992
1052
  * @see {@link Schema.isLowercased} for creating the corresponding check
993
1053
  *
1054
+ * @stability stable
994
1055
  * @category validation
995
1056
  * @since 4.0.0
996
1057
  */
@@ -1009,6 +1070,7 @@ export const isLowercasedReviver: FilterReviver<null> = makeReviverFilter(
1009
1070
  *
1010
1071
  * @see {@link Schema.isCapitalized} for creating the corresponding check
1011
1072
  *
1073
+ * @stability stable
1012
1074
  * @category validation
1013
1075
  * @since 4.0.0
1014
1076
  */
@@ -1027,6 +1089,7 @@ export const isCapitalizedReviver: FilterReviver<null> = makeReviverFilter(
1027
1089
  *
1028
1090
  * @see {@link Schema.isUncapitalized} for creating the corresponding check
1029
1091
  *
1092
+ * @stability stable
1030
1093
  * @category validation
1031
1094
  * @since 4.0.0
1032
1095
  */
@@ -1045,6 +1108,7 @@ export const isUncapitalizedReviver: FilterReviver<null> = makeReviverFilter(
1045
1108
  *
1046
1109
  * @see {@link Schema.isFinite} for creating the corresponding check
1047
1110
  *
1111
+ * @stability stable
1048
1112
  * @category validation
1049
1113
  * @since 4.0.0
1050
1114
  */
@@ -1063,6 +1127,7 @@ export const isFiniteReviver: FilterReviver<null> = makeReviverFilter(
1063
1127
  *
1064
1128
  * @see {@link Schema.isGreaterThan} for creating the corresponding check
1065
1129
  *
1130
+ * @stability stable
1066
1131
  * @category validation
1067
1132
  * @since 4.0.0
1068
1133
  */
@@ -1083,6 +1148,7 @@ export const isGreaterThanReviver: FilterReviver<{
1083
1148
  *
1084
1149
  * @see {@link Schema.isGreaterThanOrEqualTo} for creating the corresponding check
1085
1150
  *
1151
+ * @stability stable
1086
1152
  * @category validation
1087
1153
  * @since 4.0.0
1088
1154
  */
@@ -1103,6 +1169,7 @@ export const isGreaterThanOrEqualToReviver: FilterReviver<{
1103
1169
  *
1104
1170
  * @see {@link Schema.isLessThan} for creating the corresponding check
1105
1171
  *
1172
+ * @stability stable
1106
1173
  * @category validation
1107
1174
  * @since 4.0.0
1108
1175
  */
@@ -1123,6 +1190,7 @@ export const isLessThanReviver: FilterReviver<{
1123
1190
  *
1124
1191
  * @see {@link Schema.isLessThanOrEqualTo} for creating the corresponding check
1125
1192
  *
1193
+ * @stability stable
1126
1194
  * @category validation
1127
1195
  * @since 4.0.0
1128
1196
  */
@@ -1143,6 +1211,7 @@ export const isLessThanOrEqualToReviver: FilterReviver<{
1143
1211
  *
1144
1212
  * @see {@link Schema.isBetween} for creating the corresponding check
1145
1213
  *
1214
+ * @stability stable
1146
1215
  * @category validation
1147
1216
  * @since 4.0.0
1148
1217
  */
@@ -1171,6 +1240,7 @@ export const isBetweenReviver: FilterReviver<{
1171
1240
  *
1172
1241
  * @see {@link Schema.isMultipleOf} for creating the corresponding check
1173
1242
  *
1243
+ * @stability stable
1174
1244
  * @category validation
1175
1245
  * @since 4.0.0
1176
1246
  */
@@ -1191,6 +1261,7 @@ export const isMultipleOfReviver: FilterReviver<{
1191
1261
  *
1192
1262
  * @see {@link Schema.isInt} for creating the corresponding check
1193
1263
  *
1264
+ * @stability stable
1194
1265
  * @category validation
1195
1266
  * @since 4.0.0
1196
1267
  */
@@ -1209,6 +1280,7 @@ export const isIntReviver: FilterReviver<null> = makeReviverFilter(
1209
1280
  *
1210
1281
  * @see {@link Schema.isMinLength} for creating the corresponding check
1211
1282
  *
1283
+ * @stability stable
1212
1284
  * @category validation
1213
1285
  * @since 4.0.0
1214
1286
  */
@@ -1229,6 +1301,7 @@ export const isMinLengthReviver: FilterReviver<{
1229
1301
  *
1230
1302
  * @see {@link Schema.isMaxLength} for creating the corresponding check
1231
1303
  *
1304
+ * @stability stable
1232
1305
  * @category validation
1233
1306
  * @since 4.0.0
1234
1307
  */
@@ -1249,6 +1322,7 @@ export const isMaxLengthReviver: FilterReviver<{
1249
1322
  *
1250
1323
  * @see {@link Schema.isBetweenLength} for creating the corresponding check
1251
1324
  *
1325
+ * @stability stable
1252
1326
  * @category validation
1253
1327
  * @since 4.0.0
1254
1328
  */
@@ -1265,6 +1339,7 @@ export const isBetweenLengthReviver: FilterReviver<{
1265
1339
  * Reviver for persisted `isMinCodePoints` checks.
1266
1340
  *
1267
1341
  * @see {@link Schema.isMinCodePoints} for creating the corresponding check
1342
+ * @stability stable
1268
1343
  * @category validation
1269
1344
  * @since 4.0.0
1270
1345
  */
@@ -1280,6 +1355,7 @@ export const isMinCodePointsReviver: FilterReviver<{
1280
1355
  * Reviver for persisted `isMaxCodePoints` checks.
1281
1356
  *
1282
1357
  * @see {@link Schema.isMaxCodePoints} for creating the corresponding check
1358
+ * @stability stable
1283
1359
  * @category validation
1284
1360
  * @since 4.0.0
1285
1361
  */
@@ -1295,6 +1371,7 @@ export const isMaxCodePointsReviver: FilterReviver<{
1295
1371
  * Reviver for persisted `isBetweenCodePoints` checks.
1296
1372
  *
1297
1373
  * @see {@link Schema.isBetweenCodePoints} for creating the corresponding check
1374
+ * @stability stable
1298
1375
  * @category validation
1299
1376
  * @since 4.0.0
1300
1377
  */
@@ -1316,6 +1393,7 @@ export const isBetweenCodePointsReviver: FilterReviver<{
1316
1393
  *
1317
1394
  * @see {@link Schema.isMinSize} for creating the corresponding check
1318
1395
  *
1396
+ * @stability stable
1319
1397
  * @category validation
1320
1398
  * @since 4.0.0
1321
1399
  */
@@ -1336,6 +1414,7 @@ export const isMinSizeReviver: FilterReviver<{
1336
1414
  *
1337
1415
  * @see {@link Schema.isMaxSize} for creating the corresponding check
1338
1416
  *
1417
+ * @stability stable
1339
1418
  * @category validation
1340
1419
  * @since 4.0.0
1341
1420
  */
@@ -1356,6 +1435,7 @@ export const isMaxSizeReviver: FilterReviver<{
1356
1435
  *
1357
1436
  * @see {@link Schema.isBetweenSize} for creating the corresponding check
1358
1437
  *
1438
+ * @stability stable
1359
1439
  * @category validation
1360
1440
  * @since 4.0.0
1361
1441
  */
@@ -1377,6 +1457,7 @@ export const isBetweenSizeReviver: FilterReviver<{
1377
1457
  *
1378
1458
  * @see {@link Schema.isMinProperties} for creating the corresponding check
1379
1459
  *
1460
+ * @stability stable
1380
1461
  * @category validation
1381
1462
  * @since 4.0.0
1382
1463
  */
@@ -1397,6 +1478,7 @@ export const isMinPropertiesReviver: FilterReviver<{
1397
1478
  *
1398
1479
  * @see {@link Schema.isMaxProperties} for creating the corresponding check
1399
1480
  *
1481
+ * @stability stable
1400
1482
  * @category validation
1401
1483
  * @since 4.0.0
1402
1484
  */
@@ -1417,6 +1499,7 @@ export const isMaxPropertiesReviver: FilterReviver<{
1417
1499
  *
1418
1500
  * @see {@link Schema.isBetweenProperties} for creating the corresponding check
1419
1501
  *
1502
+ * @stability stable
1420
1503
  * @category validation
1421
1504
  * @since 4.0.0
1422
1505
  */
@@ -1438,6 +1521,7 @@ export const isBetweenPropertiesReviver: FilterReviver<{
1438
1521
  *
1439
1522
  * @see {@link Schema.isPropertyNames} for creating the corresponding check
1440
1523
  *
1524
+ * @stability stable
1441
1525
  * @category validation
1442
1526
  * @since 4.0.0
1443
1527
  */
@@ -1456,6 +1540,7 @@ export const isPropertyNamesReviver: FilterReviver<null> = makeReviverFilter(
1456
1540
  *
1457
1541
  * @see {@link Schema.isUnique} for creating the corresponding check
1458
1542
  *
1543
+ * @stability stable
1459
1544
  * @category validation
1460
1545
  * @since 4.0.0
1461
1546
  */
@@ -1473,6 +1558,7 @@ export const isUniqueReviver: FilterReviver<null> = makeReviverFilter(
1473
1558
  * Use when reconstructing documents that may contain checks created by {@link Schema.isUniqueKey}.
1474
1559
  *
1475
1560
  * @see {@link Schema.isUniqueKey} for creating the corresponding check
1561
+ * @stability stable
1476
1562
  * @category validation
1477
1563
  * @since 4.0.0
1478
1564
  */
@@ -1491,6 +1577,7 @@ export const isUniqueKeyReviver: FilterReviver<null> = makeReviverFilter(
1491
1577
  *
1492
1578
  * @see {@link Schema.Option} for creating the corresponding schema
1493
1579
  *
1580
+ * @stability stable
1494
1581
  * @category schemas
1495
1582
  * @since 4.0.0
1496
1583
  */
@@ -1512,6 +1599,7 @@ export const OptionReviver: DeclarationReviver<null> = makeReviverDeclaration(
1512
1599
  *
1513
1600
  * @see {@link Schema.Result} for creating the corresponding schema
1514
1601
  *
1602
+ * @stability stable
1515
1603
  * @category schemas
1516
1604
  * @since 4.0.0
1517
1605
  */
@@ -1533,6 +1621,7 @@ export const ResultReviver: DeclarationReviver<null> = makeReviverDeclaration(
1533
1621
  *
1534
1622
  * @see {@link Schema.Redacted} for creating the corresponding schema
1535
1623
  *
1624
+ * @stability stable
1536
1625
  * @category schemas
1537
1626
  * @since 4.0.0
1538
1627
  */
@@ -1554,6 +1643,7 @@ export const RedactedReviver: DeclarationReviver<RedactedRepresentationPayload>
1554
1643
  *
1555
1644
  * @see {@link Schema.CauseReason} for creating the corresponding schema
1556
1645
  *
1646
+ * @stability stable
1557
1647
  * @category schemas
1558
1648
  * @since 4.0.0
1559
1649
  */
@@ -1575,6 +1665,7 @@ export const CauseReasonReviver: DeclarationReviver<null> = makeReviverDeclarati
1575
1665
  *
1576
1666
  * @see {@link Schema.Cause} for creating the corresponding schema
1577
1667
  *
1668
+ * @stability stable
1578
1669
  * @category schemas
1579
1670
  * @since 4.0.0
1580
1671
  */
@@ -1596,6 +1687,7 @@ export const CauseReviver: DeclarationReviver<null> = makeReviverDeclaration(
1596
1687
  *
1597
1688
  * @see {@link Schema.ErrorInstance} for creating the corresponding schema
1598
1689
  *
1690
+ * @stability stable
1599
1691
  * @category schemas
1600
1692
  * @since 4.0.0
1601
1693
  */
@@ -1617,6 +1709,7 @@ export const ErrorInstanceReviver: DeclarationReviver<ErrorRepresentationPayload
1617
1709
  *
1618
1710
  * @see {@link Schema.Exit} for creating the corresponding schema
1619
1711
  *
1712
+ * @stability stable
1620
1713
  * @category schemas
1621
1714
  * @since 4.0.0
1622
1715
  */
@@ -1638,6 +1731,7 @@ export const ExitReviver: DeclarationReviver<null> = makeReviverDeclaration(
1638
1731
  *
1639
1732
  * @see {@link Schema.ReadonlyMap} for creating the corresponding schema
1640
1733
  *
1734
+ * @stability stable
1641
1735
  * @category schemas
1642
1736
  * @since 4.0.0
1643
1737
  */
@@ -1653,6 +1747,7 @@ export const ReadonlyMapReviver: DeclarationReviver<null> = makeReviverDeclarati
1653
1747
  /**
1654
1748
  * Reviver for persisted {@link Schema.Graph} declarations.
1655
1749
  *
1750
+ * @stability stable
1656
1751
  * @category schemas
1657
1752
  * @since 4.0.0
1658
1753
  */
@@ -1674,6 +1769,7 @@ export const GraphReviver: DeclarationReviver<"directed" | "undirected"> = makeR
1674
1769
  *
1675
1770
  * @see {@link Schema.HashMap} for creating the corresponding schema
1676
1771
  *
1772
+ * @stability stable
1677
1773
  * @category schemas
1678
1774
  * @since 4.0.0
1679
1775
  */
@@ -1695,6 +1791,7 @@ export const HashMapReviver: DeclarationReviver<null> = makeReviverDeclaration(
1695
1791
  *
1696
1792
  * @see {@link Schema.ReadonlySet} for creating the corresponding schema
1697
1793
  *
1794
+ * @stability stable
1698
1795
  * @category schemas
1699
1796
  * @since 4.0.0
1700
1797
  */
@@ -1716,6 +1813,7 @@ export const ReadonlySetReviver: DeclarationReviver<null> = makeReviverDeclarati
1716
1813
  *
1717
1814
  * @see {@link Schema.HashSet} for creating the corresponding schema
1718
1815
  *
1816
+ * @stability stable
1719
1817
  * @category schemas
1720
1818
  * @since 4.0.0
1721
1819
  */
@@ -1737,6 +1835,7 @@ export const HashSetReviver: DeclarationReviver<null> = makeReviverDeclaration(
1737
1835
  *
1738
1836
  * @see {@link Schema.Chunk} for creating the corresponding schema
1739
1837
  *
1838
+ * @stability stable
1740
1839
  * @category schemas
1741
1840
  * @since 4.0.0
1742
1841
  */
@@ -1758,6 +1857,7 @@ export const ChunkReviver: DeclarationReviver<null> = makeReviverDeclaration(
1758
1857
  *
1759
1858
  * @see {@link Schema.RegExp} for the corresponding schema
1760
1859
  *
1860
+ * @stability stable
1761
1861
  * @category schemas
1762
1862
  * @since 4.0.0
1763
1863
  */
@@ -1775,6 +1875,7 @@ export const RegExpReviver: DeclarationReviver<null> = makeFixedDeclarationReviv
1775
1875
  *
1776
1876
  * @see {@link Schema.URL} for the corresponding schema
1777
1877
  *
1878
+ * @stability stable
1778
1879
  * @category schemas
1779
1880
  * @since 4.0.0
1780
1881
  */
@@ -1789,6 +1890,7 @@ export const URLReviver: DeclarationReviver<null> = makeFixedDeclarationReviver(
1789
1890
  *
1790
1891
  * @see {@link Schema.Date} for the corresponding schema
1791
1892
  *
1893
+ * @stability stable
1792
1894
  * @category schemas
1793
1895
  * @since 4.0.0
1794
1896
  */
@@ -1803,6 +1905,7 @@ export const DateReviver: DeclarationReviver<null> = makeFixedDeclarationReviver
1803
1905
  *
1804
1906
  * @see {@link Schema.Duration} for the corresponding schema
1805
1907
  *
1908
+ * @stability stable
1806
1909
  * @category schemas
1807
1910
  * @since 4.0.0
1808
1911
  */
@@ -1814,6 +1917,7 @@ export const DurationReviver: DeclarationReviver<null> = makeFixedDeclarationRev
1814
1917
  /**
1815
1918
  * Reviver for persisted {@link Schema.ByteSize} declarations.
1816
1919
  *
1920
+ * @stability stable
1817
1921
  * @category schemas
1818
1922
  * @since 4.0.0
1819
1923
  */
@@ -1831,6 +1935,7 @@ export const ByteSizeReviver: DeclarationReviver<null> = makeFixedDeclarationRev
1831
1935
  *
1832
1936
  * @see {@link Schema.BigDecimal} for the corresponding schema
1833
1937
  *
1938
+ * @stability stable
1834
1939
  * @category schemas
1835
1940
  * @since 4.0.0
1836
1941
  */
@@ -1848,6 +1953,7 @@ export const BigDecimalReviver: DeclarationReviver<null> = makeFixedDeclarationR
1848
1953
  *
1849
1954
  * @see {@link Schema.File} for the corresponding schema
1850
1955
  *
1956
+ * @stability stable
1851
1957
  * @category schemas
1852
1958
  * @since 4.0.0
1853
1959
  */
@@ -1862,6 +1968,7 @@ export const FileReviver: DeclarationReviver<null> = makeFixedDeclarationReviver
1862
1968
  *
1863
1969
  * @see {@link Schema.FormData} for the corresponding schema
1864
1970
  *
1971
+ * @stability stable
1865
1972
  * @category schemas
1866
1973
  * @since 4.0.0
1867
1974
  */
@@ -1879,6 +1986,7 @@ export const FormDataReviver: DeclarationReviver<null> = makeFixedDeclarationRev
1879
1986
  *
1880
1987
  * @see {@link Schema.URLSearchParams} for the corresponding schema
1881
1988
  *
1989
+ * @stability stable
1882
1990
  * @category schemas
1883
1991
  * @since 4.0.0
1884
1992
  */
@@ -1896,6 +2004,7 @@ export const URLSearchParamsReviver: DeclarationReviver<null> = makeFixedDeclara
1896
2004
  *
1897
2005
  * @see {@link Schema.Uint8Array} for the corresponding schema
1898
2006
  *
2007
+ * @stability stable
1899
2008
  * @category schemas
1900
2009
  * @since 4.0.0
1901
2010
  */
@@ -1913,6 +2022,7 @@ export const Uint8ArrayReviver: DeclarationReviver<null> = makeFixedDeclarationR
1913
2022
  *
1914
2023
  * @see {@link Schema.DateTimeUtc} for the corresponding schema
1915
2024
  *
2025
+ * @stability stable
1916
2026
  * @category schemas
1917
2027
  * @since 4.0.0
1918
2028
  */
@@ -1930,6 +2040,7 @@ export const DateTimeUtcReviver: DeclarationReviver<null> = makeFixedDeclaration
1930
2040
  *
1931
2041
  * @see {@link Schema.TimeZoneOffset} for the corresponding schema
1932
2042
  *
2043
+ * @stability stable
1933
2044
  * @category schemas
1934
2045
  * @since 4.0.0
1935
2046
  */
@@ -1947,6 +2058,7 @@ export const TimeZoneOffsetReviver: DeclarationReviver<null> = makeFixedDeclarat
1947
2058
  *
1948
2059
  * @see {@link Schema.TimeZoneNamed} for the corresponding schema
1949
2060
  *
2061
+ * @stability stable
1950
2062
  * @category schemas
1951
2063
  * @since 4.0.0
1952
2064
  */
@@ -1964,6 +2076,7 @@ export const TimeZoneNamedReviver: DeclarationReviver<null> = makeFixedDeclarati
1964
2076
  *
1965
2077
  * @see {@link Schema.TimeZone} for the corresponding schema
1966
2078
  *
2079
+ * @stability stable
1967
2080
  * @category schemas
1968
2081
  * @since 4.0.0
1969
2082
  */
@@ -1981,6 +2094,7 @@ export const TimeZoneReviver: DeclarationReviver<null> = makeFixedDeclarationRev
1981
2094
  *
1982
2095
  * @see {@link Schema.DateTimeZoned} for the corresponding schema
1983
2096
  *
2097
+ * @stability stable
1984
2098
  * @category schemas
1985
2099
  * @since 4.0.0
1986
2100
  */
@@ -1998,6 +2112,7 @@ export const DateTimeZonedReviver: DeclarationReviver<null> = makeFixedDeclarati
1998
2112
  *
1999
2113
  * @see {@link Schema.isGreaterThanDate} for creating the corresponding check
2000
2114
  *
2115
+ * @stability stable
2001
2116
  * @category validation
2002
2117
  * @since 4.0.0
2003
2118
  */
@@ -2018,6 +2133,7 @@ export const isGreaterThanDateReviver: FilterReviver<{
2018
2133
  *
2019
2134
  * @see {@link Schema.isGreaterThanOrEqualToDate} for creating the corresponding check
2020
2135
  *
2136
+ * @stability stable
2021
2137
  * @category validation
2022
2138
  * @since 4.0.0
2023
2139
  */
@@ -2038,6 +2154,7 @@ export const isGreaterThanOrEqualToDateReviver: FilterReviver<{
2038
2154
  *
2039
2155
  * @see {@link Schema.isLessThanDate} for creating the corresponding check
2040
2156
  *
2157
+ * @stability stable
2041
2158
  * @category validation
2042
2159
  * @since 4.0.0
2043
2160
  */
@@ -2058,6 +2175,7 @@ export const isLessThanDateReviver: FilterReviver<{
2058
2175
  *
2059
2176
  * @see {@link Schema.isLessThanOrEqualToDate} for creating the corresponding check
2060
2177
  *
2178
+ * @stability stable
2061
2179
  * @category validation
2062
2180
  * @since 4.0.0
2063
2181
  */
@@ -2078,6 +2196,7 @@ export const isLessThanOrEqualToDateReviver: FilterReviver<{
2078
2196
  *
2079
2197
  * @see {@link Schema.isBetweenDate} for creating the corresponding check
2080
2198
  *
2199
+ * @stability stable
2081
2200
  * @category validation
2082
2201
  * @since 4.0.0
2083
2202
  */
@@ -2106,6 +2225,7 @@ export const isBetweenDateReviver: FilterReviver<{
2106
2225
  *
2107
2226
  * @see {@link Schema.isGreaterThanBigInt} for creating the corresponding check
2108
2227
  *
2228
+ * @stability stable
2109
2229
  * @category validation
2110
2230
  * @since 4.0.0
2111
2231
  */
@@ -2126,6 +2246,7 @@ export const isGreaterThanBigIntReviver: FilterReviver<{
2126
2246
  *
2127
2247
  * @see {@link Schema.isGreaterThanOrEqualToBigInt} for creating the corresponding check
2128
2248
  *
2249
+ * @stability stable
2129
2250
  * @category validation
2130
2251
  * @since 4.0.0
2131
2252
  */
@@ -2146,6 +2267,7 @@ export const isGreaterThanOrEqualToBigIntReviver: FilterReviver<{
2146
2267
  *
2147
2268
  * @see {@link Schema.isLessThanBigInt} for creating the corresponding check
2148
2269
  *
2270
+ * @stability stable
2149
2271
  * @category validation
2150
2272
  * @since 4.0.0
2151
2273
  */
@@ -2166,6 +2288,7 @@ export const isLessThanBigIntReviver: FilterReviver<{
2166
2288
  *
2167
2289
  * @see {@link Schema.isLessThanOrEqualToBigInt} for creating the corresponding check
2168
2290
  *
2291
+ * @stability stable
2169
2292
  * @category validation
2170
2293
  * @since 4.0.0
2171
2294
  */
@@ -2186,6 +2309,7 @@ export const isLessThanOrEqualToBigIntReviver: FilterReviver<{
2186
2309
  *
2187
2310
  * @see {@link Schema.isBetweenBigInt} for creating the corresponding check
2188
2311
  *
2312
+ * @stability stable
2189
2313
  * @category validation
2190
2314
  * @since 4.0.0
2191
2315
  */
@@ -2214,6 +2338,7 @@ export const isBetweenBigIntReviver: FilterReviver<{
2214
2338
  *
2215
2339
  * @see {@link Schema.Json} for the corresponding immutable JSON schema
2216
2340
  *
2341
+ * @stability stable
2217
2342
  * @category schemas
2218
2343
  * @since 4.0.0
2219
2344
  */
@@ -2228,6 +2353,7 @@ export const JsonReviver: DeclarationReviver<null> = makeFixedDeclarationReviver
2228
2353
  *
2229
2354
  * @see {@link Schema.MutableJson} for the corresponding mutable JSON schema
2230
2355
  *
2356
+ * @stability stable
2231
2357
  * @category schemas
2232
2358
  * @since 4.0.0
2233
2359
  */
@@ -2284,6 +2410,7 @@ const jsonSchemaRevivers: ReadonlyArray<AnyReviver> = [
2284
2410
  * `onEnter` must return a JSON Schema object. Its result is used directly, and exceptions raised by the callback pass
2285
2411
  * through unchanged.
2286
2412
  *
2413
+ * @stability stable
2287
2414
  * @category models
2288
2415
  * @since 4.0.0
2289
2416
  */
@@ -2300,6 +2427,7 @@ export interface FromJsonSchemaOptions {
2300
2427
  /**
2301
2428
  * Runtime and TypeScript source generated for one schema.
2302
2429
  *
2430
+ * @stability stable
2303
2431
  * @category models
2304
2432
  * @since 4.0.0
2305
2433
  */
@@ -2311,6 +2439,7 @@ export interface Code {
2311
2439
  /**
2312
2440
  * Creates generated runtime and TypeScript source strings for a schema.
2313
2441
  *
2442
+ * @stability stable
2314
2443
  * @category constructors
2315
2444
  * @since 4.0.0
2316
2445
  */
@@ -2319,6 +2448,7 @@ export const makeCode: (runtime: string, Type: string) => Code = InternalToCodeD
2319
2448
  /**
2320
2449
  * Auxiliary source artifact emitted while generating schema code.
2321
2450
  *
2451
+ * @stability stable
2322
2452
  * @category models
2323
2453
  * @since 4.0.0
2324
2454
  */
@@ -2341,6 +2471,7 @@ export type Artifact =
2341
2471
  /**
2342
2472
  * Generated schema code together with named references and auxiliary artifacts.
2343
2473
  *
2474
+ * @stability stable
2344
2475
  * @category models
2345
2476
  * @since 4.0.0
2346
2477
  */
@@ -2359,6 +2490,7 @@ export interface CodeDocument {
2359
2490
  /**
2360
2491
  * Information supplied to a reference policy for one representation candidate.
2361
2492
  *
2493
+ * @stability stable
2362
2494
  * @category models
2363
2495
  * @since 4.0.0
2364
2496
  */
@@ -2393,6 +2525,7 @@ export interface ReferencePolicyInput {
2393
2525
  *
2394
2526
  * @see {@link ToRepresentationOptions} for configuring representation generation
2395
2527
  *
2528
+ * @stability stable
2396
2529
  * @category models
2397
2530
  * @since 4.0.0
2398
2531
  */
@@ -2401,6 +2534,7 @@ export type ReferencePolicy = (input: ReferencePolicyInput) => string | undefine
2401
2534
  /**
2402
2535
  * Options for generating schema representations.
2403
2536
  *
2537
+ * @stability stable
2404
2538
  * @category configuration
2405
2539
  * @since 4.0.0
2406
2540
  */
@@ -2438,6 +2572,7 @@ export interface ToRepresentationOptions {
2438
2572
  *
2439
2573
  * @see {@link toRepresentations} for multiple roots sharing one reference table
2440
2574
  *
2575
+ * @stability stable
2441
2576
  * @category constructors
2442
2577
  * @since 4.0.0
2443
2578
  */
@@ -2459,6 +2594,7 @@ export function toRepresentation(ast: SchemaAST.AST, options?: ToRepresentationO
2459
2594
  *
2460
2595
  * @see {@link toRepresentation} for a single AST root
2461
2596
  *
2597
+ * @stability stable
2462
2598
  * @category constructors
2463
2599
  * @since 4.0.0
2464
2600
  */
@@ -2476,6 +2612,7 @@ export function toRepresentations(
2476
2612
  *
2477
2613
  * Use when an API such as `toCodeDocument` requires a `MultiDocument`.
2478
2614
  *
2615
+ * @stability stable
2479
2616
  * @category transforming
2480
2617
  * @since 4.0.0
2481
2618
  */
@@ -2526,6 +2663,7 @@ export function toMultiDocument(document: Document): MultiDocument {
2526
2663
  *
2527
2664
  * @see {@link toJsonSchemaMultiDocument} for multiple roots sharing definitions
2528
2665
  *
2666
+ * @stability stable
2529
2667
  * @category transforming
2530
2668
  * @since 4.0.0
2531
2669
  */
@@ -2561,6 +2699,7 @@ export function toJsonSchemaDocument(
2561
2699
  *
2562
2700
  * @see {@link toJsonSchemaDocument} for a single root
2563
2701
  *
2702
+ * @stability stable
2564
2703
  * @category transforming
2565
2704
  * @since 4.0.0
2566
2705
  */
@@ -2582,6 +2721,7 @@ export function toJsonSchemaMultiDocument(
2582
2721
  *
2583
2722
  * Opaque declarations and leaf checks require `toCode` callbacks. Callback results are used directly, and exceptions raised by a callback pass through unchanged.
2584
2723
  *
2724
+ * @stability stable
2585
2725
  * @category transforming
2586
2726
  * @since 4.0.0
2587
2727
  */
@@ -2812,6 +2952,7 @@ const decodeMultiDocument = Schema.decodeSync(MultiDocumentFromJson)
2812
2952
  * @see {@link toRepresentation} for constructing the live document
2813
2953
  * @see {@link toJsonMultiDocument} for documents with multiple roots
2814
2954
  *
2955
+ * @stability stable
2815
2956
  * @category encoding
2816
2957
  * @since 4.0.0
2817
2958
  */
@@ -2833,6 +2974,7 @@ export function toJson(document: Document): Schema.Json {
2833
2974
  * @see {@link toRepresentations} for constructing the live multi-document
2834
2975
  * @see {@link toJson} for a single-root document
2835
2976
  *
2977
+ * @stability stable
2836
2978
  * @category encoding
2837
2979
  * @since 4.0.0
2838
2980
  */
@@ -2855,6 +2997,7 @@ export function toJsonMultiDocument(document: MultiDocument): Schema.Json {
2855
2997
  * @see {@link fromRepresentation} for reconstructing a runtime schema
2856
2998
  * @see {@link fromJsonMultiDocument} for multiple roots sharing references
2857
2999
  *
3000
+ * @stability stable
2858
3001
  * @category decoding
2859
3002
  * @since 4.0.0
2860
3003
  */
@@ -2877,6 +3020,7 @@ export function fromJson(input: Schema.Json): Document {
2877
3020
  * @see {@link fromRepresentations} for reconstructing runtime schemas
2878
3021
  * @see {@link fromJson} for a single root
2879
3022
  *
3023
+ * @stability stable
2880
3024
  * @category decoding
2881
3025
  * @since 4.0.0
2882
3026
  */
@@ -2912,6 +3056,7 @@ export function fromJsonMultiDocument(input: Schema.Json): MultiDocument {
2912
3056
  * @see {@link fromJson} for decoding a persisted document
2913
3057
  * @see {@link fromRepresentations} for multiple roots sharing references
2914
3058
  *
3059
+ * @stability stable
2915
3060
  * @category transforming
2916
3061
  * @since 4.0.0
2917
3062
  */
@@ -2936,6 +3081,7 @@ export function fromRepresentation(
2936
3081
  * @see {@link fromJsonMultiDocument} for decoding a persisted multi-document
2937
3082
  * @see {@link fromRepresentation} for a single root
2938
3083
  *
3084
+ * @stability stable
2939
3085
  * @category transforming
2940
3086
  * @since 4.0.0
2941
3087
  */
@@ -2997,6 +3143,7 @@ export function fromRepresentations(
2997
3143
  * @see {@link fromJsonSchemaMultiDocument} for multiple roots sharing definitions
2998
3144
  * @see {@link toRepresentation} for converting the result to a representation document
2999
3145
  *
3146
+ * @stability stable
3000
3147
  * @category constructors
3001
3148
  * @since 4.0.0
3002
3149
  */
@@ -3040,6 +3187,7 @@ export function fromJsonSchemaDocument(
3040
3187
  * @see {@link fromJsonSchemaDocument} for a single root
3041
3188
  * @see {@link toRepresentations} for converting the returned schema ASTs to a representation document
3042
3189
  *
3190
+ * @stability stable
3043
3191
  * @category constructors
3044
3192
  * @since 4.0.0
3045
3193
  */