effect 4.0.0-beta.72 → 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 (361) 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/EntityResource.d.ts +1 -0
  137. package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
  138. package/dist/unstable/cluster/EntityResource.js +5 -3
  139. package/dist/unstable/cluster/EntityResource.js.map +1 -1
  140. package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
  141. package/dist/unstable/cluster/HttpRunner.js +2 -2
  142. package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
  143. package/dist/unstable/cluster/K8sHttpClient.js +1 -1
  144. package/dist/unstable/cluster/Runners.d.ts +1 -1
  145. package/dist/unstable/cluster/Runners.js +1 -1
  146. package/dist/unstable/cluster/Sharding.d.ts +1 -1
  147. package/dist/unstable/cluster/Sharding.js +1 -1
  148. package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
  149. package/dist/unstable/cluster/SingletonAddress.js +1 -1
  150. package/dist/unstable/cluster/Snowflake.d.ts +5 -5
  151. package/dist/unstable/cluster/Snowflake.js +5 -5
  152. package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
  153. package/dist/unstable/devtools/DevToolsClient.js +1 -1
  154. package/dist/unstable/eventlog/EventLog.d.ts +1 -1
  155. package/dist/unstable/eventlog/EventLog.js +1 -1
  156. package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
  157. package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
  158. package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
  159. package/dist/unstable/eventlog/EventLogRemote.js +1 -1
  160. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
  161. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
  162. package/dist/unstable/http/Cookies.d.ts +1 -1
  163. package/dist/unstable/http/Etag.d.ts +1 -1
  164. package/dist/unstable/http/Etag.js +1 -1
  165. package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
  166. package/dist/unstable/http/FetchHttpClient.js +2 -2
  167. package/dist/unstable/http/HttpClient.d.ts +1 -1
  168. package/dist/unstable/http/HttpClient.js +1 -1
  169. package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
  170. package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
  171. package/dist/unstable/http/HttpMiddleware.js +1 -1
  172. package/dist/unstable/http/HttpPlatform.d.ts +1 -1
  173. package/dist/unstable/http/HttpPlatform.js +1 -1
  174. package/dist/unstable/http/HttpRouter.d.ts +4 -4
  175. package/dist/unstable/http/HttpRouter.js +4 -4
  176. package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
  177. package/dist/unstable/http/Url.d.ts +33 -33
  178. package/dist/unstable/http/Url.js +11 -11
  179. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  180. package/dist/unstable/httpapi/HttpApi.js +1 -1
  181. package/dist/unstable/httpapi/HttpApiBuilder.js +2 -3
  182. package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
  183. package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
  184. package/dist/unstable/httpapi/HttpApiError.js +13 -13
  185. package/dist/unstable/httpapi/HttpApiSecurity.d.ts +27 -5
  186. package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
  187. package/dist/unstable/httpapi/HttpApiSecurity.js +26 -3
  188. package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
  189. package/dist/unstable/httpapi/OpenApi.js +2 -2
  190. package/dist/unstable/httpapi/OpenApi.js.map +1 -1
  191. package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
  192. package/dist/unstable/observability/PrometheusMetrics.js +2 -2
  193. package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
  194. package/dist/unstable/persistence/KeyValueStore.js +1 -1
  195. package/dist/unstable/persistence/Persistable.d.ts +2 -2
  196. package/dist/unstable/persistence/Persistable.js +2 -2
  197. package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
  198. package/dist/unstable/persistence/PersistedQueue.js +8 -8
  199. package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
  200. package/dist/unstable/persistence/RateLimiter.js +1 -1
  201. package/dist/unstable/process/ChildProcess.d.ts +5 -5
  202. package/dist/unstable/process/ChildProcess.js +2 -2
  203. package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
  204. package/dist/unstable/reactivity/AsyncResult.js +1 -1
  205. package/dist/unstable/reactivity/Atom.d.ts +1 -1
  206. package/dist/unstable/reactivity/Atom.js +1 -1
  207. package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
  208. package/dist/unstable/reactivity/AtomRegistry.js +1 -1
  209. package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
  210. package/dist/unstable/reactivity/Reactivity.js +1 -1
  211. package/dist/unstable/rpc/Rpc.d.ts +5 -5
  212. package/dist/unstable/rpc/Rpc.js +1 -1
  213. package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
  214. package/dist/unstable/rpc/RpcMiddleware.js +1 -1
  215. package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
  216. package/dist/unstable/rpc/RpcSchema.js +2 -2
  217. package/dist/unstable/schema/Model.d.ts +2 -2
  218. package/dist/unstable/schema/Model.js +1 -1
  219. package/dist/unstable/socket/Socket.d.ts +3 -3
  220. package/dist/unstable/socket/Socket.js +3 -3
  221. package/dist/unstable/socket/SocketServer.d.ts +1 -1
  222. package/dist/unstable/socket/SocketServer.js +1 -1
  223. package/dist/unstable/sql/Migrator.d.ts +1 -1
  224. package/dist/unstable/sql/SqlClient.d.ts +3 -3
  225. package/dist/unstable/sql/SqlClient.js +2 -2
  226. package/dist/unstable/sql/SqlConnection.d.ts +1 -1
  227. package/dist/unstable/sql/SqlConnection.js +1 -1
  228. package/dist/unstable/sql/Statement.d.ts +2 -2
  229. package/dist/unstable/sql/Statement.js +2 -2
  230. package/dist/unstable/workers/Transferable.d.ts +1 -1
  231. package/dist/unstable/workers/Transferable.js +1 -1
  232. package/dist/unstable/workers/Worker.d.ts +1 -1
  233. package/dist/unstable/workers/Worker.js +1 -1
  234. package/dist/unstable/workflow/Activity.d.ts +1 -1
  235. package/dist/unstable/workflow/Activity.js +1 -1
  236. package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
  237. package/dist/unstable/workflow/DurableDeferred.js +1 -1
  238. package/package.json +1 -1
  239. package/src/Array.ts +16 -16
  240. package/src/Boolean.ts +2 -2
  241. package/src/Channel.ts +67 -67
  242. package/src/Chunk.ts +18 -18
  243. package/src/Context.ts +4 -4
  244. package/src/Cron.ts +4 -4
  245. package/src/Deferred.ts +37 -37
  246. package/src/Duration.ts +6 -6
  247. package/src/Effect.ts +58 -58
  248. package/src/Equal.ts +2 -2
  249. package/src/Equivalence.ts +1 -1
  250. package/src/ExecutionPlan.ts +2 -2
  251. package/src/FileSystem.ts +6 -6
  252. package/src/Function.ts +5 -5
  253. package/src/Graph.ts +11 -11
  254. package/src/HKT.ts +1 -1
  255. package/src/HashMap.ts +3 -3
  256. package/src/HashSet.ts +1 -1
  257. package/src/Iterable.ts +15 -15
  258. package/src/Layer.ts +16 -16
  259. package/src/Logger.ts +7 -7
  260. package/src/ManagedRuntime.ts +2 -2
  261. package/src/Match.ts +20 -20
  262. package/src/Metric.ts +20 -20
  263. package/src/Option.ts +36 -36
  264. package/src/Order.ts +1 -1
  265. package/src/Path.ts +1 -1
  266. package/src/Pipeable.ts +1 -1
  267. package/src/Predicate.ts +5 -5
  268. package/src/PubSub.ts +9 -9
  269. package/src/Queue.ts +24 -24
  270. package/src/Record.ts +15 -15
  271. package/src/Redacted.ts +2 -2
  272. package/src/Ref.ts +18 -18
  273. package/src/RegExp.ts +1 -1
  274. package/src/Request.ts +4 -4
  275. package/src/RequestResolver.ts +8 -8
  276. package/src/Resource.ts +1 -1
  277. package/src/Result.ts +18 -18
  278. package/src/Schedule.ts +45 -45
  279. package/src/Schema.ts +177 -459
  280. package/src/SchemaAST.ts +1 -1
  281. package/src/SchemaGetter.ts +13 -13
  282. package/src/SchemaParser.ts +3 -3
  283. package/src/Scope.ts +1 -1
  284. package/src/Sink.ts +5 -5
  285. package/src/Stream.ts +57 -57
  286. package/src/String.ts +5 -5
  287. package/src/Struct.ts +8 -8
  288. package/src/SynchronizedRef.ts +57 -57
  289. package/src/Terminal.ts +1 -1
  290. package/src/Tracer.ts +5 -5
  291. package/src/Tuple.ts +14 -14
  292. package/src/TxHashMap.ts +3 -3
  293. package/src/TxHashSet.ts +1 -1
  294. package/src/Unify.ts +7 -7
  295. package/src/testing/TestClock.ts +5 -5
  296. package/src/testing/TestConsole.ts +3 -3
  297. package/src/unstable/ai/Chat.ts +2 -2
  298. package/src/unstable/ai/EmbeddingModel.ts +1 -1
  299. package/src/unstable/ai/IdGenerator.ts +2 -2
  300. package/src/unstable/ai/LanguageModel.ts +4 -4
  301. package/src/unstable/ai/Prompt.ts +15 -15
  302. package/src/unstable/ai/Telemetry.ts +5 -5
  303. package/src/unstable/ai/Tokenizer.ts +1 -1
  304. package/src/unstable/ai/Tool.ts +6 -6
  305. package/src/unstable/cli/Command.ts +5 -1
  306. package/src/unstable/cli/Param.ts +1 -1
  307. package/src/unstable/cli/Primitive.ts +3 -3
  308. package/src/unstable/cli/Prompt.ts +11 -11
  309. package/src/unstable/cli/internal/parser.ts +204 -10
  310. package/src/unstable/cluster/Entity.ts +1 -1
  311. package/src/unstable/cluster/EntityResource.ts +8 -4
  312. package/src/unstable/cluster/HttpRunner.ts +2 -2
  313. package/src/unstable/cluster/K8sHttpClient.ts +1 -1
  314. package/src/unstable/cluster/Runners.ts +1 -1
  315. package/src/unstable/cluster/Sharding.ts +1 -1
  316. package/src/unstable/cluster/SingletonAddress.ts +1 -1
  317. package/src/unstable/cluster/Snowflake.ts +5 -5
  318. package/src/unstable/devtools/DevToolsClient.ts +1 -1
  319. package/src/unstable/eventlog/EventLog.ts +1 -1
  320. package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
  321. package/src/unstable/eventlog/EventLogRemote.ts +1 -1
  322. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
  323. package/src/unstable/http/Cookies.ts +1 -1
  324. package/src/unstable/http/Etag.ts +1 -1
  325. package/src/unstable/http/FetchHttpClient.ts +2 -2
  326. package/src/unstable/http/HttpClient.ts +1 -1
  327. package/src/unstable/http/HttpClientRequest.ts +2 -2
  328. package/src/unstable/http/HttpMiddleware.ts +1 -1
  329. package/src/unstable/http/HttpPlatform.ts +1 -1
  330. package/src/unstable/http/HttpRouter.ts +4 -4
  331. package/src/unstable/http/HttpServerResponse.ts +3 -3
  332. package/src/unstable/http/Url.ts +33 -33
  333. package/src/unstable/httpapi/HttpApi.ts +1 -1
  334. package/src/unstable/httpapi/HttpApiBuilder.ts +2 -3
  335. package/src/unstable/httpapi/HttpApiError.ts +13 -13
  336. package/src/unstable/httpapi/HttpApiSecurity.ts +36 -8
  337. package/src/unstable/httpapi/OpenApi.ts +2 -2
  338. package/src/unstable/observability/PrometheusMetrics.ts +4 -4
  339. package/src/unstable/persistence/KeyValueStore.ts +3 -3
  340. package/src/unstable/persistence/Persistable.ts +2 -2
  341. package/src/unstable/persistence/PersistedQueue.ts +8 -8
  342. package/src/unstable/persistence/RateLimiter.ts +1 -1
  343. package/src/unstable/process/ChildProcess.ts +5 -5
  344. package/src/unstable/reactivity/AsyncResult.ts +4 -4
  345. package/src/unstable/reactivity/Atom.ts +1 -1
  346. package/src/unstable/reactivity/AtomRegistry.ts +1 -1
  347. package/src/unstable/reactivity/Reactivity.ts +1 -1
  348. package/src/unstable/rpc/Rpc.ts +5 -5
  349. package/src/unstable/rpc/RpcMiddleware.ts +1 -1
  350. package/src/unstable/rpc/RpcSchema.ts +3 -3
  351. package/src/unstable/schema/Model.ts +2 -2
  352. package/src/unstable/socket/Socket.ts +3 -3
  353. package/src/unstable/socket/SocketServer.ts +1 -1
  354. package/src/unstable/sql/Migrator.ts +1 -1
  355. package/src/unstable/sql/SqlClient.ts +3 -3
  356. package/src/unstable/sql/SqlConnection.ts +1 -1
  357. package/src/unstable/sql/Statement.ts +2 -2
  358. package/src/unstable/workers/Transferable.ts +1 -1
  359. package/src/unstable/workers/Worker.ts +1 -1
  360. package/src/unstable/workflow/Activity.ts +1 -1
  361. package/src/unstable/workflow/DurableDeferred.ts +1 -1
