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
package/src/Chunk.ts CHANGED
@@ -225,7 +225,7 @@ const emptyArray: ReadonlyArray<never> = []
225
225
  * console.log(eq(chunk1, chunk3)) // false
226
226
  * ```
227
227
  *
228
- * @category equivalence
228
+ * @category instances
229
229
  * @since 4.0.0
230
230
  */
231
231
  export const makeEquivalence = <A>(isEquivalent: Equivalence.Equivalence<A>): Equivalence.Equivalence<Chunk<A>> =>
@@ -849,7 +849,7 @@ export const getUnsafe: {
849
849
  * @see {@link prepend} for adding one element before the existing elements
850
850
  * @see {@link appendAll} for appending all elements from another chunk
851
851
  *
852
- * @category concatenating
852
+ * @category combining
853
853
  * @since 2.0.0
854
854
  */
855
855
  export const append: {
@@ -879,7 +879,7 @@ export const append: {
879
879
  * @see {@link prepend} for adding one element before the existing elements
880
880
  * @see {@link appendAll} for appending all elements from another chunk
881
881
  *
882
- * @category concatenating
882
+ * @category combining
883
883
  * @since 2.0.0
884
884
  */
885
885
  <A2>(a: A2): <A>(self: Chunk<A>) => NonEmptyChunk<A2 | A>
@@ -909,7 +909,7 @@ export const append: {
909
909
  * @see {@link prepend} for adding one element before the existing elements
910
910
  * @see {@link appendAll} for appending all elements from another chunk
911
911
  *
912
- * @category concatenating
912
+ * @category combining
913
913
  * @since 2.0.0
914
914
  */
915
915
  <A, A2>(self: Chunk<A>, a: A2): NonEmptyChunk<A | A2>
@@ -933,7 +933,7 @@ export const append: {
933
933
  * console.log(Chunk.toArray(singleElement)) // ["first"]
934
934
  * ```
935
935
  *
936
- * @category concatenating
936
+ * @category combining
937
937
  * @since 2.0.0
938
938
  */
