effect 4.0.0-beta.73 → 4.0.0-beta.74

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 (345) hide show
  1. package/dist/Array.d.ts +16 -16
  2. package/dist/Array.js +4 -4
  3. package/dist/Boolean.d.ts +2 -2
  4. package/dist/Boolean.js +2 -2
  5. package/dist/Channel.d.ts +63 -63
  6. package/dist/Channel.js +25 -25
  7. package/dist/Chunk.d.ts +17 -17
  8. package/dist/Chunk.js +5 -5
  9. package/dist/Context.d.ts +3 -3
  10. package/dist/Context.js +1 -1
  11. package/dist/Cron.d.ts +4 -4
  12. package/dist/Cron.js +4 -4
  13. package/dist/Deferred.d.ts +37 -37
  14. package/dist/Deferred.js +13 -13
  15. package/dist/Duration.d.ts +6 -6
  16. package/dist/Duration.js +2 -2
  17. package/dist/Effect.d.ts +58 -58
  18. package/dist/Effect.js +39 -39
  19. package/dist/Equal.d.ts +2 -2
  20. package/dist/Equal.js +2 -2
  21. package/dist/Equivalence.d.ts +1 -1
  22. package/dist/Equivalence.js +1 -1
  23. package/dist/ExecutionPlan.d.ts +2 -2
  24. package/dist/ExecutionPlan.js +1 -1
  25. package/dist/FileSystem.d.ts +6 -6
  26. package/dist/FileSystem.js +2 -2
  27. package/dist/Function.d.ts +5 -5
  28. package/dist/Function.js +5 -5
  29. package/dist/Graph.d.ts +11 -11
  30. package/dist/Graph.js +5 -5
  31. package/dist/HKT.d.ts +1 -1
  32. package/dist/HashMap.d.ts +3 -3
  33. package/dist/HashSet.d.ts +1 -1
  34. package/dist/Iterable.d.ts +15 -15
  35. package/dist/Iterable.js +5 -5
  36. package/dist/Layer.d.ts +16 -16
  37. package/dist/Layer.js +5 -5
  38. package/dist/Logger.d.ts +5 -5
  39. package/dist/Logger.js +4 -4
  40. package/dist/ManagedRuntime.d.ts +2 -2
  41. package/dist/Match.d.ts +20 -20
  42. package/dist/Match.js +16 -16
  43. package/dist/Metric.d.ts +16 -16
  44. package/dist/Metric.js +3 -3
  45. package/dist/Option.d.ts +36 -36
  46. package/dist/Option.js +17 -17
  47. package/dist/Order.d.ts +1 -1
  48. package/dist/Order.js +1 -1
  49. package/dist/Path.d.ts +1 -1
  50. package/dist/Path.js +1 -1
  51. package/dist/Pipeable.d.ts +1 -1
  52. package/dist/Pipeable.js +1 -1
  53. package/dist/Predicate.d.ts +5 -5
  54. package/dist/PubSub.d.ts +9 -9
  55. package/dist/PubSub.js +5 -5
  56. package/dist/Queue.d.ts +24 -24
  57. package/dist/Queue.js +20 -20
  58. package/dist/Record.d.ts +15 -15
  59. package/dist/Record.js +5 -5
  60. package/dist/Redacted.d.ts +2 -2
  61. package/dist/Redacted.js +1 -1
  62. package/dist/Ref.d.ts +6 -6
  63. package/dist/Ref.js +6 -6
  64. package/dist/RegExp.d.ts +1 -1
  65. package/dist/RegExp.js +1 -1
  66. package/dist/Request.d.ts +4 -4
  67. package/dist/RequestResolver.d.ts +6 -6
  68. package/dist/RequestResolver.js +2 -2
  69. package/dist/Resource.d.ts +1 -1
  70. package/dist/Resource.js +1 -1
  71. package/dist/Result.d.ts +18 -18
  72. package/dist/Result.js +11 -11
  73. package/dist/Schedule.d.ts +44 -44
  74. package/dist/Schedule.js +18 -18
  75. package/dist/Schema.d.ts +177 -459
  76. package/dist/Schema.d.ts.map +1 -1
  77. package/dist/Schema.js +25 -25
  78. package/dist/Schema.js.map +1 -1
  79. package/dist/SchemaAST.d.ts +1 -1
  80. package/dist/SchemaGetter.d.ts +13 -13
  81. package/dist/SchemaGetter.js +12 -12
  82. package/dist/SchemaParser.d.ts +3 -3
  83. package/dist/SchemaParser.js +3 -3
  84. package/dist/Scope.d.ts +1 -1
  85. package/dist/Scope.js +1 -1
  86. package/dist/Sink.d.ts +5 -5
  87. package/dist/Sink.js +3 -3
  88. package/dist/Stream.d.ts +55 -55
  89. package/dist/Stream.js +21 -21
  90. package/dist/String.d.ts +5 -5
  91. package/dist/String.js +3 -3
  92. package/dist/Struct.d.ts +8 -8
  93. package/dist/Struct.js +3 -3
  94. package/dist/SynchronizedRef.d.ts +57 -57
  95. package/dist/SynchronizedRef.js +19 -19
  96. package/dist/Terminal.d.ts +1 -1
  97. package/dist/Terminal.js +1 -1
  98. package/dist/Tracer.d.ts +5 -5
  99. package/dist/Tracer.js +2 -2
  100. package/dist/Tuple.d.ts +14 -14
  101. package/dist/Tuple.js +6 -6
  102. package/dist/TxHashMap.d.ts +3 -3
  103. package/dist/TxHashSet.d.ts +1 -1
  104. package/dist/Unify.d.ts +7 -7
  105. package/dist/Unify.js +1 -1
  106. package/dist/testing/TestClock.d.ts +5 -5
  107. package/dist/testing/TestClock.js +4 -4
  108. package/dist/testing/TestConsole.d.ts +3 -3
  109. package/dist/testing/TestConsole.js +3 -3
  110. package/dist/unstable/ai/Chat.d.ts +2 -2
  111. package/dist/unstable/ai/Chat.js +2 -2
  112. package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
  113. package/dist/unstable/ai/IdGenerator.d.ts +2 -2
  114. package/dist/unstable/ai/IdGenerator.js +1 -1
  115. package/dist/unstable/ai/LanguageModel.d.ts +4 -4
  116. package/dist/unstable/ai/LanguageModel.js +1 -1
  117. package/dist/unstable/ai/Prompt.d.ts +15 -15
  118. package/dist/unstable/ai/Prompt.js +1 -1
  119. package/dist/unstable/ai/Telemetry.d.ts +5 -5
  120. package/dist/unstable/ai/Telemetry.js +2 -2
  121. package/dist/unstable/ai/Tokenizer.d.ts +1 -1
  122. package/dist/unstable/ai/Tokenizer.js +1 -1
  123. package/dist/unstable/ai/Tool.d.ts +6 -6
  124. package/dist/unstable/ai/Tool.js +6 -6
  125. package/dist/unstable/cli/Command.d.ts.map +1 -1
  126. package/dist/unstable/cli/Command.js +1 -1
  127. package/dist/unstable/cli/Command.js.map +1 -1
  128. package/dist/unstable/cli/Param.d.ts +1 -1
  129. package/dist/unstable/cli/Primitive.d.ts +3 -3
  130. package/dist/unstable/cli/Primitive.js +1 -1
  131. package/dist/unstable/cli/Prompt.d.ts +11 -11
  132. package/dist/unstable/cli/internal/parser.js +145 -10
  133. package/dist/unstable/cli/internal/parser.js.map +1 -1
  134. package/dist/unstable/cluster/Entity.d.ts +1 -1
  135. package/dist/unstable/cluster/Entity.js +1 -1
  136. package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
  137. package/dist/unstable/cluster/HttpRunner.js +2 -2
  138. package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
  139. package/dist/unstable/cluster/K8sHttpClient.js +1 -1
  140. package/dist/unstable/cluster/Runners.d.ts +1 -1
  141. package/dist/unstable/cluster/Runners.js +1 -1
  142. package/dist/unstable/cluster/Sharding.d.ts +1 -1
  143. package/dist/unstable/cluster/Sharding.js +1 -1
  144. package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
  145. package/dist/unstable/cluster/SingletonAddress.js +1 -1
  146. package/dist/unstable/cluster/Snowflake.d.ts +5 -5
  147. package/dist/unstable/cluster/Snowflake.js +5 -5
  148. package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
  149. package/dist/unstable/devtools/DevToolsClient.js +1 -1
  150. package/dist/unstable/eventlog/EventLog.d.ts +1 -1
  151. package/dist/unstable/eventlog/EventLog.js +1 -1
  152. package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
  153. package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
  154. package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
  155. package/dist/unstable/eventlog/EventLogRemote.js +1 -1
  156. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
  157. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
  158. package/dist/unstable/http/Cookies.d.ts +1 -1
  159. package/dist/unstable/http/Etag.d.ts +1 -1
  160. package/dist/unstable/http/Etag.js +1 -1
  161. package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
  162. package/dist/unstable/http/FetchHttpClient.js +2 -2
  163. package/dist/unstable/http/HttpClient.d.ts +1 -1
  164. package/dist/unstable/http/HttpClient.js +1 -1
  165. package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
  166. package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
  167. package/dist/unstable/http/HttpMiddleware.js +1 -1
  168. package/dist/unstable/http/HttpPlatform.d.ts +1 -1
  169. package/dist/unstable/http/HttpPlatform.js +1 -1
  170. package/dist/unstable/http/HttpRouter.d.ts +4 -4
  171. package/dist/unstable/http/HttpRouter.js +4 -4
  172. package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
  173. package/dist/unstable/http/Url.d.ts +33 -33
  174. package/dist/unstable/http/Url.js +11 -11
  175. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  176. package/dist/unstable/httpapi/HttpApi.js +1 -1
  177. package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
  178. package/dist/unstable/httpapi/HttpApiError.js +13 -13
  179. package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
  180. package/dist/unstable/observability/PrometheusMetrics.js +2 -2
  181. package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
  182. package/dist/unstable/persistence/KeyValueStore.js +1 -1
  183. package/dist/unstable/persistence/Persistable.d.ts +2 -2
  184. package/dist/unstable/persistence/Persistable.js +2 -2
  185. package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
  186. package/dist/unstable/persistence/PersistedQueue.js +8 -8
  187. package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
  188. package/dist/unstable/persistence/RateLimiter.js +1 -1
  189. package/dist/unstable/process/ChildProcess.d.ts +5 -5
  190. package/dist/unstable/process/ChildProcess.js +2 -2
  191. package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
  192. package/dist/unstable/reactivity/AsyncResult.js +1 -1
  193. package/dist/unstable/reactivity/Atom.d.ts +1 -1
  194. package/dist/unstable/reactivity/Atom.js +1 -1
  195. package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
  196. package/dist/unstable/reactivity/AtomRegistry.js +1 -1
  197. package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
  198. package/dist/unstable/reactivity/Reactivity.js +1 -1
  199. package/dist/unstable/rpc/Rpc.d.ts +5 -5
  200. package/dist/unstable/rpc/Rpc.js +1 -1
  201. package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
  202. package/dist/unstable/rpc/RpcMiddleware.js +1 -1
  203. package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
  204. package/dist/unstable/rpc/RpcSchema.js +2 -2
  205. package/dist/unstable/schema/Model.d.ts +2 -2
  206. package/dist/unstable/schema/Model.js +1 -1
  207. package/dist/unstable/socket/Socket.d.ts +3 -3
  208. package/dist/unstable/socket/Socket.js +3 -3
  209. package/dist/unstable/socket/SocketServer.d.ts +1 -1
  210. package/dist/unstable/socket/SocketServer.js +1 -1
  211. package/dist/unstable/sql/Migrator.d.ts +1 -1
  212. package/dist/unstable/sql/SqlClient.d.ts +3 -3
  213. package/dist/unstable/sql/SqlClient.js +2 -2
  214. package/dist/unstable/sql/SqlConnection.d.ts +1 -1
  215. package/dist/unstable/sql/SqlConnection.js +1 -1
  216. package/dist/unstable/sql/Statement.d.ts +2 -2
  217. package/dist/unstable/sql/Statement.js +2 -2
  218. package/dist/unstable/workers/Transferable.d.ts +1 -1
  219. package/dist/unstable/workers/Transferable.js +1 -1
  220. package/dist/unstable/workers/Worker.d.ts +1 -1
  221. package/dist/unstable/workers/Worker.js +1 -1
  222. package/dist/unstable/workflow/Activity.d.ts +1 -1
  223. package/dist/unstable/workflow/Activity.js +1 -1
  224. package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
  225. package/dist/unstable/workflow/DurableDeferred.js +1 -1
  226. package/package.json +1 -1
  227. package/src/Array.ts +16 -16
  228. package/src/Boolean.ts +2 -2
  229. package/src/Channel.ts +67 -67
  230. package/src/Chunk.ts +18 -18
  231. package/src/Context.ts +4 -4
  232. package/src/Cron.ts +4 -4
  233. package/src/Deferred.ts +37 -37
  234. package/src/Duration.ts +6 -6
  235. package/src/Effect.ts +58 -58
  236. package/src/Equal.ts +2 -2
  237. package/src/Equivalence.ts +1 -1
  238. package/src/ExecutionPlan.ts +2 -2
  239. package/src/FileSystem.ts +6 -6
  240. package/src/Function.ts +5 -5
  241. package/src/Graph.ts +11 -11
  242. package/src/HKT.ts +1 -1
  243. package/src/HashMap.ts +3 -3
  244. package/src/HashSet.ts +1 -1
  245. package/src/Iterable.ts +15 -15
  246. package/src/Layer.ts +16 -16
  247. package/src/Logger.ts +7 -7
  248. package/src/ManagedRuntime.ts +2 -2
  249. package/src/Match.ts +20 -20
  250. package/src/Metric.ts +20 -20
  251. package/src/Option.ts +36 -36
  252. package/src/Order.ts +1 -1
  253. package/src/Path.ts +1 -1
  254. package/src/Pipeable.ts +1 -1
  255. package/src/Predicate.ts +5 -5
  256. package/src/PubSub.ts +9 -9
  257. package/src/Queue.ts +24 -24
  258. package/src/Record.ts +15 -15
  259. package/src/Redacted.ts +2 -2
  260. package/src/Ref.ts +18 -18
  261. package/src/RegExp.ts +1 -1
  262. package/src/Request.ts +4 -4
  263. package/src/RequestResolver.ts +8 -8
  264. package/src/Resource.ts +1 -1
  265. package/src/Result.ts +18 -18
  266. package/src/Schedule.ts +45 -45
  267. package/src/Schema.ts +177 -459
  268. package/src/SchemaAST.ts +1 -1
  269. package/src/SchemaGetter.ts +13 -13
  270. package/src/SchemaParser.ts +3 -3
  271. package/src/Scope.ts +1 -1
  272. package/src/Sink.ts +5 -5
  273. package/src/Stream.ts +57 -57
  274. package/src/String.ts +5 -5
  275. package/src/Struct.ts +8 -8
  276. package/src/SynchronizedRef.ts +57 -57
  277. package/src/Terminal.ts +1 -1
  278. package/src/Tracer.ts +5 -5
  279. package/src/Tuple.ts +14 -14
  280. package/src/TxHashMap.ts +3 -3
  281. package/src/TxHashSet.ts +1 -1
  282. package/src/Unify.ts +7 -7
  283. package/src/testing/TestClock.ts +5 -5
  284. package/src/testing/TestConsole.ts +3 -3
  285. package/src/unstable/ai/Chat.ts +2 -2
  286. package/src/unstable/ai/EmbeddingModel.ts +1 -1
  287. package/src/unstable/ai/IdGenerator.ts +2 -2
  288. package/src/unstable/ai/LanguageModel.ts +4 -4
  289. package/src/unstable/ai/Prompt.ts +15 -15
  290. package/src/unstable/ai/Telemetry.ts +5 -5
  291. package/src/unstable/ai/Tokenizer.ts +1 -1
  292. package/src/unstable/ai/Tool.ts +6 -6
  293. package/src/unstable/cli/Command.ts +5 -1
  294. package/src/unstable/cli/Param.ts +1 -1
  295. package/src/unstable/cli/Primitive.ts +3 -3
  296. package/src/unstable/cli/Prompt.ts +11 -11
  297. package/src/unstable/cli/internal/parser.ts +204 -10
  298. package/src/unstable/cluster/Entity.ts +1 -1
  299. package/src/unstable/cluster/HttpRunner.ts +2 -2
  300. package/src/unstable/cluster/K8sHttpClient.ts +1 -1
  301. package/src/unstable/cluster/Runners.ts +1 -1
  302. package/src/unstable/cluster/Sharding.ts +1 -1
  303. package/src/unstable/cluster/SingletonAddress.ts +1 -1
  304. package/src/unstable/cluster/Snowflake.ts +5 -5
  305. package/src/unstable/devtools/DevToolsClient.ts +1 -1
  306. package/src/unstable/eventlog/EventLog.ts +1 -1
  307. package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
  308. package/src/unstable/eventlog/EventLogRemote.ts +1 -1
  309. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
  310. package/src/unstable/http/Cookies.ts +1 -1
  311. package/src/unstable/http/Etag.ts +1 -1
  312. package/src/unstable/http/FetchHttpClient.ts +2 -2
  313. package/src/unstable/http/HttpClient.ts +1 -1
  314. package/src/unstable/http/HttpClientRequest.ts +2 -2
  315. package/src/unstable/http/HttpMiddleware.ts +1 -1
  316. package/src/unstable/http/HttpPlatform.ts +1 -1
  317. package/src/unstable/http/HttpRouter.ts +4 -4
  318. package/src/unstable/http/HttpServerResponse.ts +3 -3
  319. package/src/unstable/http/Url.ts +33 -33
  320. package/src/unstable/httpapi/HttpApi.ts +1 -1
  321. package/src/unstable/httpapi/HttpApiError.ts +13 -13
  322. package/src/unstable/observability/PrometheusMetrics.ts +4 -4
  323. package/src/unstable/persistence/KeyValueStore.ts +3 -3
  324. package/src/unstable/persistence/Persistable.ts +2 -2
  325. package/src/unstable/persistence/PersistedQueue.ts +8 -8
  326. package/src/unstable/persistence/RateLimiter.ts +1 -1
  327. package/src/unstable/process/ChildProcess.ts +5 -5
  328. package/src/unstable/reactivity/AsyncResult.ts +4 -4
  329. package/src/unstable/reactivity/Atom.ts +1 -1
  330. package/src/unstable/reactivity/AtomRegistry.ts +1 -1
  331. package/src/unstable/reactivity/Reactivity.ts +1 -1
  332. package/src/unstable/rpc/Rpc.ts +5 -5
  333. package/src/unstable/rpc/RpcMiddleware.ts +1 -1
  334. package/src/unstable/rpc/RpcSchema.ts +3 -3
  335. package/src/unstable/schema/Model.ts +2 -2
  336. package/src/unstable/socket/Socket.ts +3 -3
  337. package/src/unstable/socket/SocketServer.ts +1 -1
  338. package/src/unstable/sql/Migrator.ts +1 -1
  339. package/src/unstable/sql/SqlClient.ts +3 -3
  340. package/src/unstable/sql/SqlConnection.ts +1 -1
  341. package/src/unstable/sql/Statement.ts +2 -2
  342. package/src/unstable/workers/Transferable.ts +1 -1
  343. package/src/unstable/workers/Worker.ts +1 -1
  344. package/src/unstable/workflow/Activity.ts +1 -1
  345. package/src/unstable/workflow/DurableDeferred.ts +1 -1
