effect 4.0.0-beta.82 → 4.0.0-beta.84

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 (199) hide show
  1. package/dist/Array.d.ts +64 -64
  2. package/dist/Array.js +26 -26
  3. package/dist/Cache.d.ts +1 -1
  4. package/dist/Cache.js +1 -1
  5. package/dist/Cause.d.ts +68 -68
  6. package/dist/Cause.js +47 -47
  7. package/dist/Channel.d.ts +5 -5
  8. package/dist/Channel.js +3 -3
  9. package/dist/Clock.d.ts +1 -1
  10. package/dist/Clock.js +1 -1
  11. package/dist/Combiner.d.ts +9 -9
  12. package/dist/Combiner.js +8 -8
  13. package/dist/Config.d.ts +15 -94
  14. package/dist/Config.d.ts.map +1 -1
  15. package/dist/Config.js +22 -70
  16. package/dist/Config.js.map +1 -1
  17. package/dist/ConfigProvider.d.ts +58 -74
  18. package/dist/ConfigProvider.d.ts.map +1 -1
  19. package/dist/ConfigProvider.js +66 -41
  20. package/dist/ConfigProvider.js.map +1 -1
  21. package/dist/Console.d.ts +1 -1
  22. package/dist/Console.js +1 -1
  23. package/dist/Data.d.ts +15 -15
  24. package/dist/Data.js +3 -3
  25. package/dist/DateTime.d.ts +6 -6
  26. package/dist/DateTime.js +2 -2
  27. package/dist/Duration.d.ts +3 -3
  28. package/dist/Duration.js +3 -3
  29. package/dist/Effect.d.ts +84 -45
  30. package/dist/Effect.d.ts.map +1 -1
  31. package/dist/Effect.js +72 -33
  32. package/dist/Effect.js.map +1 -1
  33. package/dist/Equal.d.ts +7 -7
  34. package/dist/Equal.js +5 -5
  35. package/dist/Equivalence.d.ts +17 -17
  36. package/dist/Equivalence.js +13 -13
  37. package/dist/Exit.d.ts +3 -3
  38. package/dist/Exit.js +3 -3
  39. package/dist/Formatter.d.ts +5 -5
  40. package/dist/Formatter.js +4 -4
  41. package/dist/Function.d.ts +10 -10
  42. package/dist/Function.js +3 -3
  43. package/dist/HashMap.d.ts +3 -3
  44. package/dist/HashMap.js +1 -1
  45. package/dist/Iterable.d.ts +6 -6
  46. package/dist/Iterable.js +2 -2
  47. package/dist/JsonPatch.d.ts +2 -2
  48. package/dist/Layer.d.ts +1 -1
  49. package/dist/Layer.js +1 -1
  50. package/dist/Logger.d.ts +1 -1
  51. package/dist/Logger.js +1 -1
  52. package/dist/Match.d.ts +8 -8
  53. package/dist/Match.js +8 -8
  54. package/dist/Metric.d.ts +3 -3
  55. package/dist/Metric.js +3 -3
  56. package/dist/Optic.d.ts +30 -30
  57. package/dist/Optic.js +12 -12
  58. package/dist/Option.d.ts +7 -7
  59. package/dist/Option.js +7 -7
  60. package/dist/Order.d.ts +23 -23
  61. package/dist/Order.js +20 -20
  62. package/dist/Pool.d.ts +1 -1
  63. package/dist/Pool.js +1 -1
  64. package/dist/Predicate.d.ts +88 -88
  65. package/dist/Predicate.js +47 -47
  66. package/dist/PubSub.d.ts +3 -3
  67. package/dist/PubSub.js +3 -3
  68. package/dist/Reducer.d.ts +1 -1
  69. package/dist/Reducer.js +1 -1
  70. package/dist/Result.d.ts +18 -18
  71. package/dist/Result.js +8 -8
  72. package/dist/Runtime.d.ts +1 -1
  73. package/dist/Runtime.js +1 -1
  74. package/dist/Schema.d.ts +265 -120
  75. package/dist/Schema.d.ts.map +1 -1
  76. package/dist/Schema.js +285 -116
  77. package/dist/Schema.js.map +1 -1
  78. package/dist/SchemaAST.d.ts +1 -1
  79. package/dist/SchemaAST.d.ts.map +1 -1
  80. package/dist/SchemaAST.js +13 -9
  81. package/dist/SchemaAST.js.map +1 -1
  82. package/dist/SchemaGetter.d.ts +48 -48
  83. package/dist/SchemaGetter.js +44 -44
  84. package/dist/SchemaIssue.d.ts +3 -3
  85. package/dist/SchemaIssue.js +3 -3
  86. package/dist/SchemaParser.d.ts +122 -22
  87. package/dist/SchemaParser.d.ts.map +1 -1
  88. package/dist/SchemaParser.js +186 -50
  89. package/dist/SchemaParser.js.map +1 -1
  90. package/dist/SchemaRepresentation.d.ts +1 -1
  91. package/dist/SchemaRepresentation.d.ts.map +1 -1
  92. package/dist/SchemaRepresentation.js +96 -2
  93. package/dist/SchemaRepresentation.js.map +1 -1
  94. package/dist/SchemaTransformation.d.ts +20 -20
  95. package/dist/SchemaTransformation.js +18 -18
  96. package/dist/Stream.d.ts +3 -3
  97. package/dist/Stream.js +2 -2
  98. package/dist/Stream.js.map +1 -1
  99. package/dist/String.d.ts +1 -1
  100. package/dist/String.js +1 -1
  101. package/dist/Struct.d.ts +1 -1
  102. package/dist/Struct.js +1 -1
  103. package/dist/Types.d.ts +13 -13
  104. package/dist/internal/effect.js +23 -10
  105. package/dist/internal/effect.js.map +1 -1
  106. package/dist/internal/schema/cause.d.ts +2 -0
  107. package/dist/internal/schema/cause.d.ts.map +1 -0
  108. package/dist/internal/schema/cause.js +24 -0
  109. package/dist/internal/schema/cause.js.map +1 -0
  110. package/dist/internal/schema/schema.d.ts +8 -4
  111. package/dist/internal/schema/schema.d.ts.map +1 -1
  112. package/dist/internal/schema/schema.js +21 -8
  113. package/dist/internal/schema/schema.js.map +1 -1
  114. package/dist/testing/TestSchema.d.ts +3 -3
  115. package/dist/testing/TestSchema.js +1 -1
  116. package/dist/unstable/ai/AiError.d.ts +1 -1
  117. package/dist/unstable/ai/AiError.js +1 -1
  118. package/dist/unstable/ai/Chat.d.ts +1 -1
  119. package/dist/unstable/ai/Chat.js +1 -1
  120. package/dist/unstable/cli/Prompt.js +2 -2
  121. package/dist/unstable/cli/Prompt.js.map +1 -1
  122. package/dist/unstable/httpapi/HttpApiScalar.d.ts +2 -2
  123. package/dist/unstable/httpapi/HttpApiSchema.d.ts +39 -0
  124. package/dist/unstable/httpapi/HttpApiSchema.d.ts.map +1 -1
  125. package/dist/unstable/httpapi/HttpApiSchema.js.map +1 -1
  126. package/dist/unstable/rpc/Rpc.d.ts +1 -1
  127. package/dist/unstable/rpc/Rpc.js +1 -1
  128. package/dist/unstable/rpc/RpcGroup.d.ts.map +1 -1
  129. package/dist/unstable/rpc/RpcGroup.js +3 -4
  130. package/dist/unstable/rpc/RpcGroup.js.map +1 -1
  131. package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
  132. package/dist/unstable/sql/SqlResolver.js +15 -2
  133. package/dist/unstable/sql/SqlResolver.js.map +1 -1
  134. package/dist/unstable/workflow/Activity.d.ts +1 -0
  135. package/dist/unstable/workflow/Activity.d.ts.map +1 -1
  136. package/dist/unstable/workflow/Activity.js +1 -0
  137. package/dist/unstable/workflow/Activity.js.map +1 -1
  138. package/dist/unstable/workflow/WorkflowEngine.js +1 -1
  139. package/dist/unstable/workflow/WorkflowEngine.js.map +1 -1
  140. package/package.json +1 -1
  141. package/src/Array.ts +65 -65
  142. package/src/Cache.ts +1 -1
  143. package/src/Cause.ts +68 -68
  144. package/src/Channel.ts +5 -5
  145. package/src/Clock.ts +1 -1
  146. package/src/Combiner.ts +9 -9
  147. package/src/Config.ts +40 -108
  148. package/src/ConfigProvider.ts +139 -100
  149. package/src/Console.ts +1 -1
  150. package/src/Data.ts +15 -15
  151. package/src/DateTime.ts +6 -6
  152. package/src/Duration.ts +3 -3
  153. package/src/Effect.ts +89 -45
  154. package/src/Equal.ts +7 -7
  155. package/src/Equivalence.ts +17 -17
  156. package/src/Exit.ts +3 -3
  157. package/src/Formatter.ts +5 -5
  158. package/src/Function.ts +10 -10
  159. package/src/HashMap.ts +3 -3
  160. package/src/Iterable.ts +6 -6
  161. package/src/JsonPatch.ts +2 -2
  162. package/src/Layer.ts +1 -1
  163. package/src/Logger.ts +1 -1
  164. package/src/Match.ts +8 -8
  165. package/src/Metric.ts +3 -3
  166. package/src/Optic.ts +30 -30
  167. package/src/Option.ts +7 -7
  168. package/src/Order.ts +23 -23
  169. package/src/Pool.ts +1 -1
  170. package/src/Predicate.ts +88 -88
  171. package/src/PubSub.ts +3 -3
  172. package/src/Reducer.ts +1 -1
  173. package/src/Result.ts +20 -20
  174. package/src/Runtime.ts +1 -1
  175. package/src/Schema.ts +314 -131
  176. package/src/SchemaAST.ts +20 -11
  177. package/src/SchemaGetter.ts +48 -48
  178. package/src/SchemaIssue.ts +3 -3
  179. package/src/SchemaParser.ts +197 -58
  180. package/src/SchemaRepresentation.ts +73 -3
  181. package/src/SchemaTransformation.ts +20 -20
  182. package/src/Stream.ts +4 -4
  183. package/src/String.ts +1 -1
  184. package/src/Struct.ts +1 -1
  185. package/src/Types.ts +13 -13
  186. package/src/internal/effect.ts +29 -10
  187. package/src/internal/schema/cause.ts +26 -0
  188. package/src/internal/schema/schema.ts +36 -10
  189. package/src/testing/TestSchema.ts +3 -3
  190. package/src/unstable/ai/AiError.ts +1 -1
  191. package/src/unstable/ai/Chat.ts +1 -1
  192. package/src/unstable/cli/Prompt.ts +1 -1
  193. package/src/unstable/httpapi/HttpApiScalar.ts +2 -2
  194. package/src/unstable/httpapi/HttpApiSchema.ts +18 -6
  195. package/src/unstable/rpc/Rpc.ts +1 -1
  196. package/src/unstable/rpc/RpcGroup.ts +3 -4
  197. package/src/unstable/sql/SqlResolver.ts +15 -2
  198. package/src/unstable/workflow/Activity.ts +2 -0
  199. package/src/unstable/workflow/WorkflowEngine.ts +1 -1