939
939
  export const prepend: {
@@ -955,7 +955,7 @@ export const prepend: {
955
955
  * console.log(Chunk.toArray(singleElement)) // ["first"]
956
956
  * ```
957
957
  *
958
- * @category concatenating
958
+ * @category combining
959
959
  * @since 2.0.0
960
960
  */
961
961
  <B>(elem: B): <A>(self: Chunk<A>) => NonEmptyChunk<B | A>
@@ -977,7 +977,7 @@ export const prepend: {
977
977
  * console.log(Chunk.toArray(singleElement)) // ["first"]
978
978
  * ```
979
979
  *
980
- * @category concatenating
980
+ * @category combining
981
981
  * @since 2.0.0
982
982
  */
983
983
  <A, B>(self: Chunk<A>, elem: B): NonEmptyChunk<A | B>
@@ -1292,7 +1292,7 @@ export const dropWhile: {
1292
1292
  * // [ "a", "b", 1, 2 ]
1293
1293
  * ```
1294
1294
  *
1295
- * @category concatenating
1295
+ * @category combining
1296
1296
  * @since 2.0.0
1297
1297
  */
1298
1298
  export const prependAll: {
@@ -1314,7 +1314,7 @@ export const prependAll: {
1314
1314
  * // [ "a", "b", 1, 2 ]
1315
1315
  * ```
1316
1316
  *
1317
- * @category concatenating
1317
+ * @category combining
1318
1318
  * @since 2.0.0
1319
1319
  */
1320
1320
  <S extends Chunk<any>, T extends Chunk<any>>(that: T): (self: S) => Chunk.OrNonEmpty<S, T, Chunk.Infer<S> | Chunk.Infer<T>>
@@ -1336,7 +1336,7 @@ export const prependAll: {
1336
1336
  * // [ "a", "b", 1, 2 ]
1337
1337
  * ```
1338
1338
  *
1339
- * @category concatenating
1339
+ * @category combining
1340
1340
  * @since 2.0.0
1341
1341
  */
1342
1342
  <A, B>(self: Chunk<A>, that: NonEmptyChunk<B>): NonEmptyChunk<A | B>
@@ -1358,7 +1358,7 @@ export const prependAll: {
1358
1358
  * // [ "a", "b", 1, 2 ]
1359
1359
  * ```
1360
1360
  *
1361
- * @category concatenating
1361
+ * @category combining
1362
1362
  * @since 2.0.0
1363
1363
  */
1364
1364
  <A, B>(self: NonEmptyChunk<A>, that: Chunk<B>): NonEmptyChunk<A | B>
@@ -1380,7 +1380,7 @@ export const prependAll: {
1380
1380
  * // [ "a", "b", 1, 2 ]
1381
1381
  * ```
1382
1382
  *
1383
- * @category concatenating
1383
+ * @category combining
1384
1384
  * @since 2.0.0
1385
1385
  */
1386
1386
  <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A | B>
@@ -1412,7 +1412,7 @@ export const prependAll: {
1412
1412
  * @see {@link prependAll} for concatenating chunks in the opposite order
1413
1413
  * @see {@link append} for adding a single element to the end
1414
1414
  *
1415
- * @category concatenating
1415
+ * @category combining
1416
1416
  * @since 2.0.0
1417
1417
  */
1418
1418
  export const appendAll: {
@@ -1442,7 +1442,7 @@ export const appendAll: {
1442
1442
  * @see {@link prependAll} for concatenating chunks in the opposite order
1443
1443
  * @see {@link append} for adding a single element to the end
1444
1444
  *
1445
- * @category concatenating
1445
+ * @category combining
1446
1446
  * @since 2.0.0
1447
1447
  */
1448
1448
  <S extends Chunk<any>, T extends Chunk<any>>(that: T): (self: S) => Chunk.OrNonEmpty<S, T, Chunk.Infer<S> | Chunk.Infer<T>>
@@ -1472,7 +1472,7 @@ export const appendAll: {
1472
1472
  * @see {@link prependAll} for concatenating chunks in the opposite order
1473
1473
  * @see {@link append} for adding a single element to the end
1474
1474
  *
1475
- * @category concatenating
1475
+ * @category combining
1476
1476
  * @since 2.0.0
1477
1477
  */
1478
1478
  <A, B>(self: Chunk<A>, that: NonEmptyChunk<B>): NonEmptyChunk<A | B>
@@ -1502,7 +1502,7 @@ export const appendAll: {
1502
1502
  * @see {@link prependAll} for concatenating chunks in the opposite order
1503
1503
  * @see {@link append} for adding a single element to the end
1504
1504
  *
1505
- * @category concatenating
1505
+ * @category combining
1506
1506
  * @since 2.0.0
1507
1507
  */
1508
1508
  <A, B>(self: NonEmptyChunk<A>, that: Chunk<B>): NonEmptyChunk<A | B>
@@ -1532,7 +1532,7 @@ export const appendAll: {
1532
1532
  * @see {@link prependAll} for concatenating chunks in the opposite order
1533
1533
  * @see {@link append} for adding a single element to the end
1534
1534
  *
1535
- * @category concatenating
1535
+ * @category combining
1536
1536
  * @since 2.0.0
1537
1537
  */
1538
1538
  <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A | B>
@@ -1571,7 +1571,7 @@ export const appendAll: {
1571
1571
  * @see {@link prependAll} for concatenating chunks in the opposite order
1572
1572
  * @see {@link append} for adding a single element to the end
1573
1573
  *
1574
- * @category concatenating
1574
+ * @category combining
1575
1575
  * @since 2.0.0
1576
1576
  */
1577
1577
  A | B>({ _tag: "IConcat", left: self, right: that });
package/src/Context.ts CHANGED
@@ -2000,7 +2000,7 @@ export const omit = <S extends ReadonlyArray<Key<any, any>>>(
2000
2000
  * @see {@link pick} for keeping selected services
2001
2001
  * @see {@link omit} for removing selected services
2002
2002
  *
2003
- * @category utils
2003
+ * @category mutations
2004
2004
  * @since 4.0.0
2005
2005
  */
2006
2006
  export const mutate: {
@@ -2019,7 +2019,7 @@ export const mutate: {
2019
2019
  * @see {@link pick} for keeping selected services
2020
2020
  * @see {@link omit} for removing selected services
2021
2021
  *
2022
- * @category utils
2022
+ * @category mutations
2023
2023
  * @since 4.0.0
2024
2024
  */
2025
2025
  <Services, B>(f: (context: Context<Services>) => Context<B>): <Services>(self: Context<Services>) => Context<B>
@@ -2038,7 +2038,7 @@ export const mutate: {
2038
2038
  * @see {@link pick} for keeping selected services
2039
2039
  * @see {@link omit} for removing selected services
2040
2040
  *
2041
- * @category utils
2041
+ * @category mutations
2042
2042
  * @since 4.0.0
2043
2043
  */
2044
2044
  <Services, B>(self: Context<Services>, f: (context: Context<Services>) => Context<B>): Context<B>
@@ -2060,7 +2060,7 @@ export const mutate: {
2060
2060
  * @see {@link pick} for keeping selected services
2061
2061
  * @see {@link omit} for removing selected services
2062
2062
  *
2063
- * @category utils
2063
+ * @category mutations
2064
2064
  * @since 4.0.0
2065
2065
  */
2066
2066
  Services>(new Map(self.mapUnsafe))
package/src/Cron.ts CHANGED
@@ -690,7 +690,7 @@ export const parseUnsafe = (cron: string, tz?: DateTime.TimeZone | string): Cron
690
690
  * @see {@link next} for finding the next matching date/time
691
691
  * @see {@link prev} for finding the previous matching date/time
692
692
  *
693
- * @category utils
693
+ * @category predicates
694
694
  * @since 2.0.0
695
695
  */
696
696
  export const match = (cron: Cron, date: DateTime.DateTime.Input): boolean => {
@@ -766,7 +766,7 @@ const daysInMonth = (date: Date): number =>
766
766
  * @see {@link prev} for finding the previous scheduled occurrence
767
767
  * @see {@link sequence} for iterating future scheduled occurrences
768
768
  *
769
- * @category utils
769
+ * @category getters
770
770
  * @since 2.0.0
771
771
  */
772
772
  export const next = (cron: Cron, now?: DateTime.DateTime.Input): Date => {
@@ -792,7 +792,7 @@ export const next = (cron: Cron, now?: DateTime.DateTime.Input): Date => {
792
792
  *
793
793
  * @see {@link next} for finding the next scheduled occurrence
794
794
  *
795
- * @category utils
795
+ * @category getters
796
796
  * @since 3.20.0
797
797
  */
798
798
  export const prev = (cron: Cron, now?: DateTime.DateTime.Input): Date => {
@@ -983,7 +983,7 @@ const stepCron = (cron: Cron, now: DateTime.DateTime.Input | undefined, directio
983
983
  *
984
984
  * @see {@link next} for computing one next occurrence
985
985
  *
986
- * @category utils
986
+ * @category sequencing
987
987
  * @since 2.0.0
988
988
  */
989
989
  export const sequence = function*(cron: Cron, now?: DateTime.DateTime.Input): IterableIterator<Date> {
package/src/Deferred.ts CHANGED
@@ -314,7 +314,7 @@ export {
314
314
  *
315
315
  * @see {@link completeWith} for storing an effect directly without memoizing its result
316
316
  *
317
- * @category utils
317
+ * @category completion
318
318
  * @since 2.0.0
319
319
  */
320
320
  export const complete: {
@@ -349,7 +349,7 @@ export const complete: {
349
349
  *
350
350
  * @see {@link completeWith} for storing an effect directly without memoizing its result
351
351
  *
352
- * @category utils
352
+ * @category completion
353
353
  * @since 2.0.0
354
354
  */
355
355
  <A, E, R>(effect: Effect<A, E, R>): (self: Deferred<A, E>) => Effect<boolean, never, R>
@@ -384,7 +384,7 @@ export const complete: {
384
384
  *
385
385
  * @see {@link completeWith} for storing an effect directly without memoizing its result
386
386
  *
387
- * @category utils
387
+ * @category completion
388
388
  * @since 2.0.0
389
389
  */
390
390
  <A, E, R>(self: Deferred<A, E>, effect: Effect<A, E, R>): Effect<boolean, never, R>
@@ -430,7 +430,7 @@ export const complete: {
430
430
  * @see {@link complete} for running an effect once and sharing its result
431
431
  * @see {@link done} for completing from an already computed `Exit`
432
432
  *
433
- * @category utils
433
+ * @category completion
434
434
  * @since 2.0.0
435
435
  */
436
436
  export const completeWith: {
@@ -470,7 +470,7 @@ export const completeWith: {
470
470
  * @see {@link complete} for running an effect once and sharing its result
471
471
  * @see {@link done} for completing from an already computed `Exit`
472
472
  *
473
- * @category utils
473
+ * @category completion
474
474
  * @since 2.0.0
475
475
  */
476
476
  <A, E>(effect: Effect<A, E>): (self: Deferred<A, E>) => Effect<boolean>
@@ -510,7 +510,7 @@ export const completeWith: {
510
510
  * @see {@link complete} for running an effect once and sharing its result
511
511
  * @see {@link done} for completing from an already computed `Exit`
512
512
  *
513
- * @category utils
513
+ * @category completion
514
514
  * @since 2.0.0
515
515
  */
516
516
  <A, E>(self: Deferred<A, E>, effect: Effect<A, E>): Effect<boolean>
@@ -552,7 +552,7 @@ export const completeWith: {
552
552
  * @see {@link succeed} for completing with a success value
553
553
  * @see {@link failCause} for completing with a failure cause
554
554
  *
555
- * @category utils
555
+ * @category completion
556
556
  * @since 2.0.0
557
557
  */
558
558
  export const done: {
@@ -588,7 +588,7 @@ export const done: {
588
588
  * @see {@link succeed} for completing with a success value
589
589
  * @see {@link failCause} for completing with a failure cause
590
590
  *
591
- * @category utils
591
+ * @category completion
592
592
  * @since 2.0.0
593
593
  */
594
594
  <A, E>(exit: Exit.Exit<A, E>): (self: Deferred<A, E>) => Effect<boolean>
@@ -624,7 +624,7 @@ export const done: {
624
624
  * @see {@link succeed} for completing with a success value
625
625
  * @see {@link failCause} for completing with a failure cause
626
626
  *
627
- * @category utils
627
+ * @category completion
628
628
  * @since 2.0.0
629
629
  */
630
630
  <A, E>(self: Deferred<A, E>, exit: Exit.Exit<A, E>): Effect<boolean>
@@ -655,7 +655,7 @@ export const done: {
655
655
  * })
656
656
  * ```
657
657
  *
658
- * @category utils
658
+ * @category completion
659
659
  * @since 2.0.0
660
660
  */
661
661
  export const fail: {
@@ -684,7 +684,7 @@ export const fail: {
684
684
  * })
685
685
  * ```
686
686
  *
687
- * @category utils
687
+ * @category completion
688
688
  * @since 2.0.0
689
689
  */
690
690
  <E>(error: E): <A>(self: Deferred<A, E>) => Effect<boolean>
@@ -713,7 +713,7 @@ export const fail: {
713
713
  * })
714
714
  * ```
715
715
  *
716
- * @category utils
716
+ * @category completion
717
717
  * @since 2.0.0
718
718
  */
719
719
  <A, E>(self: Deferred<A, E>, error: E): Effect<boolean>
@@ -745,7 +745,7 @@ export const fail: {
745
745
  * })
746
746
  * ```
747
747
  *
748
- * @category utils
748
+ * @category completion
749
749
  * @since 2.0.0
750
750
  */
751
751
  export const failSync: {
@@ -775,7 +775,7 @@ export const failSync: {
775
775
  * })
776
776
  * ```
777
777
  *
778
- * @category utils
778
+ * @category completion
779
779
  * @since 2.0.0
780
780
  */
781
781
  <E>(evaluate: LazyArg<E>): <A>(self: Deferred<A, E>) => Effect<boolean>
@@ -805,7 +805,7 @@ export const failSync: {
805
805
  * })
806
806
  * ```
807
807
  *
808
- * @category utils
808
+ * @category completion
809
809
  * @since 2.0.0
810
810
  */
811
811
  <A, E>(self: Deferred<A, E>, evaluate: LazyArg<E>): Effect<boolean>
@@ -843,7 +843,7 @@ export const failSync: {
843
843
  * })
844
844
  * ```
845
845
  *
846
- * @category utils
846
+ * @category completion
847
847
  * @since 2.0.0
848
848
  */
849
849
  export const failCause: {
@@ -875,7 +875,7 @@ export const failCause: {
875
875
  * })
876
876
  * ```
877
877
  *
878
- * @category utils
878
+ * @category completion
879
879
  * @since 2.0.0
880
880
  */
881
881
  <E>(cause: Cause.Cause<E>): <A>(self: Deferred<A, E>) => Effect<boolean>
@@ -907,7 +907,7 @@ export const failCause: {
907
907
  * })
908
908
  * ```
909
909
  *
910
- * @category utils
910
+ * @category completion
911
911
  * @since 2.0.0
912
912
  */
913
913
  <A, E>(self: Deferred<A, E>, cause: Cause.Cause<E>): Effect<boolean>
@@ -945,7 +945,7 @@ export const failCause: {
945
945
  * })
946
946
  * ```
947
947
  *
948
- * @category utils
948
+ * @category completion
949
949
  * @since 2.0.0
950
950
  */
951
951
  export const failCauseSync: {
@@ -978,7 +978,7 @@ export const failCauseSync: {
978
978
  * })
979
979
  * ```
980
980
  *
981
- * @category utils
981
+ * @category completion
982
982
  * @since 2.0.0
983
983
  */
984
984
  <E>(evaluate: LazyArg<Cause.Cause<E>>): <A>(self: Deferred<A, E>) => Effect<boolean>
@@ -1011,7 +1011,7 @@ export const failCauseSync: {
1011
1011
  * })
1012
1012
  * ```
1013
1013
  *
1014
- * @category utils
1014
+ * @category completion
1015
1015
  * @since 2.0.0
1016
1016
  */
1017
1017
  <A, E>(self: Deferred<A, E>, evaluate: LazyArg<Cause.Cause<E>>): Effect<boolean>
@@ -1049,7 +1049,7 @@ export const failCauseSync: {
1049
1049
  * })
1050
1050
  * ```
1051
1051
  *
1052
- * @category utils
1052
+ * @category completion
1053
1053
  * @since 2.0.0
1054
1054
  */
1055
1055
  export const die: {
@@ -1081,7 +1081,7 @@ export const die: {
1081
1081
  * })
1082
1082
  * ```
1083
1083
  *
1084
- * @category utils
1084
+ * @category completion
1085
1085
  * @since 2.0.0
1086
1086
  */
1087
1087
  (defect: unknown): <A, E>(self: Deferred<A, E>) => Effect<boolean>
@@ -1113,7 +1113,7 @@ export const die: {
1113
1113
  * })
1114
1114
  * ```
1115
1115
  *
1116
- * @category utils
1116
+ * @category completion
1117
1117
  * @since 2.0.0
1118
1118
  */
1119
1119
  <A, E>(self: Deferred<A, E>, defect: unknown): Effect<boolean>
@@ -1148,7 +1148,7 @@ export const die: {
1148
1148
  * })