@@ -118,7 +118,7 @@ export const get = self => Effect.sync(() => getUnsafe(self));
118
118
  * @see {@link setAndGet} for setting a value and returning the new value
119
119
  * @see {@link getAndUpdate} for deriving the new value from the current value
120
120
  *
121
- * @category utils
121
+ * @category mutations
122
122
  * @since 2.0.0
123
123
  */
124
124
  export const getAndSet = /*#__PURE__*/dual(2, (self, value) => self.semaphore.withPermit(Ref.getAndSet(self.backing, value)));
@@ -134,7 +134,7 @@ export const getAndSet = /*#__PURE__*/dual(2, (self, value) => self.semaphore.wi
134
134
  * @see {@link updateAndGet} for updating and returning the new value
135
135
  * @see {@link getAndUpdateEffect} for effectful updates that return the previous value
136
136
  *
137
- * @category utils
137
+ * @category mutations
138
138
  * @since 2.0.0
139
139
  */
140
140
  export const getAndUpdate = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Ref.getAndUpdate(self.backing, f)));
@@ -152,7 +152,7 @@ export const getAndUpdate = /*#__PURE__*/dual(2, (self, f) => self.semaphore.wit
152
152
  * @see {@link modifyEffect} for effectful updates with a custom return value
153
153
  * @see {@link getAndUpdateSomeEffect} for conditional effectful updates that return the previous value
154
154
  *
155
- * @category utils
155
+ * @category mutations
156
156
  * @since 2.0.0
157
157
  */
158
158
  export const getAndUpdateEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -174,7 +174,7 @@ export const getAndUpdateEffect = /*#__PURE__*/dual(2, (self, f) => self.semapho
174
174
  * @see {@link getAndUpdate} for always applying a pure update
175
175
  * @see {@link updateSome} for applying a pure conditional update without returning the previous value
176
176
  *
177
- * @category utils
177
+ * @category mutations
178
178
  * @since 2.0.0
179
179
  */
180
180
  export const getAndUpdateSome = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Ref.getAndUpdateSome(self, pf)));
