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
@@ -95,7 +95,7 @@ export interface HttpServerResponse extends Inspectable.Inspectable, Pipeable, E
95
95
  /**
96
96
  * Common options accepted by HTTP server response constructors.
97
97
  *
98
- * @category models
98
+ * @category options
99
99
  * @since 4.0.0
100
100
  */
101
101
  export interface Options {
@@ -118,7 +118,7 @@ export declare namespace Options {
118
118
  * Response options for constructors whose body determines its own content type
119
119
  * and content length.
120
120
  *
121
- * @category models
121
+ * @category options
122
122
  * @since 4.0.0
123
123
  */
124
124
  export interface WithContent extends Omit<Options, "contentType" | "contentLength"> {}
@@ -127,7 +127,7 @@ export declare namespace Options {
127
127
  * Response options for constructors that allow overriding the content type while
128
128
  * deriving the content length from the body.
129
129
  *
130
- * @category models
130
+ * @category options
131
131
  * @since 4.0.0
132
132
  */
133
133
  export interface WithContentType extends Omit<Options, "contentLength"> {}
@@ -234,21 +234,21 @@ const immutableURLSetter = <P extends keyof URL, A = never>(property: P): {
234
234
  /**
235
235
  * Updates the hash fragment of the URL.
236
236
  *
237
- * @category Setters
237
+ * @category setters
238
238
  * @since 4.0.0
239
239
  */
240
240
  export const setHash: {
241
241
  /**
242
242
  * Updates the hash fragment of the URL.
243
243
  *
244
- * @category Setters
244
+ * @category setters
245
245
  * @since 4.0.0
246
246
  */
247
247
  (hash: string): (url: URL) => URL
248
248
  /**
249
249
  * Updates the hash fragment of the URL.
250
250
  *
251
- * @category Setters
251
+ * @category setters
252
252
  * @since 4.0.0
253
253
  */
254
254
  (url: URL, hash: string): URL
@@ -257,21 +257,21 @@ export const setHash: {
257
257
  /**
258
258
  * Updates the host (domain and port) of the URL.
259
259
  *
260
- * @category Setters
260
+ * @category setters
261
261
  * @since 4.0.0
262
262
  */
263
263
  export const setHost: {
264
264
  /**
265
265
  * Updates the host (domain and port) of the URL.
266
266
  *
267
- * @category Setters
267
+ * @category setters
268
268
  * @since 4.0.0
269
269
  */
270
270
  (host: string): (url: URL) => URL
271
271
  /**
272
272
  * Updates the host (domain and port) of the URL.
273
273
  *
274
- * @category Setters
274
+ * @category setters
275
275
  * @since 4.0.0
276
276
  */
277
277
  (url: URL, host: string): URL
@@ -280,21 +280,21 @@ export const setHost: {
280
280
  /**
281
281
  * Updates the domain of the URL without modifying the port.
282
282
  *
283
- * @category Setters
283
+ * @category setters
284
284
  * @since 4.0.0
285
285
  */
286
286
  export const setHostname: {
287
287
  /**
288
288
  * Updates the domain of the URL without modifying the port.
289
289
  *
290
- * @category Setters
290
+ * @category setters
291
291
  * @since 4.0.0
292
292
  */
293
293
  (hostname: string): (url: URL) => URL
294
294
  /**
295
295
  * Updates the domain of the URL without modifying the port.
296
296
  *
297
- * @category Setters
297
+ * @category setters
298
298
  * @since 4.0.0
299
299
  */
300
300
  (url: URL, hostname: string): URL
@@ -303,21 +303,21 @@ export const setHostname: {
303
303
  /**
304
304
  * Replaces the entire URL string.
305
305
  *
306
- * @category Setters
306
+ * @category setters
307
307
  * @since 4.0.0
308
308
  */
309
309
  export const setHref: {
310
310
  /**
311
311
  * Replaces the entire URL string.
312
312
  *
313
- * @category Setters
313
+ * @category setters
314
314
  * @since 4.0.0
315
315
  */
316
316
  (href: string): (url: URL) => URL
317
317
  /**
318
318
  * Replaces the entire URL string.
319
319
  *
320
- * @category Setters
320
+ * @category setters
321
321
  * @since 4.0.0
322
322
  */
323
323
  (url: URL, href: string): URL
@@ -326,21 +326,21 @@ export const setHref: {
326
326
  /**
327
327
  * Updates the password used for authentication.
328
328
  *
329
- * @category Setters
329
+ * @category setters
330
330
  * @since 4.0.0
331
331
  */
332
332
  export const setPassword: {
333
333
  /**
334
334
  * Updates the password used for authentication.
335
335
  *
336
- * @category Setters
336
+ * @category setters
337
337
  * @since 4.0.0
338
338
  */
339
339
  (password: string | Redacted.Redacted): (url: URL) => URL
340
340
  /**
341
341
  * Updates the password used for authentication.
342
342
  *
343
- * @category Setters
343
+ * @category setters
344
344
  * @since 4.0.0
345
345
  */
346
346
  (url: URL, password: string | Redacted.Redacted): URL
@@ -354,21 +354,21 @@ export const setPassword: {
354
354
  /**
355
355
  * Updates the path of the URL.
356
356
  *
357
- * @category Setters
357
+ * @category setters
358
358
  * @since 4.0.0
359
359
  */
360
360
  export const setPathname: {
361
361
  /**
362
362
  * Updates the path of the URL.
363
363
  *
364
- * @category Setters
364
+ * @category setters
365
365
  * @since 4.0.0
366
366
  */
367
367
  (pathname: string): (url: URL) => URL
368
368
  /**
369
369
  * Updates the path of the URL.
370
370
  *
371
- * @category Setters
371
+ * @category setters
372
372
  * @since 4.0.0
373
373
  */
374
374
  (url: URL, pathname: string): URL
@@ -377,21 +377,21 @@ export const setPathname: {
377
377
  /**
378
378
  * Updates the port of the URL.
379
379
  *
380
- * @category Setters
380
+ * @category setters
381
381
  * @since 4.0.0
382
382
  */
383
383
  export const setPort: {
384
384
  /**
385
385
  * Updates the port of the URL.
386
386
  *
387
- * @category Setters
387
+ * @category setters
388
388
  * @since 4.0.0
389
389
  */
390
390
  (port: string | number): (url: URL) => URL
391
391
  /**
392
392
  * Updates the port of the URL.
393
393
  *
394
- * @category Setters
394
+ * @category setters
395
395
  * @since 4.0.0
396
396
  */
397
397
  (url: URL, port: string | number): URL
@@ -400,21 +400,21 @@ export const setPort: {
400
400
  /**
401
401
  * Updates the protocol (e.g., `http`, `https`).
402
402
  *
403
- * @category Setters
403
+ * @category setters
404
404
  * @since 4.0.0
405
405
  */
406
406
  export const setProtocol: {
407
407
  /**
408
408
  * Updates the protocol (e.g., `http`, `https`).
409
409
  *
410
- * @category Setters
410
+ * @category setters
411
411
  * @since 4.0.0
412
412
  */
413
413
  (protocol: string): (url: URL) => URL
414
414
  /**
415
415
  * Updates the protocol (e.g., `http`, `https`).
416
416
  *
417
- * @category Setters
417
+ * @category setters
418
418
  * @since 4.0.0
419
419
  */
420
420
  (url: URL, protocol: string): URL
@@ -423,21 +423,21 @@ export const setProtocol: {
423
423
  /**
424
424
  * Updates the query string of the URL.
425
425
  *
426
- * @category Setters
426
+ * @category setters
427
427
  * @since 4.0.0
428
428
  */
429
429
  export const setSearch: {
430
430
  /**
431
431
  * Updates the query string of the URL.
432
432
  *
433
- * @category Setters
433
+ * @category setters
434
434
  * @since 4.0.0
435
435
  */
436
436
  (search: string): (url: URL) => URL
437
437
  /**
438
438
  * Updates the query string of the URL.
439
439
  *
440
- * @category Setters
440
+ * @category setters
441
441
  * @since 4.0.0
442
442
  */
443
443
  (url: URL, search: string): URL
@@ -446,21 +446,21 @@ export const setSearch: {
446
446
  /**
447
447
  * Updates the username used for authentication.
448
448
  *
449
- * @category Setters
449
+ * @category setters
450
450
  * @since 4.0.0
451
451
  */
452
452
  export const setUsername: {
453
453
  /**
454
454
  * Updates the username used for authentication.
455
455
  *
456
- * @category Setters
456
+ * @category setters
457
457
  * @since 4.0.0
458
458
  */
459
459
  (username: string): (url: URL) => URL
460
460
  /**
461
461
  * Updates the username used for authentication.
462
462
  *
463
- * @category Setters
463
+ * @category setters
464
464
  * @since 4.0.0
465
465
  */
466
466
  (url: URL, username: string): URL
@@ -492,7 +492,7 @@ export const setUsername: {
492
492
  * // Output: https://example.com/?key=value
493
493
  * ```
494
494
  *
495
- * @category Setters
495
+ * @category setters
496
496
  * @since 4.0.0
497
497
  */
498
498
  export const setUrlParams: {
@@ -522,7 +522,7 @@ export const setUrlParams: {
522
522
  * // Output: https://example.com/?key=value
523
523
  * ```
524
524
  *
525
- * @category Setters
525
+ * @category setters
526
526
  * @since 4.0.0
527
527
  */
528
528
  (urlParams: UrlParams.UrlParams): (url: URL) => URL
@@ -552,7 +552,7 @@ export const setUrlParams: {
552
552
  * // Output: https://example.com/?key=value
553
553
  * ```
554
554
  *
555
- * @category Setters
555
+ * @category setters
556
556
  * @since 4.0.0
557
557
  */
558
558
  (url: URL, urlParams: UrlParams.UrlParams): URL
@@ -345,7 +345,7 @@ const extractResponseContent = (
345
345
  * Adds additional schemas to components/schemas.
346
346
  * The provided schemas must have a `identifier` annotation.
347
347
  *
348
- * @category tags
348
+ * @category services
349
349
  * @since 4.0.0
350
350
  */
351
351
  export class AdditionalSchemas extends Context.Service<
@@ -66,7 +66,7 @@ const serviceUnavailableResponse = HttpServerResponse.empty({ status: 503 })
66
66
  * Built-in HTTP API error for a `400 Bad Request` response. When used directly as
67
67
  * a server response, it renders as an empty response with status 400.
68
68
  *
69
- * @category Built-in errors
69
+ * @category errors
70
70
  * @since 4.0.0
71
71
  */
72
72
  export class BadRequest extends Schema.ErrorClass<BadRequest>("effect/HttpApiError/BadRequest")({
@@ -97,7 +97,7 @@ export const BadRequestNoContent = BadRequest.pipe(HttpApiSchema.asNoContent({
97
97
  * Built-in HTTP API error for a `401 Unauthorized` response. When used directly as
98
98
  * a server response, it renders as an empty response with status 401.
99
99
  *
100
- * @category Built-in errors
100
+ * @category errors
101
101
  * @since 4.0.0
102
102
  */
103
103
  export class Unauthorized extends Schema.ErrorClass<Unauthorized>("effect/HttpApiError/Unauthorized")({
@@ -127,7 +127,7 @@ export const UnauthorizedNoContent = Unauthorized.pipe(HttpApiSchema.asNoContent
127
127
  * Built-in HTTP API error for a `403 Forbidden` response. When used directly as a
128
128
  * server response, it renders as an empty response with status 403.
129
129
  *
130
- * @category Built-in errors
130
+ * @category errors
131
131
  * @since 4.0.0
132
132
  */
133
133
  export class Forbidden extends Schema.ErrorClass<Forbidden>("effect/HttpApiError/Forbidden")({
@@ -157,7 +157,7 @@ export const ForbiddenNoContent = Forbidden.pipe(HttpApiSchema.asNoContent({
157
157
  * Built-in HTTP API error for a `404 Not Found` response. When used directly as a
158
158
  * server response, it renders as an empty response with status 404.
159
159
  *
160
- * @category Built-in errors
160
+ * @category errors
161
161
  * @since 4.0.0
162
162
  */
163
163
  export class NotFound extends Schema.ErrorClass<NotFound>("effect/HttpApiError/NotFound")({
@@ -187,7 +187,7 @@ export const NotFoundNoContent = NotFound.pipe(HttpApiSchema.asNoContent({
187
187
  * Built-in HTTP API error for a `405 Method Not Allowed` response. When used
188
188
  * directly as a server response, it renders as an empty response with status 405.
189
189
  *
190
- * @category Built-in errors
190
+ * @category errors
191
191
  * @since 4.0.0
192
192
  */
193
193
  export class MethodNotAllowed extends Schema.ErrorClass<MethodNotAllowed>("effect/HttpApiError/MethodNotAllowed")({
@@ -217,7 +217,7 @@ export const MethodNotAllowedNoContent = MethodNotAllowed.pipe(HttpApiSchema.asN
217
217
  * Built-in HTTP API error for a `406 Not Acceptable` response. When used directly
218
218
  * as a server response, it renders as an empty response with status 406.
219
219
  *
220
- * @category Built-in errors
220
+ * @category errors
221
221
  * @since 4.0.0
222
222
  */
223
223
  export class NotAcceptable extends Schema.ErrorClass<NotAcceptable>("effect/HttpApiError/NotAcceptable")({
@@ -247,7 +247,7 @@ export const NotAcceptableNoContent = NotAcceptable.pipe(HttpApiSchema.asNoConte
247
247
  * Built-in HTTP API error for a `408 Request Timeout` response. When used directly
248
248
  * as a server response, it renders as an empty response with status 408.
249
249
  *
250
- * @category Built-in errors
250
+ * @category errors
251
251
  * @since 4.0.0
252
252
  */
253
253
  export class RequestTimeout extends Schema.ErrorClass<RequestTimeout>("effect/HttpApiError/RequestTimeout")({
@@ -277,7 +277,7 @@ export const RequestTimeoutNoContent = RequestTimeout.pipe(HttpApiSchema.asNoCon
277
277
  * Built-in HTTP API error for a `409 Conflict` response. When used directly as a
278
278
  * server response, it renders as an empty response with status 409.
279
279
  *
280
- * @category Built-in errors
280
+ * @category errors
281
281
  * @since 4.0.0
282
282
  */
283
283
  export class Conflict extends Schema.ErrorClass<Conflict>("effect/HttpApiError/Conflict")({
@@ -307,7 +307,7 @@ export const ConflictNoContent = Conflict.pipe(HttpApiSchema.asNoContent({
307
307
  * Built-in HTTP API error for a `410 Gone` response. When used directly as a
308
308
  * server response, it renders as an empty response with status 410.
309
309
  *
310
- * @category Built-in errors
310
+ * @category errors
311
311
  * @since 4.0.0
312
312
  */
313
313
  export class Gone extends Schema.ErrorClass<Gone>("effect/HttpApiError/Gone")({
@@ -337,7 +337,7 @@ export const GoneNoContent = Gone.pipe(HttpApiSchema.asNoContent({
337
337
  * Built-in HTTP API error for a `500 Internal Server Error` response. When used
338
338
  * directly as a server response, it renders as an empty response with status 500.
339
339
  *
340
- * @category Built-in errors
340
+ * @category errors
341
341
  * @since 4.0.0
342
342
  */
343
343
  export class InternalServerError
@@ -368,7 +368,7 @@ export const InternalServerErrorNoContent = InternalServerError.pipe(HttpApiSche
368
368
  * Built-in HTTP API error for a `501 Not Implemented` response. When used directly
369
369
  * as a server response, it renders as an empty response with status 501.
370
370
  *
371
- * @category Built-in errors
371
+ * @category errors
372
372
  * @since 4.0.0
373
373
  */
374
374
  export class NotImplemented extends Schema.ErrorClass<NotImplemented>("effect/HttpApiError/NotImplemented")({
@@ -397,7 +397,7 @@ export const NotImplementedNoContent = NotImplemented.pipe(HttpApiSchema.asNoCon
397
397
  * Built-in HTTP API error for a `503 Service Unavailable` response. When used
398
398
  * directly as a server response, it renders as an empty response with status 503.
399
399
  *
400
- * @category Built-in errors
400
+ * @category errors
401
401
  * @since 4.0.0
402
402
  */
403
403
  export class ServiceUnavailable
@@ -445,7 +445,7 @@ export const HttpApiSchemaErrorTypeId: HttpApiSchemaErrorTypeId = "~effect/httpa
445
445
  * which component failed and responds as an empty `400 Bad Request` when rendered
446
446
  * as a server response.
447
447
  *
448
- * @category Parsing errors
448
+ * @category errors
449
449
  * @since 4.0.0
450
450
  */
451
451
  export class HttpApiSchemaError extends Data.TaggedClass("HttpApiSchemaError")<{
@@ -72,7 +72,7 @@ export type MetricNameMapper = (name: string) => string
72
72
  /**
73
73
  * Options for formatting metrics.
74
74
  *
75
- * @category models
75
+ * @category options
76
76
  * @since 4.0.0
77
77
  */
78
78
  export interface FormatOptions {
@@ -90,7 +90,7 @@ export interface FormatOptions {
90
90
  /**
91
91
  * Options for exporting Prometheus metrics over HTTP.
92
92
  *
93
- * @category models
93
+ * @category options
94
94
  * @since 4.0.0
95
95
  */
96
96
  export interface HttpOptions extends FormatOptions {
@@ -128,7 +128,7 @@ export interface HttpOptions extends FormatOptions {
128
128
  * })
129
129
  * ```
130
130
  *
131
- * @category Formatting
131
+ * @category formatting
132
132
  * @since 4.0.0
133
133
  */
134
134
  export const format: (options?: FormatOptions | undefined) => Effect.Effect<string> = Effect.fnUntraced(
@@ -146,7 +146,7 @@ export const format: (options?: FormatOptions | undefined) => Effect.Effect<stri
146
146
  * Use when you use this low-level function when you already have access to the context. Most
147
147
  * users should use `format` instead.
148
148
  *
149
- * @category Formatting
149
+ * @category formatting
150
150
  * @since 4.0.0
151
151
  */
152
152
  export const formatUnsafe = (
@@ -114,7 +114,7 @@ export interface KeyValueStore {
114
114
  * Primitive operations are required, while helpers such as `has`, `isEmpty`,
115
115
  * and `modify` can be supplied to override the defaults.
116
116
  *
117
- * @category models
117
+ * @category options
118
118
  * @since 4.0.0
119
119
  */
120
120
  export type MakeOptions = Partial<KeyValueStore> & {
@@ -153,7 +153,7 @@ export type MakeOptions = Partial<KeyValueStore> & {
153
153
  * Implementation callbacks for adapting a string-only backing store into a
154
154
  * `KeyValueStore`.
155
155
  *
156
- * @category models
156
+ * @category options
157
157
  * @since 4.0.0
158
158
  */
159
159
  export type MakeStringOptions = Partial<Omit<KeyValueStore, "set">> & {
@@ -214,7 +214,7 @@ export class KeyValueStoreError extends Data.TaggedError("KeyValueStoreError")<{
214
214
  * Use to access or provide the persistence store used for lightweight durable
215
215
  * state.
216
216
  *
217
- * @category tags
217
+ * @category services
218
218
  * @since 4.0.0
219
219
  */
220
220
  export const KeyValueStore: Context.Service<
@@ -235,7 +235,7 @@ const exitSchemaCache = new WeakMap<Persistable<any, any>, Schema.Exit<any, any,
235
235
  * Encodes an `Exit` for a persistable request using its success and error
236
236
  * schemas.
237
237
  *
238
- * @category Serialization
238
+ * @category serialization
239
239
  * @since 4.0.0
240
240
  */
241
241
  export const serializeExit = <A extends Schema.Top, E extends Schema.Top>(
@@ -250,7 +250,7 @@ export const serializeExit = <A extends Schema.Top, E extends Schema.Top>(
250
250
  * Decodes a persisted value into an `Exit` for a persistable request using its
251
251
  * success and error schemas.
252
252
  *
253
- * @category Serialization
253
+ * @category serialization
254
254
  * @since 4.0.0
255
255
  */
256
256
  export const deserializeExit = <A extends Schema.Top, E extends Schema.Top>(
@@ -114,7 +114,7 @@ export interface PersistedQueue<in out A, out R = never> {
114
114
  /**
115
115
  * Service for constructing named `PersistedQueue` instances from schemas.
116
116
  *
117
- * @category Factory
117
+ * @category services
118
118
  * @since 4.0.0
119
119
  */
120
120
  export class PersistedQueueFactory extends Context.Service<
@@ -152,7 +152,7 @@ export const make = <S extends Schema.Top>(options: {
152
152
  * assigned an id when needed, and acknowledged or retried according to the
153
153
  * `take` handler's exit.
154
154
  *
155
- * @category Factory
155
+ * @category constructors
156
156
  * @since 4.0.0
157
157
  */
158
158
  export const makeFactory = Effect.gen(function*() {
@@ -208,7 +208,7 @@ export const makeFactory = Effect.gen(function*() {
208
208
  /**
209
209
  * Provides `PersistedQueueFactory` using the current `PersistedQueueStore`.
210
210
  *
211
- * @category Factory
211
+ * @category layers
212
212
  * @since 4.0.0
213
213
  */
214
214
  export const layer: Layer.Layer<
@@ -305,7 +305,7 @@ export class PersistedQueueStore extends Context.Service<
305
305
  * The store is process-local and volatile; failed takes are requeued until the
306
306
  * configured maximum attempts is reached.
307
307
  *
308
- * @category Store
308
+ * @category store
309
309
  * @since 4.0.0
310
310
  */
311
311
  export const layerStoreMemory: Layer.Layer<
@@ -379,7 +379,7 @@ export const layerStoreMemory: Layer.Layer<
379
379
  * refreshes locks while items are being processed, and moves exhausted items
380
380
  * to a failed queue.
381
381
  *
382
- * @category Store
382
+ * @category store
383
383
  * @since 4.0.0
384
384
  */
385
385
  export const makeStoreRedis = Effect.fnUntraced(function*(
@@ -740,7 +740,7 @@ end
740
740
  /**
741
741
  * Provides a Redis-backed `PersistedQueueStore` using `makeStoreRedis`.
742
742
  *
743
- * @category Store
743
+ * @category store
744
744
  * @since 4.0.0
745
745
  */
746
746
  export const layerStoreRedis: (
@@ -765,7 +765,7 @@ export const layerStoreRedis: (
765
765
  * per-worker locks, refreshes active locks while scoped takes are running, and
766
766
  * retries or completes rows according to the processing exit.
767
767
  *
768
- * @category Store
768
+ * @category store
769
769
  * @since 4.0.0
770
770
  */
771
771
  export const makeStoreSql: (
@@ -1195,7 +1195,7 @@ class QueueKey extends Data.Class<{
1195
1195
  /**
1196
1196
  * Provides a SQL-backed `PersistedQueueStore` using `makeStoreSql`.
1197
1197
  *
1198
- * @category Store
1198
+ * @category store
1199
1199
  * @since 4.0.0
1200
1200
  */
1201
1201
  export const layerStoreSql: (
@@ -79,7 +79,7 @@ export interface RateLimiter {
79
79
  * Use to access or provide rate-limit checks backed by fixed-window counters or
80
80
  * token-bucket state.
81
81
  *
82
- * @category tags
82
+ * @category services
83
83
  * @since 4.0.0
84
84
  */
85
85
  export const RateLimiter: Context.Service<RateLimiter, RateLimiter> = Context.Service<RateLimiter>(TypeId)
@@ -146,7 +146,7 @@ export type PipeToOption = "stdin" | `fd${number}`
146
146
  * )
147
147
  * ```
148
148
  *
149
- * @category models
149
+ * @category options
150
150
  * @since 4.0.0
151
151
  */
152
152
  export interface PipeOptions {
@@ -267,7 +267,7 @@ export type Encoding =
267
267
  /**
268
268
  * Options that can be used to control how a child process is terminated.
269
269
  *
270
- * @category models
270
+ * @category options
271
271
  * @since 4.0.0
272
272
  */
273
273
  export interface KillOptions {
@@ -399,7 +399,7 @@ export type AdditionalFdConfig =
399
399
  /**
400
400
  * Options for command execution.
401
401
  *
402
- * @category models
402
+ * @category options
403
403
  * @since 4.0.0
404
404
  */
405
405
  export interface CommandOptions extends KillOptions {
@@ -1200,7 +1200,7 @@ const isTemplateString = (u: unknown): u is TemplateStringsArray =>
1200
1200
  * Parses an fd name like "fd3" to its numeric index.
1201
1201
  * Returns undefined if the name is invalid.
1202
1202
  *
1203
- * @category utils
1203
+ * @category converting
1204
1204
  * @since 4.0.0
1205
1205
  */
1206
1206
  export const parseFdName = (name: string): number | undefined => {
@@ -1213,7 +1213,7 @@ export const parseFdName = (name: string): number | undefined => {
1213
1213
  /**
1214
1214
  * Create an fd name from its numeric index.
1215
1215
  *
1216
- * @category utils
1216
+ * @category converting
1217
1217
  * @since 4.0.0
1218
1218
  */
1219
1219
  export const fdName = (fd: number): string => `fd${fd}`
@@ -882,7 +882,7 @@ export const all = <const Arg extends Iterable<any> | Record<string, any>>(
882
882
  /**
883
883
  * Creates a typed builder for rendering an `AsyncResult` by handling waiting, initial, success, error, defect, interrupt, and failure cases.
884
884
  *
885
- * @category Builder
885
+ * @category constructors
886
886
  * @since 4.0.0
887
887
  */
888
888
  export const builder = <A extends AsyncResult<any, any>>(self: A): Builder<
@@ -896,7 +896,7 @@ export const builder = <A extends AsyncResult<any, any>>(self: A): Builder<
896
896
  /**
897
897
  * Type marker used by `Builder` to track whether defect failures still need to be handled.
898
898
  *
899
- * @category Builder
899
+ * @category models
900
900
  * @since 4.0.0
901
901
  */
902
902
  export interface Defect {
@@ -906,7 +906,7 @@ export interface Defect {
906
906
  /**
907
907
  * Type marker used by `Builder` to track whether interrupt failures still need to be handled.
908
908
  *
909
- * @category Builder
909
+ * @category models
910
910
  * @since 4.0.0
911
911
  */
912
912
  export interface Interrupt {
@@ -916,7 +916,7 @@ export interface Interrupt {
916
916
  /**
917
917
  * Fluent renderer for `AsyncResult` values that tracks unhandled cases at the type level and exposes `exhaustive` only after all possible cases are handled.
918
918
  *
919
- * @category Builder
919
+ * @category models
920
920
  * @since 4.0.0
921
921
  */
922
922
  export type Builder<Out, A, E, I, F> =
@@ -2694,7 +2694,7 @@ export const kvs = <S extends Schema.Codec<any, any>, const Mode extends "sync"
2694
2694
  *
2695
2695
  * If you pass a schema, it has to be synchronous and have no context.
2696
2696
  *
2697
- * @category URL search params
2697
+ * @category search params
2698
2698
  * @since 4.0.0
2699
2699
  */
2700
2700
  export const searchParam = <S extends Schema.Codec<any, string> = never>(name: string, options?: {
@@ -204,7 +204,7 @@ export const make = (
204
204
  * Use to access or provide the registry that stores atom values,
205
205
  * dependencies, subscriptions, and disposal state for a reactive lifetime.
206
206
  *
207
- * @category tags
207
+ * @category services
208
208
  * @since 4.0.0
209
209
  */
210
210
  export const AtomRegistry = Context.Service<AtomRegistry>(TypeId)