1149
1149
  * ```
1150
1150
  *
1151
- * @category utils
1151
+ * @category completion
1152
1152
  * @since 2.0.0
1153
1153
  */
1154
1154
  export const dieSync: {
@@ -1181,7 +1181,7 @@ export const dieSync: {
1181
1181
  * })
1182
1182
  * ```
1183
1183
  *
1184
- * @category utils
1184
+ * @category completion
1185
1185
  * @since 2.0.0
1186
1186
  */
1187
1187
  (evaluate: LazyArg<unknown>): <A, E>(self: Deferred<A, E>) => Effect<boolean>
@@ -1214,7 +1214,7 @@ export const dieSync: {
1214
1214
  * })
1215
1215
  * ```
1216
1216
  *
1217
- * @category utils
1217
+ * @category completion
1218
1218
  * @since 2.0.0
1219
1219
  */
1220
1220
  <A, E>(self: Deferred<A, E>, evaluate: LazyArg<unknown>): Effect<boolean>
@@ -1250,7 +1250,7 @@ export const dieSync: {
1250
1250
  * })
1251
1251
  * ```
1252
1252
  *
1253
- * @category utils
1253
+ * @category completion
1254
1254
  * @since 2.0.0
1255
1255
  */
1256
1256
  export const interrupt = <A, E>(self: Deferred<A, E>): Effect<boolean> =>