@@ -191,7 +191,7 @@ export const getAndUpdateSome = /*#__PURE__*/dual(2, (self, pf) => self.semaphor
191
191
  * @see {@link getAndUpdateSome} for the pure conditional variant
192
192
  * @see {@link updateSomeEffect} for effectful conditional updates without returning the previous value
193
193
  *
194
- * @category utils
194
+ * @category mutations
195
195
  * @since 2.0.0
196
196
  */
197
197
  export const getAndUpdateSomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -217,7 +217,7 @@ export const getAndUpdateSomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.se
217
217
  * @see {@link modifySome} for deriving a result and optionally updating the stored value
218
218
  * @see {@link updateAndGet} for returning the new stored value instead of a separate result
219
219
  *
220
- * @category utils
220
+ * @category mutations
221
221
  * @since 2.0.0
222
222
  */
223
223
  export const modify = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Ref.modify(self.backing, f)));
@@ -233,7 +233,7 @@ export const modify = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermi
233
233
  * @see {@link modify} for the pure variant
234
234
  * @see {@link updateEffect} for effectfully storing a new value without a separate result
235
235
  *
236
- * @category utils
236
+ * @category mutations
237
237
  * @since 2.0.0
238
238
  */
239
239
  export const modifyEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -254,7 +254,7 @@ export const modifyEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.wit
254
254
  * @see {@link modify} for always storing a new value
255
255
  * @see {@link updateSome} for optional updates without a separate return value
256
256
  *
257
- * @category utils
257
+ * @category mutations
258
258
  * @since 2.0.0
259
259
  */
260
260
  export const modifySome = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Ref.modifySome(self.backing, pf)));
@@ -271,7 +271,7 @@ export const modifySome = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.with
271
271
  * @see {@link modifySome} for the pure variant