@@ -74,7 +74,7 @@ export declare class Getter<out T, in E, R = never> extends Pipeable.Class {
74
74
  * The getter is pure and always returns `Option.some(t)` regardless of whether
75
75
  * the input is `Some` or `None`.
76
76
  *
77
- * **Example** (Constant getter)
77
+ * **Example** (Returning a constant getter)
78
78
  *
79
79
  * ```ts
80
80
  * import { SchemaGetter } from "effect"
@@ -103,7 +103,7 @@ export declare function succeed<const T, E>(t: T): Getter<T, E>;
103
103
  * - Always fails with the `Issue` returned by `f`.
104
104
  * - The failure function receives the original `Option<E>` input for error context.
105
105
  *
106
- * **Example** (Always-failing getter)
106
+ * **Example** (Defining an always-failing getter)
107
107
  *
108
108
  * ```ts
109
109
  * import { Option, SchemaGetter, SchemaIssue } from "effect"
@@ -165,7 +165,7 @@ export declare function forbidden<T, E>(message: (oe: Option.Option<E>) => strin
165
165
  * - The default overload requires `T === E`. Pass `{ strict: false }` to opt
166
166
  * out of the type constraint.
167
167
  *
168
- * **Example** (Identity transformation)
168
+ * **Example** (Passing through identity transformations)
169
169
  *
170
170
  * ```ts
171
171
  * import { Schema, SchemaGetter } from "effect"
@@ -202,7 +202,7 @@ export declare function passthrough<T>(): Getter<T, T>;
202
202
  *
203
203
  * - Same singleton as {@link passthrough} — no allocation, optimized in composition.
204
204
  *
205
- * **Example** (Supertype passthrough)
205
+ * **Example** (Passing through supertypes)
206
206
  *
207
207
  * ```ts
208
208
  * import { SchemaGetter } from "effect"
@@ -230,7 +230,7 @@ export declare function passthroughSupertype<T extends E, E>(): Getter<T, E>;
230
230
  *
231
231
  * - Same singleton as {@link passthrough} — no allocation, optimized in composition.
232
232
  *
233
- * **Example** (Subtype passthrough)
233
+ * **Example** (Passing through subtypes)
234
234
  *
235
235
  * ```ts
236
236
  * import { SchemaGetter } from "effect"
@@ -261,7 +261,7 @@ export declare function passthroughSubtype<T, E extends T>(): Getter<T, E>;
261
261
  * - When input is `Some`, passes it through unchanged.
262
262
  * - `f` receives the parse options and may return `None` to keep the value absent.
263
263
  *
264
- * **Example** (Default timestamp for missing field)
264
+ * **Example** (Providing a default timestamp for a missing field)
265
265
  *
266
266
  * ```ts
267
267
  * import { Effect, Option, SchemaGetter } from "effect"
@@ -293,7 +293,7 @@ export declare function onNone<T, E extends T = T, R = never>(f: (options: Schem
293
293
  * - When input is `Some`, passes it through unchanged.
294
294
  * - Optional `annotations` customize the error message for the missing key.
295
295
  *
296
- * **Example** (Required struct field)
296
+ * **Example** (Defining a required struct field)
297
297
  *
298
298
  * ```ts
299
299
  * import { SchemaGetter } from "effect"
@@ -323,7 +323,7 @@ export declare function required<T, E extends T = T>(annotations?: Schema.Annota
323
323
  * - When input is `Some(e)`, calls `f(e, options)` to produce the result.
324
324
  * - `f` may return `None` to omit the value, or fail with an `Issue`.
325
325
  *
326
- * **Example** (Transform only present values)
326
+ * **Example** (Transforming only present values)
327
327
  *
328
328
  * ```ts
329
329
  * import { Effect, Option, SchemaGetter } from "effect"
@@ -361,7 +361,7 @@ export declare function onSome<T, E, R = never>(f: (e: E, options: SchemaAST.Par
361
361
  * message string or a full {@link SchemaIssue.Issue}).
362
362
  * - Does not transform the value — input and output types are the same.
363
363
  *
364
- * **Example** (Effectful validation)
364
+ * **Example** (Validating effectfully)
365
365
  *
366
366
  * ```ts
367
367
  * import { Effect, SchemaGetter } from "effect"
@@ -394,7 +394,7 @@ export declare function checkEffect<T, R = never>(f: (input: T, options: SchemaA
394
394
  * - Skips `None` inputs — only called when a value is present.
395
395
  * - Never fails.
396
396
  *
397
- * **Example** (String to number transformation pair)
397
+ * **Example** (Transforming strings to numbers)
398
398
  *
399
399
  * ```ts
400
400
  * import { Schema, SchemaGetter } from "effect"
@@ -464,7 +464,7 @@ export declare function transformOrFail<T, E, R = never>(f: (e: E, options: Sche
464
464
  * must return `Option<T>`, so it can turn a present value into absent or an
465
465
  * absent value into present.
466
466
  *
467
- * **Example** (Filter out empty strings)
467
+ * **Example** (Filtering out empty strings)
468
468
  *
469
469
  * ```ts
470
470
  * import { Option, SchemaGetter } from "effect"
@@ -494,7 +494,7 @@ export declare function transformOptional<T, E>(f: (oe: Option.Option<E>) => Opt
494
494
  * - Always returns `Option.None` regardless of input.
495
495
  * - Never fails.
496
496
  *
497
- * **Example** (Omit a field during encoding)
497
+ * **Example** (Omitting a field during encoding)
498
498
  *
499
499
  * ```ts
500
500
  * import { SchemaGetter } from "effect"
@@ -523,7 +523,7 @@ export declare function omit<T>(): Getter<never, T>;
523
523
  * - If the input is `Some(value)` where value is not `undefined`, passes it through.
524
524
  * - `defaultValue` is an `Effect` that will be executed each time a default is needed.
525
525
  *
526
- * **Example** (Default value for optional field)
526
+ * **Example** (Providing a default value for an optional field)
527
527
  *
528
528
  * ```ts
529
529
  * import { Effect, SchemaGetter } from "effect"
@@ -551,7 +551,7 @@ export declare function withDefault<T, R = never>(defaultValue: Effect.Effect<T,
551
551
  *
552
552
  * The getter is pure, never fails, and delegates to `globalThis.String`.
553
553
  *
554
- * **Example** (Coerce to string)
554
+ * **Example** (Coercing to a string)
555
555
  *
556
556
  * ```ts
557
557
  * import { SchemaGetter } from "effect"
@@ -579,7 +579,7 @@ export declare function String<E>(): Getter<string, E>;
579
579
  * The getter is pure, never fails, and delegates to `globalThis.Number`. It may
580
580
  * produce `NaN` for non-numeric inputs.
581
581
  *
582
- * **Example** (Coerce to number)
582
+ * **Example** (Coercing to a number)
583
583
  *
584
584
  * ```ts
585
585
  * import { SchemaGetter } from "effect"
@@ -606,7 +606,7 @@ export declare function Number<E>(): Getter<number, E>;
606
606
  *
607
607
  * The getter is pure, never fails, and delegates to `globalThis.Boolean`.
608
608
  *
609
- * **Example** (Coerce to boolean)
609
+ * **Example** (Coercing to a boolean)
610
610
  *
611
611
  * ```ts
612
612
  * import { SchemaGetter } from "effect"
@@ -632,7 +632,7 @@ export declare function Boolean<E>(): Getter<boolean, E>;
632
632
  * - Delegates to `globalThis.BigInt`.
633
633
  * - Throws at runtime if the input cannot be converted (e.g. non-numeric string).
634
634
  *
635
- * **Example** (Coerce to bigint)
635
+ * **Example** (Coercing to a bigint)
636
636
  *
637
637
  * ```ts
638
638
  * import { SchemaGetter } from "effect"
@@ -658,7 +658,7 @@ export declare function BigInt<E extends string | number | bigint | boolean>():
658
658
  * - Delegates to `new globalThis.Date(input)`.
659
659
  * - Does not validate the result — may produce an invalid Date.
660
660
  *
661
- * **Example** (Coerce to Date)
661
+ * **Example** (Coercing to a Date)
662
662
  *
663
663
  * ```ts
664
664
  * import { SchemaGetter } from "effect"
@@ -680,7 +680,7 @@ export declare function Date<E extends string | number | Date>(): Getter<Date, E
680
680
  *
681
681
  * - Pure, delegates to `String.trim`.
682
682
  *
683
- * **Example** (Trim whitespace)
683
+ * **Example** (Trimming whitespace)
684
684
  *
685
685
  * ```ts
686
686
  * import { SchemaGetter } from "effect"
@@ -699,7 +699,7 @@ export declare function trim<E extends string>(): Getter<string, E>;
699
699
  *
700
700
  * - Pure, delegates to `String.capitalize`.
701
701
  *
702
- * **Example** (Capitalize string)
702
+ * **Example** (Capitalizing a string)
703
703
  *
704
704
  * ```ts
705
705
  * import { SchemaGetter } from "effect"
@@ -718,7 +718,7 @@ export declare function capitalize<E extends string>(): Getter<string, E>;
718
718
  *
719
719
  * - Pure, delegates to `String.uncapitalize`.
720
720
  *
721
- * **Example** (Uncapitalize string)
721
+ * **Example** (Uncapitalizing a string)
722
722
  *
723
723
  * ```ts
724
724
  * import { SchemaGetter } from "effect"
@@ -737,7 +737,7 @@ export declare function uncapitalize<E extends string>(): Getter<string, E>;
737
737
  *
738
738
  * - Pure, delegates to `String.snakeToCamel`.
739
739
  *
740
- * **Example** (Snake to camel)
740
+ * **Example** (Converting snake case to camel case)
741
741
  *
742
742
  * ```ts
743
743
  * import { SchemaGetter } from "effect"
@@ -758,7 +758,7 @@ export declare function snakeToCamel<E extends string>(): Getter<string, E>;
758
758
  *
759
759
  * - Pure, delegates to `String.camelToSnake`.
760
760
  *
761
- * **Example** (Camel to snake)
761
+ * **Example** (Converting camel case to snake case)
762
762
  *
763
763
  * ```ts
764
764
  * import { SchemaGetter } from "effect"
@@ -779,7 +779,7 @@ export declare function camelToSnake<E extends string>(): Getter<string, E>;
779
779
  *
780
780
  * - Pure, delegates to `String.toLowerCase`.
781
781
  *
782
- * **Example** (To lowercase)
782
+ * **Example** (Converting to lowercase)
783
783
  *
784
784
  * ```ts
785
785
  * import { SchemaGetter } from "effect"
@@ -800,7 +800,7 @@ export declare function toLowerCase<E extends string>(): Getter<string, E>;
800
800
  *
801
801
  * - Pure, delegates to `String.toUpperCase`.
802
802
  *
803
- * **Example** (To uppercase)
803
+ * **Example** (Converting to uppercase)
804
804
  *
805
805
  * ```ts
806
806
  * import { SchemaGetter } from "effect"
@@ -832,7 +832,7 @@ type ParseJsonOptions = {
832
832
  * - With `reviver`: returns `unknown` (reviver may produce arbitrary values).
833
833
  * - On parse failure, fails with `SchemaIssue.InvalidValue` containing the error message.
834
834
  *
835
- * **Example** (Parse JSON)
835
+ * **Example** (Parsing JSON)
836
836
  *
837
837
  * ```ts
838
838
  * import { SchemaGetter } from "effect"
@@ -871,7 +871,7 @@ type StringifyJsonOptions = {
871
871
  * functions, symbols, or a replacer that removes the root value, that
872
872
  * `undefined` result is returned rather than converted into an `Issue`.
873
873
  *
874
- * **Example** (Stringify JSON)
874
+ * **Example** (Stringifying JSON)
875
875
  *
876
876
  * ```ts
877
877
  * import { SchemaGetter } from "effect"
@@ -900,7 +900,7 @@ export declare function stringifyJson(options?: StringifyJsonOptions): Getter<st
900
900
  * (default `,`) and then each pair by `keyValueSeparator` (default `=`). Pairs
901
901
  * missing a key or value are silently skipped.
902
902
  *
903
- * **Example** (Parse key-value string)
903
+ * **Example** (Parsing a key-value string)
904
904
  *
905
905
  * ```ts
906
906
  * import { SchemaGetter } from "effect"
@@ -933,7 +933,7 @@ export declare function splitKeyValue<E extends string>(options?: {
933
933
  * (default `,`) and joins each key and value with `keyValueSeparator` (default
934
934
  * `=`).
935
935
  *
936
- * **Example** (Join key-value record)
936
+ * **Example** (Joining key-value records)
937
937
  *
938
938
  * ```ts
939
939
  * import { SchemaGetter } from "effect"
@@ -964,7 +964,7 @@ export declare function joinKeyValue<E extends Record<PropertyKey, string>>(opti
964
964
  * The getter is pure and never fails. It splits by `separator` (default `,`).
965
965
  * An empty string produces an empty array, not `[""]`.
966
966
  *
967
- * **Example** (Split comma-separated string)
967
+ * **Example** (Splitting a comma-separated string)
968
968
  *
969
969
  * ```ts
970
970
  * import { SchemaGetter } from "effect"
@@ -989,7 +989,7 @@ export declare function split<E extends string>(options?: {
989
989
  *
990
990
  * The getter is pure and never fails.
991
991
  *
992
- * **Example** (Encode to Base64)
992
+ * **Example** (Encoding to Base64)
993
993
  *
994
994
  * ```ts
995
995
  * import { SchemaGetter } from "effect"
@@ -1012,7 +1012,7 @@ export declare function encodeBase64<E extends Uint8Array | string>(): Getter<st
1012
1012
  *
1013
1013
  * The getter is pure and never fails.
1014
1014
  *
1015
- * **Example** (Encode to Base64Url)
1015
+ * **Example** (Encoding to Base64Url)
1016
1016
  *
1017
1017
  * ```ts
1018
1018
  * import { SchemaGetter } from "effect"
@@ -1035,7 +1035,7 @@ export declare function encodeBase64Url<E extends Uint8Array | string>(): Getter
1035
1035
  *
1036
1036
  * The getter is pure and never fails.
1037
1037
  *
1038
- * **Example** (Encode to hex)
1038
+ * **Example** (Encoding to hex)
1039
1039
  *
1040
1040
  * ```ts
1041
1041
  * import { SchemaGetter } from "effect"
@@ -1057,7 +1057,7 @@ export declare function encodeHex<E extends Uint8Array | string>(): Getter<strin
1057
1057
  *
1058
1058
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid Base64.
1059
1059
  *
1060
- * **Example** (Decode Base64 to bytes)
1060
+ * **Example** (Decoding Base64 to bytes)
1061
1061
  *
1062
1062
  * ```ts
1063
1063
  * import { SchemaGetter } from "effect"
@@ -1080,7 +1080,7 @@ export declare function decodeBase64<E extends string>(): Getter<Uint8Array, E>;
1080
1080
  *
1081
1081
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid Base64.
1082
1082
  *
1083
- * **Example** (Decode Base64 to string)
1083
+ * **Example** (Decoding Base64 to string)
1084
1084
  *
1085
1085
  * ```ts
1086
1086
  * import { SchemaGetter } from "effect"
@@ -1103,7 +1103,7 @@ export declare function decodeBase64String<E extends string>(): Getter<string, E
1103
1103
  *
1104
1104
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid Base64Url.
1105
1105
  *
1106
- * **Example** (Decode Base64Url to bytes)
1106
+ * **Example** (Decoding Base64Url to bytes)
1107
1107
  *
1108
1108
  * ```ts
1109
1109
  * import { SchemaGetter } from "effect"
@@ -1126,7 +1126,7 @@ export declare function decodeBase64Url<E extends string>(): Getter<Uint8Array,
1126
1126
  *
1127
1127
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid Base64Url.
1128
1128
  *
1129
- * **Example** (Decode Base64Url to string)
1129
+ * **Example** (Decoding Base64Url to string)
1130
1130
  *
1131
1131
  * ```ts
1132
1132
  * import { SchemaGetter } from "effect"
@@ -1149,7 +1149,7 @@ export declare function decodeBase64UrlString<E extends string>(): Getter<string
1149
1149
  *
1150
1150
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid hex.
1151
1151
  *
1152
- * **Example** (Decode hex to bytes)
1152
+ * **Example** (Decoding hex to bytes)
1153
1153
  *
1154
1154
  * ```ts
1155
1155
  * import { SchemaGetter } from "effect"
@@ -1172,7 +1172,7 @@ export declare function decodeHex<E extends string>(): Getter<Uint8Array, E>;
1172
1172
  *
1173
1173
  * - Fails with `SchemaIssue.InvalidValue` if the input is not valid hex.
1174
1174
  *
1175
- * **Example** (Decode hex to string)
1175
+ * **Example** (Decoding hex to string)
1176
1176
  *
1177
1177
  * ```ts
1178
1178
  * import { SchemaGetter } from "effect"
@@ -1197,7 +1197,7 @@ export declare function decodeHexString<E extends string>(): Getter<string, E>;
1197
1197
  * - May throw a `URIError` for malformed surrogate pairs; this exception is not
1198
1198
  * converted into an `Issue`.
1199
1199
  *
1200
- * **Example** (Encode a URI component)
1200
+ * **Example** (Encoding a URI component)
1201
1201
  *
1202
1202
  * ```ts
1203
1203
  * import { SchemaGetter } from "effect"
@@ -1218,7 +1218,7 @@ export declare function encodeUriComponent<E extends string>(): Getter<string, E
1218
1218
  *
1219
1219
  * - Fails with `SchemaIssue.InvalidValue` if the input contains malformed percent-encoding sequences.
1220
1220
  *
1221
- * **Example** (Decode a URI component)
1221
+ * **Example** (Decoding a URI component)
1222
1222
  *
1223
1223
  * ```ts
1224
1224
  * import { SchemaGetter } from "effect"
@@ -1250,7 +1250,7 @@ export declare function decodeUriComponent<E extends string>(): Getter<string, E
1250
1250
  * - Fails with `SchemaIssue.InvalidValue` if the input cannot be parsed as a valid
1251
1251
  * `DateTime`.
1252
1252
  *
1253
- * **Example** (Parse DateTime)
1253
+ * **Example** (Parsing DateTime)
1254
1254
  *
1255
1255
  * ```ts
1256
1256
  * import { SchemaGetter } from "effect"
@@ -1279,7 +1279,7 @@ export declare function dateTimeUtcFromInput<E extends DateTime.DateTime.Input>(
1279
1279
  * `user[name]` and `items[0]` to build nested objects or arrays, and each leaf
1280
1280
  * value is a `string` or `Blob`.
1281
1281
  *
1282
- * **Example** (Decode FormData)
1282
+ * **Example** (Decoding FormData)
1283
1283
  *
1284
1284
  * ```ts
1285
1285
  * import { SchemaGetter } from "effect"
@@ -1310,7 +1310,7 @@ export declare function decodeFormData(): Getter<Schema.TreeRecord<string | Blob
1310
1310
  * bracket-path keys such as `user[name]` and `items[0]`. Non-object inputs
1311
1311
  * produce an empty `FormData`.
1312
1312
  *
1313
- * **Example** (Encode to FormData)
1313
+ * **Example** (Encoding to FormData)
1314
1314
  *
1315
1315
  * ```ts
1316
1316
  * import { SchemaGetter } from "effect"
@@ -1341,7 +1341,7 @@ export declare function encodeFormData(): Getter<FormData, unknown>;
1341
1341
  * `user[name]` and `items[0]` to build nested objects or arrays, and each leaf
1342
1342
  * value is a `string`.
1343
1343
  *
1344
- * **Example** (Decode URLSearchParams)
1344
+ * **Example** (Decoding URLSearchParams)
1345
1345
  *
1346
1346
  * ```ts
1347
1347
  * import { SchemaGetter } from "effect"
@@ -1371,7 +1371,7 @@ export declare function decodeURLSearchParams(): Getter<Schema.TreeRecord<string
1371
1371
  * The getter is pure and never fails. It flattens nested objects or arrays into
1372
1372
  * bracket-path keys. Non-object inputs produce an empty `URLSearchParams`.
1373
1373
  *
1374
- * **Example** (Encode to URLSearchParams)
1374
+ * **Example** (Encoding to URLSearchParams)
1375
1375
  *
1376
1376
  * ```ts
1377
1377
  * import { SchemaGetter } from "effect"
@@ -1411,7 +1411,7 @@ export declare function encodeURLSearchParams(): Getter<URLSearchParams, unknown
1411
1411
  * - `""` → real empty key
1412
1412
  * - Duplicate keys for the same path are merged into arrays.
1413
1413
  *
1414
- * **Example** (Build tree from bracket paths)
1414
+ * **Example** (Building a tree from bracket paths)
1415
1415
  *
1416
1416
  * ```ts
1417
1417
  * import { SchemaGetter } from "effect"
@@ -1452,7 +1452,7 @@ export declare function makeTreeRecord<A>(bracketPathEntries: ReadonlyArray<read
1452
1452
  * (e.g. `tags=a&tags=b`). Otherwise uses indexed bracket paths (e.g. `items[0]`, `items[1]`).
1453
1453
  * - Non-leaf values that aren't objects or arrays are silently skipped.
1454
1454
  *
1455
- * **Example** (Flatten object to bracket paths)
1455
+ * **Example** (Flattening an object to bracket paths)
1456
1456
  *
1457
1457
  * ```ts
1458
1458
  * import { Predicate, SchemaGetter } from "effect"