@@ -1282,7 +1282,7 @@ export const interrupt = <A, E>(self: Deferred<A, E>): Effect<boolean> =>
1282
1282
  * })
1283
1283
  * ```
1284
1284
  *
1285
- * @category utils
1285
+ * @category completion
1286
1286
  * @since 2.0.0
1287
1287
  */
1288
1288
  export const interruptWith: {
@@ -1312,7 +1312,7 @@ export const interruptWith: {
1312
1312
  * })
1313
1313
  * ```
1314
1314
  *
1315
- * @category utils
1315
+ * @category completion
1316
1316
  * @since 2.0.0
1317
1317
  */
1318
1318
  (fiberId: number): <A, E>(self: Deferred<A, E>) => Effect<boolean>
@@ -1342,7 +1342,7 @@ export const interruptWith: {
1342
1342
  * })
1343
1343
  * ```
1344
1344
  *
1345
- * @category utils
1345
+ * @category completion
1346
1346
  * @since 2.0.0
1347
1347
  */
1348
1348
  <A, E>(self: Deferred<A, E>, fiberId: number): Effect<boolean>
@@ -1457,7 +1457,7 @@ export function poll<A, E>(self: Deferred<A, E>): Effect<Option.Option<Effect<A,
1457
1457
  * })
1458
1458
  * ```