272
272
  * @see {@link updateSomeEffect} for effectful optional updates without a separate return value
273
273
  *
274
- * @category utils
274
+ * @category mutations
275
275
  * @since 2.0.0
276
276
  */
277
277
  export const modifySomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -296,7 +296,7 @@ export const modifySomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphor
296
296
  * @see {@link setAndGet} for replacing the value when the new value should be returned
297
297
  * @see {@link update} for deriving the next value from the current value
298
298
  *
299
- * @category utils
299
+ * @category mutations
300
300
  * @since 2.0.0
301
301
  */
302
302
  export const set = /*#__PURE__*/dual(2, (self, value) => self.semaphore.withPermit(Ref.set(self.backing, value)));
@@ -311,7 +311,7 @@ export const set = /*#__PURE__*/dual(2, (self, value) => self.semaphore.withPerm
311
311
  * @see {@link set} for setting without returning a value
312
312
  * @see {@link getAndSet} for setting while returning the previous value
313
313
  *
314
- * @category utils
314
+ * @category mutations
315
315
  * @since 2.0.0
316
316
  */
317
317
  export const setAndGet = /*#__PURE__*/dual(2, (self, value) => self.semaphore.withPermit(Ref.setAndGet(self.backing, value)));
@@ -328,7 +328,7 @@ export const setAndGet = /*#__PURE__*/dual(2, (self, value) => self.semaphore.wi
328
328
  * @see {@link updateAndGet} for returning the new stored value
329
329
  * @see {@link getAndUpdate} for returning the previous stored value
330
330
  *
331
- * @category utils
331
+ * @category mutations
332
332
  * @since 2.0.0
333
333
  */
334
334
  export const update = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Ref.update(self.backing, f)));
@@ -347,7 +347,7 @@ export const update = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermi
347
347
  * @see {@link modifyEffect} for returning a separate result while storing a new value
348
348
  * @see {@link updateSomeEffect} for effectfully applying only some state transitions
349
349
  *
350
- * @category utils
350
+ * @category mutations
351
351
  * @since 2.0.0
352
352
  */
353
353
  export const updateEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -367,7 +367,7 @@ export const updateEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.wit
367
367
  * @see {@link update} for updating without returning the new value
368
368
  * @see {@link getAndUpdate} for updating while returning the previous value
369
369
  *
370
- * @category utils
370
+ * @category mutations
371
371
  * @since 2.0.0
372
372
  */
373
373
  export const updateAndGet = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Ref.updateAndGet(self.backing, f)));
@@ -382,7 +382,7 @@ export const updateAndGet = /*#__PURE__*/dual(2, (self, f) => self.semaphore.wit
382
382
  * @see {@link updateEffect} for effectful updates without returning the new value
383
383
  * @see {@link updateAndGet} for the pure variant
384
384
  *
385
- * @category utils
385
+ * @category mutations
386
386
  * @since 2.0.0
387
387
  */
388
388
  export const updateAndGetEffect = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -403,7 +403,7 @@ export const updateAndGetEffect = /*#__PURE__*/dual(2, (self, f) => self.semapho
403
403
  * @see {@link update} for always applying a pure update
404
404
  * @see {@link updateSomeAndGet} for returning the resulting current value
405
405
  *
406
- * @category utils
406
+ * @category mutations
407
407
  * @since 2.0.0
408
408
  */
409
409
  export const updateSome = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withPermit(Ref.updateSome(self.backing, f)));
@@ -418,7 +418,7 @@ export const updateSome = /*#__PURE__*/dual(2, (self, f) => self.semaphore.withP
418
418
  * @see {@link updateSome} for the pure conditional variant
419
419
  * @see {@link updateEffect} for effectful updates that always store a new value
420
420
  *
421
- * @category utils
421
+ * @category mutations
422
422
  * @since 2.0.0
423
423
  */
424
424
  export const updateSomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -443,7 +443,7 @@ export const updateSomeEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphor
443
443
  * @see {@link updateSome} for conditional updates without returning a value
444
444
  * @see {@link updateAndGet} for always applying a pure update and returning the new value
445
445
  *
446
- * @category utils
446
+ * @category mutations
447
447
  * @since 2.0.0
448
448
  */
449
449
  export const updateSomeAndGet = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Ref.updateSomeAndGet(self.backing, pf)));
