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
@@ -434,7 +434,7 @@ export type Encoding = readonly [Link, ...Array<Link>];
434
434
  * - `concurrency` — maximum number of async parse effects to run concurrently;
435
435
  * defaults to `1`, or use `"unbounded"`.
436
436
  *
437
- * @category models
437
+ * @category options
438
438
  * @since 3.10.0
439
439
  */
440
440
  export interface ParseOptions {
@@ -907,7 +907,7 @@ type ParseJsonOptions = {
907
907
  *
908
908
  * @see {@link stringifyJson} for the inverse operation
909
909
  *
910
- * @category Json
910
+ * @category JSON getters
911
911
  * @since 4.0.0
912
912
  */
913
913
  export declare function parseJson<E extends string>(): Getter<Schema.MutableJson, E>;
@@ -945,7 +945,7 @@ type StringifyJsonOptions = {
945
945
  *
946
946
  * @see {@link parseJson} for the inverse operation
947
947
  *
948
- * @category Json
948
+ * @category JSON getters
949
949
  * @since 4.0.0
950
950
  */
951
951
  export declare function stringifyJson(options?: StringifyJsonOptions): Getter<string, unknown>;
@@ -1061,7 +1061,7 @@ export declare function split<E extends string>(options?: {
1061
1061
  * @see {@link decodeBase64String} for the inverse operation to `string`
1062
1062
  * @see {@link encodeBase64Url} for the URL-safe variant
1063
1063
  *
1064
- * @category Base64
1064
+ * @category Base64 getters
1065
1065
  * @since 4.0.0
1066
1066
  */
1067
1067
  export declare function encodeBase64<E extends Uint8Array | string>(): Getter<string, E>;
@@ -1084,7 +1084,7 @@ export declare function encodeBase64<E extends Uint8Array | string>(): Getter<st
1084
1084
  * @see {@link decodeBase64UrlString} for the inverse operation to `string`
1085
1085
  * @see {@link encodeBase64} for the standard Base64 variant
1086
1086
  *
1087
- * @category Base64
1087
+ * @category Base64 getters
1088
1088
  * @since 4.0.0
1089
1089
  */
1090
1090
  export declare function encodeBase64Url<E extends Uint8Array | string>(): Getter<string, E>;
@@ -1106,7 +1106,7 @@ export declare function encodeBase64Url<E extends Uint8Array | string>(): Getter
1106
1106
  * @see {@link decodeHex} for the inverse operation to `Uint8Array`
1107
1107
  * @see {@link decodeHexString} for the inverse operation to `string`
1108
1108
  *
1109
- * @category Hex
1109
+ * @category Hex getters
1110
1110
  * @since 4.0.0
1111
1111
  */
1112
1112
  export declare function encodeHex<E extends Uint8Array | string>(): Getter<string, E>;
@@ -1129,7 +1129,7 @@ export declare function encodeHex<E extends Uint8Array | string>(): Getter<strin
1129
1129
  * @see {@link decodeBase64String} to decode to `string` instead
1130
1130
  * @see {@link encodeBase64} for the inverse operation
1131
1131
  *
1132
- * @category Base64
1132
+ * @category Base64 getters
1133
1133
  * @since 4.0.0
1134
1134
  */
1135
1135
  export declare function decodeBase64<E extends string>(): Getter<Uint8Array, E>;
@@ -1152,7 +1152,7 @@ export declare function decodeBase64<E extends string>(): Getter<Uint8Array, E>;
1152
1152
  * @see {@link decodeBase64} to decode to `Uint8Array` instead
1153
1153
  * @see {@link encodeBase64} for the inverse operation
1154
1154
  *
1155
- * @category Base64
1155
+ * @category Base64 getters
1156
1156
  * @since 4.0.0
1157
1157
  */
1158
1158
  export declare function decodeBase64String<E extends string>(): Getter<string, E>;
@@ -1175,7 +1175,7 @@ export declare function decodeBase64String<E extends string>(): Getter<string, E
1175
1175
  * @see {@link decodeBase64UrlString} to decode to `string` instead
1176
1176
  * @see {@link encodeBase64Url} for the inverse operation
1177
1177
  *
1178
- * @category Base64
1178
+ * @category Base64 getters
1179
1179
  * @since 4.0.0
1180
1180
  */
1181
1181
  export declare function decodeBase64Url<E extends string>(): Getter<Uint8Array, E>;
@@ -1198,7 +1198,7 @@ export declare function decodeBase64Url<E extends string>(): Getter<Uint8Array,
1198
1198
  * @see {@link decodeBase64Url} to decode to `Uint8Array` instead
1199
1199
  * @see {@link encodeBase64Url} for the inverse operation
1200
1200
  *
1201
- * @category Base64
1201
+ * @category Base64 getters
1202
1202
  * @since 4.0.0
1203
1203
  */
1204
1204
  export declare function decodeBase64UrlString<E extends string>(): Getter<string, E>;
@@ -1221,7 +1221,7 @@ export declare function decodeBase64UrlString<E extends string>(): Getter<string
1221
1221
  * @see {@link decodeHexString} to decode to `string` instead
1222
1222
  * @see {@link encodeHex} for the inverse operation
1223
1223
  *
1224
- * @category Hex
1224
+ * @category Hex getters
1225
1225
  * @since 4.0.0
1226
1226
  */
1227
1227
  export declare function decodeHex<E extends string>(): Getter<Uint8Array, E>;
@@ -1244,7 +1244,7 @@ export declare function decodeHex<E extends string>(): Getter<Uint8Array, E>;
1244
1244
  * @see {@link decodeHex} to decode to `Uint8Array` instead
1245
1245
  * @see {@link encodeHex} for the inverse operation
1246
1246
  *
1247
- * @category Hex
1247
+ * @category Hex getters
1248
1248
  * @since 4.0.0
1249
1249
  */
1250
1250
  export declare function decodeHexString<E extends string>(): Getter<string, E>;
@@ -1410,7 +1410,7 @@ export declare function encodeFormData(): Getter<FormData, unknown>;
1410
1410
  * @see {@link makeTreeRecord} for the underlying bracket-path parser
1411
1411
  * @see {@link decodeFormData} for the FormData variant
1412
1412
  *
1413
- * @category URLSearchParams
1413
+ * @category search params
1414
1414
  * @since 4.0.0
1415
1415
  */
1416
1416
  export declare function decodeURLSearchParams(): Getter<Schema.TreeRecord<string>, URLSearchParams>;
@@ -1440,7 +1440,7 @@ export declare function decodeURLSearchParams(): Getter<Schema.TreeRecord<string
1440
1440
  * @see {@link collectBracketPathEntries} for the underlying flattener
1441
1441
  * @see {@link encodeFormData} for the FormData variant
1442
1442
  *
1443
- * @category URLSearchParams
1443
+ * @category search params
1444
1444
  * @since 4.0.0
1445
1445
  */
1446
1446
  export declare function encodeURLSearchParams(): Getter<URLSearchParams, unknown>;
@@ -905,7 +905,7 @@ export function parseJson(options) {
905
905
  *
906
906
  * @see {@link parseJson} for the inverse operation
907
907
  *
908
- * @category Json
908
+ * @category JSON getters
909
909
  * @since 4.0.0
910
910
  */
911
911
  export function stringifyJson(options) {
@@ -1037,7 +1037,7 @@ export function split(options) {
1037
1037
  * @see {@link decodeBase64String} for the inverse operation to `string`
1038
1038
  * @see {@link encodeBase64Url} for the URL-safe variant
1039
1039
  *
1040
- * @category Base64
1040
+ * @category Base64 getters
1041
1041
  * @since 4.0.0
1042
1042
  */
1043
1043
  export function encodeBase64() {
@@ -1062,7 +1062,7 @@ export function encodeBase64() {
1062
1062
  * @see {@link decodeBase64UrlString} for the inverse operation to `string`
1063
1063
  * @see {@link encodeBase64} for the standard Base64 variant
1064
1064
  *
1065
- * @category Base64
1065
+ * @category Base64 getters
1066
1066
  * @since 4.0.0
1067
1067
  */
1068
1068
  export function encodeBase64Url() {
@@ -1086,7 +1086,7 @@ export function encodeBase64Url() {
1086
1086
  * @see {@link decodeHex} for the inverse operation to `Uint8Array`
1087
1087
  * @see {@link decodeHexString} for the inverse operation to `string`
1088
1088
  *
1089
- * @category Hex
1089
+ * @category Hex getters
1090
1090
  * @since 4.0.0
1091
1091
  */
1092
1092
  export function encodeHex() {
@@ -1111,7 +1111,7 @@ export function encodeHex() {
1111
1111
  * @see {@link decodeBase64String} to decode to `string` instead
1112
1112
  * @see {@link encodeBase64} for the inverse operation
1113
1113
  *
1114
- * @category Base64
1114
+ * @category Base64 getters
1115
1115
  * @since 4.0.0
1116
1116
  */
1117
1117
  export function decodeBase64() {
@@ -1138,7 +1138,7 @@ export function decodeBase64() {
1138
1138
  * @see {@link decodeBase64} to decode to `Uint8Array` instead
1139
1139
  * @see {@link encodeBase64} for the inverse operation
1140
1140
  *
1141
- * @category Base64
1141
+ * @category Base64 getters
1142
1142
  * @since 4.0.0
1143
1143
  */
1144
1144
  export function decodeBase64String() {
@@ -1168,7 +1168,7 @@ export function decodeBase64String() {
1168
1168
  * @see {@link decodeBase64UrlString} to decode to `string` instead
1169
1169
  * @see {@link encodeBase64Url} for the inverse operation
1170
1170
  *
1171
- * @category Base64
1171
+ * @category Base64 getters
1172
1172
  * @since 4.0.0
1173
1173
  */
1174
1174
  export function decodeBase64Url() {
@@ -1198,7 +1198,7 @@ export function decodeBase64Url() {
1198
1198
  * @see {@link decodeBase64Url} to decode to `Uint8Array` instead
1199
1199
  * @see {@link encodeBase64Url} for the inverse operation
1200
1200
  *
1201
- * @category Base64
1201
+ * @category Base64 getters
1202
1202
  * @since 4.0.0
1203
1203
  */
1204
1204
  export function decodeBase64UrlString() {
@@ -1228,7 +1228,7 @@ export function decodeBase64UrlString() {
1228
1228
  * @see {@link decodeHexString} to decode to `string` instead
1229
1229
  * @see {@link encodeHex} for the inverse operation
1230
1230
  *
1231
- * @category Hex
1231
+ * @category Hex getters
1232
1232
  * @since 4.0.0
1233
1233
  */
1234
1234
  export function decodeHex() {
@@ -1258,7 +1258,7 @@ export function decodeHex() {
1258
1258
  * @see {@link decodeHex} to decode to `Uint8Array` instead
1259
1259
  * @see {@link encodeHex} for the inverse operation
1260
1260
  *
1261
- * @category Hex
1261
+ * @category Hex getters
1262
1262
  * @since 4.0.0
1263
1263
  */
1264
1264
  export function decodeHexString() {
@@ -1466,7 +1466,7 @@ export function encodeFormData() {
1466
1466
  * @see {@link makeTreeRecord} for the underlying bracket-path parser
1467
1467
  * @see {@link decodeFormData} for the FormData variant
1468
1468
  *
1469
- * @category URLSearchParams
1469
+ * @category search params
1470
1470
  * @since 4.0.0
1471
1471
  */
1472
1472
  export function decodeURLSearchParams() {
@@ -1499,7 +1499,7 @@ const collectURLSearchParamsEntries = /*#__PURE__*/collectBracketPathEntries(Pre
1499
1499
  * @see {@link collectBracketPathEntries} for the underlying flattener
1500
1500
  * @see {@link encodeFormData} for the FormData variant
1501
1501
  *
1502
- * @category URLSearchParams
1502
+ * @category search params
1503
1503
  * @since 4.0.0
1504
1504
  */
1505
1505
  export function encodeURLSearchParams() {
@@ -19,7 +19,7 @@ import * as Issue from "./SchemaIssue.ts";
19
19
  * runs type-side validation unless checks are disabled, and fails with a
20
20
  * `SchemaIssue.Issue` when construction fails.
21
21
  *
22
- * @category Constructing
22
+ * @category constructors
23
23
  * @since 4.0.0
24
24
  */
25
25
  export declare function makeEffect<S extends Schema.Top>(schema: S): (input: S["~type.make.in"], options?: Schema.MakeOptions) => Effect.Effect<S["Type"], Issue.Issue>;
@@ -32,7 +32,7 @@ export declare function makeEffect<S extends Schema.Top>(schema: S): (input: S["
32
32
  * Use when you only need to know whether constructor input is valid and do
33
33
  * not need error details.
34
34
  *
35
- * @category Constructing
35
+ * @category constructors
36
36
  * @since 4.0.0
37
37
  */
38
38
  export declare function makeOption<S extends Schema.Top>(schema: S): (input: S["~type.make.in"], options?: Schema.MakeOptions) => Option.Option<S["Type"]>;
@@ -49,7 +49,7 @@ export declare function makeOption<S extends Schema.Top>(schema: S): (input: S["
49
49
  * The returned function constructs a value from constructor input and throws an
50
50
  * `Error` with the `SchemaIssue.Issue` in its `cause` when construction fails.
51
51
  *
52
- * @category Constructing
52
+ * @category constructors
53
53
  * @since 4.0.0
54
54
  */
55
55
  export declare function make<S extends Schema.Top>(schema: S): (input: S["~type.make.in"], options?: Schema.MakeOptions) => S["Type"];
@@ -95,7 +95,7 @@ const recurDefaults = /*#__PURE__*/memoize(ast => {
95
95
  * runs type-side validation unless checks are disabled, and fails with a
96
96
  * `SchemaIssue.Issue` when construction fails.
97
97
  *
98
- * @category Constructing
98
+ * @category constructors
99
99
  * @since 4.0.0
100
100
  */
101
101
  export function makeEffect(schema) {
@@ -119,7 +119,7 @@ export function makeEffect(schema) {
119
119
  * Use when you only need to know whether constructor input is valid and do
120
120
  * not need error details.
121
121
  *
122
- * @category Constructing
122
+ * @category constructors
123
123
  * @since 4.0.0
124
124
  */
125
125
  export function makeOption(schema) {
@@ -141,7 +141,7 @@ export function makeOption(schema) {
141
141
  * The returned function constructs a value from constructor input and throws an
142
142
  * `Error` with the `SchemaIssue.Issue` in its `cause` when construction fails.
143
143
  *
144
- * @category Constructing
144
+ * @category constructors
145
145
  * @since 4.0.0
146
146
  */
147
147
  export function make(schema) {
package/dist/Scope.d.ts CHANGED
@@ -247,7 +247,7 @@ export declare namespace State {
247
247
  * const scoped = Effect.scoped(program)
248
248
  * ```
249
249
  *
250
- * @category tags
250
+ * @category services
251
251
  * @since 2.0.0
252
252
  */
253
253
  export declare const Scope: Context.Service<Scope, Scope>;
package/dist/Scope.js CHANGED
@@ -72,7 +72,7 @@ const CloseableTypeId = effect.ScopeCloseableTypeId;
72
72
  * const scoped = Effect.scoped(program)
73
73
  * ```
74
74
  *
75
- * @category tags
75
+ * @category services
76
76
  * @since 2.0.0
77
77
  */
78
78
  export const Scope = effect.scopeTag;
package/dist/Sink.d.ts CHANGED
@@ -494,7 +494,7 @@ export declare const never: Sink<unknown>;
494
494
  * instead of being returned to downstream sink composition. This does not
495
495
  * continue pulling additional elements from the upstream stream.
496
496
  *
497
- * @category utils
497
+ * @category filtering
498
498
  * @since 2.0.0
499
499
  */
500
500
  export declare const ignoreLeftover: <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<A, In, never, E, R>;
@@ -1493,21 +1493,21 @@ export declare const unwrap: <A, In, L, E, R, R2>(effect: Effect.Effect<Sink<A,
1493
1493
  /**
1494
1494
  * Runs a summary effect when the sink starts and again when it completes.
1495
1495
  *
1496
- * @category utils
1496
+ * @category mapping
1497
1497
  * @since 2.0.0
1498
1498
  */
1499
1499
  export declare const summarized: {
1500
1500
  /**
1501
1501
  * Runs a summary effect when the sink starts and again when it completes.
1502
1502
  *
1503
- * @category utils
1503
+ * @category mapping
1504
1504
  * @since 2.0.0
1505
1505
  */
1506
1506
  <A2, E2, R2, A3>(summary: Effect.Effect<A2, E2, R2>, f: (start: A2, end: A2) => A3): <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<[A, A3], In, L, E2 | E, R2 | R>;
1507
1507
  /**
1508
1508
  * Runs a summary effect when the sink starts and again when it completes.
1509
1509
  *
1510
- * @category utils
1510
+ * @category mapping
1511
1511
  * @since 2.0.0
1512
1512
  */
1513
1513
  <A, In, L, E, R, A2, E2, R2, A3>(self: Sink<A, In, L, E, R>, summary: Effect.Effect<A2, E2, R2>, f: (start: A2, end: A2) => A3): Sink<[A, A3], In, L, E | E2, R | R2>;
@@ -1515,7 +1515,7 @@ export declare const summarized: {
1515
1515
  /**
1516
1516
  * Returns the sink that executes this one and times its execution.
1517
1517
  *
1518
- * @category utils
1518
+ * @category mapping
1519
1519
  * @since 2.0.0
1520
1520
  */
1521
1521
  export declare const withDuration: <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<[A, Duration.Duration], In, L, E, R>;
package/dist/Sink.js CHANGED
@@ -332,7 +332,7 @@ export const never = /*#__PURE__*/fromEffectEnd(Effect.never);
332
332
  * instead of being returned to downstream sink composition. This does not
333
333
  * continue pulling additional elements from the upstream stream.
334
334
  *
335
- * @category utils
335
+ * @category filtering
336
336
  * @since 2.0.0
337
337
  */
338
338
  export const ignoreLeftover = self => mapEnd(self, ([a]) => [a]);
@@ -1217,7 +1217,7 @@ export const unwrap = effect => fromChannel(Channel.unwrap(Effect.map(effect, to
1217
1217
  /**
1218
1218
  * Runs a summary effect when the sink starts and again when it completes.
1219
1219
  *
1220
- * @category utils
1220
+ * @category mapping
1221
1221
  * @since 2.0.0
1222
1222
  */
1223
1223
  export const summarized = /*#__PURE__*/dual(3, (self, summary, f) => fromTransform(Effect.fnUntraced(function* (upstream, scope) {
@@ -1229,7 +1229,7 @@ export const summarized = /*#__PURE__*/dual(3, (self, summary, f) => fromTransfo
1229
1229
  /**
1230
1230
  * Returns the sink that executes this one and times its execution.
1231
1231
  *
1232
- * @category utils
1232
+ * @category mapping
1233
1233
  * @since 2.0.0
1234
1234
  */
1235
1235
  export const withDuration = self => summarized(self, Clock.currentTimeNanos, (start, end) => Duration.nanos(end - start));