1459
1459
  *
1460
- * @category utils
1460
+ * @category completion
1461
1461
  * @since 2.0.0
1462
1462
  */
1463
1463
  export const succeed: {
@@ -1488,7 +1488,7 @@ export const succeed: {
1488
1488
  * })
1489
1489
  * ```
1490
1490
  *
1491
- * @category utils
1491
+ * @category completion
1492
1492
  * @since 2.0.0
1493
1493
  */
1494
1494
  <A>(value: A): <E>(self: Deferred<A, E>) => Effect<boolean>
@@ -1519,7 +1519,7 @@ export const succeed: {
1519
1519
  * })
1520
1520
  * ```
1521
1521
  *
1522
- * @category utils
1522
+ * @category completion
1523
1523
  * @since 2.0.0
1524
1524
  */
1525
1525
  <A, E>(self: Deferred<A, E>, value: A): Effect<boolean>
@@ -1553,7 +1553,7 @@ export const succeed: {
1553
1553
  * })
1554
1554
  * ```
1555
1555
  *
1556
- * @category utils
1556
+ * @category completion
1557
1557
  * @since 2.0.0
1558
1558
  */
1559
1559
  export const sync: {
@@ -1585,7 +1585,7 @@ export const sync: {
1585
1585
  * })
1586
1586
  * ```