@@ -460,7 +460,7 @@ export const updateSomeAndGet = /*#__PURE__*/dual(2, (self, pf) => self.semaphor
460
460
  * @see {@link updateSomeEffect} for effectful conditional updates without returning a value
461
461
  * @see {@link updateAndGetEffect} for effectful updates that always store and return a new value
462
462
  *
463
- * @category utils
463
+ * @category mutations
464
464
  * @since 2.0.0
465
465
  */
466
466
  export const updateSomeAndGetEffect = /*#__PURE__*/dual(2, (self, pf) => self.semaphore.withPermit(Effect.suspend(() => {
@@ -171,7 +171,7 @@ export declare const isQuitError: (u: unknown) => u is QuitError;
171
171
  * Use to access or provide platform terminal capabilities such as reading
172
172
  * input, writing output, and inspecting terminal dimensions.
173
173
  *
174
- * @category tags
174
+ * @category services
175
175
  * @since 4.0.0
176
176
  */
177
177
  export declare const Terminal: Context.Service<Terminal, Terminal>;
package/dist/Terminal.js CHANGED
@@ -54,7 +54,7 @@ export const isQuitError = u => Predicate.hasProperty(u, QuitErrorTypeId);
54
54
  * Use to access or provide platform terminal capabilities such as reading
55
55
  * input, writing output, and inspecting terminal dimensions.
56
56
  *
57
- * @category tags
57
+ * @category services
58
58
  * @since 4.0.0
59
59
  */
60
60
  export const Terminal = /*#__PURE__*/Context.Service("effect/platform/Terminal");
package/dist/Tracer.d.ts CHANGED
@@ -162,7 +162,7 @@ export type AnySpan = Span | ExternalSpan;
162
162
  * console.log(Tracer.ParentSpanKey) // "effect/Tracer/ParentSpan"
163
163
  * ```
164
164
  *
165
- * @category tags
165
+ * @category constants
166
166
  * @since 4.0.0
167
167
  */
168
168
  export declare const ParentSpanKey = "effect/Tracer/ParentSpan";
@@ -183,7 +183,7 @@ declare const ParentSpan_base: Context.ServiceClass<ParentSpan, "effect/Tracer/P
183
183
  * })
184
184
  * ```
185
185
  *
186
- * @category tags
186
+ * @category services
187
187
  * @since 2.0.0
188
188
  */
189
189
  export declare class ParentSpan extends ParentSpan_base {
@@ -245,7 +245,7 @@ export interface ExternalSpan {
245
245
  * )
246
246
  * ```
247
247
  *
248
- * @category models
248
+ * @category options
249
249
  * @since 3.1.0
250
250
  */
251
251
  export interface SpanOptions extends SpanOptionsNoTrace, TraceOptions {
@@ -255,7 +255,7 @@ export interface SpanOptions extends SpanOptionsNoTrace, TraceOptions {
255
255
  * attributes, links, parent or root selection, annotations, span kind,
256
256
  * sampling, and the trace level used for filtering.
257
257
  *
258
- * @category models
258
+ * @category options
259
259
  * @since 4.0.0
260
260
  */
261
261
  export interface SpanOptionsNoTrace {
@@ -272,7 +272,7 @@ export interface SpanOptionsNoTrace {
272
272
  * Options that control stack trace capture for tracing wrappers.
273
273
  * `captureStackTrace` can disable capture or provide a lazy stack string.
274
274
  *
275
- * @category models
275
+ * @category options
276
276
  * @since 4.0.0
277
277
  */
278
278
  export interface TraceOptions {
package/dist/Tracer.js CHANGED
@@ -60,7 +60,7 @@ const evaluate = "~effect/Effect/evaluate";
60
60
  * console.log(Tracer.ParentSpanKey) // "effect/Tracer/ParentSpan"
61
61
  * ```
62
62
  *
63
- * @category tags
63
+ * @category constants
64
64
  * @since 4.0.0
65
65
  */
66
66
  export const ParentSpanKey = "effect/Tracer/ParentSpan";
@@ -80,7 +80,7 @@ export const ParentSpanKey = "effect/Tracer/ParentSpan";
80
80
  * })
81
81
  * ```
82
82
  *
83
- * @category tags
83
+ * @category services
84
84
  * @since 2.0.0
85
85
  */
86
86
  export class ParentSpan extends /*#__PURE__*/Context.Service()(ParentSpanKey) {}
package/dist/Tuple.d.ts CHANGED
@@ -208,7 +208,7 @@ type PickTuple<T extends ReadonlyArray<unknown>, K> = _BuildTuple<T, K>;
208
208
  *
209
209
  * @see {@link omit} – the inverse (exclude indices instead)
210
210
  * @see {@link get} – extract a single element
211
- * @category utils
211
+ * @category filtering
212
212
  * @since 4.0.0
213
213
  */
214
214
  export declare const pick: {
@@ -234,7 +234,7 @@ export declare const pick: {
234
234
  *
235
235
  * @see {@link omit} – the inverse (exclude indices instead)
236
236
  * @see {@link get} – extract a single element
237
- * @category utils
237
+ * @category filtering
238
238
  * @since 4.0.0
239
239
  */
240
240
  <const T extends ReadonlyArray<unknown>, const I extends ReadonlyArray<Indices<T>>>(indices: I): (self: T) => PickTuple<T, I[number]>;
@@ -260,7 +260,7 @@ export declare const pick: {
260
260
  *
261
261
  * @see {@link omit} – the inverse (exclude indices instead)
262
262
  * @see {@link get} – extract a single element
263
- * @category utils
263
+ * @category filtering
264
264
  * @since 4.0.0
265
265
  */
266
266
  <const T extends ReadonlyArray<unknown>, const I extends ReadonlyArray<Indices<T>>>(self: T, indices: I): PickTuple<T, I[number]>;
@@ -287,7 +287,7 @@ type OmitTuple<T extends ReadonlyArray<unknown>, K> = _BuildTuple<T, Exclude<Ind
287
287
  * ```
288
288
  *
289
289
  * @see {@link pick} – the inverse (keep only specified indices)
290
- * @category utils
290
+ * @category filtering
291
291
  * @since 4.0.0
292
292
  */
293
293
  export declare const omit: {
@@ -312,7 +312,7 @@ export declare const omit: {
312
312
  * ```
313
313
  *
314
314
  * @see {@link pick} – the inverse (keep only specified indices)
315
- * @category utils
315
+ * @category filtering
316
316
  * @since 4.0.0
317
317
  */
318
318
  <const T extends ReadonlyArray<unknown>, const I extends ReadonlyArray<Indices<T>>>(indices: I): (self: T) => OmitTuple<T, I[number]>;
@@ -337,7 +337,7 @@ export declare const omit: {
337
337
  * ```
338
338
  *
339
339
  * @see {@link pick} – the inverse (keep only specified indices)
340
- * @category utils
340
+ * @category filtering
341
341
  * @since 4.0.0
342
342
  */
343
343
  <const T extends ReadonlyArray<unknown>, const I extends ReadonlyArray<Indices<T>>>(self: T, indices: I): OmitTuple<T, I[number]>;
@@ -363,7 +363,7 @@ export declare const omit: {
363
363
  * ```
364
364
  *
365
365
  * @see {@link appendElements} – append multiple elements (another tuple)
366
- * @category Concatenating
366
+ * @category combining
367
367
  * @since 2.0.0
368
368
  */
369
369
  export declare const appendElement: {
@@ -388,7 +388,7 @@ export declare const appendElement: {
388
388
  * ```
389
389
  *
390
390
  * @see {@link appendElements} – append multiple elements (another tuple)
391
- * @category Concatenating
391
+ * @category combining
392
392
  * @since 2.0.0
393
393
  */
394
394
  <const E>(element: E): <const T extends ReadonlyArray<unknown>>(self: T) => [...T, E];
@@ -413,7 +413,7 @@ export declare const appendElement: {
413
413
  * ```
414
414
  *
415
415
  * @see {@link appendElements} – append multiple elements (another tuple)
416
- * @category Concatenating
416
+ * @category combining
417
417
  * @since 2.0.0
418
418
  */
419
419
  <const T extends ReadonlyArray<unknown>, const E>(self: T, element: E): [...T, E];
@@ -440,7 +440,7 @@ export declare const appendElement: {
440
440
  * ```
441
441
  *
442
442
  * @see {@link appendElement} – append a single element
443
- * @category Concatenating
443
+ * @category combining
444
444
  * @since 4.0.0
445
445
  */
446
446
  export declare const appendElements: {
@@ -466,7 +466,7 @@ export declare const appendElements: {
466
466
  * ```
467
467
  *
468
468
  * @see {@link appendElement} – append a single element
469
- * @category Concatenating
469
+ * @category combining
470
470
  * @since 4.0.0
471
471
  */
472
472
  <const T2 extends ReadonlyArray<unknown>>(that: T2): <const T1 extends ReadonlyArray<unknown>>(self: T1) => [...T1, ...T2];
@@ -492,7 +492,7 @@ export declare const appendElements: {
492
492
  * ```
493
493
  *
494
494
  * @see {@link appendElement} – append a single element
495
- * @category Concatenating
495
+ * @category combining
496
496
  * @since 4.0.0
497
497
  */
498
498
  <const T1 extends ReadonlyArray<unknown>, const T2 extends ReadonlyArray<unknown>>(self: T1, that: T2): [...T1, ...T2];
@@ -1075,7 +1075,7 @@ export declare const mapOmit: {
1075
1075
  * ```
1076
1076
  *
1077
1077
  * @see {@link makeOrder} – create an `Order` for tuples
1078
- * @category Equivalence
1078
+ * @category instances
1079
1079
  * @since 4.0.0
1080
1080
  */
1081
1081
  export declare const makeEquivalence: typeof Equivalence.Tuple;
@@ -1104,7 +1104,7 @@ export declare const makeEquivalence: typeof Equivalence.Tuple;
1104
1104
  * ```
1105
1105
  *
1106
1106
  * @see {@link makeEquivalence} – create an `Equivalence` for tuples
1107
- * @category Ordering
1107
+ * @category ordering
1108
1108
  * @since 4.0.0
1109
1109
  */
1110
1110
  export declare const makeOrder: typeof order.Tuple;
package/dist/Tuple.js CHANGED
@@ -149,7 +149,7 @@ export const get = /*#__PURE__*/dual(2, (self, index) => self[index]);
149
149
  *
150
150
  * @see {@link omit} – the inverse (exclude indices instead)
151
151
  * @see {@link get} – extract a single element
152
- * @category utils
152
+ * @category filtering
153
153
  * @since 4.0.0
154
154
  */
155
155
  export const pick = /*#__PURE__*/dual(2, (self, indices) => {
@@ -176,7 +176,7 @@ export const pick = /*#__PURE__*/dual(2, (self, indices) => {
176
176
  * ```
177
177
  *
178
178
  * @see {@link pick} – the inverse (keep only specified indices)
179
- * @category utils
179
+ * @category filtering
180
180
  * @since 4.0.0
181
181
  */
182
182
  export const omit = /*#__PURE__*/dual(2, (self, indices) => {
@@ -204,7 +204,7 @@ export const omit = /*#__PURE__*/dual(2, (self, indices) => {
204
204
  * ```
205
205
  *
206
206
  * @see {@link appendElements} – append multiple elements (another tuple)
207
- * @category Concatenating
207
+ * @category combining
208
208
  * @since 2.0.0
209
209
  */
210
210
  export const appendElement = /*#__PURE__*/dual(2, (self, element) => [...self, element]);
@@ -230,7 +230,7 @@ export const appendElement = /*#__PURE__*/dual(2, (self, element) => [...self, e
230
230
  * ```
231
231
  *
232
232
  * @see {@link appendElement} – append a single element
233
- * @category Concatenating
233
+ * @category combining
234
234
  * @since 4.0.0
235
235
  */
236
236
  export const appendElements = /*#__PURE__*/dual(2, (self, that) => [...self, ...that]);
@@ -447,7 +447,7 @@ export const mapOmit = /*#__PURE__*/dual(3, (self, indices, lambda) => {
447
447
  * ```
448
448
  *
449
449
  * @see {@link makeOrder} – create an `Order` for tuples
450
- * @category Equivalence
450
+ * @category instances
451
451
  * @since 4.0.0
452
452
  */
453
453
  export const makeEquivalence = Equivalence.Tuple;
@@ -476,7 +476,7 @@ export const makeEquivalence = Equivalence.Tuple;
476
476
  * ```
477
477
  *
478
478
  * @see {@link makeEquivalence} – create an `Equivalence` for tuples
479
- * @category Ordering
479
+ * @category ordering
480
480
  * @since 4.0.0
481
481
  */
482
482
  export const makeOrder = order.Tuple;
@@ -136,7 +136,7 @@ export declare namespace TxHashMap {
136
136
  * })
137
137
  * ```
138
138
  *
139
- * @category type-level
139
+ * @category utility types
140
140
  * @since 4.0.0
141
141
  */
142
142
  type Key<T extends TxHashMap<any, any>> = T extends TxHashMap<infer K, any> ? K : never;
@@ -168,7 +168,7 @@ export declare namespace TxHashMap {
168
168
  * })
169
169
  * ```
170
170
  *
171
- * @category type-level
171
+ * @category utility types
172
172
  * @since 4.0.0
173
173
  */
174
174
  type Value<T extends TxHashMap<any, any>> = T extends TxHashMap<any, infer V> ? V : never;
@@ -203,7 +203,7 @@ export declare namespace TxHashMap {
203
203
  * })
204
204
  * ```
205
205
  *
206
- * @category type-level
206
+ * @category utility types
207
207
  * @since 4.0.0
208
208
  */
209
209
  type Entry<T extends TxHashMap<any, any>> = T extends TxHashMap<infer K, infer V> ? readonly [K, V] : never;
@@ -119,7 +119,7 @@ export declare namespace TxHashSet {
119
119
  * console.log(processFruit("apple")) // Processing apple
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 TxHashSet<infer V> ? V : never;
package/dist/Unify.d.ts CHANGED
@@ -246,7 +246,7 @@ export type Unify<A> = Values<ExtractTypes<(FilterIn<A> & {
246
246
  *
247
247
  * @see {@link Unify} for the type-level normalization applied by this helper
248
248
  *
249
- * @category utils
249
+ * @category utility types
250
250
  * @since 2.0.0
251
251
  */
252
252
  export declare const unify: {
@@ -291,7 +291,7 @@ export declare const unify: {
291
291
  *
292
292
  * @see {@link Unify} for the type-level normalization applied by this helper
293
293
  *
294
- * @category utils
294
+ * @category utility types
295
295
  * @since 2.0.0
296
296
  */
297
297
  <Args extends Array<any>, Args2 extends Array<any>, Args3 extends Array<any>, Args4 extends Array<any>, Args5 extends Array<any>, T>(x: (...args: Args) => (...args: Args2) => (...args: Args3) => (...args: Args4) => (...args: Args5) => T): (...args: Args) => (...args: Args2) => (...args: Args3) => (...args: Args4) => (...args: Args5) => Unify<T>;
@@ -336,7 +336,7 @@ export declare const unify: {
336
336
  *
337
337
  * @see {@link Unify} for the type-level normalization applied by this helper
338
338
  *
339
- * @category utils
339
+ * @category utility types
340
340
  * @since 2.0.0
341
341
  */
342
342
  <Args extends Array<any>, Args2 extends Array<any>, Args3 extends Array<any>, Args4 extends Array<any>, T>(x: (...args: Args) => (...args: Args2) => (...args: Args3) => (...args: Args4) => T): (...args: Args) => (...args: Args2) => (...args: Args3) => (...args: Args4) => Unify<T>;
@@ -381,7 +381,7 @@ export declare const unify: {
381
381
  *
382
382
  * @see {@link Unify} for the type-level normalization applied by this helper
383
383
  *
384
- * @category utils
384
+ * @category utility types
385
385
  * @since 2.0.0
386
386
  */
387
387
  <Args extends Array<any>, Args2 extends Array<any>, Args3 extends Array<any>, T>(x: (...args: Args) => (...args: Args2) => (...args: Args3) => T): (...args: Args) => (...args: Args2) => (...args: Args3) => Unify<T>;
@@ -426,7 +426,7 @@ export declare const unify: {
426
426
  *
427
427
  * @see {@link Unify} for the type-level normalization applied by this helper
428
428
  *
429
- * @category utils
429
+ * @category utility types
430
430
  * @since 2.0.0
431
431
  */
432
432
  <Args extends Array<any>, Args2 extends Array<any>, T>(x: (...args: Args) => (...args: Args2) => T): (...args: Args) => (...args: Args2) => Unify<T>;
@@ -471,7 +471,7 @@ export declare const unify: {
471
471
  *
472
472
  * @see {@link Unify} for the type-level normalization applied by this helper
473
473
  *
474
- * @category utils
474
+ * @category utility types
475
475
  * @since 2.0.0
476
476
  */
477
477
  <Args extends Array<any>, T>(x: (...args: Args) => T): (...args: Args) => Unify<T>;
@@ -516,7 +516,7 @@ export declare const unify: {
516
516
  *
517
517
  * @see {@link Unify} for the type-level normalization applied by this helper
518
518
  *
519
- * @category utils
519
+ * @category utility types
520
520
  * @since 2.0.0
521
521
  */
522
522
  <T>(x: T): Unify<T>;
package/dist/Unify.js CHANGED
@@ -73,7 +73,7 @@ import { identity } from "./Function.js";
73
73
  *
74
74
  * @see {@link Unify} for the type-level normalization applied by this helper
75
75
  *
76
- * @category utils
76
+ * @category utility types
77
77
  * @since 2.0.0
78
78
  */
79
79
  export const unify = identity;
@@ -132,7 +132,7 @@ export declare namespace TestClock {
132
132
  * })
133
133
  * ```
134
134
  *
135
- * @category models
135
+ * @category options
136
136
  * @since 4.0.0
137
137
  */
138
138
  interface Options {
@@ -243,7 +243,7 @@ export declare const layer: (options?: TestClock.Options) => Layer.Layer<TestClo
243
243
  * })
244
244
  * ```
245
245
  *
246
- * @category utils
246
+ * @category testing
247
247
  * @since 2.0.0
248
248
  */
249
249
  export declare const testClockWith: <A, E, R>(f: (testClock: TestClock) => Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
@@ -275,7 +275,7 @@ export declare const testClockWith: <A, E, R>(f: (testClock: TestClock) => Effec
275
275
  * })
276
276
  * ```
277
277
  *
278
- * @category utils
278
+ * @category testing
279
279
  * @since 2.0.0
280
280
  */
281
281
  export declare const adjust: (duration: Duration.Input) => Effect.Effect<void>;
@@ -307,7 +307,7 @@ export declare const adjust: (duration: Duration.Input) => Effect.Effect<void>;
307
307
  * })
308
308
  * ```
309
309
  *
310
- * @category utils
310
+ * @category testing
311
311
  * @since 2.0.0
312
312
  */
313
313
  export declare const setTime: (timestamp: number) => Effect.Effect<void>;
@@ -339,7 +339,7 @@ export declare const setTime: (timestamp: number) => Effect.Effect<void>;
339
339
  * })
340
340
  * ```
341
341
  *
342
- * @category utils
342
+ * @category testing
343
343
  * @since 4.0.0
344
344
  */
345
345
  export declare const withLive: <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
@@ -225,7 +225,7 @@ export const layer = /*#__PURE__*/flow(make, /*#__PURE__*/Layer.effect(Clock.Clo
225
225
  * })
226
226
  * ```
227
227
  *
228
- * @category utils
228
+ * @category testing
229
229
  * @since 2.0.0
230
230
  */
231
231
  export const testClockWith = f => Effect.withFiber(fiber => f(fiber.getRef(Clock.Clock)));
@@ -257,7 +257,7 @@ export const testClockWith = f => Effect.withFiber(fiber => f(fiber.getRef(Clock
257
257
  * })
258
258
  * ```
259
259
  *
260
- * @category utils
260
+ * @category testing
261
261
  * @since 2.0.0
262
262
  */
263
263
  export const adjust = duration => testClockWith(testClock => testClock.adjust(duration));
@@ -289,7 +289,7 @@ export const adjust = duration => testClockWith(testClock => testClock.adjust(du
289
289
  * })
290
290
  * ```
291
291
  *
292
- * @category utils
292
+ * @category testing
293
293
  * @since 2.0.0
294
294
  */
295
295
  export const setTime = timestamp => testClockWith(testClock => testClock.setTime(timestamp));
@@ -321,7 +321,7 @@ export const setTime = timestamp => testClockWith(testClock => testClock.setTime
321
321
  * })
322
322
  * ```
323
323
  *
324
- * @category utils
324
+ * @category testing
325
325
  * @since 4.0.0
326
326
  */
327
327
  export const withLive = effect => testClockWith(testClock => testClock.withLive(effect));
@@ -192,7 +192,7 @@ export declare const make: Effect.Effect<TestConsole, never, never>;
192
192
  * @see {@link logLines} for reading captured `Console.log` calls directly
193
193
  * @see {@link errorLines} for reading captured `Console.error` calls directly
194
194
  *
195
- * @category utils
195
+ * @category testing
196
196
  * @since 4.0.0
197
197
  */
198
198
  export declare const testConsoleWith: <A, E, R>(f: (console: TestConsole) => Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
@@ -264,7 +264,7 @@ export declare const layer: Layer.Layer<TestConsole>;
264
264
  * @see {@link errorLines} for reading captured `Console.error` output
265
265
  * @see {@link layer} for capturing console calls during a test
266
266
  *
267
- * @category utils
267
+ * @category testing
268
268
  * @since 4.0.0
269
269
  */
270
270
  export declare const logLines: Effect.Effect<ReadonlyArray<unknown>, never, never>;
@@ -300,7 +300,7 @@ export declare const logLines: Effect.Effect<ReadonlyArray<unknown>, never, neve
300
300
  * @see {@link logLines} for reading captured `Console.log` output
301
301
  * @see {@link layer} for capturing console calls during a test
302
302
  *
303
- * @category utils
303
+ * @category testing
304
304
  * @since 4.0.0
305
305
  */
306
306
  export declare const errorLines: Effect.Effect<ReadonlyArray<unknown>, never, never>;
@@ -142,7 +142,7 @@ export const make = /*#__PURE__*/Effect.gen(function* () {
142
142
  * @see {@link logLines} for reading captured `Console.log` calls directly
143
143
  * @see {@link errorLines} for reading captured `Console.error` calls directly
144
144
  *
145
- * @category utils
145
+ * @category testing
146
146
  * @since 4.0.0
147
147
  */
148
148
  export const testConsoleWith = f => Console.consoleWith(console => f(console));
@@ -214,7 +214,7 @@ export const layer = /*#__PURE__*/Layer.effect(Console.Console)(make);
214
214
  * @see {@link errorLines} for reading captured `Console.error` output
215
215
  * @see {@link layer} for capturing console calls during a test
216
216
  *
217
- * @category utils
217
+ * @category testing
218
218
  * @since 4.0.0
219
219
  */
220
220
  export const logLines = /*#__PURE__*/testConsoleWith(console => console.logLines);
@@ -250,7 +250,7 @@ export const logLines = /*#__PURE__*/testConsoleWith(console => console.logLines
250
250
  * @see {@link logLines} for reading captured `Console.log` output
251
251
  * @see {@link layer} for capturing console calls during a test
252
252
  *
253
- * @category utils
253
+ * @category testing
254
254
  * @since 4.0.0
255
255
  */
256
256
  export const errorLines = /*#__PURE__*/testConsoleWith(console => console.errorLines);