package/dist/Graph.js CHANGED
@@ -1441,7 +1441,7 @@ export const neighborsDirected = /*#__PURE__*/dual(3, (graph, nodeIndex, directi
1441
1441
  * // }
1442
1442
  * ```
1443
1443
  *
1444
- * @category utils
1444
+ * @category converting
1445
1445
  * @since 3.18.0
1446
1446
  */
1447
1447
  export const toGraphViz = /*#__PURE__*/dual(args => isGraph(args[0]), (graph, options) => {
@@ -1678,7 +1678,7 @@ const formatMermaidNode = (nodeId, label, shape) => {
1678
1678
  * // 0 -->|"builds with"| 3
1679
1679
  * ```
1680
1680
  *
1681
- * @category utils
1681
+ * @category converting
1682
1682
  * @since 3.18.0
1683
1683
  */
1684
1684
  export const toMermaid = /*#__PURE__*/dual(args => isGraph(args[0]), (graph, options) => {
@@ -2804,7 +2804,7 @@ export class Walker {
2804
2804
  * console.log(indices) // [0, 1]
2805
2805
  * ```
2806
2806
  *
2807
- * @category utils
2807
+ * @category iterators
2808
2808
  * @since 3.18.0
2809
2809
  */
2810
2810
  export const indices = walker => walker.visit((index, _) => index);
@@ -2827,7 +2827,7 @@ export const indices = walker => walker.visit((index, _) => index);
2827
2827
  * console.log(values) // ["A", "B"]
2828
2828
  * ```
2829
2829
  *
2830
- * @category utils
2830
+ * @category iterators
2831
2831
  * @since 3.18.0
2832
2832
  */
2833
2833
  export const values = walker => walker.visit((_, data) => data);
@@ -2850,7 +2850,7 @@ export const values = walker => walker.visit((_, data) => data);
2850
2850
  * console.log(entries) // [[0, "A"], [1, "B"]]
2851
2851
  * ```
2852
2852
  *
2853
- * @category utils
2853
+ * @category iterators
2854
2854
  * @since 3.18.0
2855
2855
  */
2856
2856
  export const entries = walker => walker.visit((index, data) => [index, data]);
package/dist/HKT.d.ts CHANGED
@@ -231,7 +231,7 @@ export interface TypeLambda {
231
231
  * >
232
232
  * ```
233
233
  *
234
- * @category type utils
234
+ * @category utility types
235
235
  * @since 2.0.0
236
236
  */
237
237
  export type Kind<F extends TypeLambda, In, Out2, Out1, Target> = F extends {
package/dist/HashMap.d.ts CHANGED
@@ -191,7 +191,7 @@ export declare namespace HashMap {
191
191
  * console.log(getUserById("alice")) // Option.some({ name: "Alice", age: 30 })
192
192
  * ```
193
193
  *
194
- * @category type-level
194
+ * @category utility types
195
195
  * @since 2.0.0
196
196
  */
197
197
  type Key<T extends HashMap<any, any>> = [T] extends [HashMap<infer _K, infer _V>] ? _K : never;
@@ -221,7 +221,7 @@ export declare namespace HashMap {
221
221
  * // alice has type Option<User> thanks to type extraction
222
222
  * ```
223
223
  *
224
- * @category type-level
224
+ * @category utility types
225
225
  * @since 2.0.0
226
226
  */
227
227
  type Value<T extends HashMap<any, any>> = [T] extends [HashMap<infer _K, infer _V>] ? _V : never;
@@ -252,7 +252,7 @@ export declare namespace HashMap {
252
252
  * console.log(descriptions) // ["book: $29 (education)", "laptop: $999 (electronics)"]
253
253
  * ```
254
254
  *
255
- * @category type-level
255
+ * @category utility types
256
256
  * @since 3.9.0
257
257
  */
258
258
  type Entry<T extends HashMap<any, any>> = [Key<T>, Value<T>];
package/dist/HashSet.d.ts CHANGED
@@ -119,7 +119,7 @@ export declare namespace HashSet {
119
119
  * const processNumber = (n: NumberType) => n * 2
120
120
  * ```
121
121
  *
122
- * @category type-level
122
+ * @category utility types
123
123
  * @since 4.0.0
124
124
  */
125
125
  type Value<T> = T extends HashSet<infer V> ? V : never;
@@ -288,7 +288,7 @@ export declare const fromRecord: <K extends string, A>(self: Readonly<Record<K,
288
288
  * console.log(Array.from(withZ)) // ["z", "a", "b", "c"]
289
289
  * ```
290
290
  *
291
- * @category concatenating
291
+ * @category combining
292
292
  * @since 2.0.0
293
293
  */
294
294
  export declare const prepend: {
@@ -310,7 +310,7 @@ export declare const prepend: {
310
310
  * console.log(Array.from(withZ)) // ["z", "a", "b", "c"]
311
311
  * ```
312
312
  *
313
- * @category concatenating
313
+ * @category combining
314
314
  * @since 2.0.0
315
315
  */
316
316
  <B>(head: B): <A>(self: Iterable<A>) => Iterable<A | B>;
@@ -332,7 +332,7 @@ export declare const prepend: {
332
332
  * console.log(Array.from(withZ)) // ["z", "a", "b", "c"]
333
333
  * ```
334
334
  *
335
- * @category concatenating
335
+ * @category combining
336
336
  * @since 2.0.0
337
337
  */
338
338
  <A, B>(self: Iterable<A>, head: B): Iterable<A | B>;
@@ -352,7 +352,7 @@ export declare const prepend: {
352
352
  * )
353
353
  * ```
354
354
  *
355
- * @category concatenating
355
+ * @category combining
356
356
  * @since 2.0.0
357
357
  */
358
358
  export declare const prependAll: {
@@ -371,7 +371,7 @@ export declare const prependAll: {
371
371
  * )
372
372
  * ```
373
373
  *
374
- * @category concatenating
374
+ * @category combining
375
375
  * @since 2.0.0
376
376
  */
377
377
  <B>(that: Iterable<B>): <A>(self: Iterable<A>) => Iterable<A | B>;
@@ -390,7 +390,7 @@ export declare const prependAll: {
390
390
  * )
391
391
  * ```
392
392
  *
393
- * @category concatenating
393
+ * @category combining
394
394
  * @since 2.0.0
395
395
  */
396
396
  <A, B>(self: Iterable<A>, that: Iterable<B>): Iterable<A | B>;
@@ -433,7 +433,7 @@ export declare const prependAll: {
433
433
  * @see {@link prepend} for adding one element before the existing elements
434
434
  * @see {@link appendAll} for appending all elements from another iterable
435
435
  *
436
- * @category concatenating
436
+ * @category combining
437
437
  * @since 2.0.0
438
438
  */
439
439
  export declare const append: {
@@ -475,7 +475,7 @@ export declare const append: {
475
475
  * @see {@link prepend} for adding one element before the existing elements
476
476
  * @see {@link appendAll} for appending all elements from another iterable
477
477
  *
478
- * @category concatenating
478
+ * @category combining
479
479
  * @since 2.0.0
480
480
  */
481
481
  <B>(last: B): <A>(self: Iterable<A>) => Iterable<A | B>;
@@ -517,7 +517,7 @@ export declare const append: {
517
517
  * @see {@link prepend} for adding one element before the existing elements
518
518
  * @see {@link appendAll} for appending all elements from another iterable
519
519
  *
520
- * @category concatenating
520
+ * @category combining
521
521
  * @since 2.0.0
522
522
  */
523
523
  <A, B>(self: Iterable<A>, last: B): Iterable<A | B>;
@@ -565,7 +565,7 @@ export declare const append: {
565
565
  * @see {@link append} for appending one value instead of another iterable
566
566
  * @see {@link prependAll} for yielding another iterable before `self`
567
567
  *
568
- * @category concatenating
568
+ * @category combining
569
569
  * @since 2.0.0
570
570
  */
571
571
  export declare const appendAll: {
@@ -612,7 +612,7 @@ export declare const appendAll: {
612
612
  * @see {@link append} for appending one value instead of another iterable
613
613
  * @see {@link prependAll} for yielding another iterable before `self`
614
614
  *
615
- * @category concatenating
615
+ * @category combining
616
616
  * @since 2.0.0
617
617
  */
618
618
  <B>(that: Iterable<B>): <A>(self: Iterable<A>) => Iterable<A | B>;
@@ -659,7 +659,7 @@ export declare const appendAll: {
659
659
  * @see {@link append} for appending one value instead of another iterable
660
660
  * @see {@link prependAll} for yielding another iterable before `self`
661
661
  *
662
- * @category concatenating
662
+ * @category combining
663
663
  * @since 2.0.0
664
664
  */
665
665
  <A, B>(self: Iterable<A>, that: Iterable<B>): Iterable<A | B>;
@@ -2048,7 +2048,7 @@ export declare const zipWith: {
2048
2048
  * console.log(Array.from(css).join("")) // "color: red; font-size: 14px; margin: 10px"
2049
2049
  * ```
2050
2050
  *
2051
- * @category concatenating
2051
+ * @category combining
2052
2052
  * @since 2.0.0
2053
2053
  */
2054
2054
  export declare const intersperse: {
@@ -2094,7 +2094,7 @@ export declare const intersperse: {
2094
2094
  * console.log(Array.from(css).join("")) // "color: red; font-size: 14px; margin: 10px"
2095
2095
  * ```
2096
2096
  *
2097
- * @category concatenating
2097
+ * @category combining
2098
2098
  * @since 2.0.0
2099
2099
  */
2100
2100
  <B>(middle: B): <A>(self: Iterable<A>) => Iterable<A | B>;
@@ -2140,7 +2140,7 @@ export declare const intersperse: {
2140
2140
  * console.log(Array.from(css).join("")) // "color: red; font-size: 14px; margin: 10px"
2141
2141
  * ```
2142
2142
  *
2143
- * @category concatenating
2143
+ * @category combining
2144
2144
  * @since 2.0.0
2145
2145
  */
2146
2146
  <A, B>(self: Iterable<A>, middle: B): Iterable<A | B>;
package/dist/Iterable.js CHANGED
@@ -249,7 +249,7 @@ export const fromRecord = self => ({
249
249
  * console.log(Array.from(withZ)) // ["z", "a", "b", "c"]
250
250
  * ```
251
251
  *
252
- * @category concatenating
252
+ * @category combining
253
253
  * @since 2.0.0
254
254
  */
255
255
  export const prepend = /*#__PURE__*/dual(2, (self, head) => prependAll(self, [head]));
@@ -268,7 +268,7 @@ export const prepend = /*#__PURE__*/dual(2, (self, head) => prependAll(self, [he
268
268
  * )
269
269
  * ```
270
270
  *
271
- * @category concatenating
271
+ * @category combining
272
272
  * @since 2.0.0
273
273
  */
274
274
  export const prependAll = /*#__PURE__*/dual(2, (self, that) => appendAll(that, self));
@@ -310,7 +310,7 @@ export const prependAll = /*#__PURE__*/dual(2, (self, that) => appendAll(that, s
310
310
  * @see {@link prepend} for adding one element before the existing elements
311
311
  * @see {@link appendAll} for appending all elements from another iterable
312
312
  *
313
- * @category concatenating
313
+ * @category combining
314
314
  * @since 2.0.0
315
315
  */
316
316
  export const append = /*#__PURE__*/dual(2, (self, last) => appendAll(self, [last]));
@@ -357,7 +357,7 @@ export const append = /*#__PURE__*/dual(2, (self, last) => appendAll(self, [last
357
357
  * @see {@link append} for appending one value instead of another iterable
358
358
  * @see {@link prependAll} for yielding another iterable before `self`
359
359
  *
360
- * @category concatenating
360
+ * @category combining
361
361
  * @since 2.0.0
362
362
  */
363
363
  export const appendAll = /*#__PURE__*/dual(2, (self, that) => ({
@@ -964,7 +964,7 @@ export const zipWith = /*#__PURE__*/dual(3, (self, that, f) => ({
964
964
  * console.log(Array.from(css).join("")) // "color: red; font-size: 14px; margin: 10px"
965
965
  * ```
966
966
  *
967
- * @category concatenating
967
+ * @category combining
968
968
  * @since 2.0.0
969
969
  */
970
970
  export const intersperse = /*#__PURE__*/dual(2, (self, middle) => ({
package/dist/Layer.d.ts CHANGED
@@ -1305,7 +1305,7 @@ export declare const suspend: <A, E, R>(evaluate: LazyArg<Layer<A, E, R>>) => La
1305
1305
  * const unwrappedLayer = Layer.unwrap(layerEffect)
1306
1306
  * ```
1307
1307
  *
1308
- * @category utils
1308
+ * @category converting
1309
1309
  * @since 4.0.0
1310
1310
  */
1311
1311
  export declare const unwrap: <A, E1, R1, E, R>(self: Effect<Layer<A, E1, R1>, E, R>) => Layer<A, E | E1, R1 | Exclude<R, Scope.Scope>>;
@@ -1651,7 +1651,7 @@ export declare const merge: {
1651
1651
  *
1652
1652
  * @see {@link provideMerge} for retaining the dependency services
1653
1653
  *
1654
- * @category utils
1654
+ * @category providing services
1655
1655
  * @since 2.0.0
1656
1656
  */
1657
1657
  export declare const provide: {
@@ -1731,7 +1731,7 @@ export declare const provide: {
1731
1731
  *
1732
1732
  * @see {@link provideMerge} for retaining the dependency services
1733
1733
  *
1734
- * @category utils
1734
+ * @category providing services
1735
1735
  * @since 2.0.0
1736
1736
  */
1737
1737
  <RIn, E, ROut>(that: Layer<ROut, E, RIn>): <RIn2, E2, ROut2>(self: Layer<ROut2, E2, RIn2>) => Layer<ROut2, E | E2, RIn | Exclude<RIn2, ROut>>;
@@ -1811,7 +1811,7 @@ export declare const provide: {
1811
1811
  *
1812
1812
  * @see {@link provideMerge} for retaining the dependency services
1813
1813
  *
1814
- * @category utils
1814
+ * @category providing services
1815
1815
  * @since 2.0.0
1816
1816
  */
1817
1817
  <const Layers extends [Any, ...Array<Any>]>(that: Layers): <A, E, R>(self: Layer<A, E, R>) => Layer<A, E | Error<Layers[number]>, Services<Layers[number]> | Exclude<R, Success<Layers[number]>>>;
@@ -1891,7 +1891,7 @@ export declare const provide: {
1891
1891
  *
1892
1892
  * @see {@link provideMerge} for retaining the dependency services
1893
1893
  *
1894
- * @category utils
1894
+ * @category providing services
1895
1895
  * @since 2.0.0
1896
1896
  */
1897
1897
  <RIn2, E2, ROut2, RIn, E, ROut>(self: Layer<ROut2, E2, RIn2>, that: Layer<ROut, E, RIn>): Layer<ROut2, E | E2, RIn | Exclude<RIn2, ROut>>;
@@ -1971,7 +1971,7 @@ export declare const provide: {
1971
1971
  *
1972
1972
  * @see {@link provideMerge} for retaining the dependency services
1973
1973
  *
1974
- * @category utils
1974
+ * @category providing services
1975
1975
  * @since 2.0.0
1976
1976
  */
1977
1977
  <A, E, R, const Layers extends [Any, ...Array<Any>]>(self: Layer<A, E, R>, that: Layers): Layer<A, E | Error<Layers[number]>, Services<Layers[number]> | Exclude<R, Success<Layers[number]>>>;
@@ -2054,7 +2054,7 @@ export declare const provide: {
2054
2054
  *
2055
2055
  * @see {@link provide} for keeping dependency services private
2056
2056
  *
2057
- * @category utils
2057
+ * @category providing services
2058
2058
  * @since 2.0.0
2059
2059
  */
2060
2060
  export declare const provideMerge: {
@@ -2136,7 +2136,7 @@ export declare const provideMerge: {
2136
2136
  *
2137
2137
  * @see {@link provide} for keeping dependency services private
2138
2138
  *
2139
- * @category utils
2139
+ * @category providing services
2140
2140
  * @since 2.0.0
2141
2141
  */
2142
2142
  <RIn, E, ROut>(that: Layer<ROut, E, RIn>): <RIn2, E2, ROut2>(self: Layer<ROut2, E2, RIn2>) => Layer<ROut | ROut2, E | E2, RIn | Exclude<RIn2, ROut>>;
@@ -2218,7 +2218,7 @@ export declare const provideMerge: {
2218
2218
  *
2219
2219
  * @see {@link provide} for keeping dependency services private
2220
2220
  *
2221
- * @category utils
2221
+ * @category providing services
2222
2222
  * @since 2.0.0
2223
2223
  */
2224
2224
  <const Layers extends [Any, ...Array<Any>]>(that: Layers): <A, E, R>(self: Layer<A, E, R>) => Layer<A | Success<Layers[number]>, E | Error<Layers[number]>, Services<Layers[number]> | Exclude<R, Success<Layers[number]>>>;
@@ -2300,7 +2300,7 @@ export declare const provideMerge: {
2300
2300
  *
2301
2301
  * @see {@link provide} for keeping dependency services private
2302
2302
  *
2303
- * @category utils
2303
+ * @category providing services
2304
2304
  * @since 2.0.0
2305
2305
  */
2306
2306
  <RIn2, E2, ROut2, RIn, E, ROut>(self: Layer<ROut2, E2, RIn2>, that: Layer<ROut, E, RIn>): Layer<ROut | ROut2, E | E2, RIn | Exclude<RIn2, ROut>>;
@@ -2382,7 +2382,7 @@ export declare const provideMerge: {
2382
2382
  *
2383
2383
  * @see {@link provide} for keeping dependency services private
2384
2384
  *
2385
- * @category utils
2385
+ * @category providing services
2386
2386
  * @since 2.0.0
2387
2387
  */
2388
2388
  <A, E, R, const Layers extends [Any, ...Array<Any>]>(self: Layer<A, E, R>, that: Layers): Layer<A | Success<Layers[number]>, E | Error<Layers[number]>, Services<Layers[number]> | Exclude<R, Success<Layers[number]>>>;
@@ -3166,7 +3166,7 @@ export declare const catchCause: {
3166
3166
  * transformation function `f`, and replaces the old service with the
3167
3167
  * transformed one.
3168
3168
  *
3169
- * @category utils
3169
+ * @category providing services
3170
3170
  * @since 3.13.0
3171
3171
  */
3172
3172
  export declare const updateService: {
@@ -3185,7 +3185,7 @@ export declare const updateService: {
3185
3185
  * transformation function `f`, and replaces the old service with the
3186
3186
  * transformed one.
3187
3187
  *
3188
- * @category utils
3188
+ * @category providing services
3189
3189
  * @since 3.13.0
3190
3190
  */
3191
3191
  <I, A>(service: Context.Key<I, A>, f: (a: Types.NoInfer<A>) => A): <A1, E1, R1>(layer: Layer<A1, E1, R1>) => Layer<A1, E1, I | R1>;
@@ -3204,7 +3204,7 @@ export declare const updateService: {
3204
3204
  * transformation function `f`, and replaces the old service with the
3205
3205
  * transformed one.
3206
3206
  *
3207
- * @category utils
3207
+ * @category providing services
3208
3208
  * @since 3.13.0
3209
3209
  */
3210
3210
  <A1, E1, R1, I, A>(layer: Layer<A1, E1, R1>, service: Context.Key<I, A>, f: (a: Types.NoInfer<A>) => A): Layer<A1, E1, I | R1>;
@@ -3285,7 +3285,7 @@ export declare const updateService: {
3285
3285
  * // same Counter: false
3286
3286
  * ```
3287
3287
  *
3288
- * @category utils
3288
+ * @category layers
3289
3289
  * @since 2.0.0
3290
3290
  */
3291
3291
  export declare const fresh: <A, E, R>(self: Layer<A, E, R>) => Layer<A, E, R>;
@@ -3663,7 +3663,7 @@ export declare const satisfiesServicesType: <RIn>() => <ROut, E, RIn2 extends RI
3663
3663
  * @see {@link span} for creating a layer span
3664
3664
  * @see {@link withSpan} for wrapping layer construction in a span
3665
3665
  *
3666
- * @category models
3666
+ * @category options
3667
3667
  * @since 4.0.0
3668
3668
  */
3669
3669
  export interface SpanOptions extends Tracer.SpanOptions {
package/dist/Layer.js CHANGED
@@ -764,7 +764,7 @@ export const suspend = evaluate => fromBuildMemo((memoMap, scope) => internalEff
764
764
  * const unwrappedLayer = Layer.unwrap(layerEffect)
765
765
  * ```
766
766
  *
767
- * @category utils
767
+ * @category converting
768
768
  * @since 4.0.0
769
769
  */
770
770
  export const unwrap = self => {
@@ -943,7 +943,7 @@ const provideWith = (self, that, f) => fromBuild((memoMap, scope) => internalEff
943
943
  *
944
944
  * @see {@link provideMerge} for retaining the dependency services
945
945
  *
946
- * @category utils
946
+ * @category providing services
947
947
  * @since 2.0.0
948
948
  */
949
949
  export const provide = /*#__PURE__*/dual(2, (self, that) => provideWith(self, that, identity));
@@ -1025,7 +1025,7 @@ export const provide = /*#__PURE__*/dual(2, (self, that) => provideWith(self, th
1025
1025
  *
1026
1026
  * @see {@link provide} for keeping dependency services private
1027
1027
  *
1028
- * @category utils
1028
+ * @category providing services
1029
1029
  * @since 2.0.0
1030
1030
  */
1031
1031
  export const provideMerge = /*#__PURE__*/dual(2, (self, that) => provideWith(self, that, (self, that) => Context.merge(that, self)));
@@ -1339,7 +1339,7 @@ export const catchCause = /*#__PURE__*/dual(2, (self, onError) => fromBuildUnsaf
1339
1339
  * transformation function `f`, and replaces the old service with the
1340
1340
  * transformed one.
1341
1341
  *
1342
- * @category utils
1342
+ * @category providing services
1343
1343
  * @since 3.13.0
1344
1344
  */
1345
1345
  export const updateService = /*#__PURE__*/dual(3, (layer, service, f) => provide(layer, effect(service, internalEffect.map(service, f))));
@@ -1419,7 +1419,7 @@ export const updateService = /*#__PURE__*/dual(3, (layer, service, f) => provide
1419
1419
  * // same Counter: false
1420
1420
  * ```
1421
1421
  *
1422
- * @category utils
1422
+ * @category layers
1423
1423
  * @since 2.0.0
1424
1424
  */
1425
1425
  export const fresh = self => fromBuildUnsafe((_, scope) => self.build(makeMemoMapUnsafe(), scope));
package/dist/Logger.d.ts CHANGED
@@ -76,7 +76,7 @@ export interface Logger<in Message, out Output> extends Pipeable {
76
76
  * )
77
77
  * ```
78
78
  *
79
- * @category models
79
+ * @category options
80
80
  * @since 2.0.0
81
81
  */
82
82
  export interface Options<out Message> {
@@ -196,7 +196,7 @@ export declare const LogToStderr: Context.Reference<boolean>;
196
196
  * )
197
197
  * ```
198
198
  *
199
- * @category utils
199
+ * @category mapping
200
200
  * @since 2.0.0
201
201
  */
202
202
  export declare const map: (<Output, Output2>(f: (output: Output) => Output2) => <Message>(self: Logger<Message, Output>) => Logger<Message, Output2>) & (<Message, Output, Output2>(self: Logger<Message, Output>, f: (output: Output) => Output2) => Logger<Message, Output2>);
@@ -227,7 +227,7 @@ export declare const map: (<Output, Output2>(f: (output: Output) => Output2) =>
227
227
  * )
228
228
  * ```
229
229
  *
230
- * @category utils
230
+ * @category logging
231
231
  * @since 2.0.0
232
232
  */
233
233
  export declare const withConsoleLog: <Message, Output>(self: Logger<Message, Output>) => Logger<Message, void>;
@@ -258,7 +258,7 @@ export declare const withConsoleLog: <Message, Output>(self: Logger<Message, Out
258
258
  * )
259
259
  * ```
260
260
  *
261
- * @category utils
261
+ * @category logging
262
262
  * @since 2.0.0
263
263
  */
264
264
  export declare const withConsoleError: <Message, Output>(self: Logger<Message, Output>) => Logger<Message, void>;
@@ -299,7 +299,7 @@ export declare const withConsoleError: <Message, Output>(self: Logger<Message, O
299
299
  * )
300
300
  * ```
301
301
  *
302
- * @category utils
302
+ * @category logging
303
303
  * @since 3.8.0
304
304
  */
305
305
  export declare const withLeveledConsole: <Message, Output>(self: Logger<Message, Output>) => Logger<Message, void>;
package/dist/Logger.js CHANGED
@@ -203,7 +203,7 @@ export const LogToStderr = effect.LogToStderr;
203
203
  * )
204
204
  * ```
205
205
  *
206
- * @category utils
206
+ * @category mapping
207
207
  * @since 2.0.0
208
208
  */
209
209
  export const map = /*#__PURE__*/dual(2, (self, f) => effect.loggerMake(options => f(self.log(options))));
@@ -234,7 +234,7 @@ export const map = /*#__PURE__*/dual(2, (self, f) => effect.loggerMake(options =
234
234
  * )
235
235
  * ```
236
236
  *
237
- * @category utils
237
+ * @category logging
238
238
  * @since 2.0.0
239
239
  */
240
240
  export const withConsoleLog = self => effect.loggerMake(options => {
@@ -268,7 +268,7 @@ export const withConsoleLog = self => effect.loggerMake(options => {
268
268
  * )
269
269
  * ```
270
270
  *
271
- * @category utils
271
+ * @category logging
272
272
  * @since 2.0.0
273
273
  */
274
274
  export const withConsoleError = self => effect.loggerMake(options => {
@@ -312,7 +312,7 @@ export const withConsoleError = self => effect.loggerMake(options => {
312
312
  * )
313
313
  * ```
314
314
  *
315
- * @category utils
315
+ * @category logging
316
316
  * @since 3.8.0
317
317
  */
318
318
  export const withLeveledConsole = self => effect.loggerMake(options => {
@@ -88,7 +88,7 @@ export declare namespace ManagedRuntime {
88
88
  * Use to derive the service requirements provided by an existing
89
89
  * `ManagedRuntime` type.
90
90
  *
91
- * @category type-level
91
+ * @category utility types
92
92
  * @since 3.4.0
93
93
  */
94
94
  type Services<T extends ManagedRuntime<never, any>> = [T] extends [ManagedRuntime<infer R, infer _E>] ? R : never;
@@ -100,7 +100,7 @@ export declare namespace ManagedRuntime {
100
100
  * Use to derive the layer construction error type from an existing
101
101
  * `ManagedRuntime` type.
102
102
  *
103
- * @category type-level
103
+ * @category utility types
104
104
  * @since 3.4.0
105
105
  */
106
106
  type Error<T extends ManagedRuntime<never, any>> = [T] extends [ManagedRuntime<infer _R, infer E>] ? E : never;