1587
1587
  *
1588
- * @category utils
1588
+ * @category completion
1589
1589
  * @since 2.0.0
1590
1590
  */
1591
1591
  <A>(evaluate: LazyArg<A>): <E>(self: Deferred<A, E>) => Effect<boolean>
@@ -1617,7 +1617,7 @@ export const sync: {
1617
1617
  * })
1618
1618
  * ```
1619
1619
  *
1620
- * @category utils
1620
+ * @category completion
1621
1621
  * @since 2.0.0
1622
1622
  */
1623
1623
  <A, E>(self: Deferred<A, E>, evaluate: LazyArg<A>): Effect<boolean>
package/src/Duration.ts CHANGED
@@ -1459,7 +1459,7 @@ export const min: {
1459
1459
  * console.log(Duration.toSeconds(longer)) // 5
1460
1460
  * ```
1461
1461
  *
1462
- * @category order
1462
+ * @category ordering
1463
1463
  * @since 2.0.0
1464
1464
  */
1465
1465
  export const max: {
@@ -1475,7 +1475,7 @@ export const max: {
1475
1475
  * console.log(Duration.toSeconds(longer)) // 5
1476
1476
  * ```
1477
1477
  *
1478
- * @category order
1478
+ * @category ordering
1479
1479
  * @since 2.0.0
1480
1480
  */
1481
1481
  (that: Duration): (self: Duration) => Duration
@@ -1491,7 +1491,7 @@ export const max: {
1491
1491
  * console.log(Duration.toSeconds(longer)) // 5
1492
1492
  * ```
1493
1493
  *
1494
- * @category order
1494
+ * @category ordering
1495
1495
  * @since 2.0.0
1496
1496
  */
1497
1497
  (self: Duration, that: Duration): Duration
@@ -1512,7 +1512,7 @@ export const max: {
1512
1512
  * console.log(Duration.toSeconds(clamped)) // 5
1513
1513
  * ```
1514
1514
  *
1515
- * @category order
1515
+ * @category ordering
1516
1516
  * @since 2.0.0
1517
1517
  */
1518
1518
  export const clamp: {
@@ -1531,7 +1531,7 @@ export const clamp: {
1531
1531
  * console.log(Duration.toSeconds(clamped)) // 5
1532
1532
  * ```
1533
1533
  *
1534
- * @category order
1534
+ * @category ordering
1535
1535
  * @since 2.0.0
1536
1536
  */
1537
1537
  (options: { minimum: Duration; maximum: Duration }): (self: Duration) => Duration
@@ -1550,7 +1550,7 @@ export const clamp: {
1550
1550
  * console.log(Duration.toSeconds(clamped)) // 5
1551
1551
  * ```
1552
1552
  *
1553
- * @category order
1553
+ * @category ordering
1554
1554
  * @since 2.0.0
1555
1555
  */
1556
1556
  (self: Duration, options: { minimum: Duration; maximum: Duration }): Duration