blackmistcode commited on
Commit
2d3b506
·
verified ·
1 Parent(s): f8c5208

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. backend/node_modules/effect/dist/dts/BigInt.d.ts +1033 -0
  2. backend/node_modules/effect/dist/dts/BigInt.d.ts.map +1 -0
  3. backend/node_modules/effect/dist/dts/ChildExecutorDecision.d.ts +135 -0
  4. backend/node_modules/effect/dist/dts/ConfigProviderPathPatch.d.ts.map +1 -0
  5. backend/node_modules/effect/dist/dts/Context.d.ts.map +1 -0
  6. backend/node_modules/effect/dist/dts/Encoding.d.ts.map +1 -0
  7. backend/node_modules/effect/dist/dts/ExecutionStrategy.d.ts.map +1 -0
  8. backend/node_modules/effect/dist/dts/FiberRefsPatch.d.ts.map +1 -0
  9. backend/node_modules/effect/dist/dts/GlobalValue.d.ts.map +1 -0
  10. backend/node_modules/effect/dist/dts/Graph.d.ts.map +1 -0
  11. backend/node_modules/effect/dist/dts/HashMap.d.ts.map +1 -0
  12. backend/node_modules/effect/dist/dts/Inspectable.d.ts.map +1 -0
  13. backend/node_modules/effect/dist/dts/List.d.ts.map +1 -0
  14. backend/node_modules/effect/dist/dts/MetricHook.d.ts.map +1 -0
  15. backend/node_modules/effect/dist/dts/MetricKey.d.ts.map +1 -0
  16. backend/node_modules/effect/dist/dts/ModuleVersion.d.ts +11 -0
  17. backend/node_modules/effect/dist/dts/MutableHashSet.d.ts +547 -0
  18. backend/node_modules/effect/dist/dts/MutableList.d.ts +150 -0
  19. backend/node_modules/effect/dist/dts/Order.d.ts +260 -0
  20. backend/node_modules/effect/dist/dts/ParseResult.d.ts.map +1 -0
  21. backend/node_modules/effect/dist/dts/PartitionedSemaphore.d.ts.map +1 -0
  22. backend/node_modules/effect/dist/dts/Pipeable.d.ts +65 -0
  23. backend/node_modules/effect/dist/dts/PubSub.d.ts.map +1 -0
  24. backend/node_modules/effect/dist/dts/Redacted.d.ts +133 -0
  25. backend/node_modules/effect/dist/dts/Ref.d.ts +250 -0
  26. backend/node_modules/effect/dist/dts/RequestResolver.d.ts.map +1 -0
  27. backend/node_modules/effect/dist/dts/Resource.d.ts.map +1 -0
  28. backend/node_modules/effect/dist/dts/SingleProducerAsyncInput.d.ts.map +1 -0
  29. backend/node_modules/effect/dist/dts/SortedSet.d.ts +333 -0
  30. backend/node_modules/effect/dist/dts/StreamHaltStrategy.d.ts +116 -0
  31. backend/node_modules/effect/dist/dts/TArray.d.ts.map +1 -0
  32. backend/node_modules/effect/dist/dts/TSet.d.ts +564 -0
  33. backend/node_modules/effect/dist/dts/Tracer.d.ts +152 -0
  34. backend/node_modules/effect/dist/dts/Unify.d.ts.map +1 -0
  35. backend/node_modules/effect/dist/dts/index.d.ts.map +1 -0
  36. backend/node_modules/effect/dist/esm/Arbitrary.js +798 -0
  37. backend/node_modules/effect/dist/esm/Array.js +2703 -0
  38. backend/node_modules/effect/dist/esm/BigDecimal.js.map +1 -0
  39. backend/node_modules/effect/dist/esm/BigInt.js +548 -0
  40. backend/node_modules/effect/dist/esm/BigInt.js.map +1 -0
  41. backend/node_modules/effect/dist/esm/Boolean.js +240 -0
  42. backend/node_modules/effect/dist/esm/Boolean.js.map +1 -0
  43. backend/node_modules/effect/dist/esm/Brand.js.map +1 -0
  44. backend/node_modules/effect/dist/esm/Cache.js +43 -0
  45. backend/node_modules/effect/dist/esm/Cache.js.map +1 -0
  46. backend/node_modules/effect/dist/esm/Cause.js +1004 -0
  47. backend/node_modules/effect/dist/esm/Cause.js.map +1 -0
  48. backend/node_modules/effect/dist/esm/Channel.js +887 -0
  49. backend/node_modules/effect/dist/esm/ChildExecutorDecision.js +64 -0
  50. backend/node_modules/effect/dist/esm/ChildExecutorDecision.js.map +1 -0
backend/node_modules/effect/dist/dts/BigInt.d.ts ADDED
@@ -0,0 +1,1033 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides utility functions and type class instances for working with the `bigint` type in TypeScript.
3
+ * It includes functions for basic arithmetic operations, as well as type class instances for
4
+ * `Equivalence` and `Order`.
5
+ *
6
+ * @module BigInt
7
+ * @since 2.0.0
8
+ * @see {@link module:BigDecimal} for more similar operations on `BigDecimal` types
9
+ * @see {@link module:Number} for more similar operations on `number` types
10
+ */
11
+ import * as equivalence from "./Equivalence.js";
12
+ import * as Option from "./Option.js";
13
+ import * as order from "./Order.js";
14
+ import type { Ordering } from "./Ordering.js";
15
+ /**
16
+ * Tests if a value is a `bigint`.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * import * as assert from "node:assert"
21
+ * import { isBigInt } from "effect/BigInt"
22
+ *
23
+ * assert.deepStrictEqual(isBigInt(1n), true)
24
+ * assert.deepStrictEqual(isBigInt(1), false)
25
+ * ```
26
+ *
27
+ * @category guards
28
+ * @since 2.0.0
29
+ */
30
+ export declare const isBigInt: (u: unknown) => u is bigint;
31
+ /**
32
+ * Provides an addition operation on `bigint`s.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * import * as assert from "node:assert"
37
+ * import { sum } from "effect/BigInt"
38
+ *
39
+ * assert.deepStrictEqual(sum(2n, 3n), 5n)
40
+ * ```
41
+ *
42
+ * @category math
43
+ * @since 2.0.0
44
+ */
45
+ export declare const sum: {
46
+ /**
47
+ * Provides an addition operation on `bigint`s.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * import * as assert from "node:assert"
52
+ * import { sum } from "effect/BigInt"
53
+ *
54
+ * assert.deepStrictEqual(sum(2n, 3n), 5n)
55
+ * ```
56
+ *
57
+ * @category math
58
+ * @since 2.0.0
59
+ */
60
+ (that: bigint): (self: bigint) => bigint;
61
+ /**
62
+ * Provides an addition operation on `bigint`s.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * import * as assert from "node:assert"
67
+ * import { sum } from "effect/BigInt"
68
+ *
69
+ * assert.deepStrictEqual(sum(2n, 3n), 5n)
70
+ * ```
71
+ *
72
+ * @category math
73
+ * @since 2.0.0
74
+ */
75
+ (self: bigint, that: bigint): bigint;
76
+ };
77
+ /**
78
+ * Provides a multiplication operation on `bigint`s.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * import * as assert from "node:assert"
83
+ * import { multiply } from "effect/BigInt"
84
+ *
85
+ * assert.deepStrictEqual(multiply(2n, 3n), 6n)
86
+ * ```
87
+ *
88
+ * @category math
89
+ * @since 2.0.0
90
+ */
91
+ export declare const multiply: {
92
+ /**
93
+ * Provides a multiplication operation on `bigint`s.
94
+ *
95
+ * @example
96
+ * ```ts
97
+ * import * as assert from "node:assert"
98
+ * import { multiply } from "effect/BigInt"
99
+ *
100
+ * assert.deepStrictEqual(multiply(2n, 3n), 6n)
101
+ * ```
102
+ *
103
+ * @category math
104
+ * @since 2.0.0
105
+ */
106
+ (that: bigint): (self: bigint) => bigint;
107
+ /**
108
+ * Provides a multiplication operation on `bigint`s.
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * import * as assert from "node:assert"
113
+ * import { multiply } from "effect/BigInt"
114
+ *
115
+ * assert.deepStrictEqual(multiply(2n, 3n), 6n)
116
+ * ```
117
+ *
118
+ * @category math
119
+ * @since 2.0.0
120
+ */
121
+ (self: bigint, that: bigint): bigint;
122
+ };
123
+ /**
124
+ * Provides a subtraction operation on `bigint`s.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * import * as assert from "node:assert"
129
+ * import { subtract } from "effect/BigInt"
130
+ *
131
+ * assert.deepStrictEqual(subtract(2n, 3n), -1n)
132
+ * ```
133
+ *
134
+ * @category math
135
+ * @since 2.0.0
136
+ */
137
+ export declare const subtract: {
138
+ /**
139
+ * Provides a subtraction operation on `bigint`s.
140
+ *
141
+ * @example
142
+ * ```ts
143
+ * import * as assert from "node:assert"
144
+ * import { subtract } from "effect/BigInt"
145
+ *
146
+ * assert.deepStrictEqual(subtract(2n, 3n), -1n)
147
+ * ```
148
+ *
149
+ * @category math
150
+ * @since 2.0.0
151
+ */
152
+ (that: bigint): (self: bigint) => bigint;
153
+ /**
154
+ * Provides a subtraction operation on `bigint`s.
155
+ *
156
+ * @example
157
+ * ```ts
158
+ * import * as assert from "node:assert"
159
+ * import { subtract } from "effect/BigInt"
160
+ *
161
+ * assert.deepStrictEqual(subtract(2n, 3n), -1n)
162
+ * ```
163
+ *
164
+ * @category math
165
+ * @since 2.0.0
166
+ */
167
+ (self: bigint, that: bigint): bigint;
168
+ };
169
+ /**
170
+ * Provides a division operation on `bigint`s.
171
+ *
172
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
173
+ * which represents the integer division rounded down to the nearest integer.
174
+ *
175
+ * Returns `None` if the divisor is `0n`.
176
+ *
177
+ * @example
178
+ * ```ts
179
+ * import * as assert from "node:assert"
180
+ * import { BigInt, Option } from "effect"
181
+ *
182
+ * assert.deepStrictEqual(BigInt.divide(6n, 3n), Option.some(2n))
183
+ * assert.deepStrictEqual(BigInt.divide(6n, 0n), Option.none())
184
+ * ```
185
+ *
186
+ * @category math
187
+ * @since 2.0.0
188
+ */
189
+ export declare const divide: {
190
+ /**
191
+ * Provides a division operation on `bigint`s.
192
+ *
193
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
194
+ * which represents the integer division rounded down to the nearest integer.
195
+ *
196
+ * Returns `None` if the divisor is `0n`.
197
+ *
198
+ * @example
199
+ * ```ts
200
+ * import * as assert from "node:assert"
201
+ * import { BigInt, Option } from "effect"
202
+ *
203
+ * assert.deepStrictEqual(BigInt.divide(6n, 3n), Option.some(2n))
204
+ * assert.deepStrictEqual(BigInt.divide(6n, 0n), Option.none())
205
+ * ```
206
+ *
207
+ * @category math
208
+ * @since 2.0.0
209
+ */
210
+ (that: bigint): (self: bigint) => Option.Option<bigint>;
211
+ /**
212
+ * Provides a division operation on `bigint`s.
213
+ *
214
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
215
+ * which represents the integer division rounded down to the nearest integer.
216
+ *
217
+ * Returns `None` if the divisor is `0n`.
218
+ *
219
+ * @example
220
+ * ```ts
221
+ * import * as assert from "node:assert"
222
+ * import { BigInt, Option } from "effect"
223
+ *
224
+ * assert.deepStrictEqual(BigInt.divide(6n, 3n), Option.some(2n))
225
+ * assert.deepStrictEqual(BigInt.divide(6n, 0n), Option.none())
226
+ * ```
227
+ *
228
+ * @category math
229
+ * @since 2.0.0
230
+ */
231
+ (self: bigint, that: bigint): Option.Option<bigint>;
232
+ };
233
+ /**
234
+ * Provides a division operation on `bigint`s.
235
+ *
236
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
237
+ * which represents the integer division rounded down to the nearest integer.
238
+ *
239
+ * Throws a `RangeError` if the divisor is `0n`.
240
+ *
241
+ * @example
242
+ * ```ts
243
+ * import * as assert from "node:assert"
244
+ * import { unsafeDivide } from "effect/BigInt"
245
+ *
246
+ * assert.deepStrictEqual(unsafeDivide(6n, 3n), 2n)
247
+ * assert.deepStrictEqual(unsafeDivide(6n, 4n), 1n)
248
+ * ```
249
+ *
250
+ * @category math
251
+ * @since 2.0.0
252
+ */
253
+ export declare const unsafeDivide: {
254
+ /**
255
+ * Provides a division operation on `bigint`s.
256
+ *
257
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
258
+ * which represents the integer division rounded down to the nearest integer.
259
+ *
260
+ * Throws a `RangeError` if the divisor is `0n`.
261
+ *
262
+ * @example
263
+ * ```ts
264
+ * import * as assert from "node:assert"
265
+ * import { unsafeDivide } from "effect/BigInt"
266
+ *
267
+ * assert.deepStrictEqual(unsafeDivide(6n, 3n), 2n)
268
+ * assert.deepStrictEqual(unsafeDivide(6n, 4n), 1n)
269
+ * ```
270
+ *
271
+ * @category math
272
+ * @since 2.0.0
273
+ */
274
+ (that: bigint): (self: bigint) => bigint;
275
+ /**
276
+ * Provides a division operation on `bigint`s.
277
+ *
278
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
279
+ * which represents the integer division rounded down to the nearest integer.
280
+ *
281
+ * Throws a `RangeError` if the divisor is `0n`.
282
+ *
283
+ * @example
284
+ * ```ts
285
+ * import * as assert from "node:assert"
286
+ * import { unsafeDivide } from "effect/BigInt"
287
+ *
288
+ * assert.deepStrictEqual(unsafeDivide(6n, 3n), 2n)
289
+ * assert.deepStrictEqual(unsafeDivide(6n, 4n), 1n)
290
+ * ```
291
+ *
292
+ * @category math
293
+ * @since 2.0.0
294
+ */
295
+ (self: bigint, that: bigint): bigint;
296
+ };
297
+ /**
298
+ * Returns the result of adding `1n` to a given number.
299
+ *
300
+ * @example
301
+ * ```ts
302
+ * import * as assert from "node:assert"
303
+ * import { increment } from "effect/BigInt"
304
+ *
305
+ * assert.deepStrictEqual(increment(2n), 3n)
306
+ * ```
307
+ *
308
+ * @category math
309
+ * @since 2.0.0
310
+ */
311
+ export declare const increment: (n: bigint) => bigint;
312
+ /**
313
+ * Decrements a number by `1n`.
314
+ *
315
+ * @example
316
+ * ```ts
317
+ * import * as assert from "node:assert"
318
+ * import { decrement } from "effect/BigInt"
319
+ *
320
+ * assert.deepStrictEqual(decrement(3n), 2n)
321
+ * ```
322
+ *
323
+ * @category math
324
+ * @since 2.0.0
325
+ */
326
+ export declare const decrement: (n: bigint) => bigint;
327
+ /**
328
+ * @category instances
329
+ * @since 2.0.0
330
+ */
331
+ export declare const Equivalence: equivalence.Equivalence<bigint>;
332
+ /**
333
+ * @category instances
334
+ * @since 2.0.0
335
+ */
336
+ export declare const Order: order.Order<bigint>;
337
+ /**
338
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
339
+ *
340
+ * @example
341
+ * ```ts
342
+ * import * as assert from "node:assert"
343
+ * import { lessThan } from "effect/BigInt"
344
+ *
345
+ * assert.deepStrictEqual(lessThan(2n, 3n), true)
346
+ * assert.deepStrictEqual(lessThan(3n, 3n), false)
347
+ * assert.deepStrictEqual(lessThan(4n, 3n), false)
348
+ * ```
349
+ *
350
+ * @category predicates
351
+ * @since 2.0.0
352
+ */
353
+ export declare const lessThan: {
354
+ /**
355
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
356
+ *
357
+ * @example
358
+ * ```ts
359
+ * import * as assert from "node:assert"
360
+ * import { lessThan } from "effect/BigInt"
361
+ *
362
+ * assert.deepStrictEqual(lessThan(2n, 3n), true)
363
+ * assert.deepStrictEqual(lessThan(3n, 3n), false)
364
+ * assert.deepStrictEqual(lessThan(4n, 3n), false)
365
+ * ```
366
+ *
367
+ * @category predicates
368
+ * @since 2.0.0
369
+ */
370
+ (that: bigint): (self: bigint) => boolean;
371
+ /**
372
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
373
+ *
374
+ * @example
375
+ * ```ts
376
+ * import * as assert from "node:assert"
377
+ * import { lessThan } from "effect/BigInt"
378
+ *
379
+ * assert.deepStrictEqual(lessThan(2n, 3n), true)
380
+ * assert.deepStrictEqual(lessThan(3n, 3n), false)
381
+ * assert.deepStrictEqual(lessThan(4n, 3n), false)
382
+ * ```
383
+ *
384
+ * @category predicates
385
+ * @since 2.0.0
386
+ */
387
+ (self: bigint, that: bigint): boolean;
388
+ };
389
+ /**
390
+ * Returns a function that checks if a given `bigint` is less than or equal to the provided one.
391
+ *
392
+ * @example
393
+ * ```ts
394
+ * import * as assert from "node:assert"
395
+ * import { lessThanOrEqualTo } from "effect/BigInt"
396
+ *
397
+ * assert.deepStrictEqual(lessThanOrEqualTo(2n, 3n), true)
398
+ * assert.deepStrictEqual(lessThanOrEqualTo(3n, 3n), true)
399
+ * assert.deepStrictEqual(lessThanOrEqualTo(4n, 3n), false)
400
+ * ```
401
+ *
402
+ * @category predicates
403
+ * @since 2.0.0
404
+ */
405
+ export declare const lessThanOrEqualTo: {
406
+ /**
407
+ * Returns a function that checks if a given `bigint` is less than or equal to the provided one.
408
+ *
409
+ * @example
410
+ * ```ts
411
+ * import * as assert from "node:assert"
412
+ * import { lessThanOrEqualTo } from "effect/BigInt"
413
+ *
414
+ * assert.deepStrictEqual(lessThanOrEqualTo(2n, 3n), true)
415
+ * assert.deepStrictEqual(lessThanOrEqualTo(3n, 3n), true)
416
+ * assert.deepStrictEqual(lessThanOrEqualTo(4n, 3n), false)
417
+ * ```
418
+ *
419
+ * @category predicates
420
+ * @since 2.0.0
421
+ */
422
+ (that: bigint): (self: bigint) => boolean;
423
+ /**
424
+ * Returns a function that checks if a given `bigint` is less than or equal to the provided one.
425
+ *
426
+ * @example
427
+ * ```ts
428
+ * import * as assert from "node:assert"
429
+ * import { lessThanOrEqualTo } from "effect/BigInt"
430
+ *
431
+ * assert.deepStrictEqual(lessThanOrEqualTo(2n, 3n), true)
432
+ * assert.deepStrictEqual(lessThanOrEqualTo(3n, 3n), true)
433
+ * assert.deepStrictEqual(lessThanOrEqualTo(4n, 3n), false)
434
+ * ```
435
+ *
436
+ * @category predicates
437
+ * @since 2.0.0
438
+ */
439
+ (self: bigint, that: bigint): boolean;
440
+ };
441
+ /**
442
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
443
+ *
444
+ * @example
445
+ * ```ts
446
+ * import * as assert from "node:assert"
447
+ * import { greaterThan } from "effect/BigInt"
448
+ *
449
+ * assert.deepStrictEqual(greaterThan(2n, 3n), false)
450
+ * assert.deepStrictEqual(greaterThan(3n, 3n), false)
451
+ * assert.deepStrictEqual(greaterThan(4n, 3n), true)
452
+ * ```
453
+ *
454
+ * @category predicates
455
+ * @since 2.0.0
456
+ */
457
+ export declare const greaterThan: {
458
+ /**
459
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
460
+ *
461
+ * @example
462
+ * ```ts
463
+ * import * as assert from "node:assert"
464
+ * import { greaterThan } from "effect/BigInt"
465
+ *
466
+ * assert.deepStrictEqual(greaterThan(2n, 3n), false)
467
+ * assert.deepStrictEqual(greaterThan(3n, 3n), false)
468
+ * assert.deepStrictEqual(greaterThan(4n, 3n), true)
469
+ * ```
470
+ *
471
+ * @category predicates
472
+ * @since 2.0.0
473
+ */
474
+ (that: bigint): (self: bigint) => boolean;
475
+ /**
476
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
477
+ *
478
+ * @example
479
+ * ```ts
480
+ * import * as assert from "node:assert"
481
+ * import { greaterThan } from "effect/BigInt"
482
+ *
483
+ * assert.deepStrictEqual(greaterThan(2n, 3n), false)
484
+ * assert.deepStrictEqual(greaterThan(3n, 3n), false)
485
+ * assert.deepStrictEqual(greaterThan(4n, 3n), true)
486
+ * ```
487
+ *
488
+ * @category predicates
489
+ * @since 2.0.0
490
+ */
491
+ (self: bigint, that: bigint): boolean;
492
+ };
493
+ /**
494
+ * Returns a function that checks if a given `bigint` is greater than or equal to the provided one.
495
+ *
496
+ * @example
497
+ * ```ts
498
+ * import * as assert from "node:assert"
499
+ * import { greaterThanOrEqualTo } from "effect/BigInt"
500
+ *
501
+ * assert.deepStrictEqual(greaterThanOrEqualTo(2n, 3n), false)
502
+ * assert.deepStrictEqual(greaterThanOrEqualTo(3n, 3n), true)
503
+ * assert.deepStrictEqual(greaterThanOrEqualTo(4n, 3n), true)
504
+ * ```
505
+ *
506
+ * @category predicates
507
+ * @since 2.0.0
508
+ */
509
+ export declare const greaterThanOrEqualTo: {
510
+ /**
511
+ * Returns a function that checks if a given `bigint` is greater than or equal to the provided one.
512
+ *
513
+ * @example
514
+ * ```ts
515
+ * import * as assert from "node:assert"
516
+ * import { greaterThanOrEqualTo } from "effect/BigInt"
517
+ *
518
+ * assert.deepStrictEqual(greaterThanOrEqualTo(2n, 3n), false)
519
+ * assert.deepStrictEqual(greaterThanOrEqualTo(3n, 3n), true)
520
+ * assert.deepStrictEqual(greaterThanOrEqualTo(4n, 3n), true)
521
+ * ```
522
+ *
523
+ * @category predicates
524
+ * @since 2.0.0
525
+ */
526
+ (that: bigint): (self: bigint) => boolean;
527
+ /**
528
+ * Returns a function that checks if a given `bigint` is greater than or equal to the provided one.
529
+ *
530
+ * @example
531
+ * ```ts
532
+ * import * as assert from "node:assert"
533
+ * import { greaterThanOrEqualTo } from "effect/BigInt"
534
+ *
535
+ * assert.deepStrictEqual(greaterThanOrEqualTo(2n, 3n), false)
536
+ * assert.deepStrictEqual(greaterThanOrEqualTo(3n, 3n), true)
537
+ * assert.deepStrictEqual(greaterThanOrEqualTo(4n, 3n), true)
538
+ * ```
539
+ *
540
+ * @category predicates
541
+ * @since 2.0.0
542
+ */
543
+ (self: bigint, that: bigint): boolean;
544
+ };
545
+ /**
546
+ * Checks if a `bigint` is between a `minimum` and `maximum` value (inclusive).
547
+ *
548
+ * @example
549
+ * ```ts
550
+ * import * as assert from "node:assert"
551
+ * import { BigInt } from "effect"
552
+ *
553
+ * const between = BigInt.between({ minimum: 0n, maximum: 5n })
554
+ *
555
+ * assert.deepStrictEqual(between(3n), true)
556
+ * assert.deepStrictEqual(between(-1n), false)
557
+ * assert.deepStrictEqual(between(6n), false)
558
+ * ```
559
+ *
560
+ * @category predicates
561
+ * @since 2.0.0
562
+ */
563
+ export declare const between: {
564
+ /**
565
+ * Checks if a `bigint` is between a `minimum` and `maximum` value (inclusive).
566
+ *
567
+ * @example
568
+ * ```ts
569
+ * import * as assert from "node:assert"
570
+ * import { BigInt } from "effect"
571
+ *
572
+ * const between = BigInt.between({ minimum: 0n, maximum: 5n })
573
+ *
574
+ * assert.deepStrictEqual(between(3n), true)
575
+ * assert.deepStrictEqual(between(-1n), false)
576
+ * assert.deepStrictEqual(between(6n), false)
577
+ * ```
578
+ *
579
+ * @category predicates
580
+ * @since 2.0.0
581
+ */
582
+ (options: {
583
+ minimum: bigint;
584
+ maximum: bigint;
585
+ }): (self: bigint) => boolean;
586
+ /**
587
+ * Checks if a `bigint` is between a `minimum` and `maximum` value (inclusive).
588
+ *
589
+ * @example
590
+ * ```ts
591
+ * import * as assert from "node:assert"
592
+ * import { BigInt } from "effect"
593
+ *
594
+ * const between = BigInt.between({ minimum: 0n, maximum: 5n })
595
+ *
596
+ * assert.deepStrictEqual(between(3n), true)
597
+ * assert.deepStrictEqual(between(-1n), false)
598
+ * assert.deepStrictEqual(between(6n), false)
599
+ * ```
600
+ *
601
+ * @category predicates
602
+ * @since 2.0.0
603
+ */
604
+ (self: bigint, options: {
605
+ minimum: bigint;
606
+ maximum: bigint;
607
+ }): boolean;
608
+ };
609
+ /**
610
+ * Restricts the given `bigint` to be within the range specified by the `minimum` and `maximum` values.
611
+ *
612
+ * - If the `bigint` is less than the `minimum` value, the function returns the `minimum` value.
613
+ * - If the `bigint` is greater than the `maximum` value, the function returns the `maximum` value.
614
+ * - Otherwise, it returns the original `bigint`.
615
+ *
616
+ * @example
617
+ * ```ts
618
+ * import * as assert from "node:assert"
619
+ * import { BigInt } from "effect"
620
+ *
621
+ * const clamp = BigInt.clamp({ minimum: 1n, maximum: 5n })
622
+ *
623
+ * assert.equal(clamp(3n), 3n)
624
+ * assert.equal(clamp(0n), 1n)
625
+ * assert.equal(clamp(6n), 5n)
626
+ * ```
627
+ *
628
+ * @since 2.0.0
629
+ */
630
+ export declare const clamp: {
631
+ /**
632
+ * Restricts the given `bigint` to be within the range specified by the `minimum` and `maximum` values.
633
+ *
634
+ * - If the `bigint` is less than the `minimum` value, the function returns the `minimum` value.
635
+ * - If the `bigint` is greater than the `maximum` value, the function returns the `maximum` value.
636
+ * - Otherwise, it returns the original `bigint`.
637
+ *
638
+ * @example
639
+ * ```ts
640
+ * import * as assert from "node:assert"
641
+ * import { BigInt } from "effect"
642
+ *
643
+ * const clamp = BigInt.clamp({ minimum: 1n, maximum: 5n })
644
+ *
645
+ * assert.equal(clamp(3n), 3n)
646
+ * assert.equal(clamp(0n), 1n)
647
+ * assert.equal(clamp(6n), 5n)
648
+ * ```
649
+ *
650
+ * @since 2.0.0
651
+ */
652
+ (options: {
653
+ minimum: bigint;
654
+ maximum: bigint;
655
+ }): (self: bigint) => bigint;
656
+ /**
657
+ * Restricts the given `bigint` to be within the range specified by the `minimum` and `maximum` values.
658
+ *
659
+ * - If the `bigint` is less than the `minimum` value, the function returns the `minimum` value.
660
+ * - If the `bigint` is greater than the `maximum` value, the function returns the `maximum` value.
661
+ * - Otherwise, it returns the original `bigint`.
662
+ *
663
+ * @example
664
+ * ```ts
665
+ * import * as assert from "node:assert"
666
+ * import { BigInt } from "effect"
667
+ *
668
+ * const clamp = BigInt.clamp({ minimum: 1n, maximum: 5n })
669
+ *
670
+ * assert.equal(clamp(3n), 3n)
671
+ * assert.equal(clamp(0n), 1n)
672
+ * assert.equal(clamp(6n), 5n)
673
+ * ```
674
+ *
675
+ * @since 2.0.0
676
+ */
677
+ (self: bigint, options: {
678
+ minimum: bigint;
679
+ maximum: bigint;
680
+ }): bigint;
681
+ };
682
+ /**
683
+ * Returns the minimum between two `bigint`s.
684
+ *
685
+ * @example
686
+ * ```ts
687
+ * import * as assert from "node:assert"
688
+ * import { min } from "effect/BigInt"
689
+ *
690
+ * assert.deepStrictEqual(min(2n, 3n), 2n)
691
+ * ```
692
+ *
693
+ * @since 2.0.0
694
+ */
695
+ export declare const min: {
696
+ /**
697
+ * Returns the minimum between two `bigint`s.
698
+ *
699
+ * @example
700
+ * ```ts
701
+ * import * as assert from "node:assert"
702
+ * import { min } from "effect/BigInt"
703
+ *
704
+ * assert.deepStrictEqual(min(2n, 3n), 2n)
705
+ * ```
706
+ *
707
+ * @since 2.0.0
708
+ */
709
+ (that: bigint): (self: bigint) => bigint;
710
+ /**
711
+ * Returns the minimum between two `bigint`s.
712
+ *
713
+ * @example
714
+ * ```ts
715
+ * import * as assert from "node:assert"
716
+ * import { min } from "effect/BigInt"
717
+ *
718
+ * assert.deepStrictEqual(min(2n, 3n), 2n)
719
+ * ```
720
+ *
721
+ * @since 2.0.0
722
+ */
723
+ (self: bigint, that: bigint): bigint;
724
+ };
725
+ /**
726
+ * Returns the maximum between two `bigint`s.
727
+ *
728
+ * @example
729
+ * ```ts
730
+ * import * as assert from "node:assert"
731
+ * import { max } from "effect/BigInt"
732
+ *
733
+ * assert.deepStrictEqual(max(2n, 3n), 3n)
734
+ * ```
735
+ *
736
+ * @since 2.0.0
737
+ */
738
+ export declare const max: {
739
+ /**
740
+ * Returns the maximum between two `bigint`s.
741
+ *
742
+ * @example
743
+ * ```ts
744
+ * import * as assert from "node:assert"
745
+ * import { max } from "effect/BigInt"
746
+ *
747
+ * assert.deepStrictEqual(max(2n, 3n), 3n)
748
+ * ```
749
+ *
750
+ * @since 2.0.0
751
+ */
752
+ (that: bigint): (self: bigint) => bigint;
753
+ /**
754
+ * Returns the maximum between two `bigint`s.
755
+ *
756
+ * @example
757
+ * ```ts
758
+ * import * as assert from "node:assert"
759
+ * import { max } from "effect/BigInt"
760
+ *
761
+ * assert.deepStrictEqual(max(2n, 3n), 3n)
762
+ * ```
763
+ *
764
+ * @since 2.0.0
765
+ */
766
+ (self: bigint, that: bigint): bigint;
767
+ };
768
+ /**
769
+ * Determines the sign of a given `bigint`.
770
+ *
771
+ * @example
772
+ * ```ts
773
+ * import * as assert from "node:assert"
774
+ * import { sign } from "effect/BigInt"
775
+ *
776
+ * assert.deepStrictEqual(sign(-5n), -1)
777
+ * assert.deepStrictEqual(sign(0n), 0)
778
+ * assert.deepStrictEqual(sign(5n), 1)
779
+ * ```
780
+ *
781
+ * @category math
782
+ * @since 2.0.0
783
+ */
784
+ export declare const sign: (n: bigint) => Ordering;
785
+ /**
786
+ * Determines the absolute value of a given `bigint`.
787
+ *
788
+ * @example
789
+ * ```ts
790
+ * import * as assert from "node:assert"
791
+ * import { abs } from "effect/BigInt"
792
+ *
793
+ * assert.deepStrictEqual(abs(-5n), 5n)
794
+ * assert.deepStrictEqual(abs(0n), 0n)
795
+ * assert.deepStrictEqual(abs(5n), 5n)
796
+ * ```
797
+ *
798
+ * @category math
799
+ * @since 2.0.0
800
+ */
801
+ export declare const abs: (n: bigint) => bigint;
802
+ /**
803
+ * Determines the greatest common divisor of two `bigint`s.
804
+ *
805
+ * @example
806
+ * ```ts
807
+ * import * as assert from "node:assert"
808
+ * import { gcd } from "effect/BigInt"
809
+ *
810
+ * assert.deepStrictEqual(gcd(2n, 3n), 1n)
811
+ * assert.deepStrictEqual(gcd(2n, 4n), 2n)
812
+ * assert.deepStrictEqual(gcd(16n, 24n), 8n)
813
+ * ```
814
+ *
815
+ * @category math
816
+ * @since 2.0.0
817
+ */
818
+ export declare const gcd: {
819
+ /**
820
+ * Determines the greatest common divisor of two `bigint`s.
821
+ *
822
+ * @example
823
+ * ```ts
824
+ * import * as assert from "node:assert"
825
+ * import { gcd } from "effect/BigInt"
826
+ *
827
+ * assert.deepStrictEqual(gcd(2n, 3n), 1n)
828
+ * assert.deepStrictEqual(gcd(2n, 4n), 2n)
829
+ * assert.deepStrictEqual(gcd(16n, 24n), 8n)
830
+ * ```
831
+ *
832
+ * @category math
833
+ * @since 2.0.0
834
+ */
835
+ (that: bigint): (self: bigint) => bigint;
836
+ /**
837
+ * Determines the greatest common divisor of two `bigint`s.
838
+ *
839
+ * @example
840
+ * ```ts
841
+ * import * as assert from "node:assert"
842
+ * import { gcd } from "effect/BigInt"
843
+ *
844
+ * assert.deepStrictEqual(gcd(2n, 3n), 1n)
845
+ * assert.deepStrictEqual(gcd(2n, 4n), 2n)
846
+ * assert.deepStrictEqual(gcd(16n, 24n), 8n)
847
+ * ```
848
+ *
849
+ * @category math
850
+ * @since 2.0.0
851
+ */
852
+ (self: bigint, that: bigint): bigint;
853
+ };
854
+ /**
855
+ * Determines the least common multiple of two `bigint`s.
856
+ *
857
+ * @example
858
+ * ```ts
859
+ * import * as assert from "node:assert"
860
+ * import { lcm } from "effect/BigInt"
861
+ *
862
+ * assert.deepStrictEqual(lcm(2n, 3n), 6n)
863
+ * assert.deepStrictEqual(lcm(2n, 4n), 4n)
864
+ * assert.deepStrictEqual(lcm(16n, 24n), 48n)
865
+ * ```
866
+ *
867
+ * @category math
868
+ * @since 2.0.0
869
+ */
870
+ export declare const lcm: {
871
+ /**
872
+ * Determines the least common multiple of two `bigint`s.
873
+ *
874
+ * @example
875
+ * ```ts
876
+ * import * as assert from "node:assert"
877
+ * import { lcm } from "effect/BigInt"
878
+ *
879
+ * assert.deepStrictEqual(lcm(2n, 3n), 6n)
880
+ * assert.deepStrictEqual(lcm(2n, 4n), 4n)
881
+ * assert.deepStrictEqual(lcm(16n, 24n), 48n)
882
+ * ```
883
+ *
884
+ * @category math
885
+ * @since 2.0.0
886
+ */
887
+ (that: bigint): (self: bigint) => bigint;
888
+ /**
889
+ * Determines the least common multiple of two `bigint`s.
890
+ *
891
+ * @example
892
+ * ```ts
893
+ * import * as assert from "node:assert"
894
+ * import { lcm } from "effect/BigInt"
895
+ *
896
+ * assert.deepStrictEqual(lcm(2n, 3n), 6n)
897
+ * assert.deepStrictEqual(lcm(2n, 4n), 4n)
898
+ * assert.deepStrictEqual(lcm(16n, 24n), 48n)
899
+ * ```
900
+ *
901
+ * @category math
902
+ * @since 2.0.0
903
+ */
904
+ (self: bigint, that: bigint): bigint;
905
+ };
906
+ /**
907
+ * Determines the square root of a given `bigint` unsafely. Throws if the given `bigint` is negative.
908
+ *
909
+ * @example
910
+ * ```ts
911
+ * import * as assert from "node:assert"
912
+ * import { unsafeSqrt } from "effect/BigInt"
913
+ *
914
+ * assert.deepStrictEqual(unsafeSqrt(4n), 2n)
915
+ * assert.deepStrictEqual(unsafeSqrt(9n), 3n)
916
+ * assert.deepStrictEqual(unsafeSqrt(16n), 4n)
917
+ * ```
918
+ *
919
+ * @category math
920
+ * @since 2.0.0
921
+ */
922
+ export declare const unsafeSqrt: (n: bigint) => bigint;
923
+ /**
924
+ * Determines the square root of a given `bigint` safely. Returns `none` if the given `bigint` is negative.
925
+ *
926
+ * @example
927
+ * ```ts
928
+ * import * as assert from "node:assert"
929
+ * import { BigInt, Option } from "effect"
930
+ *
931
+ * assert.deepStrictEqual(BigInt.sqrt(4n), Option.some(2n))
932
+ * assert.deepStrictEqual(BigInt.sqrt(9n), Option.some(3n))
933
+ * assert.deepStrictEqual(BigInt.sqrt(16n), Option.some(4n))
934
+ * assert.deepStrictEqual(BigInt.sqrt(-1n), Option.none())
935
+ * ```
936
+ *
937
+ * @category math
938
+ * @since 2.0.0
939
+ */
940
+ export declare const sqrt: (n: bigint) => Option.Option<bigint>;
941
+ /**
942
+ * Takes an `Iterable` of `bigint`s and returns their sum as a single `bigint
943
+ *
944
+ * @example
945
+ * ```ts
946
+ * import * as assert from "node:assert"
947
+ * import { sumAll } from "effect/BigInt"
948
+ *
949
+ * assert.deepStrictEqual(sumAll([2n, 3n, 4n]), 9n)
950
+ * ```
951
+ *
952
+ * @category math
953
+ * @since 2.0.0
954
+ */
955
+ export declare const sumAll: (collection: Iterable<bigint>) => bigint;
956
+ /**
957
+ * Takes an `Iterable` of `bigint`s and returns their multiplication as a single `number`.
958
+ *
959
+ * @example
960
+ * ```ts
961
+ * import * as assert from "node:assert"
962
+ * import { multiplyAll } from "effect/BigInt"
963
+ *
964
+ * assert.deepStrictEqual(multiplyAll([2n, 3n, 4n]), 24n)
965
+ * ```
966
+ *
967
+ * @category math
968
+ * @since 2.0.0
969
+ */
970
+ export declare const multiplyAll: (collection: Iterable<bigint>) => bigint;
971
+ /**
972
+ * Takes a `bigint` and returns an `Option` of `number`.
973
+ *
974
+ * If the `bigint` is outside the safe integer range for JavaScript (`Number.MAX_SAFE_INTEGER`
975
+ * and `Number.MIN_SAFE_INTEGER`), it returns `Option.none()`. Otherwise, it converts the `bigint`
976
+ * to a number and returns `Option.some(number)`.
977
+ *
978
+ * @example
979
+ * ```ts
980
+ * import * as assert from "node:assert"
981
+ * import { BigInt as BI, Option } from "effect"
982
+ *
983
+ * assert.deepStrictEqual(BI.toNumber(BigInt(42)), Option.some(42))
984
+ * assert.deepStrictEqual(BI.toNumber(BigInt(Number.MAX_SAFE_INTEGER) + BigInt(1)), Option.none())
985
+ * assert.deepStrictEqual(BI.toNumber(BigInt(Number.MIN_SAFE_INTEGER) - BigInt(1)), Option.none())
986
+ * ```
987
+ *
988
+ * @category conversions
989
+ * @since 2.0.0
990
+ */
991
+ export declare const toNumber: (b: bigint) => Option.Option<number>;
992
+ /**
993
+ * Takes a string and returns an `Option` of `bigint`.
994
+ *
995
+ * If the string is empty or contains characters that cannot be converted into a `bigint`,
996
+ * it returns `Option.none()`, otherwise, it returns `Option.some(bigint)`.
997
+ *
998
+ * @example
999
+ * ```ts
1000
+ * import * as assert from "node:assert"
1001
+ * import { BigInt as BI, Option } from "effect"
1002
+ *
1003
+ * assert.deepStrictEqual(BI.fromString("42"), Option.some(BigInt(42)))
1004
+ * assert.deepStrictEqual(BI.fromString(" "), Option.none())
1005
+ * assert.deepStrictEqual(BI.fromString("a"), Option.none())
1006
+ * ```
1007
+ *
1008
+ * @category conversions
1009
+ * @since 2.4.12
1010
+ */
1011
+ export declare const fromString: (s: string) => Option.Option<bigint>;
1012
+ /**
1013
+ * Takes a number and returns an `Option` of `bigint`.
1014
+ *
1015
+ * If the number is outside the safe integer range for JavaScript (`Number.MAX_SAFE_INTEGER`
1016
+ * and `Number.MIN_SAFE_INTEGER`), it returns `Option.none()`. Otherwise, it attempts to
1017
+ * convert the number to a `bigint` and returns `Option.some(bigint)`.
1018
+ *
1019
+ * @example
1020
+ * ```ts
1021
+ * import * as assert from "node:assert"
1022
+ * import { BigInt as BI, Option } from "effect"
1023
+ *
1024
+ * assert.deepStrictEqual(BI.fromNumber(42), Option.some(BigInt(42)))
1025
+ * assert.deepStrictEqual(BI.fromNumber(Number.MAX_SAFE_INTEGER + 1), Option.none())
1026
+ * assert.deepStrictEqual(BI.fromNumber(Number.MIN_SAFE_INTEGER - 1), Option.none())
1027
+ * ```
1028
+ *
1029
+ * @category conversions
1030
+ * @since 2.4.12
1031
+ */
1032
+ export declare const fromNumber: (n: number) => Option.Option<bigint>;
1033
+ //# sourceMappingURL=BigInt.d.ts.map
backend/node_modules/effect/dist/dts/BigInt.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"BigInt.d.ts","sourceRoot":"","sources":["../../src/BigInt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAE/C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAO7C;;;;;;;;;;;;;;GAcG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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ * @category symbols
4
+ */
5
+ export declare const ChildExecutorDecisionTypeId: unique symbol;
6
+ /**
7
+ * @since 2.0.0
8
+ * @category symbols
9
+ */
10
+ export type ChildExecutorDecisionTypeId = typeof ChildExecutorDecisionTypeId;
11
+ /**
12
+ * @since 2.0.0
13
+ * @category models
14
+ */
15
+ export type ChildExecutorDecision = Continue | Close | Yield;
16
+ /**
17
+ * @since 2.0.0
18
+ */
19
+ export declare namespace ChildExecutorDecision {
20
+ /**
21
+ * @since 2.0.0
22
+ * @category models
23
+ */
24
+ interface Proto {
25
+ readonly [ChildExecutorDecisionTypeId]: ChildExecutorDecisionTypeId;
26
+ }
27
+ }
28
+ /**
29
+ * Continue executing the current substream
30
+ *
31
+ * @since 2.0.0
32
+ * @category models
33
+ */
34
+ export interface Continue extends ChildExecutorDecision.Proto {
35
+ readonly _tag: "Continue";
36
+ }
37
+ /**
38
+ * Close the current substream with a given value and pass execution to the
39
+ * next substream
40
+ *
41
+ * @since 2.0.0
42
+ * @category models
43
+ */
44
+ export interface Close extends ChildExecutorDecision.Proto {
45
+ readonly _tag: "Close";
46
+ readonly value: unknown;
47
+ }
48
+ /**
49
+ * Pass execution to the next substream. This either pulls a new element
50
+ * from upstream, or yields to an already created active substream.
51
+ *
52
+ * @since 2.0.0
53
+ * @category models
54
+ */
55
+ export interface Yield extends ChildExecutorDecision.Proto {
56
+ readonly _tag: "Yield";
57
+ }
58
+ /**
59
+ * @since 2.0.0
60
+ * @category constructors
61
+ */
62
+ export declare const Continue: (_: void) => ChildExecutorDecision;
63
+ /**
64
+ * @since 2.0.0
65
+ * @category constructors
66
+ */
67
+ export declare const Close: (value: unknown) => ChildExecutorDecision;
68
+ /**
69
+ * @since 2.0.0
70
+ * @category constructors
71
+ */
72
+ export declare const Yield: (_: void) => ChildExecutorDecision;
73
+ /**
74
+ * Returns `true` if the specified value is a `ChildExecutorDecision`, `false`
75
+ * otherwise.
76
+ *
77
+ * @since 2.0.0
78
+ * @category refinements
79
+ */
80
+ export declare const isChildExecutorDecision: (u: unknown) => u is ChildExecutorDecision;
81
+ /**
82
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Continue`,
83
+ * `false` otherwise.
84
+ *
85
+ * @since 2.0.0
86
+ * @category refinements
87
+ */
88
+ export declare const isContinue: (self: ChildExecutorDecision) => self is Continue;
89
+ /**
90
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Close`, `false`
91
+ * otherwise.
92
+ *
93
+ * @since 2.0.0
94
+ * @category refinements
95
+ */
96
+ export declare const isClose: (self: ChildExecutorDecision) => self is Close;
97
+ /**
98
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Yield`, `false`
99
+ * otherwise.
100
+ *
101
+ * @since 2.0.0
102
+ * @category refinements
103
+ */
104
+ export declare const isYield: (self: ChildExecutorDecision) => self is Yield;
105
+ /**
106
+ * Folds over a `ChildExecutorDecision` to produce a value of type `A`.
107
+ *
108
+ * @since 2.0.0
109
+ * @category folding
110
+ */
111
+ export declare const match: {
112
+ /**
113
+ * Folds over a `ChildExecutorDecision` to produce a value of type `A`.
114
+ *
115
+ * @since 2.0.0
116
+ * @category folding
117
+ */
118
+ <A>(options: {
119
+ readonly onContinue: () => A;
120
+ readonly onClose: (value: unknown) => A;
121
+ readonly onYield: () => A;
122
+ }): (self: ChildExecutorDecision) => A;
123
+ /**
124
+ * Folds over a `ChildExecutorDecision` to produce a value of type `A`.
125
+ *
126
+ * @since 2.0.0
127
+ * @category folding
128
+ */
129
+ <A>(self: ChildExecutorDecision, options: {
130
+ readonly onContinue: () => A;
131
+ readonly onClose: (value: unknown) => A;
132
+ readonly onYield: () => A;
133
+ }): A;
134
+ };
135
+ //# sourceMappingURL=ChildExecutorDecision.d.ts.map
backend/node_modules/effect/dist/dts/ConfigProviderPathP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AC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,eAAwC,CAAA;AAE3G;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,CAAC,IAAI,eAA0C,CAAA"}
backend/node_modules/effect/dist/dts/ExecutionStrategy.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ExecutionStrategy.d.ts","sourceRoot":"","sources":["../../src/ExecutionStrategy.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAG5C;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;CAC5B;AAED;;;;;GAKG;AACH,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC7B;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,iBAAuC,CAAA;AAEhE;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAAqC,CAAA;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,iBAAsC,CAAA;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI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C,IAAI,EAAE,cAAc,KAAK,cAAc,CAAA;IAChE;;;;;;;OAOG;IACH,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,GAAG,cAAc,CAAA;CAC1C,CAAA;AAEpB;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,EAAE;IAClB;;;;;;OAMG;IACH,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,SAAS,GAAG,CAAC,IAAI,EAAE,cAAc,KAAK,SAAS,CAAC,SAAS,CAAA;IACxG;;;;;;OAMG;IACH,CACC,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,CAAC,OAAO,EACxB,QAAQ,EAAE,SAAS,CAAC,SAAS,GAC3B,SAAS,CAAC,SAAS,CAAA;CACN,CAAA"}
backend/node_modules/effect/dist/dts/GlobalValue.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"GlobalValue.d.ts","sourceRoot":"","sources":["../../src/GlobalValue.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,IAAI,OAAO,EAAE,SAAS,MAAM,CAAC,KAAG,CAW9D,CAAA"}
backend/node_modules/effect/dist/dts/Graph.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../src/Graph.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAI7C;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,eAA0C,C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SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,SAAS,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,SAAS,CAAC,IAAI,CAAC,CAAA;IACnJ;;;;;OAKG;IACH,CAAC,IAAI,SAAS,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,CAAA;CACpH,CAAA"}
backend/node_modules/effect/dist/dts/ModuleVersion.d.ts ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ * @category version
4
+ */
5
+ export declare const getCurrentVersion: () => string;
6
+ /**
7
+ * @since 2.0.0
8
+ * @category version
9
+ */
10
+ export declare const setCurrentVersion: (version: string) => void;
11
+ //# sourceMappingURL=ModuleVersion.d.ts.map
backend/node_modules/effect/dist/dts/MutableHashSet.d.ts ADDED
@@ -0,0 +1,547 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { type Inspectable } from "./Inspectable.js";
2
+ import type { Pipeable } from "./Pipeable.js";
3
+ declare const TypeId: unique symbol;
4
+ /**
5
+ * @since 2.0.0
6
+ * @category symbol
7
+ */
8
+ export type TypeId = typeof TypeId;
9
+ /**
10
+ * @since 2.0.0
11
+ * @category models
12
+ */
13
+ export interface MutableHashSet<out V> extends Iterable<V>, Pipeable, Inspectable {
14
+ readonly [TypeId]: TypeId;
15
+ }
16
+ /**
17
+ * Creates an empty mutable hash set.
18
+ *
19
+ * This function initializes and returns an empty `MutableHashSet` instance,
20
+ * which allows for efficient storage and manipulation of unique elements.
21
+ *
22
+ * Time complexity: **`O(1)`**
23
+ *
24
+ * @memberof MutableHashSet
25
+ * @since 2.0.0
26
+ * @category constructors
27
+ * @example
28
+ *
29
+ * ```ts
30
+ * import { MutableHashSet } from "effect"
31
+ *
32
+ * type T = unknown // replace with your type
33
+ *
34
+ * // in places where the type can't be inferred, replace with your type
35
+ * const set: MutableHashSet.MutableHashSet<T> = MutableHashSet.empty<T>()
36
+ * ```
37
+ *
38
+ * @template K - The type of the elements to be stored in the hash set. Defaults
39
+ * to `never` if not specified.
40
+ * @returns A new mutable instance of `MutableHashSet` containing no elements
41
+ * for the specified type `K`.
42
+ * @see Other `MutableHashSet` constructors are {@link module:MutableHashSet.make} {@link module:MutableHashSet.fromIterable}
43
+ */
44
+ export declare const empty: <K = never>() => MutableHashSet<K>;
45
+ /**
46
+ * Creates a new `MutableHashSet` from an iterable collection of values.
47
+ * Duplicate values are omitted.
48
+ *
49
+ * Time complexity: **`O(n)`** where n is the number of elements in the iterable
50
+ *
51
+ * Creating a `MutableHashSet` from an {@link Array}
52
+ *
53
+ * ```ts
54
+ * import { MutableHashSet } from "effect"
55
+ *
56
+ * const array: Iterable<number> = [1, 2, 3, 4, 5, 1, 2, 3] // Array<T> is also Iterable<T>
57
+ * const mutableHashSet: MutableHashSet.MutableHashSet<number> =
58
+ * MutableHashSet.fromIterable(array)
59
+ *
60
+ * console.log(
61
+ * // MutableHashSet.MutableHashSet<T> is also an Iterable<T>
62
+ * Array.from(mutableHashSet)
63
+ * ) // Output: [1, 2, 3, 4, 5]
64
+ * ```
65
+ *
66
+ * Creating a `MutableHashSet` from a {@link Set}
67
+ *
68
+ * ```ts
69
+ * import { MutableHashSet, pipe } from "effect"
70
+ *
71
+ * console.log(
72
+ * pipe(
73
+ * // Set<string> is an Iterable<string>
74
+ * new Set(["apple", "banana", "orange", "apple"]),
75
+ * // constructs MutableHashSet from an Iterable Set
76
+ * MutableHashSet.fromIterable,
77
+ * // since MutableHashSet it is itself an Iterable, we can pass it to other functions expecting an Iterable
78
+ * Array.from
79
+ * )
80
+ * ) // Output: ["apple", "banana", "orange"]
81
+ * ```
82
+ *
83
+ * Creating a `MutableHashSet` from a {@link Generator}
84
+ *
85
+ * ```ts
86
+ * import { MutableHashSet } from "effect"
87
+ *
88
+ * // Generator functions return iterables
89
+ * function* fibonacci(n: number): Generator<number, void, never> {
90
+ * let [a, b] = [0, 1]
91
+ * for (let i = 0; i < n; i++) {
92
+ * yield a
93
+ * ;[a, b] = [b, a + b]
94
+ * }
95
+ * }
96
+ *
97
+ * // Create a MutableHashSet from the first 10 Fibonacci numbers
98
+ * const fibonacciSet = MutableHashSet.fromIterable(fibonacci(10))
99
+ *
100
+ * console.log(Array.from(fibonacciSet))
101
+ * // Outputs: [0, 1, 2, 3, 5, 8, 13, 21, 34] but in unsorted order
102
+ * ```
103
+ *
104
+ * Creating a `MutableHashSet` from another {@link module:MutableHashSet}
105
+ *
106
+ * ```ts
107
+ * import { MutableHashSet, pipe } from "effect"
108
+ *
109
+ * console.log(
110
+ * pipe(
111
+ * MutableHashSet.make(1, 2, 3, 4),
112
+ * MutableHashSet.fromIterable,
113
+ * Array.from
114
+ * )
115
+ * ) // Output: [1, 2, 3, 4]
116
+ * ```
117
+ *
118
+ * Creating a `MutableHashSet` from an {@link module:HashSet}
119
+ *
120
+ * ```ts
121
+ * import { HashSet, MutableHashSet, pipe } from "effect"
122
+ *
123
+ * console.log(
124
+ * pipe(
125
+ * HashSet.make(1, 2, 3, 4), // it works also with its immutable HashSet sibling
126
+ * MutableHashSet.fromIterable,
127
+ * Array.from
128
+ * )
129
+ * ) // Output: [1, 2, 3, 4]
130
+ * ```
131
+ *
132
+ * Creating a `MutableHashSet` from other Effect's data structures like
133
+ * {@link Chunk}
134
+ *
135
+ * ```ts
136
+ * import { Chunk, MutableHashSet, pipe } from "effect"
137
+ *
138
+ * console.log(
139
+ * pipe(
140
+ * Chunk.make(1, 2, 3, 4), // Chunk is also an Iterable<T>
141
+ * MutableHashSet.fromIterable,
142
+ * Array.from
143
+ * )
144
+ * ) // Outputs: [1, 2, 3, 4]
145
+ * ```
146
+ *
147
+ * @memberof MutableHashSet
148
+ * @since 2.0.0
149
+ * @category constructors
150
+ * @template K - The type of elements to be stored in the resulting
151
+ * `MutableHashSet`.
152
+ * @param keys - An `Iterable` collection containing the keys to be added to the
153
+ * `MutableHashSet`.
154
+ * @returns A new `MutableHashSet` containing just the unique elements from the
155
+ * provided iterable.
156
+ * @see Other `MutableHashSet` constructors are {@link module:MutableHashSet.empty} {@link module:MutableHashSet.make}
157
+ */
158
+ export declare const fromIterable: <K = never>(keys: Iterable<K>) => MutableHashSet<K>;
159
+ /**
160
+ * Construct a new `MutableHashSet` from a variable number of values.
161
+ *
162
+ * Time complexity: **`O(n)`** where n is the number of elements
163
+ *
164
+ * @memberof MutableHashSet
165
+ * @since 2.0.0
166
+ * @category constructors
167
+ * @example
168
+ *
169
+ * ```ts
170
+ * import { Equal, Hash, MutableHashSet } from "effect"
171
+ * import assert from "node:assert/strict"
172
+ *
173
+ * class Character implements Equal.Equal {
174
+ * readonly name: string
175
+ * readonly trait: string
176
+ *
177
+ * constructor(name: string, trait: string) {
178
+ * this.name = name
179
+ * this.trait = trait
180
+ * }
181
+ *
182
+ * // Define equality based on name, and trait
183
+ * [Equal.symbol](that: Equal.Equal): boolean {
184
+ * if (that instanceof Character) {
185
+ * return (
186
+ * Equal.equals(this.name, that.name) &&
187
+ * Equal.equals(this.trait, that.trait)
188
+ * )
189
+ * }
190
+ * return false
191
+ * }
192
+ *
193
+ * // Generate a hash code based on the sum of the character's name and trait
194
+ * [Hash.symbol](): number {
195
+ * return Hash.hash(this.name + this.trait)
196
+ * }
197
+ *
198
+ * static readonly of = (name: string, trait: string): Character => {
199
+ * return new Character(name, trait)
200
+ * }
201
+ * }
202
+ *
203
+ * const mutableCharacterHashSet = MutableHashSet.make(
204
+ * Character.of("Alice", "Curious"),
205
+ * Character.of("Alice", "Curious"),
206
+ * Character.of("White Rabbit", "Always late"),
207
+ * Character.of("Mad Hatter", "Tea enthusiast")
208
+ * )
209
+ *
210
+ * assert.equal(
211
+ * MutableHashSet.has(
212
+ * mutableCharacterHashSet,
213
+ * Character.of("Alice", "Curious")
214
+ * ),
215
+ * true
216
+ * )
217
+ * assert.equal(
218
+ * MutableHashSet.has(
219
+ * mutableCharacterHashSet,
220
+ * Character.of("Fluffy", "Kind")
221
+ * ),
222
+ * false
223
+ * )
224
+ * ```
225
+ *
226
+ * @see Other `MutableHashSet` constructors are {@link module:MutableHashSet.fromIterable} {@link module:MutableHashSet.empty}
227
+ */
228
+ export declare const make: <Keys extends ReadonlyArray<unknown>>(...keys: Keys) => MutableHashSet<Keys[number]>;
229
+ /**
230
+ * **Checks** whether the `MutableHashSet` contains the given element, and
231
+ * **adds** it if not.
232
+ *
233
+ * Time complexity: **`O(1)`** average
234
+ *
235
+ * **Syntax**
236
+ *
237
+ * ```ts
238
+ * import { MutableHashSet, pipe } from "effect"
239
+ *
240
+ * // with data-last, a.k.a. pipeable API
241
+ * pipe(
242
+ * MutableHashSet.empty(),
243
+ * MutableHashSet.add(0),
244
+ * MutableHashSet.add(0)
245
+ * )
246
+ *
247
+ * // or piped with the pipe function
248
+ * MutableHashSet.empty().pipe(MutableHashSet.add(0))
249
+ *
250
+ * // or with data-first API
251
+ * MutableHashSet.add(MutableHashSet.empty(), 0)
252
+ * ```
253
+ *
254
+ * @memberof MutableHashSet
255
+ * @since 2.0.0
256
+ * @category elements
257
+ * @see Other `MutableHashSet` elements are {@link module:MutableHashSet.remove} {@link module:MutableHashSet.size} {@link module:MutableHashSet.clear} {@link module:MutableHashSet.has}
258
+ */
259
+ export declare const add: {
260
+ /**
261
+ * `data-last` a.k.a. `pipeable` API
262
+ *
263
+ * ```ts
264
+ * import { MutableHashSet, pipe } from "effect"
265
+ * import assert from "node:assert/strict"
266
+ *
267
+ * const mutableHashSet = pipe(
268
+ * MutableHashSet.empty<number>(), // MutableHashSet.MutableHashSet<number>
269
+ * MutableHashSet.add(0),
270
+ * MutableHashSet.add(1),
271
+ * MutableHashSet.add(1),
272
+ * MutableHashSet.add(2)
273
+ * )
274
+ *
275
+ * assert.deepStrictEqual(
276
+ * Array.from(mutableHashSet), // remember that MutableHashSet is also an Iterable
277
+ * Array.of(0, 1, 2)
278
+ * )
279
+ * ```
280
+ *
281
+ * @template V - The type of elements stored in the `MutableHashSet`.
282
+ * @param key - The key to be added to the `MutableHashSet` if not already
283
+ * present.
284
+ * @returns A function that accepts a `MutableHashSet` and returns the
285
+ * reference of the updated `MutableHashSet` including the key.
286
+ */
287
+ <V>(key: V): (self: MutableHashSet<V>) => MutableHashSet<V>;
288
+ /**
289
+ * `data-first` API
290
+ *
291
+ * ```ts
292
+ * import { MutableHashSet } from "effect"
293
+ * import assert from "node:assert/strict"
294
+ *
295
+ * const empty = MutableHashSet.empty<number>()
296
+ * const withZero = MutableHashSet.add(empty, 0)
297
+ * const withOne = MutableHashSet.add(withZero, 1)
298
+ * const withTwo = MutableHashSet.add(withOne, 2)
299
+ * const withTwoTwo = MutableHashSet.add(withTwo, 2)
300
+ *
301
+ * assert(Object.is(withTwoTwo, empty)) // proof that it does mutate the original set
302
+ *
303
+ * assert.deepStrictEqual(
304
+ * Array.from(withTwoTwo), // remember that MutableHashSet is also an Iterable
305
+ * Array.of(0, 1, 2)
306
+ * )
307
+ * ```
308
+ *
309
+ * @template V - The type of elements stored in the `MutableHashSet`.
310
+ * @param self - The `MutableHashSet` instance from which the key should be
311
+ * added to.
312
+ * @param key - The key to be added to the `MutableHashSet` if not already
313
+ * present.
314
+ * @returns The reference of the updated `MutableHashSet` including the key.
315
+ */
316
+ <V>(self: MutableHashSet<V>, key: V): MutableHashSet<V>;
317
+ };
318
+ /**
319
+ * Checks if the specified value exists in the `MutableHashSet`.
320
+ *
321
+ * Time complexity: `O(1)` average
322
+ *
323
+ * **Syntax**
324
+ *
325
+ * ```ts
326
+ * import { MutableHashSet, pipe } from "effect"
327
+ * import assert from "node:assert/strict"
328
+ *
329
+ * assert.equal(
330
+ * // with `data-last`, a.k.a. `pipeable` API
331
+ * pipe(MutableHashSet.make(0, 1, 2), MutableHashSet.has(3)),
332
+ * false
333
+ * )
334
+ *
335
+ * assert.equal(
336
+ * // or piped with the pipe function
337
+ * MutableHashSet.make(0, 1, 2).pipe(MutableHashSet.has(3)),
338
+ * false
339
+ * )
340
+ *
341
+ * assert.equal(
342
+ * // or with `data-first` API
343
+ * MutableHashSet.has(MutableHashSet.make(0, 1, 2), 3),
344
+ * false
345
+ * )
346
+ * ```
347
+ *
348
+ * @memberof MutableHashSet
349
+ * @since 2.0.0
350
+ * @category elements
351
+ * @see Other `MutableHashSet` elements are {@link module:MutableHashSet.add} {@link module:MutableHashSet.remove} {@link module:MutableHashSet.size} {@link module:MutableHashSet.clear}
352
+ */
353
+ export declare const has: {
354
+ /**
355
+ * `data-last` a.k.a. `pipeable` API
356
+ *
357
+ * ```ts
358
+ * import * as assert from "node:assert/strict"
359
+ * import { MutableHashSet, pipe } from "effect"
360
+ *
361
+ * const set = MutableHashSet.make(0, 1, 2)
362
+ *
363
+ * assert.equal(pipe(set, MutableHashSet.has(0)), true)
364
+ * assert.equal(pipe(set, MutableHashSet.has(1)), true)
365
+ * assert.equal(pipe(set, MutableHashSet.has(2)), true)
366
+ * assert.equal(pipe(set, MutableHashSet.has(3)), false)
367
+ * ```
368
+ */
369
+ <V>(key: V): (self: MutableHashSet<V>) => boolean;
370
+ /**
371
+ * `data-first` API
372
+ *
373
+ * ```ts
374
+ * import * as assert from "node:assert/strict"
375
+ * import { MutableHashSet, pipe } from "effect"
376
+ *
377
+ * const set = MutableHashSet.make(0, 1, 2)
378
+ *
379
+ * assert.equal(MutableHashSet.has(set, 0), true)
380
+ * assert.equal(MutableHashSet.has(set, 1), true)
381
+ * assert.equal(MutableHashSet.has(set, 2), true)
382
+ * assert.equal(MutableHashSet.has(set, 3), false)
383
+ * ```
384
+ */
385
+ <V>(self: MutableHashSet<V>, key: V): boolean;
386
+ };
387
+ /**
388
+ * Removes a value from the `MutableHashSet`.
389
+ *
390
+ * Time complexity: **`O(1)`** average
391
+ *
392
+ * **Syntax**
393
+ *
394
+ * ```ts
395
+ * import { MutableHashSet, pipe } from "effect"
396
+ * import assert from "node:assert/strict"
397
+ *
398
+ * assert.equal(
399
+ * // with `data-last`, a.k.a. `pipeable` API
400
+ * pipe(
401
+ * MutableHashSet.make(0, 1, 2),
402
+ * MutableHashSet.remove(0),
403
+ * MutableHashSet.has(0)
404
+ * ),
405
+ * false
406
+ * )
407
+ *
408
+ * assert.equal(
409
+ * // or piped with the pipe function
410
+ * MutableHashSet.make(0, 1, 2).pipe(
411
+ * MutableHashSet.remove(0),
412
+ * MutableHashSet.has(0)
413
+ * ),
414
+ * false
415
+ * )
416
+ *
417
+ * assert.equal(
418
+ * // or with `data-first` API
419
+ * MutableHashSet.remove(MutableHashSet.make(0, 1, 2), 0).pipe(
420
+ * MutableHashSet.has(0)
421
+ * ),
422
+ * false
423
+ * )
424
+ * ```
425
+ *
426
+ * @memberof MutableHashSet
427
+ * @since 2.0.0
428
+ * @category elements
429
+ * @see Other `MutableHashSet` elements are {@link module:MutableHashSet.add} {@link module:MutableHashSet.has} {@link module:MutableHashSet.size} {@link module:MutableHashSet.clear}
430
+ */
431
+ export declare const remove: {
432
+ /**
433
+ * `data-last` a.k.a. `pipeable` API
434
+ *
435
+ * ```ts
436
+ * import { MutableHashSet, pipe } from "effect"
437
+ * import assert from "node:assert/strict"
438
+ *
439
+ * const set: MutableHashSet.MutableHashSet<number> = MutableHashSet.make(
440
+ * 0,
441
+ * 1,
442
+ * 2
443
+ * )
444
+ * const result: MutableHashSet.MutableHashSet<number> = pipe(
445
+ * set,
446
+ * MutableHashSet.remove(0)
447
+ * )
448
+ *
449
+ * assert(Object.is(set, result)) // set and result have the same identity
450
+ * assert.equal(pipe(result, MutableHashSet.has(0)), false) // it has correctly removed 0
451
+ * assert.equal(pipe(set, MutableHashSet.has(0)), false) // another proof that we are mutating the original MutableHashSet
452
+ * assert.equal(pipe(result, MutableHashSet.has(1)), true)
453
+ * assert.equal(pipe(result, MutableHashSet.has(2)), true)
454
+ * ```
455
+ *
456
+ * @template V - The type of the elements in the `MutableHashSet`.
457
+ * @param key - The key to be removed from the `MutableHashSet`.
458
+ * @returns A function that takes a `MutableHashSet` as input and returns the
459
+ * reference to the same `MutableHashSet` with the specified key removed.
460
+ */
461
+ <V>(key: V): (self: MutableHashSet<V>) => MutableHashSet<V>;
462
+ /**
463
+ * `data-first` API
464
+ *
465
+ * ```ts
466
+ * import { MutableHashSet, pipe } from "effect"
467
+ * import assert from "node:assert/strict"
468
+ *
469
+ * const set = MutableHashSet.make(0, 1, 2)
470
+ * const result = MutableHashSet.remove(set, 0)
471
+ *
472
+ * assert(Object.is(set, result)) // set and result have the same identity
473
+ * assert.equal(MutableHashSet.has(result, 0), false) // it has correctly removed 0
474
+ * assert.equal(MutableHashSet.has(set, 0), false) // it mutates the original MutableHashSet
475
+ * assert.equal(MutableHashSet.has(result, 1), true)
476
+ * assert.equal(MutableHashSet.has(result, 2), true)
477
+ * ```
478
+ *
479
+ * @template V - The type of the elements in the `MutableHashSet`.
480
+ * @param self - The `MutableHashSet` to which the key will be removed from.
481
+ * @param key - The value to be removed from the `MutableHashSet` if present.
482
+ * @returns The reference to the updated `MutableHashSet`.
483
+ */
484
+ <V>(self: MutableHashSet<V>, key: V): MutableHashSet<V>;
485
+ };
486
+ /**
487
+ * Calculates the number of values in the `HashSet`.
488
+ *
489
+ * Time complexity: **`O(1)`**
490
+ *
491
+ * @memberof MutableHashSet
492
+ * @since 2.0.0
493
+ * @category elements
494
+ * @example
495
+ *
496
+ * ```ts
497
+ * import { MutableHashSet } from "effect"
498
+ * import assert from "node:assert/strict"
499
+ *
500
+ * assert.equal(MutableHashSet.size(MutableHashSet.empty()), 0)
501
+ *
502
+ * assert.equal(
503
+ * MutableHashSet.size(MutableHashSet.make(1, 2, 2, 3, 4, 3)),
504
+ * 4
505
+ * )
506
+ * ```
507
+ *
508
+ * @template V - The type of the elements to be stored in the `MutableHashSet`.
509
+ * @param self - The `MutableHashSet` instance for which the size is to be
510
+ * determined.
511
+ * @returns The total number of elements within the `MutableHashSet`.
512
+ * @see Other `MutableHashSet` elements are {@link module:MutableHashSet.add} {@link module:MutableHashSet.has} {@link module:MutableHashSet.remove} {@link module:MutableHashSet.clear}
513
+ */
514
+ export declare const size: <V>(self: MutableHashSet<V>) => number;
515
+ /**
516
+ * Removes all values from the `MutableHashSet`.
517
+ *
518
+ * This function operates by delegating the clearing action to the underlying
519
+ * key map associated with the given `MutableHashSet`. It ensures that the hash
520
+ * set becomes empty while maintaining its existence and structure.
521
+ *
522
+ * @memberof MutableHashSet
523
+ * @since 2.0.0
524
+ * @category elements
525
+ * @example
526
+ *
527
+ * ```ts
528
+ * import { MutableHashSet, pipe } from "effect"
529
+ * import assert from "node:assert/strict"
530
+ *
531
+ * assert.deepStrictEqual(
532
+ * pipe(
533
+ * MutableHashSet.make(1, 2, 3, 4),
534
+ * MutableHashSet.clear,
535
+ * MutableHashSet.size
536
+ * ),
537
+ * 0
538
+ * )
539
+ * ```
540
+ *
541
+ * @param self - The `MutableHashSet` to clear.
542
+ * @returns The same `MutableHashSet` after all elements have been removed.
543
+ * @see Other `MutableHashSet` elements are {@link module:MutableHashSet.add} {@link module:MutableHashSet.has} {@link module:MutableHashSet.remove} {@link module:MutableHashSet.size}
544
+ */
545
+ export declare const clear: <V>(self: MutableHashSet<V>) => MutableHashSet<V>;
546
+ export {};
547
+ //# sourceMappingURL=MutableHashSet.d.ts.map
backend/node_modules/effect/dist/dts/MutableList.d.ts ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Inspectable } from "./Inspectable.js";
2
+ import type { Pipeable } from "./Pipeable.js";
3
+ declare const TypeId: unique symbol;
4
+ /**
5
+ * @since 2.0.0
6
+ * @category symbol
7
+ */
8
+ export type TypeId = typeof TypeId;
9
+ /**
10
+ * @since 2.0.0
11
+ * @category model
12
+ */
13
+ export interface MutableList<out A> extends Iterable<A>, Pipeable, Inspectable {
14
+ readonly [TypeId]: TypeId;
15
+ }
16
+ /**
17
+ * Creates an empty `MutableList`.
18
+ *
19
+ * @since 2.0.0
20
+ * @category constructors
21
+ */
22
+ export declare const empty: <A = never>() => MutableList<A>;
23
+ /**
24
+ * Creates a new `MutableList` from an iterable collection of values.
25
+ *
26
+ * @since 2.0.0
27
+ * @category constructors
28
+ */
29
+ export declare const fromIterable: <A>(iterable: Iterable<A>) => MutableList<A>;
30
+ /**
31
+ * Creates a new `MutableList` from the specified elements.
32
+ *
33
+ * @since 2.0.0
34
+ * @category constructors
35
+ */
36
+ export declare const make: <A>(...elements: ReadonlyArray<A>) => MutableList<A>;
37
+ /**
38
+ * Returns `true` if the list contains zero elements, `false`, otherwise.
39
+ *
40
+ * @since 2.0.0
41
+ * @category getters
42
+ */
43
+ export declare const isEmpty: <A>(self: MutableList<A>) => boolean;
44
+ /**
45
+ * Returns the length of the list.
46
+ *
47
+ * @since 2.0.0
48
+ * @category getters
49
+ */
50
+ export declare const length: <A>(self: MutableList<A>) => number;
51
+ /**
52
+ * Returns the last element of the list, if it exists.
53
+ *
54
+ * @since 2.0.0
55
+ * @category getters
56
+ */
57
+ export declare const tail: <A>(self: MutableList<A>) => A | undefined;
58
+ /**
59
+ * Returns the first element of the list, if it exists.
60
+ *
61
+ * @since 2.0.0
62
+ * @category getters
63
+ */
64
+ export declare const head: <A>(self: MutableList<A>) => A | undefined;
65
+ /**
66
+ * Executes the specified function `f` for each element in the list.
67
+ *
68
+ * @since 2.0.0
69
+ * @category traversing
70
+ */
71
+ export declare const forEach: {
72
+ /**
73
+ * Executes the specified function `f` for each element in the list.
74
+ *
75
+ * @since 2.0.0
76
+ * @category traversing
77
+ */
78
+ <A>(f: (element: A) => void): (self: MutableList<A>) => void;
79
+ /**
80
+ * Executes the specified function `f` for each element in the list.
81
+ *
82
+ * @since 2.0.0
83
+ * @category traversing
84
+ */
85
+ <A>(self: MutableList<A>, f: (element: A) => void): void;
86
+ };
87
+ /**
88
+ * Removes all elements from the doubly-linked list.
89
+ *
90
+ * @since 2.0.0
91
+ */
92
+ export declare const reset: <A>(self: MutableList<A>) => MutableList<A>;
93
+ /**
94
+ * Appends the specified element to the end of the `MutableList`.
95
+ *
96
+ * @category concatenating
97
+ * @since 2.0.0
98
+ */
99
+ export declare const append: {
100
+ /**
101
+ * Appends the specified element to the end of the `MutableList`.
102
+ *
103
+ * @category concatenating
104
+ * @since 2.0.0
105
+ */
106
+ <A>(value: A): (self: MutableList<A>) => MutableList<A>;
107
+ /**
108
+ * Appends the specified element to the end of the `MutableList`.
109
+ *
110
+ * @category concatenating
111
+ * @since 2.0.0
112
+ */
113
+ <A>(self: MutableList<A>, value: A): MutableList<A>;
114
+ };
115
+ /**
116
+ * Removes the first value from the list and returns it, if it exists.
117
+ *
118
+ * @since 0.0.1
119
+ */
120
+ export declare const shift: <A>(self: MutableList<A>) => A | undefined;
121
+ /**
122
+ * Removes the last value from the list and returns it, if it exists.
123
+ *
124
+ * @since 0.0.1
125
+ */
126
+ export declare const pop: <A>(self: MutableList<A>) => A | undefined;
127
+ /**
128
+ * Prepends the specified value to the beginning of the list.
129
+ *
130
+ * @category concatenating
131
+ * @since 2.0.0
132
+ */
133
+ export declare const prepend: {
134
+ /**
135
+ * Prepends the specified value to the beginning of the list.
136
+ *
137
+ * @category concatenating
138
+ * @since 2.0.0
139
+ */
140
+ <A>(value: A): (self: MutableList<A>) => MutableList<A>;
141
+ /**
142
+ * Prepends the specified value to the beginning of the list.
143
+ *
144
+ * @category concatenating
145
+ * @since 2.0.0
146
+ */
147
+ <A>(self: MutableList<A>, value: A): MutableList<A>;
148
+ };
149
+ export {};
150
+ //# sourceMappingURL=MutableList.d.ts.map
backend/node_modules/effect/dist/dts/Order.d.ts ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TypeLambda } from "./HKT.js";
2
+ /**
3
+ * @category type class
4
+ * @since 2.0.0
5
+ */
6
+ export interface Order<in A> {
7
+ (self: A, that: A): -1 | 0 | 1;
8
+ }
9
+ /**
10
+ * @category type lambdas
11
+ * @since 2.0.0
12
+ */
13
+ export interface OrderTypeLambda extends TypeLambda {
14
+ readonly type: Order<this["Target"]>;
15
+ }
16
+ /**
17
+ * @category constructors
18
+ * @since 2.0.0
19
+ */
20
+ export declare const make: <A>(compare: (self: A, that: A) => -1 | 0 | 1) => Order<A>;
21
+ /**
22
+ * @category instances
23
+ * @since 2.0.0
24
+ */
25
+ export declare const string: Order<string>;
26
+ /**
27
+ * @category instances
28
+ * @since 2.0.0
29
+ */
30
+ export declare const number: Order<number>;
31
+ /**
32
+ * @category instances
33
+ * @since 2.0.0
34
+ */
35
+ export declare const boolean: Order<boolean>;
36
+ /**
37
+ * @category instances
38
+ * @since 2.0.0
39
+ */
40
+ export declare const bigint: Order<bigint>;
41
+ /**
42
+ * @since 2.0.0
43
+ */
44
+ export declare const reverse: <A>(O: Order<A>) => Order<A>;
45
+ /**
46
+ * @category combining
47
+ * @since 2.0.0
48
+ */
49
+ export declare const combine: {
50
+ /**
51
+ * @category combining
52
+ * @since 2.0.0
53
+ */
54
+ <A>(that: Order<A>): (self: Order<A>) => Order<A>;
55
+ /**
56
+ * @category combining
57
+ * @since 2.0.0
58
+ */
59
+ <A>(self: Order<A>, that: Order<A>): Order<A>;
60
+ };
61
+ /**
62
+ * @category combining
63
+ * @since 2.0.0
64
+ */
65
+ export declare const combineMany: {
66
+ /**
67
+ * @category combining
68
+ * @since 2.0.0
69
+ */
70
+ <A>(collection: Iterable<Order<A>>): (self: Order<A>) => Order<A>;
71
+ /**
72
+ * @category combining
73
+ * @since 2.0.0
74
+ */
75
+ <A>(self: Order<A>, collection: Iterable<Order<A>>): Order<A>;
76
+ };
77
+ /**
78
+ * @since 2.0.0
79
+ */
80
+ export declare const empty: <A>() => Order<A>;
81
+ /**
82
+ * @category combining
83
+ * @since 2.0.0
84
+ */
85
+ export declare const combineAll: <A>(collection: Iterable<Order<A>>) => Order<A>;
86
+ /**
87
+ * @category mapping
88
+ * @since 2.0.0
89
+ */
90
+ export declare const mapInput: {
91
+ /**
92
+ * @category mapping
93
+ * @since 2.0.0
94
+ */
95
+ <B, A>(f: (b: B) => A): (self: Order<A>) => Order<B>;
96
+ /**
97
+ * @category mapping
98
+ * @since 2.0.0
99
+ */
100
+ <A, B>(self: Order<A>, f: (b: B) => A): Order<B>;
101
+ };
102
+ /**
103
+ * @category instances
104
+ * @since 2.0.0
105
+ */
106
+ export declare const Date: Order<Date>;
107
+ /**
108
+ * @category combining
109
+ * @since 2.0.0
110
+ */
111
+ export declare const product: {
112
+ <B>(that: Order<B>): <A>(self: Order<A>) => Order<readonly [A, B]>;
113
+ <A, B>(self: Order<A>, that: Order<B>): Order<readonly [A, B]>;
114
+ };
115
+ /**
116
+ * @category combining
117
+ * @since 2.0.0
118
+ */
119
+ export declare const all: <A>(collection: Iterable<Order<A>>) => Order<ReadonlyArray<A>>;
120
+ /**
121
+ * @category combining
122
+ * @since 2.0.0
123
+ */
124
+ export declare const productMany: {
125
+ <A>(collection: Iterable<Order<A>>): (self: Order<A>) => Order<readonly [A, ...Array<A>]>;
126
+ <A>(self: Order<A>, collection: Iterable<Order<A>>): Order<readonly [A, ...Array<A>]>;
127
+ };
128
+ /**
129
+ * Similar to `Promise.all` but operates on `Order`s.
130
+ *
131
+ * ```
132
+ * [Order<A>, Order<B>, ...] -> Order<[A, B, ...]>
133
+ * ```
134
+ *
135
+ * This function creates and returns a new `Order` for a tuple of values based on the given `Order`s for each element in the tuple.
136
+ * The returned `Order` compares two tuples of the same type by applying the corresponding `Order` to each element in the tuple.
137
+ * It is useful when you need to compare two tuples of the same type and you have a specific way of comparing each element
138
+ * of the tuple.
139
+ *
140
+ * @category combinators
141
+ * @since 2.0.0
142
+ */
143
+ export declare const tuple: <T extends ReadonlyArray<Order<any>>>(...elements: T) => Order<Readonly<{ [I in keyof T]: [T[I]] extends [Order<infer A>] ? A : never; }>>;
144
+ /**
145
+ * This function creates and returns a new `Order` for an array of values based on a given `Order` for the elements of the array.
146
+ * The returned `Order` compares two arrays by applying the given `Order` to each element in the arrays.
147
+ * If all elements are equal, the arrays are then compared based on their length.
148
+ * It is useful when you need to compare two arrays of the same type and you have a specific way of comparing each element of the array.
149
+ *
150
+ * @category combinators
151
+ * @since 2.0.0
152
+ */
153
+ export declare const array: <A>(O: Order<A>) => Order<ReadonlyArray<A>>;
154
+ /**
155
+ * This function creates and returns a new `Order` for a struct of values based on the given `Order`s
156
+ * for each property in the struct.
157
+ *
158
+ * @category combinators
159
+ * @since 2.0.0
160
+ */
161
+ export declare const struct: <R extends {
162
+ readonly [x: string]: Order<any>;
163
+ }>(fields: R) => Order<{ [K in keyof R]: [R[K]] extends [Order<infer A>] ? A : never; }>;
164
+ /**
165
+ * Test whether one value is _strictly less than_ another.
166
+ *
167
+ * @since 2.0.0
168
+ */
169
+ export declare const lessThan: <A>(O: Order<A>) => {
170
+ (that: A): (self: A) => boolean;
171
+ (self: A, that: A): boolean;
172
+ };
173
+ /**
174
+ * Test whether one value is _strictly greater than_ another.
175
+ *
176
+ * @since 2.0.0
177
+ */
178
+ export declare const greaterThan: <A>(O: Order<A>) => {
179
+ (that: A): (self: A) => boolean;
180
+ (self: A, that: A): boolean;
181
+ };
182
+ /**
183
+ * Test whether one value is _non-strictly less than_ another.
184
+ *
185
+ * @since 2.0.0
186
+ */
187
+ export declare const lessThanOrEqualTo: <A>(O: Order<A>) => {
188
+ (that: A): (self: A) => boolean;
189
+ (self: A, that: A): boolean;
190
+ };
191
+ /**
192
+ * Test whether one value is _non-strictly greater than_ another.
193
+ *
194
+ * @since 2.0.0
195
+ */
196
+ export declare const greaterThanOrEqualTo: <A>(O: Order<A>) => {
197
+ (that: A): (self: A) => boolean;
198
+ (self: A, that: A): boolean;
199
+ };
200
+ /**
201
+ * Take the minimum of two values. If they are considered equal, the first argument is chosen.
202
+ *
203
+ * @since 2.0.0
204
+ */
205
+ export declare const min: <A>(O: Order<A>) => {
206
+ (that: A): (self: A) => A;
207
+ (self: A, that: A): A;
208
+ };
209
+ /**
210
+ * Take the maximum of two values. If they are considered equal, the first argument is chosen.
211
+ *
212
+ * @since 2.0.0
213
+ */
214
+ export declare const max: <A>(O: Order<A>) => {
215
+ (that: A): (self: A) => A;
216
+ (self: A, that: A): A;
217
+ };
218
+ /**
219
+ * Clamp a value between a minimum and a maximum.
220
+ *
221
+ * @example
222
+ * ```ts
223
+ * import * as assert from "node:assert"
224
+ * import { Order, Number } from "effect"
225
+ *
226
+ * const clamp = Order.clamp(Number.Order)({ minimum: 1, maximum: 5 })
227
+ *
228
+ * assert.equal(clamp(3), 3)
229
+ * assert.equal(clamp(0), 1)
230
+ * assert.equal(clamp(6), 5)
231
+ * ```
232
+ *
233
+ * @since 2.0.0
234
+ */
235
+ export declare const clamp: <A>(O: Order<A>) => {
236
+ (options: {
237
+ minimum: A;
238
+ maximum: A;
239
+ }): (self: A) => A;
240
+ (self: A, options: {
241
+ minimum: A;
242
+ maximum: A;
243
+ }): A;
244
+ };
245
+ /**
246
+ * Test whether a value is between a minimum and a maximum (inclusive).
247
+ *
248
+ * @since 2.0.0
249
+ */
250
+ export declare const between: <A>(O: Order<A>) => {
251
+ (options: {
252
+ minimum: A;
253
+ maximum: A;
254
+ }): (self: A) => boolean;
255
+ (self: A, options: {
256
+ minimum: A;
257
+ maximum: A;
258
+ }): boolean;
259
+ };
260
+ //# sourceMappingURL=Order.d.ts.map
backend/node_modules/effect/dist/dts/ParseResult.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ParseResult.d.ts","sourceRoot":"","sources":["../../src/ParseResult.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,GAAG,MAAM,YAAY,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAEnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAG5C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAE/C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAA;AAGrC;;;;;GAKG;AACH,MAA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CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;IAC7D,QAAQ,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,CAAA;CACnD;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,oBAAoB,CAAC,MAAM,CAQtD,CAAA;AAyED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,UAT4B,UAAU,KAAG,KAAK,aAST,CAAA;AAiH7D;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAEjC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,CAAA;IAEzC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB;AAQD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAQ3E,CAAA"}
backend/node_modules/effect/dist/dts/PartitionedSemaphore.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"PartitionedSemaphore.d.ts","sourceRoot":"","sources":["../../src/PartitionedSemaphore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAKrC;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,MAAuC,CAAA;AAE5D;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,8BAA8B,CAAA;AAEnD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACxC,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IAEzB,QAAQ,CAAC,WAAW,EAAE,CACpB,GAAG,EAAE,CAAC,EACN,OAAO,EAAE,MAAM,KACZ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;CACzE;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,GAAG,OAAO,EAAE,SAAS;IAC/C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB,KAAG,oBAAoB,CAAC,CAAC,CAiHzB,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,IAAI,GAAI,CAAC,GAAG,OAAO,EAAE,SAAS;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB,KAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAA8C,CAAA"}
backend/node_modules/effect/dist/dts/Pipeable.d.ts ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type { Ctor } from "./Types.js";
5
+ /**
6
+ * @since 2.0.0
7
+ * @category Models
8
+ */
9
+ export interface Pipeable {
10
+ pipe<A>(this: A): A;
11
+ pipe<A, B = never>(this: A, ab: (_: A) => B): B;
12
+ pipe<A, B = never, C = never>(this: A, ab: (_: A) => B, bc: (_: B) => C): C;
13
+ pipe<A, B = never, C = never, D = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D): D;
14
+ pipe<A, B = never, C = never, D = never, E = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E): E;
15
+ pipe<A, B = never, C = never, D = never, E = never, F = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F): F;
16
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G): G;
17
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H): H;
18
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I): I;
19
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J): J;
20
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K): K;
21
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L): L;
22
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M): M;
23
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N): N;
24
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O): O;
25
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P): P;
26
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q): Q;
27
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never, R = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q, qr: (_: Q) => R): R;
28
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never, R = never, S = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q, qr: (_: Q) => R, rs: (_: R) => S): S;
29
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never, R = never, S = never, T = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q, qr: (_: Q) => R, rs: (_: R) => S, st: (_: S) => T): T;
30
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never, R = never, S = never, T = never, U = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q, qr: (_: Q) => R, rs: (_: R) => S, st: (_: S) => T, tu: (_: T) => U): U;
31
+ pipe<A, B = never, C = never, D = never, E = never, F = never, G = never, H = never, I = never, J = never, K = never, L = never, M = never, N = never, O = never, P = never, Q = never, R = never, S = never, T = never, U = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D, de: (_: D) => E, ef: (_: E) => F, fg: (_: F) => G, gh: (_: G) => H, hi: (_: H) => I, ij: (_: I) => J, jk: (_: J) => K, kl: (_: K) => L, lm: (_: L) => M, mn: (_: M) => N, no: (_: N) => O, op: (_: O) => P, pq: (_: P) => Q, qr: (_: Q) => R, rs: (_: R) => S, st: (_: S) => T, tu: (_: T) => U): U;
32
+ }
33
+ /**
34
+ * @since 2.0.0
35
+ */
36
+ export declare const pipeArguments: <A>(self: A, args: IArguments) => unknown;
37
+ /**
38
+ * @since 3.15.0
39
+ * @category Models
40
+ */
41
+ export interface PipeableConstructor {
42
+ new (...args: Array<any>): Pipeable;
43
+ }
44
+ /**
45
+ * @since 3.15.0
46
+ * @category Prototypes
47
+ */
48
+ export declare const Prototype: Pipeable;
49
+ /**
50
+ * @since 3.15.0
51
+ * @category Constructors
52
+ */
53
+ export declare const Class: {
54
+ /**
55
+ * @since 3.15.0
56
+ * @category Constructors
57
+ */
58
+ (): PipeableConstructor;
59
+ /**
60
+ * @since 3.15.0
61
+ * @category Constructors
62
+ */
63
+ <TBase extends Ctor>(klass: TBase): TBase & PipeableConstructor;
64
+ };
65
+ //# sourceMappingURL=Pipeable.d.ts.map
backend/node_modules/effect/dist/dts/PubSub.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"PubSub.d.ts","sourceRoot":"","sources":["../../src/PubSub.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM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AE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAsB,CAAA"}
backend/node_modules/effect/dist/dts/Redacted.d.ts ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The Redacted module provides functionality for handling sensitive information
3
+ * securely within your application. By using the `Redacted` data type, you can
4
+ * ensure that sensitive values are not accidentally exposed in logs or error
5
+ * messages.
6
+ *
7
+ * @since 3.3.0
8
+ */
9
+ import type * as Equal from "./Equal.js";
10
+ import * as Equivalence from "./Equivalence.js";
11
+ import type { Pipeable } from "./Pipeable.js";
12
+ import type { Covariant } from "./Types.js";
13
+ /**
14
+ * @since 3.3.0
15
+ * @category symbols
16
+ */
17
+ export declare const RedactedTypeId: unique symbol;
18
+ /**
19
+ * @since 3.3.0
20
+ * @category symbols
21
+ */
22
+ export type RedactedTypeId = typeof RedactedTypeId;
23
+ /**
24
+ * @since 3.3.0
25
+ * @category models
26
+ */
27
+ export interface Redacted<out A = string> extends Redacted.Variance<A>, Equal.Equal, Pipeable {
28
+ }
29
+ /**
30
+ * @since 3.3.0
31
+ */
32
+ export declare namespace Redacted {
33
+ /**
34
+ * @since 3.3.0
35
+ * @category models
36
+ */
37
+ interface Variance<out A> {
38
+ readonly [RedactedTypeId]: {
39
+ readonly _A: Covariant<A>;
40
+ };
41
+ }
42
+ /**
43
+ * @since 3.3.0
44
+ * @category type-level
45
+ */
46
+ type Value<T extends Redacted<any>> = [T] extends [Redacted<infer _A>] ? _A : never;
47
+ }
48
+ /**
49
+ * @since 3.3.0
50
+ * @category refinements
51
+ */
52
+ export declare const isRedacted: (u: unknown) => u is Redacted<unknown>;
53
+ /**
54
+ * This function creates a `Redacted<A>` instance from a given value `A`,
55
+ * securely hiding its content.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * import { Redacted } from "effect"
60
+ *
61
+ * const API_KEY = Redacted.make("1234567890")
62
+ * ```
63
+ *
64
+ * @since 3.3.0
65
+ * @category constructors
66
+ */
67
+ export declare const make: <A>(value: A) => Redacted<A>;
68
+ /**
69
+ * Retrieves the original value from a `Redacted` instance. Use this function
70
+ * with caution, as it exposes the sensitive data.
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * import * as assert from "node:assert"
75
+ * import { Redacted } from "effect"
76
+ *
77
+ * const API_KEY = Redacted.make("1234567890")
78
+ *
79
+ * assert.equal(Redacted.value(API_KEY), "1234567890")
80
+ * ```
81
+ *
82
+ * @since 3.3.0
83
+ * @category getters
84
+ */
85
+ export declare const value: <A>(self: Redacted<A>) => A;
86
+ /**
87
+ * Erases the underlying value of a `Redacted` instance, rendering it unusable.
88
+ * This function is intended to ensure that sensitive data does not remain in
89
+ * memory longer than necessary.
90
+ *
91
+ * @example
92
+ * ```ts
93
+ * import * as assert from "node:assert"
94
+ * import { Redacted } from "effect"
95
+ *
96
+ * const API_KEY = Redacted.make("1234567890")
97
+ *
98
+ * assert.equal(Redacted.value(API_KEY), "1234567890")
99
+ *
100
+ * Redacted.unsafeWipe(API_KEY)
101
+ *
102
+ * assert.throws(() => Redacted.value(API_KEY), new Error("Unable to get redacted value"))
103
+ * ```
104
+ *
105
+ * @since 3.3.0
106
+ * @category unsafe
107
+ */
108
+ export declare const unsafeWipe: <A>(self: Redacted<A>) => boolean;
109
+ /**
110
+ * Generates an equivalence relation for `Redacted<A>` values based on an
111
+ * equivalence relation for the underlying values `A`. This function is useful
112
+ * for comparing `Redacted` instances without exposing their contents.
113
+ *
114
+ * @example
115
+ * ```ts
116
+ * import * as assert from "node:assert"
117
+ * import { Redacted, Equivalence } from "effect"
118
+ *
119
+ * const API_KEY1 = Redacted.make("1234567890")
120
+ * const API_KEY2 = Redacted.make("1-34567890")
121
+ * const API_KEY3 = Redacted.make("1234567890")
122
+ *
123
+ * const equivalence = Redacted.getEquivalence(Equivalence.string)
124
+ *
125
+ * assert.equal(equivalence(API_KEY1, API_KEY2), false)
126
+ * assert.equal(equivalence(API_KEY1, API_KEY3), true)
127
+ * ```
128
+ *
129
+ * @category equivalence
130
+ * @since 3.3.0
131
+ */
132
+ export declare const getEquivalence: <A>(isEquivalent: Equivalence.Equivalence<A>) => Equivalence.Equivalence<Redacted<A>>;
133
+ //# sourceMappingURL=Redacted.d.ts.map
backend/node_modules/effect/dist/dts/Ref.d.ts ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Effect from "./Effect.js";
5
+ import type * as Option from "./Option.js";
6
+ import type * as Readable from "./Readable.js";
7
+ import type * as Types from "./Types.js";
8
+ import type * as Unify from "./Unify.js";
9
+ /**
10
+ * @since 2.0.0
11
+ * @category symbols
12
+ */
13
+ export declare const RefTypeId: unique symbol;
14
+ /**
15
+ * @since 2.0.0
16
+ * @category symbols
17
+ */
18
+ export type RefTypeId = typeof RefTypeId;
19
+ /**
20
+ * @since 2.0.0
21
+ * @category models
22
+ */
23
+ export interface Ref<in out A> extends Ref.Variance<A>, Effect.Effect<A>, Readable.Readable<A> {
24
+ modify<B>(f: (a: A) => readonly [B, A]): Effect.Effect<B>;
25
+ readonly [Unify.typeSymbol]?: unknown;
26
+ readonly [Unify.unifySymbol]?: RefUnify<this>;
27
+ readonly [Unify.ignoreSymbol]?: RefUnifyIgnore;
28
+ }
29
+ /**
30
+ * @category models
31
+ * @since 3.8.0
32
+ */
33
+ export interface RefUnify<A extends {
34
+ [Unify.typeSymbol]?: any;
35
+ }> extends Effect.EffectUnify<A> {
36
+ Ref?: () => Extract<A[Unify.typeSymbol], Ref<any>>;
37
+ }
38
+ /**
39
+ * @category models
40
+ * @since 3.8.0
41
+ */
42
+ export interface RefUnifyIgnore extends Effect.EffectUnifyIgnore {
43
+ Effect?: true;
44
+ }
45
+ /**
46
+ * @since 2.0.0
47
+ * @category models
48
+ */
49
+ export declare namespace Ref {
50
+ /**
51
+ * @since 2.0.0
52
+ */
53
+ interface Variance<in out A> {
54
+ readonly [RefTypeId]: {
55
+ readonly _A: Types.Invariant<A>;
56
+ };
57
+ }
58
+ }
59
+ /**
60
+ * @since 2.0.0
61
+ * @category constructors
62
+ */
63
+ export declare const make: <A>(value: A) => Effect.Effect<Ref<A>>;
64
+ /**
65
+ * @since 2.0.0
66
+ * @category getters
67
+ */
68
+ export declare const get: <A>(self: Ref<A>) => Effect.Effect<A>;
69
+ /**
70
+ * @since 2.0.0
71
+ * @category utils
72
+ */
73
+ export declare const getAndSet: {
74
+ /**
75
+ * @since 2.0.0
76
+ * @category utils
77
+ */
78
+ <A>(value: A): (self: Ref<A>) => Effect.Effect<A>;
79
+ /**
80
+ * @since 2.0.0
81
+ * @category utils
82
+ */
83
+ <A>(self: Ref<A>, value: A): Effect.Effect<A>;
84
+ };
85
+ /**
86
+ * @since 2.0.0
87
+ * @category utils
88
+ */
89
+ export declare const getAndUpdate: {
90
+ /**
91
+ * @since 2.0.0
92
+ * @category utils
93
+ */
94
+ <A>(f: (a: A) => A): (self: Ref<A>) => Effect.Effect<A>;
95
+ /**
96
+ * @since 2.0.0
97
+ * @category utils
98
+ */
99
+ <A>(self: Ref<A>, f: (a: A) => A): Effect.Effect<A>;
100
+ };
101
+ /**
102
+ * @since 2.0.0
103
+ * @category utils
104
+ */
105
+ export declare const getAndUpdateSome: {
106
+ /**
107
+ * @since 2.0.0
108
+ * @category utils
109
+ */
110
+ <A>(pf: (a: A) => Option.Option<A>): (self: Ref<A>) => Effect.Effect<A>;
111
+ /**
112
+ * @since 2.0.0
113
+ * @category utils
114
+ */
115
+ <A>(self: Ref<A>, pf: (a: A) => Option.Option<A>): Effect.Effect<A>;
116
+ };
117
+ /**
118
+ * @since 2.0.0
119
+ * @category utils
120
+ */
121
+ export declare const modify: {
122
+ /**
123
+ * @since 2.0.0
124
+ * @category utils
125
+ */
126
+ <A, B>(f: (a: A) => readonly [B, A]): (self: Ref<A>) => Effect.Effect<B>;
127
+ /**
128
+ * @since 2.0.0
129
+ * @category utils
130
+ */
131
+ <A, B>(self: Ref<A>, f: (a: A) => readonly [B, A]): Effect.Effect<B>;
132
+ };
133
+ /**
134
+ * @since 2.0.0
135
+ * @category utils
136
+ */
137
+ export declare const modifySome: {
138
+ /**
139
+ * @since 2.0.0
140
+ * @category utils
141
+ */
142
+ <B, A>(fallback: B, pf: (a: A) => Option.Option<readonly [B, A]>): (self: Ref<A>) => Effect.Effect<B>;
143
+ /**
144
+ * @since 2.0.0
145
+ * @category utils
146
+ */
147
+ <A, B>(self: Ref<A>, fallback: B, pf: (a: A) => Option.Option<readonly [B, A]>): Effect.Effect<B>;
148
+ };
149
+ /**
150
+ * @since 2.0.0
151
+ * @category utils
152
+ */
153
+ export declare const set: {
154
+ /**
155
+ * @since 2.0.0
156
+ * @category utils
157
+ */
158
+ <A>(value: A): (self: Ref<A>) => Effect.Effect<void>;
159
+ /**
160
+ * @since 2.0.0
161
+ * @category utils
162
+ */
163
+ <A>(self: Ref<A>, value: A): Effect.Effect<void>;
164
+ };
165
+ /**
166
+ * @since 2.0.0
167
+ * @category utils
168
+ */
169
+ export declare const setAndGet: {
170
+ /**
171
+ * @since 2.0.0
172
+ * @category utils
173
+ */
174
+ <A>(value: A): (self: Ref<A>) => Effect.Effect<A>;
175
+ /**
176
+ * @since 2.0.0
177
+ * @category utils
178
+ */
179
+ <A>(self: Ref<A>, value: A): Effect.Effect<A>;
180
+ };
181
+ /**
182
+ * @since 2.0.0
183
+ * @category utils
184
+ */
185
+ export declare const update: {
186
+ /**
187
+ * @since 2.0.0
188
+ * @category utils
189
+ */
190
+ <A>(f: (a: A) => A): (self: Ref<A>) => Effect.Effect<void>;
191
+ /**
192
+ * @since 2.0.0
193
+ * @category utils
194
+ */
195
+ <A>(self: Ref<A>, f: (a: A) => A): Effect.Effect<void>;
196
+ };
197
+ /**
198
+ * @since 2.0.0
199
+ * @category utils
200
+ */
201
+ export declare const updateAndGet: {
202
+ /**
203
+ * @since 2.0.0
204
+ * @category utils
205
+ */
206
+ <A>(f: (a: A) => A): (self: Ref<A>) => Effect.Effect<A>;
207
+ /**
208
+ * @since 2.0.0
209
+ * @category utils
210
+ */
211
+ <A>(self: Ref<A>, f: (a: A) => A): Effect.Effect<A>;
212
+ };
213
+ /**
214
+ * @since 2.0.0
215
+ * @category utils
216
+ */
217
+ export declare const updateSome: {
218
+ /**
219
+ * @since 2.0.0
220
+ * @category utils
221
+ */
222
+ <A>(f: (a: A) => Option.Option<A>): (self: Ref<A>) => Effect.Effect<void>;
223
+ /**
224
+ * @since 2.0.0
225
+ * @category utils
226
+ */
227
+ <A>(self: Ref<A>, f: (a: A) => Option.Option<A>): Effect.Effect<void>;
228
+ };
229
+ /**
230
+ * @since 2.0.0
231
+ * @category utils
232
+ */
233
+ export declare const updateSomeAndGet: {
234
+ /**
235
+ * @since 2.0.0
236
+ * @category utils
237
+ */
238
+ <A>(pf: (a: A) => Option.Option<A>): (self: Ref<A>) => Effect.Effect<A>;
239
+ /**
240
+ * @since 2.0.0
241
+ * @category utils
242
+ */
243
+ <A>(self: Ref<A>, pf: (a: A) => Option.Option<A>): Effect.Effect<A>;
244
+ };
245
+ /**
246
+ * @since 2.0.0
247
+ * @category unsafe
248
+ */
249
+ export declare const unsafeMake: <A>(value: A) => Ref<A>;
250
+ //# sourceMappingURL=Ref.d.ts.map
backend/node_modules/effect/dist/dts/RequestResolver.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"RequestResolver.d.ts","sourceRoot":"","sources":["../../src/RequestResolver.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,MAAmC,CAAA;AAE9E;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAEhE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,CAA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CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAmB,CAAA;AAE5E;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAoB,CAAA"}
backend/node_modules/effect/dist/dts/SingleProducerAsyncInput.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"SingleProducerAsyncInput.d.ts","sourceRoot":"","sources":["../../src/SingleProducerAsyncInput.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,IAAI,MAAM,WAAW,CAAA;AAGtC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,wBAAwB,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAC5E,SAAQ,kBAAkB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,kBAAkB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC;IAEhF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;CACxE;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,EAA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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import * as Equal from "./Equal.js";
5
+ import type * as Equivalence from "./Equivalence.js";
6
+ import type { Inspectable } from "./Inspectable.js";
7
+ import type { Order } from "./Order.js";
8
+ import type { Pipeable } from "./Pipeable.js";
9
+ import type { Predicate } from "./Predicate.js";
10
+ import type { Invariant, NoInfer } from "./Types.js";
11
+ declare const TypeId: unique symbol;
12
+ /**
13
+ * @since 2.0.0
14
+ * @category symbol
15
+ */
16
+ export type TypeId = typeof TypeId;
17
+ /**
18
+ * @since 2.0.0
19
+ * @category models
20
+ */
21
+ export interface SortedSet<in out A> extends Iterable<A>, Equal.Equal, Pipeable, Inspectable {
22
+ readonly [TypeId]: {
23
+ readonly _A: Invariant<A>;
24
+ };
25
+ }
26
+ /**
27
+ * @since 2.0.0
28
+ * @category refinements
29
+ */
30
+ export declare const isSortedSet: {
31
+ /**
32
+ * @since 2.0.0
33
+ * @category refinements
34
+ */
35
+ <A>(u: Iterable<A>): u is SortedSet<A>;
36
+ /**
37
+ * @since 2.0.0
38
+ * @category refinements
39
+ */
40
+ (u: unknown): u is SortedSet<unknown>;
41
+ };
42
+ /**
43
+ * @since 2.0.0
44
+ * @category constructors
45
+ */
46
+ export declare const empty: <A>(O: Order<A>) => SortedSet<A>;
47
+ /**
48
+ * Creates a new `SortedSet` from an iterable collection of values.
49
+ *
50
+ * @since 2.0.0
51
+ * @category constructors
52
+ */
53
+ export declare const fromIterable: {
54
+ /**
55
+ * Creates a new `SortedSet` from an iterable collection of values.
56
+ *
57
+ * @since 2.0.0
58
+ * @category constructors
59
+ */
60
+ <B>(ord: Order<B>): <A extends B>(iterable: Iterable<A>) => SortedSet<A>;
61
+ /**
62
+ * Creates a new `SortedSet` from an iterable collection of values.
63
+ *
64
+ * @since 2.0.0
65
+ * @category constructors
66
+ */
67
+ <A extends B, B>(iterable: Iterable<A>, ord: Order<B>): SortedSet<A>;
68
+ };
69
+ /**
70
+ * @since 2.0.0
71
+ * @category constructors
72
+ */
73
+ export declare const make: <K>(ord: Order<K>) => <Entries extends ReadonlyArray<K>>(...entries: Entries) => SortedSet<Entries[number]>;
74
+ /**
75
+ * @since 2.0.0
76
+ * @category elements
77
+ */
78
+ export declare const add: {
79
+ /**
80
+ * @since 2.0.0
81
+ * @category elements
82
+ */
83
+ <A>(value: A): (self: SortedSet<A>) => SortedSet<A>;
84
+ /**
85
+ * @since 2.0.0
86
+ * @category elements
87
+ */
88
+ <A>(self: SortedSet<A>, value: A): SortedSet<A>;
89
+ };
90
+ /**
91
+ * @since 2.0.0
92
+ */
93
+ export declare const difference: {
94
+ /**
95
+ * @since 2.0.0
96
+ */
97
+ <A, B extends A>(that: Iterable<B>): (self: SortedSet<A>) => SortedSet<A>;
98
+ /**
99
+ * @since 2.0.0
100
+ */
101
+ <A, B extends A>(self: SortedSet<A>, that: Iterable<B>): SortedSet<A>;
102
+ };
103
+ /**
104
+ * Check if a predicate holds true for every `SortedSet` element.
105
+ *
106
+ * @since 2.0.0
107
+ * @category elements
108
+ */
109
+ export declare const every: {
110
+ /**
111
+ * Check if a predicate holds true for every `SortedSet` element.
112
+ *
113
+ * @since 2.0.0
114
+ * @category elements
115
+ */
116
+ <A>(predicate: Predicate<A>): (self: SortedSet<A>) => boolean;
117
+ /**
118
+ * Check if a predicate holds true for every `SortedSet` element.
119
+ *
120
+ * @since 2.0.0
121
+ * @category elements
122
+ */
123
+ <A>(self: SortedSet<A>, predicate: Predicate<A>): boolean;
124
+ };
125
+ /**
126
+ * @since 2.0.0
127
+ * @category filtering
128
+ */
129
+ export declare const filter: {
130
+ /**
131
+ * @since 2.0.0
132
+ * @category filtering
133
+ */
134
+ <A, B extends A>(predicate: Predicate<B>): (self: SortedSet<A>) => SortedSet<A>;
135
+ /**
136
+ * @since 2.0.0
137
+ * @category filtering
138
+ */
139
+ <A>(self: SortedSet<A>, predicate: Predicate<A>): SortedSet<A>;
140
+ };
141
+ /**
142
+ * @since 2.0.0
143
+ * @category sequencing
144
+ */
145
+ export declare const flatMap: {
146
+ /**
147
+ * @since 2.0.0
148
+ * @category sequencing
149
+ */
150
+ <B, A>(O: Order<B>, f: (a: A) => Iterable<B>): (self: SortedSet<A>) => SortedSet<B>;
151
+ /**
152
+ * @since 2.0.0
153
+ * @category sequencing
154
+ */
155
+ <A, B>(self: SortedSet<A>, O: Order<B>, f: (a: A) => Iterable<B>): SortedSet<B>;
156
+ };
157
+ /**
158
+ * @since 2.0.0
159
+ * @category traversing
160
+ */
161
+ export declare const forEach: {
162
+ /**
163
+ * @since 2.0.0
164
+ * @category traversing
165
+ */
166
+ <A>(f: (a: A) => void): (self: SortedSet<A>) => void;
167
+ /**
168
+ * @since 2.0.0
169
+ * @category traversing
170
+ */
171
+ <A>(self: SortedSet<A>, f: (a: A) => void): void;
172
+ };
173
+ /**
174
+ * @since 2.0.0
175
+ * @category elements
176
+ */
177
+ export declare const has: {
178
+ /**
179
+ * @since 2.0.0
180
+ * @category elements
181
+ */
182
+ <A>(value: A): (self: SortedSet<A>) => boolean;
183
+ /**
184
+ * @since 2.0.0
185
+ * @category elements
186
+ */
187
+ <A>(self: SortedSet<A>, value: A): boolean;
188
+ };
189
+ /**
190
+ * @since 2.0.0
191
+ */
192
+ export declare const intersection: {
193
+ /**
194
+ * @since 2.0.0
195
+ */
196
+ <A>(that: Iterable<A>): (self: SortedSet<A>) => SortedSet<A>;
197
+ /**
198
+ * @since 2.0.0
199
+ */
200
+ <A>(self: SortedSet<A>, that: Iterable<A>): SortedSet<A>;
201
+ };
202
+ /**
203
+ * @since 2.0.0
204
+ * @category elements
205
+ */
206
+ export declare const isSubset: {
207
+ /**
208
+ * @since 2.0.0
209
+ * @category elements
210
+ */
211
+ <A>(that: SortedSet<A>): (self: SortedSet<A>) => boolean;
212
+ /**
213
+ * @since 2.0.0
214
+ * @category elements
215
+ */
216
+ <A>(self: SortedSet<A>, that: SortedSet<A>): boolean;
217
+ };
218
+ /**
219
+ * @since 2.0.0
220
+ * @category mapping
221
+ */
222
+ export declare const map: {
223
+ /**
224
+ * @since 2.0.0
225
+ * @category mapping
226
+ */
227
+ <B, A>(O: Order<B>, f: (a: A) => B): (self: SortedSet<A>) => SortedSet<B>;
228
+ /**
229
+ * @since 2.0.0
230
+ * @category mapping
231
+ */
232
+ <B, A>(self: SortedSet<A>, O: Order<B>, f: (a: A) => B): SortedSet<B>;
233
+ };
234
+ /**
235
+ * @since 2.0.0
236
+ * @category filtering
237
+ */
238
+ export declare const partition: {
239
+ /**
240
+ * @since 2.0.0
241
+ * @category filtering
242
+ */
243
+ <A>(predicate: (a: NoInfer<A>) => boolean): (self: SortedSet<A>) => [excluded: SortedSet<A>, satisfying: SortedSet<A>];
244
+ /**
245
+ * @since 2.0.0
246
+ * @category filtering
247
+ */
248
+ <A>(self: SortedSet<A>, predicate: (a: A) => boolean): [excluded: SortedSet<A>, satisfying: SortedSet<A>];
249
+ };
250
+ /**
251
+ * @since 2.0.0
252
+ * @category elements
253
+ */
254
+ export declare const remove: {
255
+ /**
256
+ * @since 2.0.0
257
+ * @category elements
258
+ */
259
+ <A>(value: A): (self: SortedSet<A>) => SortedSet<A>;
260
+ /**
261
+ * @since 2.0.0
262
+ * @category elements
263
+ */
264
+ <A>(self: SortedSet<A>, value: A): SortedSet<A>;
265
+ };
266
+ /**
267
+ * @since 2.0.0
268
+ * @category getters
269
+ */
270
+ export declare const size: <A>(self: SortedSet<A>) => number;
271
+ /**
272
+ * Check if a predicate holds true for some `SortedSet` element.
273
+ *
274
+ * @since 2.0.0
275
+ * @category elements
276
+ */
277
+ export declare const some: {
278
+ /**
279
+ * Check if a predicate holds true for some `SortedSet` element.
280
+ *
281
+ * @since 2.0.0
282
+ * @category elements
283
+ */
284
+ <A>(predicate: Predicate<A>): (self: SortedSet<A>) => boolean;
285
+ /**
286
+ * Check if a predicate holds true for some `SortedSet` element.
287
+ *
288
+ * @since 2.0.0
289
+ * @category elements
290
+ */
291
+ <A>(self: SortedSet<A>, predicate: Predicate<A>): boolean;
292
+ };
293
+ /**
294
+ * @since 2.0.0
295
+ * @category elements
296
+ */
297
+ export declare const toggle: {
298
+ /**
299
+ * @since 2.0.0
300
+ * @category elements
301
+ */
302
+ <A>(value: A): (self: SortedSet<A>) => SortedSet<A>;
303
+ /**
304
+ * @since 2.0.0
305
+ * @category elements
306
+ */
307
+ <A>(self: SortedSet<A>, value: A): SortedSet<A>;
308
+ };
309
+ /**
310
+ * @since 2.0.0
311
+ */
312
+ export declare const union: {
313
+ /**
314
+ * @since 2.0.0
315
+ */
316
+ <A>(that: Iterable<A>): (self: SortedSet<A>) => SortedSet<A>;
317
+ /**
318
+ * @since 2.0.0
319
+ */
320
+ <A>(self: SortedSet<A>, that: Iterable<A>): SortedSet<A>;
321
+ };
322
+ /**
323
+ * @since 2.0.0
324
+ * @category getters
325
+ */
326
+ export declare const values: <A>(self: SortedSet<A>) => IterableIterator<A>;
327
+ /**
328
+ * @since 2.0.0
329
+ * @category equivalence
330
+ */
331
+ export declare const getEquivalence: <A>() => Equivalence.Equivalence<SortedSet<A>>;
332
+ export {};
333
+ //# sourceMappingURL=SortedSet.d.ts.map
backend/node_modules/effect/dist/dts/StreamHaltStrategy.d.ts ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ * @category models
4
+ */
5
+ export type HaltStrategy = Left | Right | Both | Either;
6
+ /**
7
+ * @since 2.0.0
8
+ * @category models
9
+ */
10
+ export type HaltStrategyInput = HaltStrategy | "left" | "right" | "both" | "either";
11
+ /**
12
+ * @since 2.0.0
13
+ * @category models
14
+ */
15
+ export interface Left {
16
+ readonly _tag: "Left";
17
+ }
18
+ /**
19
+ * @since 2.0.0
20
+ * @category models
21
+ */
22
+ export interface Right {
23
+ readonly _tag: "Right";
24
+ }
25
+ /**
26
+ * @since 2.0.0
27
+ * @category models
28
+ */
29
+ export interface Both {
30
+ readonly _tag: "Both";
31
+ }
32
+ /**
33
+ * @since 2.0.0
34
+ * @category models
35
+ */
36
+ export interface Either {
37
+ readonly _tag: "Either";
38
+ }
39
+ /**
40
+ * @since 2.0.0
41
+ * @category constructors
42
+ */
43
+ export declare const Left: HaltStrategy;
44
+ /**
45
+ * @since 2.0.0
46
+ * @category constructors
47
+ */
48
+ export declare const Right: HaltStrategy;
49
+ /**
50
+ * @since 2.0.0
51
+ * @category constructors
52
+ */
53
+ export declare const Both: HaltStrategy;
54
+ /**
55
+ * @since 2.0.0
56
+ * @category constructors
57
+ */
58
+ export declare const Either: HaltStrategy;
59
+ /**
60
+ * @since 2.0.0
61
+ * @category constructors
62
+ */
63
+ export declare const fromInput: (input: HaltStrategyInput) => HaltStrategy;
64
+ /**
65
+ * @since 2.0.0
66
+ * @category refinements
67
+ */
68
+ export declare const isLeft: (self: HaltStrategy) => self is Left;
69
+ /**
70
+ * @since 2.0.0
71
+ * @category refinements
72
+ */
73
+ export declare const isRight: (self: HaltStrategy) => self is Right;
74
+ /**
75
+ * @since 2.0.0
76
+ * @category refinements
77
+ */
78
+ export declare const isBoth: (self: HaltStrategy) => self is Both;
79
+ /**
80
+ * @since 2.0.0
81
+ * @category refinements
82
+ */
83
+ export declare const isEither: (self: HaltStrategy) => self is Either;
84
+ /**
85
+ * Folds over the specified `HaltStrategy` using the provided case functions.
86
+ *
87
+ * @since 2.0.0
88
+ * @category folding
89
+ */
90
+ export declare const match: {
91
+ /**
92
+ * Folds over the specified `HaltStrategy` using the provided case functions.
93
+ *
94
+ * @since 2.0.0
95
+ * @category folding
96
+ */
97
+ <Z>(options: {
98
+ readonly onLeft: () => Z;
99
+ readonly onRight: () => Z;
100
+ readonly onBoth: () => Z;
101
+ readonly onEither: () => Z;
102
+ }): (self: HaltStrategy) => Z;
103
+ /**
104
+ * Folds over the specified `HaltStrategy` using the provided case functions.
105
+ *
106
+ * @since 2.0.0
107
+ * @category folding
108
+ */
109
+ <Z>(self: HaltStrategy, options: {
110
+ readonly onLeft: () => Z;
111
+ readonly onRight: () => Z;
112
+ readonly onBoth: () => Z;
113
+ readonly onEither: () => Z;
114
+ }): Z;
115
+ };
116
+ //# sourceMappingURL=StreamHaltStrategy.d.ts.map
backend/node_modules/effect/dist/dts/TArray.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"TArray.d.ts","sourceRoot":"","sources":["../../src/TArray.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,KAAK,GAAG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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Chunk from "./Chunk.js";
5
+ import type * as HashSet from "./HashSet.js";
6
+ import type * as Option from "./Option.js";
7
+ import type { Predicate } from "./Predicate.js";
8
+ import type * as STM from "./STM.js";
9
+ import type * as Types from "./Types.js";
10
+ /**
11
+ * @since 2.0.0
12
+ * @category symbols
13
+ */
14
+ export declare const TSetTypeId: unique symbol;
15
+ /**
16
+ * @since 2.0.0
17
+ * @category symbols
18
+ */
19
+ export type TSetTypeId = typeof TSetTypeId;
20
+ /**
21
+ * Transactional set implemented on top of `TMap`.
22
+ *
23
+ * @since 2.0.0
24
+ * @category models
25
+ */
26
+ export interface TSet<in out A> extends TSet.Variance<A> {
27
+ }
28
+ /**
29
+ * @since 2.0.0
30
+ */
31
+ export declare namespace TSet {
32
+ /**
33
+ * @since 2.0.0
34
+ * @category models
35
+ */
36
+ interface Variance<in out A> {
37
+ readonly [TSetTypeId]: {
38
+ readonly _A: Types.Invariant<A>;
39
+ };
40
+ }
41
+ }
42
+ /**
43
+ * Stores new element in the set.
44
+ *
45
+ * @since 2.0.0
46
+ * @category mutations
47
+ */
48
+ export declare const add: {
49
+ /**
50
+ * Stores new element in the set.
51
+ *
52
+ * @since 2.0.0
53
+ * @category mutations
54
+ */
55
+ <A>(value: A): (self: TSet<A>) => STM.STM<void>;
56
+ /**
57
+ * Stores new element in the set.
58
+ *
59
+ * @since 2.0.0
60
+ * @category mutations
61
+ */
62
+ <A>(self: TSet<A>, value: A): STM.STM<void>;
63
+ };
64
+ /**
65
+ * Atomically transforms the set into the difference of itself and the
66
+ * provided set.
67
+ *
68
+ * @since 2.0.0
69
+ * @category mutations
70
+ */
71
+ export declare const difference: {
72
+ /**
73
+ * Atomically transforms the set into the difference of itself and the
74
+ * provided set.
75
+ *
76
+ * @since 2.0.0
77
+ * @category mutations
78
+ */
79
+ <A>(other: TSet<A>): (self: TSet<A>) => STM.STM<void>;
80
+ /**
81
+ * Atomically transforms the set into the difference of itself and the
82
+ * provided set.
83
+ *
84
+ * @since 2.0.0
85
+ * @category mutations
86
+ */
87
+ <A>(self: TSet<A>, other: TSet<A>): STM.STM<void>;
88
+ };
89
+ /**
90
+ * Makes an empty `TSet`.
91
+ *
92
+ * @since 2.0.0
93
+ * @category constructors
94
+ */
95
+ export declare const empty: <A>() => STM.STM<TSet<A>>;
96
+ /**
97
+ * Atomically performs transactional-effect for each element in set.
98
+ *
99
+ * @since 2.0.0
100
+ * @category elements
101
+ */
102
+ export declare const forEach: {
103
+ /**
104
+ * Atomically performs transactional-effect for each element in set.
105
+ *
106
+ * @since 2.0.0
107
+ * @category elements
108
+ */
109
+ <A, R, E>(f: (value: A) => STM.STM<void, E, R>): (self: TSet<A>) => STM.STM<void, E, R>;
110
+ /**
111
+ * Atomically performs transactional-effect for each element in set.
112
+ *
113
+ * @since 2.0.0
114
+ * @category elements
115
+ */
116
+ <A, R, E>(self: TSet<A>, f: (value: A) => STM.STM<void, E, R>): STM.STM<void, E, R>;
117
+ };
118
+ /**
119
+ * Creates a new `TSet` from an iterable collection of values.
120
+ *
121
+ * @since 2.0.0
122
+ * @category constructors
123
+ */
124
+ export declare const fromIterable: <A>(iterable: Iterable<A>) => STM.STM<TSet<A>>;
125
+ /**
126
+ * Tests whether or not set contains an element.
127
+ *
128
+ * @since 2.0.0
129
+ * @category elements
130
+ */
131
+ export declare const has: {
132
+ /**
133
+ * Tests whether or not set contains an element.
134
+ *
135
+ * @since 2.0.0
136
+ * @category elements
137
+ */
138
+ <A>(value: A): (self: TSet<A>) => STM.STM<boolean>;
139
+ /**
140
+ * Tests whether or not set contains an element.
141
+ *
142
+ * @since 2.0.0
143
+ * @category elements
144
+ */
145
+ <A>(self: TSet<A>, value: A): STM.STM<boolean>;
146
+ };
147
+ /**
148
+ * Atomically transforms the set into the intersection of itself and the
149
+ * provided set.
150
+ *
151
+ * @since 2.0.0
152
+ * @category mutations
153
+ */
154
+ export declare const intersection: {
155
+ /**
156
+ * Atomically transforms the set into the intersection of itself and the
157
+ * provided set.
158
+ *
159
+ * @since 2.0.0
160
+ * @category mutations
161
+ */
162
+ <A>(other: TSet<A>): (self: TSet<A>) => STM.STM<void>;
163
+ /**
164
+ * Atomically transforms the set into the intersection of itself and the
165
+ * provided set.
166
+ *
167
+ * @since 2.0.0
168
+ * @category mutations
169
+ */
170
+ <A>(self: TSet<A>, other: TSet<A>): STM.STM<void>;
171
+ };
172
+ /**
173
+ * Tests if the set is empty or not
174
+ *
175
+ * @since 2.0.0
176
+ * @category getters
177
+ */
178
+ export declare const isEmpty: <A>(self: TSet<A>) => STM.STM<boolean>;
179
+ /**
180
+ * Makes a new `TSet` that is initialized with specified values.
181
+ *
182
+ * @since 2.0.0
183
+ * @category constructors
184
+ */
185
+ export declare const make: <Elements extends Array<any>>(...elements: Elements) => STM.STM<TSet<Elements[number]>>;
186
+ /**
187
+ * Atomically folds using a pure function.
188
+ *
189
+ * @since 2.0.0
190
+ * @category folding
191
+ */
192
+ export declare const reduce: {
193
+ /**
194
+ * Atomically folds using a pure function.
195
+ *
196
+ * @since 2.0.0
197
+ * @category folding
198
+ */
199
+ <Z, A>(zero: Z, f: (accumulator: Z, value: A) => Z): (self: TSet<A>) => STM.STM<Z>;
200
+ /**
201
+ * Atomically folds using a pure function.
202
+ *
203
+ * @since 2.0.0
204
+ * @category folding
205
+ */
206
+ <Z, A>(self: TSet<A>, zero: Z, f: (accumulator: Z, value: A) => Z): STM.STM<Z>;
207
+ };
208
+ /**
209
+ * Atomically folds using a transactional function.
210
+ *
211
+ * @since 2.0.0
212
+ * @category folding
213
+ */
214
+ export declare const reduceSTM: {
215
+ /**
216
+ * Atomically folds using a transactional function.
217
+ *
218
+ * @since 2.0.0
219
+ * @category folding
220
+ */
221
+ <Z, A, R, E>(zero: Z, f: (accumulator: Z, value: A) => STM.STM<Z, E, R>): (self: TSet<A>) => STM.STM<Z, E, R>;
222
+ /**
223
+ * Atomically folds using a transactional function.
224
+ *
225
+ * @since 2.0.0
226
+ * @category folding
227
+ */
228
+ <Z, A, R, E>(self: TSet<A>, zero: Z, f: (accumulator: Z, value: A) => STM.STM<Z, E, R>): STM.STM<Z, E, R>;
229
+ };
230
+ /**
231
+ * Removes a single element from the set.
232
+ *
233
+ * @since 2.0.0
234
+ * @category mutations
235
+ */
236
+ export declare const remove: {
237
+ /**
238
+ * Removes a single element from the set.
239
+ *
240
+ * @since 2.0.0
241
+ * @category mutations
242
+ */
243
+ <A>(value: A): (self: TSet<A>) => STM.STM<void>;
244
+ /**
245
+ * Removes a single element from the set.
246
+ *
247
+ * @since 2.0.0
248
+ * @category mutations
249
+ */
250
+ <A>(self: TSet<A>, value: A): STM.STM<void>;
251
+ };
252
+ /**
253
+ * Removes elements from the set.
254
+ *
255
+ * @since 2.0.0
256
+ * @category mutations
257
+ */
258
+ export declare const removeAll: {
259
+ /**
260
+ * Removes elements from the set.
261
+ *
262
+ * @since 2.0.0
263
+ * @category mutations
264
+ */
265
+ <A>(iterable: Iterable<A>): (self: TSet<A>) => STM.STM<void>;
266
+ /**
267
+ * Removes elements from the set.
268
+ *
269
+ * @since 2.0.0
270
+ * @category mutations
271
+ */
272
+ <A>(self: TSet<A>, iterable: Iterable<A>): STM.STM<void>;
273
+ };
274
+ /**
275
+ * Removes entries from a `TSet` that satisfy the specified predicate and returns the removed entries
276
+ * (or `void` if `discard = true`).
277
+ *
278
+ * @since 2.0.0
279
+ * @category mutations
280
+ */
281
+ export declare const removeIf: {
282
+ /**
283
+ * Removes entries from a `TSet` that satisfy the specified predicate and returns the removed entries
284
+ * (or `void` if `discard = true`).
285
+ *
286
+ * @since 2.0.0
287
+ * @category mutations
288
+ */
289
+ <A>(predicate: Predicate<A>, options: {
290
+ readonly discard: true;
291
+ }): (self: TSet<A>) => STM.STM<void>;
292
+ /**
293
+ * Removes entries from a `TSet` that satisfy the specified predicate and returns the removed entries
294
+ * (or `void` if `discard = true`).
295
+ *
296
+ * @since 2.0.0
297
+ * @category mutations
298
+ */
299
+ <A>(predicate: Predicate<A>, options?: {
300
+ readonly discard: false;
301
+ }): (self: TSet<A>) => STM.STM<Array<A>>;
302
+ /**
303
+ * Removes entries from a `TSet` that satisfy the specified predicate and returns the removed entries
304
+ * (or `void` if `discard = true`).
305
+ *
306
+ * @since 2.0.0
307
+ * @category mutations
308
+ */
309
+ <A>(self: TSet<A>, predicate: Predicate<A>, options: {
310
+ readonly discard: true;
311
+ }): STM.STM<void>;
312
+ /**
313
+ * Removes entries from a `TSet` that satisfy the specified predicate and returns the removed entries
314
+ * (or `void` if `discard = true`).
315
+ *
316
+ * @since 2.0.0
317
+ * @category mutations
318
+ */
319
+ <A>(self: TSet<A>, predicate: Predicate<A>, options?: {
320
+ readonly discard: false;
321
+ }): STM.STM<Array<A>>;
322
+ };
323
+ /**
324
+ * Retains entries in a `TSet` that satisfy the specified predicate and returns the removed entries
325
+ * (or `void` if `discard = true`).
326
+ *
327
+ * @since 2.0.0
328
+ * @category mutations
329
+ */
330
+ export declare const retainIf: {
331
+ /**
332
+ * Retains entries in a `TSet` that satisfy the specified predicate and returns the removed entries
333
+ * (or `void` if `discard = true`).
334
+ *
335
+ * @since 2.0.0
336
+ * @category mutations
337
+ */
338
+ <A>(predicate: Predicate<A>, options: {
339
+ readonly discard: true;
340
+ }): (self: TSet<A>) => STM.STM<void>;
341
+ /**
342
+ * Retains entries in a `TSet` that satisfy the specified predicate and returns the removed entries
343
+ * (or `void` if `discard = true`).
344
+ *
345
+ * @since 2.0.0
346
+ * @category mutations
347
+ */
348
+ <A>(predicate: Predicate<A>, options?: {
349
+ readonly discard: false;
350
+ }): (self: TSet<A>) => STM.STM<Array<A>>;
351
+ /**
352
+ * Retains entries in a `TSet` that satisfy the specified predicate and returns the removed entries
353
+ * (or `void` if `discard = true`).
354
+ *
355
+ * @since 2.0.0
356
+ * @category mutations
357
+ */
358
+ <A>(self: TSet<A>, predicate: Predicate<A>, options: {
359
+ readonly discard: true;
360
+ }): STM.STM<void>;
361
+ /**
362
+ * Retains entries in a `TSet` that satisfy the specified predicate and returns the removed entries
363
+ * (or `void` if `discard = true`).
364
+ *
365
+ * @since 2.0.0
366
+ * @category mutations
367
+ */
368
+ <A>(self: TSet<A>, predicate: Predicate<A>, options?: {
369
+ readonly discard: false;
370
+ }): STM.STM<Array<A>>;
371
+ };
372
+ /**
373
+ * Returns the set's cardinality.
374
+ *
375
+ * @since 2.0.0
376
+ * @category getters
377
+ */
378
+ export declare const size: <A>(self: TSet<A>) => STM.STM<number>;
379
+ /**
380
+ * Takes the first matching value, or retries until there is one.
381
+ *
382
+ * @since 2.0.0
383
+ * @category mutations
384
+ */
385
+ export declare const takeFirst: {
386
+ /**
387
+ * Takes the first matching value, or retries until there is one.
388
+ *
389
+ * @since 2.0.0
390
+ * @category mutations
391
+ */
392
+ <A, B>(pf: (a: A) => Option.Option<B>): (self: TSet<A>) => STM.STM<B>;
393
+ /**
394
+ * Takes the first matching value, or retries until there is one.
395
+ *
396
+ * @since 2.0.0
397
+ * @category mutations
398
+ */
399
+ <A, B>(self: TSet<A>, pf: (a: A) => Option.Option<B>): STM.STM<B>;
400
+ };
401
+ /**
402
+ * Takes the first matching value, or retries until there is one.
403
+ *
404
+ * @since 2.0.0
405
+ * @category mutations
406
+ */
407
+ export declare const takeFirstSTM: {
408
+ /**
409
+ * Takes the first matching value, or retries until there is one.
410
+ *
411
+ * @since 2.0.0
412
+ * @category mutations
413
+ */
414
+ <A, B, E, R>(pf: (a: A) => STM.STM<B, Option.Option<E>, R>): (self: TSet<A>) => STM.STM<B, E, R>;
415
+ /**
416
+ * Takes the first matching value, or retries until there is one.
417
+ *
418
+ * @since 2.0.0
419
+ * @category mutations
420
+ */
421
+ <A, B, E, R>(self: TSet<A>, pf: (a: A) => STM.STM<B, Option.Option<E>, R>): STM.STM<B, E, R>;
422
+ };
423
+ /**
424
+ * Takes all matching values, or retries until there is at least one.
425
+ *
426
+ * @since 2.0.0
427
+ * @category mutations
428
+ */
429
+ export declare const takeSome: {
430
+ /**
431
+ * Takes all matching values, or retries until there is at least one.
432
+ *
433
+ * @since 2.0.0
434
+ * @category mutations
435
+ */
436
+ <A, B>(pf: (a: A) => Option.Option<B>): (self: TSet<A>) => STM.STM<[B, ...Array<B>]>;
437
+ /**
438
+ * Takes all matching values, or retries until there is at least one.
439
+ *
440
+ * @since 2.0.0
441
+ * @category mutations
442
+ */
443
+ <A, B>(self: TSet<A>, pf: (a: A) => Option.Option<B>): STM.STM<[B, ...Array<B>]>;
444
+ };
445
+ /**
446
+ * Takes all matching values, or retries until there is at least one.
447
+ *
448
+ * @since 2.0.0
449
+ * @category mutations
450
+ */
451
+ export declare const takeSomeSTM: {
452
+ /**
453
+ * Takes all matching values, or retries until there is at least one.
454
+ *
455
+ * @since 2.0.0
456
+ * @category mutations
457
+ */
458
+ <A, B, E, R>(pf: (a: A) => STM.STM<B, Option.Option<E>, R>): (self: TSet<A>) => STM.STM<[B, ...Array<B>], E, R>;
459
+ /**
460
+ * Takes all matching values, or retries until there is at least one.
461
+ *
462
+ * @since 2.0.0
463
+ * @category mutations
464
+ */
465
+ <A, B, E, R>(self: TSet<A>, pf: (a: A) => STM.STM<B, Option.Option<E>, R>): STM.STM<[B, ...Array<B>], E, R>;
466
+ };
467
+ /**
468
+ * Collects all elements into a `Chunk`.
469
+ *
470
+ * @since 2.0.0
471
+ * @category destructors
472
+ */
473
+ export declare const toChunk: <A>(self: TSet<A>) => STM.STM<Chunk.Chunk<A>>;
474
+ /**
475
+ * Collects all elements into a `HashSet`.
476
+ *
477
+ * @since 2.0.0
478
+ * @category destructors
479
+ */
480
+ export declare const toHashSet: <A>(self: TSet<A>) => STM.STM<HashSet.HashSet<A>>;
481
+ /**
482
+ * Collects all elements into a `Array`.
483
+ *
484
+ * @since 2.0.0
485
+ * @category destructors
486
+ */
487
+ export declare const toArray: <A>(self: TSet<A>) => STM.STM<Array<A>>;
488
+ /**
489
+ * Collects all elements into a `ReadonlySet`.
490
+ *
491
+ * @since 2.0.0
492
+ * @category destructors
493
+ */
494
+ export declare const toReadonlySet: <A>(self: TSet<A>) => STM.STM<ReadonlySet<A>>;
495
+ /**
496
+ * Atomically updates all elements using a pure function.
497
+ *
498
+ * @since 2.0.0
499
+ * @category mutations
500
+ */
501
+ export declare const transform: {
502
+ /**
503
+ * Atomically updates all elements using a pure function.
504
+ *
505
+ * @since 2.0.0
506
+ * @category mutations
507
+ */
508
+ <A>(f: (a: A) => A): (self: TSet<A>) => STM.STM<void>;
509
+ /**
510
+ * Atomically updates all elements using a pure function.
511
+ *
512
+ * @since 2.0.0
513
+ * @category mutations
514
+ */
515
+ <A>(self: TSet<A>, f: (a: A) => A): STM.STM<void>;
516
+ };
517
+ /**
518
+ * Atomically updates all elements using a transactional function.
519
+ *
520
+ * @since 2.0.0
521
+ * @category mutations
522
+ */
523
+ export declare const transformSTM: {
524
+ /**
525
+ * Atomically updates all elements using a transactional function.
526
+ *
527
+ * @since 2.0.0
528
+ * @category mutations
529
+ */
530
+ <A, R, E>(f: (a: A) => STM.STM<A, E, R>): (self: TSet<A>) => STM.STM<void, E, R>;
531
+ /**
532
+ * Atomically updates all elements using a transactional function.
533
+ *
534
+ * @since 2.0.0
535
+ * @category mutations
536
+ */
537
+ <A, R, E>(self: TSet<A>, f: (a: A) => STM.STM<A, E, R>): STM.STM<void, E, R>;
538
+ };
539
+ /**
540
+ * Atomically transforms the set into the union of itself and the provided
541
+ * set.
542
+ *
543
+ * @since 2.0.0
544
+ * @category mutations
545
+ */
546
+ export declare const union: {
547
+ /**
548
+ * Atomically transforms the set into the union of itself and the provided
549
+ * set.
550
+ *
551
+ * @since 2.0.0
552
+ * @category mutations
553
+ */
554
+ <A>(other: TSet<A>): (self: TSet<A>) => STM.STM<void>;
555
+ /**
556
+ * Atomically transforms the set into the union of itself and the provided
557
+ * set.
558
+ *
559
+ * @since 2.0.0
560
+ * @category mutations
561
+ */
562
+ <A>(self: TSet<A>, other: TSet<A>): STM.STM<void>;
563
+ };
564
+ //# sourceMappingURL=TSet.d.ts.map
backend/node_modules/effect/dist/dts/Tracer.d.ts ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Context from "./Context.js";
5
+ import type * as Effect from "./Effect.js";
6
+ import type * as Exit from "./Exit.js";
7
+ import type * as Fiber from "./Fiber.js";
8
+ import type { LazyArg } from "./Function.js";
9
+ import type * as Option from "./Option.js";
10
+ /**
11
+ * @since 2.0.0
12
+ */
13
+ export declare const TracerTypeId: unique symbol;
14
+ /**
15
+ * @since 2.0.0
16
+ */
17
+ export type TracerTypeId = typeof TracerTypeId;
18
+ /**
19
+ * @since 2.0.0
20
+ */
21
+ export interface Tracer {
22
+ readonly [TracerTypeId]: TracerTypeId;
23
+ span(name: string, parent: Option.Option<AnySpan>, context: Context.Context<never>, links: ReadonlyArray<SpanLink>, startTime: bigint, kind: SpanKind, options?: SpanOptions): Span;
24
+ context<X>(f: () => X, fiber: Fiber.RuntimeFiber<any, any>): X;
25
+ }
26
+ /**
27
+ * @since 2.0.0
28
+ * @category models
29
+ */
30
+ export type SpanStatus = {
31
+ _tag: "Started";
32
+ startTime: bigint;
33
+ } | {
34
+ _tag: "Ended";
35
+ startTime: bigint;
36
+ endTime: bigint;
37
+ exit: Exit.Exit<unknown, unknown>;
38
+ };
39
+ /**
40
+ * @since 2.0.0
41
+ * @category models
42
+ */
43
+ export type AnySpan = Span | ExternalSpan;
44
+ /**
45
+ * @since 2.0.0
46
+ * @category tags
47
+ */
48
+ export interface ParentSpan {
49
+ readonly _: unique symbol;
50
+ }
51
+ /**
52
+ * @since 2.0.0
53
+ * @category tags
54
+ */
55
+ export declare const ParentSpan: Context.Tag<ParentSpan, AnySpan>;
56
+ /**
57
+ * @since 2.0.0
58
+ * @category models
59
+ */
60
+ export interface ExternalSpan {
61
+ readonly _tag: "ExternalSpan";
62
+ readonly spanId: string;
63
+ readonly traceId: string;
64
+ readonly sampled: boolean;
65
+ readonly context: Context.Context<never>;
66
+ }
67
+ /**
68
+ * @since 3.1.0
69
+ * @category models
70
+ */
71
+ export interface SpanOptions {
72
+ readonly attributes?: Record<string, unknown> | undefined;
73
+ readonly links?: ReadonlyArray<SpanLink> | undefined;
74
+ readonly parent?: AnySpan | undefined;
75
+ readonly root?: boolean | undefined;
76
+ readonly context?: Context.Context<never> | undefined;
77
+ readonly kind?: SpanKind | undefined;
78
+ readonly captureStackTrace?: boolean | LazyArg<string | undefined> | undefined;
79
+ }
80
+ /**
81
+ * @since 3.1.0
82
+ * @category models
83
+ */
84
+ export type SpanKind = "internal" | "server" | "client" | "producer" | "consumer";
85
+ /**
86
+ * @since 2.0.0
87
+ * @category models
88
+ */
89
+ export interface Span {
90
+ readonly _tag: "Span";
91
+ readonly name: string;
92
+ readonly spanId: string;
93
+ readonly traceId: string;
94
+ readonly parent: Option.Option<AnySpan>;
95
+ readonly context: Context.Context<never>;
96
+ readonly status: SpanStatus;
97
+ readonly attributes: ReadonlyMap<string, unknown>;
98
+ readonly links: ReadonlyArray<SpanLink>;
99
+ readonly sampled: boolean;
100
+ readonly kind: SpanKind;
101
+ end(endTime: bigint, exit: Exit.Exit<unknown, unknown>): void;
102
+ attribute(key: string, value: unknown): void;
103
+ event(name: string, startTime: bigint, attributes?: Record<string, unknown>): void;
104
+ addLinks(links: ReadonlyArray<SpanLink>): void;
105
+ }
106
+ /**
107
+ * @since 2.0.0
108
+ * @category models
109
+ */
110
+ export interface SpanLink {
111
+ readonly _tag: "SpanLink";
112
+ readonly span: AnySpan;
113
+ readonly attributes: Readonly<Record<string, unknown>>;
114
+ }
115
+ /**
116
+ * @since 2.0.0
117
+ * @category tags
118
+ */
119
+ export declare const Tracer: Context.Tag<Tracer, Tracer>;
120
+ /**
121
+ * @since 2.0.0
122
+ * @category constructors
123
+ */
124
+ export declare const make: (options: Omit<Tracer, typeof TracerTypeId>) => Tracer;
125
+ /**
126
+ * @since 2.0.0
127
+ * @category constructors
128
+ */
129
+ export declare const externalSpan: (options: {
130
+ readonly spanId: string;
131
+ readonly traceId: string;
132
+ readonly sampled?: boolean | undefined;
133
+ readonly context?: Context.Context<never> | undefined;
134
+ }) => ExternalSpan;
135
+ /**
136
+ * @since 2.0.0
137
+ * @category constructors
138
+ */
139
+ export declare const tracerWith: <A, E, R>(f: (tracer: Tracer) => Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
140
+ /**
141
+ * @since 3.12.0
142
+ * @category annotations
143
+ */
144
+ export interface DisablePropagation {
145
+ readonly _: unique symbol;
146
+ }
147
+ /**
148
+ * @since 3.12.0
149
+ * @category annotations
150
+ */
151
+ export declare const DisablePropagation: Context.Reference<DisablePropagation, boolean>;
152
+ //# sourceMappingURL=Tracer.d.ts.map
backend/node_modules/effect/dist/dts/Unify.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Unify.d.ts","sourceRoot":"","sources":["../../src/Unify.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,OAAO,MAAM,C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KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,CAAA;IAC/F;;OAEG;IACH,CACE,IAAI,SAAS,KAAK,CAAC,GAAG,CAAC,EACvB,CAAC,EACD,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAA;IACvD;;OAEG;IACH,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;CACF,CAAA"}
backend/node_modules/effect/dist/dts/index.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;GAEG;AACH,MAAM;AACN;;GAEG;AACH,IAAI;AACJ;;GAEG;AACH,IAAI;AACJ;;GAEG;AACH,QAAQ;AACR;;GAEG;AACH,IAAI;AACJ;;GAEG;AACH,YAAY,EACb,MAAM,eAAe,CAAA;AAEtB;;GAEG;AACH,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C;;;;GAIG;AACH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAEnC;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAE7C;;;;;;;;;GASG;AACH,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAEnC;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAEnC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AAEnC;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,c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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 3.10.0
3
+ */
4
+ import * as Arr from "./Array.js";
5
+ import * as FastCheck from "./FastCheck.js";
6
+ import { globalValue } from "./GlobalValue.js";
7
+ import * as errors_ from "./internal/schema/errors.js";
8
+ import * as schemaId_ from "./internal/schema/schemaId.js";
9
+ import * as util_ from "./internal/schema/util.js";
10
+ import * as Option from "./Option.js";
11
+ import * as Predicate from "./Predicate.js";
12
+ import * as SchemaAST from "./SchemaAST.js";
13
+ /**
14
+ * Returns a LazyArbitrary for the `A` type of the provided schema.
15
+ *
16
+ * @category arbitrary
17
+ * @since 3.10.0
18
+ */
19
+ export const makeLazy = schema => {
20
+ const description = getDescription(schema.ast, []);
21
+ return go(description, {
22
+ maxDepth: 2
23
+ });
24
+ };
25
+ /**
26
+ * Returns a fast-check Arbitrary for the `A` type of the provided schema.
27
+ *
28
+ * @category arbitrary
29
+ * @since 3.10.0
30
+ */
31
+ export const make = schema => makeLazy(schema)(FastCheck);
32
+ /** @internal */
33
+ export const makeStringConstraints = options => {
34
+ const out = {
35
+ _tag: "StringConstraints",
36
+ constraints: {}
37
+ };
38
+ if (Predicate.isNumber(options.minLength)) {
39
+ out.constraints.minLength = options.minLength;
40
+ }
41
+ if (Predicate.isNumber(options.maxLength)) {
42
+ out.constraints.maxLength = options.maxLength;
43
+ }
44
+ if (Predicate.isString(options.pattern)) {
45
+ out.pattern = options.pattern;
46
+ }
47
+ return out;
48
+ };
49
+ /** @internal */
50
+ export const makeNumberConstraints = options => {
51
+ const out = {
52
+ _tag: "NumberConstraints",
53
+ constraints: {},
54
+ isInteger: options.isInteger ?? false
55
+ };
56
+ if (Predicate.isNumber(options.min)) {
57
+ out.constraints.min = Math.fround(options.min);
58
+ }
59
+ if (Predicate.isBoolean(options.minExcluded)) {
60
+ out.constraints.minExcluded = options.minExcluded;
61
+ }
62
+ if (Predicate.isNumber(options.max)) {
63
+ out.constraints.max = Math.fround(options.max);
64
+ }
65
+ if (Predicate.isBoolean(options.maxExcluded)) {
66
+ out.constraints.maxExcluded = options.maxExcluded;
67
+ }
68
+ if (Predicate.isBoolean(options.noNaN)) {
69
+ out.constraints.noNaN = options.noNaN;
70
+ }
71
+ if (Predicate.isBoolean(options.noDefaultInfinity)) {
72
+ out.constraints.noDefaultInfinity = options.noDefaultInfinity;
73
+ }
74
+ return out;
75
+ };
76
+ /** @internal */
77
+ export const makeBigIntConstraints = options => {
78
+ const out = {
79
+ _tag: "BigIntConstraints",
80
+ constraints: {}
81
+ };
82
+ if (Predicate.isBigInt(options.min)) {
83
+ out.constraints.min = options.min;
84
+ }
85
+ if (Predicate.isBigInt(options.max)) {
86
+ out.constraints.max = options.max;
87
+ }
88
+ return out;
89
+ };
90
+ /** @internal */
91
+ export const makeArrayConstraints = options => {
92
+ const out = {
93
+ _tag: "ArrayConstraints",
94
+ constraints: {}
95
+ };
96
+ if (Predicate.isNumber(options.minLength)) {
97
+ out.constraints.minLength = options.minLength;
98
+ }
99
+ if (Predicate.isNumber(options.maxLength)) {
100
+ out.constraints.maxLength = options.maxLength;
101
+ }
102
+ return out;
103
+ };
104
+ /** @internal */
105
+ export const makeDateConstraints = options => {
106
+ const out = {
107
+ _tag: "DateConstraints",
108
+ constraints: {}
109
+ };
110
+ if (Predicate.isDate(options.min)) {
111
+ out.constraints.min = options.min;
112
+ }
113
+ if (Predicate.isDate(options.max)) {
114
+ out.constraints.max = options.max;
115
+ }
116
+ if (Predicate.isBoolean(options.noInvalidDate)) {
117
+ out.constraints.noInvalidDate = options.noInvalidDate;
118
+ }
119
+ return out;
120
+ };
121
+ const getArbitraryAnnotation = /*#__PURE__*/SchemaAST.getAnnotation(SchemaAST.ArbitraryAnnotationId);
122
+ const getASTConstraints = ast => {
123
+ const TypeAnnotationId = ast.annotations[SchemaAST.SchemaIdAnnotationId];
124
+ if (Predicate.isPropertyKey(TypeAnnotationId)) {
125
+ const out = ast.annotations[TypeAnnotationId];
126
+ if (Predicate.isReadonlyRecord(out)) {
127
+ return out;
128
+ }
129
+ }
130
+ };
131
+ const idMemoMap = /*#__PURE__*/globalValue(/*#__PURE__*/Symbol.for("effect/Arbitrary/IdMemoMap"), () => new Map());
132
+ let counter = 0;
133
+ function wrapGetDescription(f, g) {
134
+ return (ast, path) => f(ast, g(ast, path));
135
+ }
136
+ function parseMeta(ast) {
137
+ const jsonSchema = SchemaAST.getJSONSchemaAnnotation(ast).pipe(Option.filter(Predicate.isReadonlyRecord), Option.getOrUndefined);
138
+ const schemaId = Option.getOrElse(SchemaAST.getSchemaIdAnnotation(ast), () => undefined);
139
+ const schemaParams = Option.fromNullable(schemaId).pipe(Option.map(id => ast.annotations[id]), Option.filter(Predicate.isReadonlyRecord), Option.getOrUndefined);
140
+ return [schemaId, {
141
+ ...schemaParams,
142
+ ...jsonSchema
143
+ }];
144
+ }
145
+ /** @internal */
146
+ export const getDescription = /*#__PURE__*/wrapGetDescription((ast, description) => {
147
+ const annotation = getArbitraryAnnotation(ast);
148
+ if (Option.isSome(annotation)) {
149
+ return {
150
+ ...description,
151
+ annotations: [...description.annotations, annotation.value]
152
+ };
153
+ }
154
+ return description;
155
+ }, (ast, path) => {
156
+ const [schemaId, meta] = parseMeta(ast);
157
+ switch (ast._tag) {
158
+ case "Refinement":
159
+ {
160
+ const from = getDescription(ast.from, path);
161
+ switch (from._tag) {
162
+ case "StringKeyword":
163
+ return {
164
+ ...from,
165
+ constraints: [...from.constraints, makeStringConstraints(meta)],
166
+ refinements: [...from.refinements, ast]
167
+ };
168
+ case "NumberKeyword":
169
+ {
170
+ const c = schemaId === schemaId_.NonNaNSchemaId ? makeNumberConstraints({
171
+ noNaN: true
172
+ }) : schemaId === schemaId_.FiniteSchemaId || schemaId === schemaId_.JsonNumberSchemaId ? makeNumberConstraints({
173
+ noDefaultInfinity: true,
174
+ noNaN: true
175
+ }) : makeNumberConstraints({
176
+ isInteger: "type" in meta && meta.type === "integer",
177
+ noNaN: undefined,
178
+ noDefaultInfinity: undefined,
179
+ min: meta.exclusiveMinimum ?? meta.minimum,
180
+ minExcluded: "exclusiveMinimum" in meta ? true : undefined,
181
+ max: meta.exclusiveMaximum ?? meta.maximum,
182
+ maxExcluded: "exclusiveMaximum" in meta ? true : undefined
183
+ });
184
+ return {
185
+ ...from,
186
+ constraints: [...from.constraints, c],
187
+ refinements: [...from.refinements, ast]
188
+ };
189
+ }
190
+ case "BigIntKeyword":
191
+ {
192
+ const c = getASTConstraints(ast);
193
+ return {
194
+ ...from,
195
+ constraints: c !== undefined ? [...from.constraints, makeBigIntConstraints(c)] : from.constraints,
196
+ refinements: [...from.refinements, ast]
197
+ };
198
+ }
199
+ case "TupleType":
200
+ return {
201
+ ...from,
202
+ constraints: [...from.constraints, makeArrayConstraints({
203
+ minLength: meta.minItems,
204
+ maxLength: meta.maxItems
205
+ })],
206
+ refinements: [...from.refinements, ast]
207
+ };
208
+ case "DateFromSelf":
209
+ return {
210
+ ...from,
211
+ constraints: [...from.constraints, makeDateConstraints(meta)],
212
+ refinements: [...from.refinements, ast]
213
+ };
214
+ default:
215
+ return {
216
+ ...from,
217
+ refinements: [...from.refinements, ast]
218
+ };
219
+ }
220
+ }
221
+ case "Declaration":
222
+ {
223
+ if (schemaId === schemaId_.DateFromSelfSchemaId) {
224
+ return {
225
+ _tag: "DateFromSelf",
226
+ constraints: [makeDateConstraints(meta)],
227
+ path,
228
+ refinements: [],
229
+ annotations: []
230
+ };
231
+ }
232
+ return {
233
+ _tag: "Declaration",
234
+ typeParameters: ast.typeParameters.map(ast => getDescription(ast, path)),
235
+ path,
236
+ refinements: [],
237
+ annotations: [],
238
+ ast
239
+ };
240
+ }
241
+ case "Literal":
242
+ {
243
+ return {
244
+ _tag: "Literal",
245
+ literal: ast.literal,
246
+ path,
247
+ refinements: [],
248
+ annotations: []
249
+ };
250
+ }
251
+ case "UniqueSymbol":
252
+ {
253
+ return {
254
+ _tag: "UniqueSymbol",
255
+ symbol: ast.symbol,
256
+ path,
257
+ refinements: [],
258
+ annotations: []
259
+ };
260
+ }
261
+ case "Enums":
262
+ {
263
+ return {
264
+ _tag: "Enums",
265
+ enums: ast.enums,
266
+ path,
267
+ refinements: [],
268
+ annotations: [],
269
+ ast
270
+ };
271
+ }
272
+ case "TemplateLiteral":
273
+ {
274
+ return {
275
+ _tag: "TemplateLiteral",
276
+ head: ast.head,
277
+ spans: ast.spans.map(span => ({
278
+ description: getDescription(span.type, path),
279
+ literal: span.literal
280
+ })),
281
+ path,
282
+ refinements: [],
283
+ annotations: []
284
+ };
285
+ }
286
+ case "StringKeyword":
287
+ return {
288
+ _tag: "StringKeyword",
289
+ constraints: [],
290
+ path,
291
+ refinements: [],
292
+ annotations: []
293
+ };
294
+ case "NumberKeyword":
295
+ return {
296
+ _tag: "NumberKeyword",
297
+ constraints: [],
298
+ path,
299
+ refinements: [],
300
+ annotations: []
301
+ };
302
+ case "BigIntKeyword":
303
+ return {
304
+ _tag: "BigIntKeyword",
305
+ constraints: [],
306
+ path,
307
+ refinements: [],
308
+ annotations: []
309
+ };
310
+ case "TupleType":
311
+ return {
312
+ _tag: "TupleType",
313
+ constraints: [],
314
+ elements: ast.elements.map((element, i) => ({
315
+ isOptional: element.isOptional,
316
+ description: getDescription(element.type, [...path, i])
317
+ })),
318
+ rest: ast.rest.map((element, i) => getDescription(element.type, [...path, i])),
319
+ path,
320
+ refinements: [],
321
+ annotations: []
322
+ };
323
+ case "TypeLiteral":
324
+ return {
325
+ _tag: "TypeLiteral",
326
+ propertySignatures: ast.propertySignatures.map(ps => ({
327
+ isOptional: ps.isOptional,
328
+ name: ps.name,
329
+ value: getDescription(ps.type, [...path, ps.name])
330
+ })),
331
+ indexSignatures: ast.indexSignatures.map(is => ({
332
+ parameter: getDescription(is.parameter, path),
333
+ value: getDescription(is.type, path)
334
+ })),
335
+ path,
336
+ refinements: [],
337
+ annotations: []
338
+ };
339
+ case "Union":
340
+ return {
341
+ _tag: "Union",
342
+ members: ast.types.map((member, i) => getDescription(member, [...path, i])),
343
+ path,
344
+ refinements: [],
345
+ annotations: []
346
+ };
347
+ case "Suspend":
348
+ {
349
+ const memoId = idMemoMap.get(ast);
350
+ if (memoId !== undefined) {
351
+ return {
352
+ _tag: "Ref",
353
+ id: memoId,
354
+ ast,
355
+ path,
356
+ refinements: [],
357
+ annotations: []
358
+ };
359
+ }
360
+ counter++;
361
+ const id = `__id-${counter}__`;
362
+ idMemoMap.set(ast, id);
363
+ return {
364
+ _tag: "Suspend",
365
+ id,
366
+ ast,
367
+ description: () => getDescription(ast.f(), path),
368
+ path,
369
+ refinements: [],
370
+ annotations: []
371
+ };
372
+ }
373
+ case "Transformation":
374
+ return getDescription(ast.to, path);
375
+ case "NeverKeyword":
376
+ return {
377
+ _tag: "NeverKeyword",
378
+ path,
379
+ refinements: [],
380
+ annotations: [],
381
+ ast
382
+ };
383
+ default:
384
+ {
385
+ return {
386
+ _tag: "Keyword",
387
+ value: ast._tag,
388
+ path,
389
+ refinements: [],
390
+ annotations: []
391
+ };
392
+ }
393
+ }
394
+ });
395
+ function getMax(n1, n2) {
396
+ return n1 === undefined ? n2 : n2 === undefined ? n1 : n1 <= n2 ? n2 : n1;
397
+ }
398
+ function getMin(n1, n2) {
399
+ return n1 === undefined ? n2 : n2 === undefined ? n1 : n1 <= n2 ? n1 : n2;
400
+ }
401
+ const getOr = (a, b) => {
402
+ return a === undefined ? b : b === undefined ? a : a || b;
403
+ };
404
+ function mergePattern(pattern1, pattern2) {
405
+ if (pattern1 === undefined) {
406
+ return pattern2;
407
+ }
408
+ if (pattern2 === undefined) {
409
+ return pattern1;
410
+ }
411
+ return `(?:${pattern1})|(?:${pattern2})`;
412
+ }
413
+ function mergeStringConstraints(c1, c2) {
414
+ return makeStringConstraints({
415
+ minLength: getMax(c1.constraints.minLength, c2.constraints.minLength),
416
+ maxLength: getMin(c1.constraints.maxLength, c2.constraints.maxLength),
417
+ pattern: mergePattern(c1.pattern, c2.pattern)
418
+ });
419
+ }
420
+ function buildStringConstraints(description) {
421
+ return description.constraints.length === 0 ? undefined : description.constraints.reduce(mergeStringConstraints);
422
+ }
423
+ function mergeNumberConstraints(c1, c2) {
424
+ return makeNumberConstraints({
425
+ isInteger: c1.isInteger || c2.isInteger,
426
+ min: getMax(c1.constraints.min, c2.constraints.min),
427
+ minExcluded: getOr(c1.constraints.minExcluded, c2.constraints.minExcluded),
428
+ max: getMin(c1.constraints.max, c2.constraints.max),
429
+ maxExcluded: getOr(c1.constraints.maxExcluded, c2.constraints.maxExcluded),
430
+ noNaN: getOr(c1.constraints.noNaN, c2.constraints.noNaN),
431
+ noDefaultInfinity: getOr(c1.constraints.noDefaultInfinity, c2.constraints.noDefaultInfinity)
432
+ });
433
+ }
434
+ function buildNumberConstraints(description) {
435
+ return description.constraints.length === 0 ? undefined : description.constraints.reduce(mergeNumberConstraints);
436
+ }
437
+ function mergeBigIntConstraints(c1, c2) {
438
+ return makeBigIntConstraints({
439
+ min: getMax(c1.constraints.min, c2.constraints.min),
440
+ max: getMin(c1.constraints.max, c2.constraints.max)
441
+ });
442
+ }
443
+ function buildBigIntConstraints(description) {
444
+ return description.constraints.length === 0 ? undefined : description.constraints.reduce(mergeBigIntConstraints);
445
+ }
446
+ function mergeDateConstraints(c1, c2) {
447
+ return makeDateConstraints({
448
+ min: getMax(c1.constraints.min, c2.constraints.min),
449
+ max: getMin(c1.constraints.max, c2.constraints.max),
450
+ noInvalidDate: getOr(c1.constraints.noInvalidDate, c2.constraints.noInvalidDate)
451
+ });
452
+ }
453
+ function buildDateConstraints(description) {
454
+ return description.constraints.length === 0 ? undefined : description.constraints.reduce(mergeDateConstraints);
455
+ }
456
+ const constArrayConstraints = /*#__PURE__*/makeArrayConstraints({});
457
+ function mergeArrayConstraints(c1, c2) {
458
+ return makeArrayConstraints({
459
+ minLength: getMax(c1.constraints.minLength, c2.constraints.minLength),
460
+ maxLength: getMin(c1.constraints.maxLength, c2.constraints.maxLength)
461
+ });
462
+ }
463
+ function buildArrayConstraints(description) {
464
+ return description.constraints.length === 0 ? undefined : description.constraints.reduce(mergeArrayConstraints);
465
+ }
466
+ const arbitraryMemoMap = /*#__PURE__*/globalValue(/*#__PURE__*/Symbol.for("effect/Arbitrary/arbitraryMemoMap"), () => new WeakMap());
467
+ function applyFilters(filters, arb) {
468
+ return fc => filters.reduce((arb, filter) => arb.filter(filter), arb(fc));
469
+ }
470
+ function absurd(message) {
471
+ return () => {
472
+ throw new Error(message);
473
+ };
474
+ }
475
+ function getContextConstraints(description) {
476
+ switch (description._tag) {
477
+ case "StringKeyword":
478
+ return buildStringConstraints(description);
479
+ case "NumberKeyword":
480
+ return buildNumberConstraints(description);
481
+ case "BigIntKeyword":
482
+ return buildBigIntConstraints(description);
483
+ case "DateFromSelf":
484
+ return buildDateConstraints(description);
485
+ case "TupleType":
486
+ return buildArrayConstraints(description);
487
+ }
488
+ }
489
+ function wrapGo(f, g) {
490
+ return (description, ctx) => f(description, ctx, g(description, ctx));
491
+ }
492
+ const go = /*#__PURE__*/wrapGo((description, ctx, lazyArb) => {
493
+ const annotation = description.annotations[description.annotations.length - 1];
494
+ // error handling
495
+ if (annotation === undefined) {
496
+ switch (description._tag) {
497
+ case "Declaration":
498
+ case "NeverKeyword":
499
+ throw new Error(errors_.getArbitraryMissingAnnotationErrorMessage(description.path, description.ast));
500
+ case "Enums":
501
+ if (description.enums.length === 0) {
502
+ throw new Error(errors_.getArbitraryEmptyEnumErrorMessage(description.path));
503
+ }
504
+ }
505
+ }
506
+ const filters = description.refinements.map(ast => a => Option.isNone(ast.filter(a, SchemaAST.defaultParseOption, ast)));
507
+ if (annotation === undefined) {
508
+ return applyFilters(filters, lazyArb);
509
+ }
510
+ const constraints = getContextConstraints(description);
511
+ if (constraints !== undefined) {
512
+ ctx = {
513
+ ...ctx,
514
+ constraints
515
+ };
516
+ }
517
+ if (description._tag === "Declaration") {
518
+ return applyFilters(filters, annotation(...description.typeParameters.map(p => go(p, ctx)), ctx));
519
+ }
520
+ if (description.refinements.length > 0) {
521
+ // TODO(4.0): remove the `lazyArb` parameter
522
+ return applyFilters(filters, annotation(lazyArb, ctx));
523
+ }
524
+ return annotation(ctx);
525
+ }, (description, ctx) => {
526
+ switch (description._tag) {
527
+ case "DateFromSelf":
528
+ {
529
+ const constraints = buildDateConstraints(description);
530
+ return fc => fc.date(constraints?.constraints);
531
+ }
532
+ case "Declaration":
533
+ case "NeverKeyword":
534
+ return absurd(`BUG: cannot generate an arbitrary for ${description._tag}`);
535
+ case "Literal":
536
+ return fc => fc.constant(description.literal);
537
+ case "UniqueSymbol":
538
+ return fc => fc.constant(description.symbol);
539
+ case "Keyword":
540
+ {
541
+ switch (description.value) {
542
+ case "UndefinedKeyword":
543
+ return fc => fc.constant(undefined);
544
+ case "VoidKeyword":
545
+ case "UnknownKeyword":
546
+ case "AnyKeyword":
547
+ return fc => fc.anything();
548
+ case "BooleanKeyword":
549
+ return fc => fc.boolean();
550
+ case "SymbolKeyword":
551
+ return fc => fc.string().map(s => Symbol.for(s));
552
+ case "ObjectKeyword":
553
+ return fc => fc.oneof(fc.object(), fc.array(fc.anything()));
554
+ }
555
+ }
556
+ case "Enums":
557
+ return fc => fc.oneof(...description.enums.map(([_, value]) => fc.constant(value)));
558
+ case "TemplateLiteral":
559
+ {
560
+ return fc => {
561
+ const string = fc.string({
562
+ maxLength: 5
563
+ });
564
+ const number = fc.float({
565
+ noDefaultInfinity: true,
566
+ noNaN: true
567
+ });
568
+ const getTemplateLiteralArb = description => {
569
+ const components = description.head !== "" ? [fc.constant(description.head)] : [];
570
+ const getTemplateLiteralSpanTypeArb = description => {
571
+ switch (description._tag) {
572
+ case "StringKeyword":
573
+ return string;
574
+ case "NumberKeyword":
575
+ return number;
576
+ case "Literal":
577
+ return fc.constant(String(description.literal));
578
+ case "Union":
579
+ return fc.oneof(...description.members.map(getTemplateLiteralSpanTypeArb));
580
+ case "TemplateLiteral":
581
+ return getTemplateLiteralArb(description);
582
+ default:
583
+ return fc.constant("");
584
+ }
585
+ };
586
+ description.spans.forEach(span => {
587
+ components.push(getTemplateLiteralSpanTypeArb(span.description));
588
+ if (span.literal !== "") {
589
+ components.push(fc.constant(span.literal));
590
+ }
591
+ });
592
+ return fc.tuple(...components).map(spans => spans.join(""));
593
+ };
594
+ return getTemplateLiteralArb(description);
595
+ };
596
+ }
597
+ case "StringKeyword":
598
+ {
599
+ const constraints = buildStringConstraints(description);
600
+ const pattern = constraints?.pattern;
601
+ return pattern !== undefined ? fc => fc.stringMatching(new RegExp(pattern)) : fc => fc.string(constraints?.constraints);
602
+ }
603
+ case "NumberKeyword":
604
+ {
605
+ const constraints = buildNumberConstraints(description);
606
+ return constraints?.isInteger ? fc => fc.integer(constraints.constraints) : fc => fc.float(constraints?.constraints);
607
+ }
608
+ case "BigIntKeyword":
609
+ {
610
+ const constraints = buildBigIntConstraints(description);
611
+ return fc => fc.bigInt(constraints?.constraints ?? {});
612
+ }
613
+ case "TupleType":
614
+ {
615
+ const elements = [];
616
+ let hasOptionals = false;
617
+ for (const element of description.elements) {
618
+ elements.push(go(element.description, ctx));
619
+ if (element.isOptional) {
620
+ hasOptionals = true;
621
+ }
622
+ }
623
+ const rest = description.rest.map(d => go(d, ctx));
624
+ return fc => {
625
+ // ---------------------------------------------
626
+ // handle elements
627
+ // ---------------------------------------------
628
+ let output = fc.tuple(...elements.map(arb => arb(fc)));
629
+ if (hasOptionals) {
630
+ const indexes = fc.tuple(...description.elements.map(element => element.isOptional ? fc.boolean() : fc.constant(true)));
631
+ output = output.chain(tuple => indexes.map(booleans => {
632
+ for (const [i, b] of booleans.reverse().entries()) {
633
+ if (!b) {
634
+ tuple.splice(booleans.length - i, 1);
635
+ }
636
+ }
637
+ return tuple;
638
+ }));
639
+ }
640
+ // ---------------------------------------------
641
+ // handle rest element
642
+ // ---------------------------------------------
643
+ if (Arr.isNonEmptyReadonlyArray(rest)) {
644
+ const constraints = buildArrayConstraints(description) ?? constArrayConstraints;
645
+ const [head, ...tail] = rest;
646
+ const item = head(fc);
647
+ output = output.chain(as => {
648
+ const len = as.length;
649
+ // We must adjust the constraints for the rest element
650
+ // because the elements might have generated some values
651
+ const restArrayConstraints = subtractElementsLength(constraints.constraints, len);
652
+ if (restArrayConstraints.maxLength === 0) {
653
+ return fc.constant(as);
654
+ }
655
+ /*
656
+ `getSuspendedArray` is used to generate less values in
657
+ the context of a recursive schema. Without it, the following schema
658
+ would generate an big amount of values possibly leading to a stack
659
+ overflow:
660
+ ```ts
661
+ type A = ReadonlyArray<A | null>
662
+ const schema = S.Array(
663
+ S.NullOr(S.suspend((): S.Schema<A> => schema))
664
+ )
665
+ ```
666
+ */
667
+ const arr = ctx.depthIdentifier !== undefined ? getSuspendedArray(fc, ctx.depthIdentifier, ctx.maxDepth, item, restArrayConstraints) : fc.array(item, restArrayConstraints);
668
+ if (len === 0) {
669
+ return arr;
670
+ }
671
+ return arr.map(rest => [...as, ...rest]);
672
+ });
673
+ // ---------------------------------------------
674
+ // handle post rest elements
675
+ // ---------------------------------------------
676
+ for (let j = 0; j < tail.length; j++) {
677
+ output = output.chain(as => tail[j](fc).map(a => [...as, a]));
678
+ }
679
+ }
680
+ return output;
681
+ };
682
+ }
683
+ case "TypeLiteral":
684
+ {
685
+ const propertySignatures = [];
686
+ const requiredKeys = [];
687
+ for (const ps of description.propertySignatures) {
688
+ if (!ps.isOptional) {
689
+ requiredKeys.push(ps.name);
690
+ }
691
+ propertySignatures.push(go(ps.value, ctx));
692
+ }
693
+ const indexSignatures = description.indexSignatures.map(is => [go(is.parameter, ctx), go(is.value, ctx)]);
694
+ return fc => {
695
+ const pps = {};
696
+ for (let i = 0; i < propertySignatures.length; i++) {
697
+ const ps = description.propertySignatures[i];
698
+ pps[ps.name] = propertySignatures[i](fc);
699
+ }
700
+ let output = fc.record(pps, {
701
+ requiredKeys
702
+ });
703
+ // ---------------------------------------------
704
+ // handle index signatures
705
+ // ---------------------------------------------
706
+ for (let i = 0; i < indexSignatures.length; i++) {
707
+ const key = indexSignatures[i][0](fc);
708
+ const value = indexSignatures[i][1](fc);
709
+ output = output.chain(o => {
710
+ const item = fc.tuple(key, value);
711
+ /*
712
+ `getSuspendedArray` is used to generate less key/value pairs in
713
+ the context of a recursive schema. Without it, the following schema
714
+ would generate an big amount of values possibly leading to a stack
715
+ overflow:
716
+ ```ts
717
+ type A = { [_: string]: A }
718
+ const schema = S.Record({ key: S.String, value: S.suspend((): S.Schema<A> => schema) })
719
+ ```
720
+ */
721
+ const arr = ctx.depthIdentifier !== undefined ? getSuspendedArray(fc, ctx.depthIdentifier, ctx.maxDepth, item, {
722
+ maxLength: 2
723
+ }) : fc.array(item);
724
+ return arr.map(tuples => ({
725
+ ...Object.fromEntries(tuples),
726
+ ...o
727
+ }));
728
+ });
729
+ }
730
+ return output;
731
+ };
732
+ }
733
+ case "Union":
734
+ {
735
+ const members = description.members.map(member => go(member, ctx));
736
+ return fc => fc.oneof(...members.map(arb => arb(fc)));
737
+ }
738
+ case "Suspend":
739
+ {
740
+ const memo = arbitraryMemoMap.get(description.ast);
741
+ if (memo) {
742
+ return memo;
743
+ }
744
+ if (ctx.depthIdentifier === undefined) {
745
+ ctx = {
746
+ ...ctx,
747
+ depthIdentifier: description.id
748
+ };
749
+ }
750
+ const get = util_.memoizeThunk(() => {
751
+ return go(description.description(), ctx);
752
+ });
753
+ const out = fc => fc.constant(null).chain(() => get()(fc));
754
+ arbitraryMemoMap.set(description.ast, out);
755
+ return out;
756
+ }
757
+ case "Ref":
758
+ {
759
+ const memo = arbitraryMemoMap.get(description.ast);
760
+ if (memo) {
761
+ return memo;
762
+ }
763
+ throw new Error(`BUG: Ref ${JSON.stringify(description.id)} not found`);
764
+ }
765
+ }
766
+ });
767
+ function subtractElementsLength(constraints, len) {
768
+ if (len === 0 || constraints.minLength === undefined && constraints.maxLength === undefined) {
769
+ return constraints;
770
+ }
771
+ const out = {
772
+ ...constraints
773
+ };
774
+ if (out.minLength !== undefined) {
775
+ out.minLength = Math.max(out.minLength - len, 0);
776
+ }
777
+ if (out.maxLength !== undefined) {
778
+ out.maxLength = Math.max(out.maxLength - len, 0);
779
+ }
780
+ return out;
781
+ }
782
+ const getSuspendedArray = (fc, depthIdentifier, maxDepth, item, constraints) => {
783
+ // In the context of a recursive schema, we don't want a `maxLength` greater than 2.
784
+ // The only exception is when `minLength` is also set, in which case we set
785
+ // `maxLength` to the minimum value, which is `minLength`.
786
+ const maxLengthLimit = Math.max(2, constraints.minLength ?? 0);
787
+ if (constraints.maxLength !== undefined && constraints.maxLength > maxLengthLimit) {
788
+ constraints = {
789
+ ...constraints,
790
+ maxLength: maxLengthLimit
791
+ };
792
+ }
793
+ return fc.oneof({
794
+ maxDepth,
795
+ depthIdentifier
796
+ }, fc.constant([]), fc.array(item, constraints));
797
+ };
798
+ //# sourceMappingURL=Arbitrary.js.map
backend/node_modules/effect/dist/esm/Array.js ADDED
@@ -0,0 +1,2703 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides utility functions for working with arrays in TypeScript.
3
+ *
4
+ * @since 2.0.0
5
+ */
6
+ import * as Either from "./Either.js";
7
+ import * as Equal from "./Equal.js";
8
+ import * as Equivalence from "./Equivalence.js";
9
+ import { dual, identity } from "./Function.js";
10
+ import * as internalArray from "./internal/array.js";
11
+ import * as internalDoNotation from "./internal/doNotation.js";
12
+ import * as moduleIterable from "./Iterable.js";
13
+ import * as Option from "./Option.js";
14
+ import * as Order from "./Order.js";
15
+ import * as Predicate from "./Predicate.js";
16
+ import * as Record from "./Record.js";
17
+ import * as Tuple from "./Tuple.js";
18
+ /**
19
+ * Builds a `NonEmptyArray` from an non-empty collection of elements.
20
+ *
21
+ * **Example**
22
+ *
23
+ * ```ts
24
+ * import { Array } from "effect"
25
+ *
26
+ * const result = Array.make(1, 2, 3)
27
+ * console.log(result) // [1, 2, 3]
28
+ * ```
29
+ *
30
+ * @category constructors
31
+ * @since 2.0.0
32
+ */
33
+ export const make = (...elements) => elements;
34
+ /**
35
+ * Creates a new `Array` of the specified length.
36
+ *
37
+ * **Example**
38
+ *
39
+ * ```ts
40
+ * import { Array } from "effect"
41
+ *
42
+ * const result = Array.allocate<number>(3)
43
+ * console.log(result) // [ <3 empty items> ]
44
+ * ```
45
+ *
46
+ * @category constructors
47
+ * @since 2.0.0
48
+ */
49
+ export const allocate = n => new Array(n);
50
+ /**
51
+ * Return a `NonEmptyArray` of length `n` with element `i` initialized with `f(i)`.
52
+ *
53
+ * **Note**. `n` is normalized to an integer >= 1.
54
+ *
55
+ * **Example**
56
+ *
57
+ * ```ts
58
+ * import { makeBy } from "effect/Array"
59
+ *
60
+ * const result = makeBy(5, n => n * 2)
61
+ * console.log(result) // [0, 2, 4, 6, 8]
62
+ * ```
63
+ *
64
+ * @category constructors
65
+ * @since 2.0.0
66
+ */
67
+ export const makeBy = /*#__PURE__*/dual(2, (n, f) => {
68
+ const max = Math.max(1, Math.floor(n));
69
+ const out = new Array(max);
70
+ for (let i = 0; i < max; i++) {
71
+ out[i] = f(i);
72
+ }
73
+ return out;
74
+ });
75
+ /**
76
+ * Return a `NonEmptyArray` containing a range of integers, including both endpoints.
77
+ *
78
+ * **Example**
79
+ *
80
+ * ```ts
81
+ * import { range } from "effect/Array"
82
+ *
83
+ * const result = range(1, 3)
84
+ * console.log(result) // [1, 2, 3]
85
+ * ```
86
+ *
87
+ * @category constructors
88
+ * @since 2.0.0
89
+ */
90
+ export const range = (start, end) => start <= end ? makeBy(end - start + 1, i => start + i) : [start];
91
+ /**
92
+ * Return a `NonEmptyArray` containing a value repeated the specified number of times.
93
+ *
94
+ * **Note**. `n` is normalized to an integer >= 1.
95
+ *
96
+ * **Example**
97
+ *
98
+ * ```ts
99
+ * import { Array } from "effect"
100
+ *
101
+ * const result = Array.replicate("a", 3)
102
+ * console.log(result) // ["a", "a", "a"]
103
+ * ```
104
+ *
105
+ * @category constructors
106
+ * @since 2.0.0
107
+ */
108
+ export const replicate = /*#__PURE__*/dual(2, (a, n) => makeBy(n, () => a));
109
+ /**
110
+ * Creates a new `Array` from an iterable collection of values.
111
+ * If the input is already an array, it returns the input as-is.
112
+ * Otherwise, it converts the iterable collection to an array.
113
+ *
114
+ * **Example**
115
+ *
116
+ * ```ts
117
+ * import { Array } from "effect"
118
+ *
119
+ * const result = Array.fromIterable(new Set([1, 2, 3]))
120
+ * console.log(result) // [1, 2, 3]
121
+ * ```
122
+ *
123
+ * @category constructors
124
+ * @since 2.0.0
125
+ */
126
+ export const fromIterable = collection => Array.isArray(collection) ? collection : Array.from(collection);
127
+ /**
128
+ * Creates a new `Array` from a value that might not be an iterable.
129
+ *
130
+ * **Example**
131
+ *
132
+ * ```ts
133
+ * import { Array } from "effect"
134
+ *
135
+ * console.log(Array.ensure("a")) // ["a"]
136
+ * console.log(Array.ensure(["a"])) // ["a"]
137
+ * console.log(Array.ensure(["a", "b", "c"])) // ["a", "b", "c"]
138
+ * ```
139
+ *
140
+ * @category constructors
141
+ * @since 3.3.0
142
+ */
143
+ export const ensure = self => Array.isArray(self) ? self : [self];
144
+ /**
145
+ * Takes a record and returns an array of tuples containing its keys and values.
146
+ *
147
+ * **Example**
148
+ *
149
+ * ```ts
150
+ * import { Array } from "effect"
151
+ *
152
+ * const result = Array.fromRecord({ a: 1, b: 2, c: 3 })
153
+ * console.log(result) // [["a", 1], ["b", 2], ["c", 3]]
154
+ * ```
155
+ *
156
+ * @category conversions
157
+ * @since 2.0.0
158
+ */
159
+ export const fromRecord = Record.toEntries;
160
+ /**
161
+ * Converts an `Option` to an array.
162
+ *
163
+ * **Example**
164
+ *
165
+ * ```ts
166
+ * import { Array, Option } from "effect"
167
+ *
168
+ * console.log(Array.fromOption(Option.some(1))) // [1]
169
+ * console.log(Array.fromOption(Option.none())) // []
170
+ * ```
171
+ *
172
+ * @category conversions
173
+ * @since 2.0.0
174
+ */
175
+ export const fromOption = Option.toArray;
176
+ /**
177
+ * Matches the elements of an array, applying functions to cases of empty and non-empty arrays.
178
+ *
179
+ * **Example**
180
+ *
181
+ * ```ts
182
+ * import { Array } from "effect"
183
+ *
184
+ * const match = Array.match({
185
+ * onEmpty: () => "empty",
186
+ * onNonEmpty: ([head, ...tail]) => `head: ${head}, tail: ${tail.length}`
187
+ * })
188
+ * console.log(match([])) // "empty"
189
+ * console.log(match([1, 2, 3])) // "head: 1, tail: 2"
190
+ * ```
191
+ *
192
+ * @category pattern matching
193
+ * @since 2.0.0
194
+ */
195
+ export const match = /*#__PURE__*/dual(2, (self, {
196
+ onEmpty,
197
+ onNonEmpty
198
+ }) => isNonEmptyReadonlyArray(self) ? onNonEmpty(self) : onEmpty());
199
+ /**
200
+ * Matches the elements of an array from the left, applying functions to cases of empty and non-empty arrays.
201
+ *
202
+ * **Example**
203
+ *
204
+ * ```ts
205
+ * import { Array } from "effect"
206
+ *
207
+ * const matchLeft = Array.matchLeft({
208
+ * onEmpty: () => "empty",
209
+ * onNonEmpty: (head, tail) => `head: ${head}, tail: ${tail.length}`
210
+ * })
211
+ * console.log(matchLeft([])) // "empty"
212
+ * console.log(matchLeft([1, 2, 3])) // "head: 1, tail: 2"
213
+ * ```
214
+ *
215
+ * @category pattern matching
216
+ * @since 2.0.0
217
+ */
218
+ export const matchLeft = /*#__PURE__*/dual(2, (self, {
219
+ onEmpty,
220
+ onNonEmpty
221
+ }) => isNonEmptyReadonlyArray(self) ? onNonEmpty(headNonEmpty(self), tailNonEmpty(self)) : onEmpty());
222
+ /**
223
+ * Matches the elements of an array from the right, applying functions to cases of empty and non-empty arrays.
224
+ *
225
+ * **Example**
226
+ *
227
+ * ```ts
228
+ * import { Array } from "effect"
229
+ *
230
+ * const matchRight = Array.matchRight({
231
+ * onEmpty: () => "empty",
232
+ * onNonEmpty: (init, last) => `init: ${init.length}, last: ${last}`
233
+ * })
234
+ * console.log(matchRight([])) // "empty"
235
+ * console.log(matchRight([1, 2, 3])) // "init: 2, last: 3"
236
+ * ```
237
+ *
238
+ * @category pattern matching
239
+ * @since 2.0.0
240
+ */
241
+ export const matchRight = /*#__PURE__*/dual(2, (self, {
242
+ onEmpty,
243
+ onNonEmpty
244
+ }) => isNonEmptyReadonlyArray(self) ? onNonEmpty(initNonEmpty(self), lastNonEmpty(self)) : onEmpty());
245
+ /**
246
+ * Prepend an element to the front of an `Iterable`, creating a new `NonEmptyArray`.
247
+ *
248
+ * **Example**
249
+ *
250
+ * ```ts
251
+ * import { Array } from "effect"
252
+ *
253
+ * const result = Array.prepend([2, 3, 4], 1)
254
+ * console.log(result) // [1, 2, 3, 4]
255
+ * ```
256
+ *
257
+ * @category concatenating
258
+ * @since 2.0.0
259
+ */
260
+ export const prepend = /*#__PURE__*/dual(2, (self, head) => [head, ...self]);
261
+ /**
262
+ * Prepends the specified prefix array (or iterable) to the beginning of the specified array (or iterable).
263
+ * If either array is non-empty, the result is also a non-empty array.
264
+ *
265
+ * **Example**
266
+ *
267
+ * ```ts
268
+ * import { Array } from "effect"
269
+ *
270
+ * const result = Array.prependAll([2, 3], [0, 1])
271
+ * console.log(result) // [0, 1, 2, 3]
272
+ * ```
273
+ *
274
+ * @category concatenating
275
+ * @since 2.0.0
276
+ */
277
+ export const prependAll = /*#__PURE__*/dual(2, (self, that) => fromIterable(that).concat(fromIterable(self)));
278
+ /**
279
+ * Append an element to the end of an `Iterable`, creating a new `NonEmptyArray`.
280
+ *
281
+ * **Example**
282
+ *
283
+ * ```ts
284
+ * import { Array } from "effect"
285
+ *
286
+ * const result = Array.append([1, 2, 3], 4);
287
+ * console.log(result) // [1, 2, 3, 4]
288
+ * ```
289
+ *
290
+ * @category concatenating
291
+ * @since 2.0.0
292
+ */
293
+ export const append = /*#__PURE__*/dual(2, (self, last) => [...self, last]);
294
+ /**
295
+ * Concatenates two arrays (or iterables), combining their elements.
296
+ * If either array is non-empty, the result is also a non-empty array.
297
+ *
298
+ * @category concatenating
299
+ * @since 2.0.0
300
+ */
301
+ export const appendAll = /*#__PURE__*/dual(2, (self, that) => fromIterable(self).concat(fromIterable(that)));
302
+ /**
303
+ * Accumulates values from an `Iterable` starting from the left, storing
304
+ * each intermediate result in an array. Useful for tracking the progression of
305
+ * a value through a series of transformations.
306
+ *
307
+ * **Example**
308
+ *
309
+ * ```ts
310
+ * import { Array } from "effect";
311
+ *
312
+ * const result = Array.scan([1, 2, 3, 4], 0, (acc, value) => acc + value)
313
+ * console.log(result) // [0, 1, 3, 6, 10]
314
+ *
315
+ * // Explanation:
316
+ * // This function starts with the initial value (0 in this case)
317
+ * // and adds each element of the array to this accumulator one by one,
318
+ * // keeping track of the cumulative sum after each addition.
319
+ * // Each of these sums is captured in the resulting array.
320
+ * ```
321
+ *
322
+ * @category folding
323
+ * @since 2.0.0
324
+ */
325
+ export const scan = /*#__PURE__*/dual(3, (self, b, f) => {
326
+ const out = [b];
327
+ let i = 0;
328
+ for (const a of self) {
329
+ out[i + 1] = f(out[i], a);
330
+ i++;
331
+ }
332
+ return out;
333
+ });
334
+ /**
335
+ * Accumulates values from an `Iterable` starting from the right, storing
336
+ * each intermediate result in an array. Useful for tracking the progression of
337
+ * a value through a series of transformations.
338
+ *
339
+ * **Example**
340
+ *
341
+ * ```ts
342
+ * import { Array } from "effect";
343
+ *
344
+ * const result = Array.scanRight([1, 2, 3, 4], 0, (acc, value) => acc + value)
345
+ * console.log(result) // [10, 9, 7, 4, 0]
346
+ * ```
347
+ *
348
+ * @category folding
349
+ * @since 2.0.0
350
+ */
351
+ export const scanRight = /*#__PURE__*/dual(3, (self, b, f) => {
352
+ const input = fromIterable(self);
353
+ const out = new Array(input.length + 1);
354
+ out[input.length] = b;
355
+ for (let i = input.length - 1; i >= 0; i--) {
356
+ out[i] = f(out[i + 1], input[i]);
357
+ }
358
+ return out;
359
+ });
360
+ /**
361
+ * Determine if `unknown` is an Array.
362
+ *
363
+ * **Example**
364
+ *
365
+ * ```ts
366
+ * import { Array } from "effect"
367
+ *
368
+ * console.log(Array.isArray(null)) // false
369
+ * console.log(Array.isArray([1, 2, 3])) // true
370
+ * ```
371
+ *
372
+ * @category guards
373
+ * @since 2.0.0
374
+ */
375
+ export const isArray = Array.isArray;
376
+ /**
377
+ * Determine if an `Array` is empty narrowing down the type to `[]`.
378
+ *
379
+ * **Example**
380
+ *
381
+ * ```ts
382
+ * import { Array } from "effect"
383
+ *
384
+ * console.log(Array.isEmptyArray([])) // true
385
+ * console.log(Array.isEmptyArray([1, 2, 3])) // false
386
+ * ```
387
+ *
388
+ * @category guards
389
+ * @since 2.0.0
390
+ */
391
+ export const isEmptyArray = self => self.length === 0;
392
+ /**
393
+ * Determine if a `ReadonlyArray` is empty narrowing down the type to `readonly []`.
394
+ *
395
+ * **Example**
396
+ *
397
+ * ```ts
398
+ * import { Array } from "effect"
399
+ *
400
+ * console.log(Array.isEmptyReadonlyArray([])) // true
401
+ * console.log(Array.isEmptyReadonlyArray([1, 2, 3])) // false
402
+ * ```
403
+ *
404
+ * @category guards
405
+ * @since 2.0.0
406
+ */
407
+ export const isEmptyReadonlyArray = isEmptyArray;
408
+ /**
409
+ * Determine if an `Array` is non empty narrowing down the type to `NonEmptyArray`.
410
+ *
411
+ * An `Array` is considered to be a `NonEmptyArray` if it contains at least one element.
412
+ *
413
+ * **Example**
414
+ *
415
+ * ```ts
416
+ * import { Array } from "effect"
417
+ *
418
+ * console.log(Array.isNonEmptyArray([])) // false
419
+ * console.log(Array.isNonEmptyArray([1, 2, 3])) // true
420
+ * ```
421
+ *
422
+ * @category guards
423
+ * @since 2.0.0
424
+ */
425
+ export const isNonEmptyArray = internalArray.isNonEmptyArray;
426
+ /**
427
+ * Determine if a `ReadonlyArray` is non empty narrowing down the type to `NonEmptyReadonlyArray`.
428
+ *
429
+ * A `ReadonlyArray` is considered to be a `NonEmptyReadonlyArray` if it contains at least one element.
430
+ *
431
+ * **Example**
432
+ *
433
+ * ```ts
434
+ * import { Array } from "effect"
435
+ *
436
+ * console.log(Array.isNonEmptyReadonlyArray([])) // false
437
+ * console.log(Array.isNonEmptyReadonlyArray([1, 2, 3])) // true
438
+ * ```
439
+ *
440
+ * @category guards
441
+ * @since 2.0.0
442
+ */
443
+ export const isNonEmptyReadonlyArray = internalArray.isNonEmptyArray;
444
+ /**
445
+ * Return the number of elements in a `ReadonlyArray`.
446
+ *
447
+ * @category getters
448
+ * @since 2.0.0
449
+ */
450
+ export const length = self => self.length;
451
+ const isOutOfBounds = (i, as) => i < 0 || i >= as.length;
452
+ const clamp = (i, as) => Math.floor(Math.min(Math.max(0, i), as.length));
453
+ /**
454
+ * This function provides a safe way to read a value at a particular index from a `ReadonlyArray`.
455
+ *
456
+ * @category getters
457
+ * @since 2.0.0
458
+ */
459
+ export const get = /*#__PURE__*/dual(2, (self, index) => {
460
+ const i = Math.floor(index);
461
+ return isOutOfBounds(i, self) ? Option.none() : Option.some(self[i]);
462
+ });
463
+ /**
464
+ * Gets an element unsafely, will throw on out of bounds.
465
+ *
466
+ * @since 2.0.0
467
+ * @category unsafe
468
+ */
469
+ export const unsafeGet = /*#__PURE__*/dual(2, (self, index) => {
470
+ const i = Math.floor(index);
471
+ if (isOutOfBounds(i, self)) {
472
+ throw new Error(`Index ${i} out of bounds`);
473
+ }
474
+ return self[i];
475
+ });
476
+ /**
477
+ * Return a tuple containing the first element, and a new `Array` of the remaining elements, if any.
478
+ *
479
+ * **Example**
480
+ *
481
+ * ```ts
482
+ * import { Array } from "effect";
483
+ *
484
+ * const result = Array.unprepend([1, 2, 3, 4])
485
+ * console.log(result) // [1, [2, 3, 4]]
486
+ * ```
487
+ *
488
+ * @category splitting
489
+ * @since 2.0.0
490
+ */
491
+ export const unprepend = self => [headNonEmpty(self), tailNonEmpty(self)];
492
+ /**
493
+ * Return a tuple containing a copy of the `NonEmptyReadonlyArray` without its last element, and that last element.
494
+ *
495
+ * **Example**
496
+ *
497
+ * ```ts
498
+ * import { Array } from "effect";
499
+ *
500
+ * const result = Array.unappend([1, 2, 3, 4])
501
+ * console.log(result) // [[1, 2, 3], 4]
502
+ * ```
503
+ *
504
+ * @category splitting
505
+ * @since 2.0.0
506
+ */
507
+ export const unappend = self => [initNonEmpty(self), lastNonEmpty(self)];
508
+ /**
509
+ * Get the first element of a `ReadonlyArray`, or `None` if the `ReadonlyArray` is empty.
510
+ *
511
+ * @category getters
512
+ * @since 2.0.0
513
+ */
514
+ export const head = /*#__PURE__*/get(0);
515
+ /**
516
+ * Get the first element of a non empty array.
517
+ *
518
+ * **Example**
519
+ *
520
+ * ```ts
521
+ * import { Array } from "effect"
522
+ *
523
+ * const result = Array.headNonEmpty([1, 2, 3, 4])
524
+ * console.log(result) // 1
525
+ * ```
526
+ *
527
+ * @category getters
528
+ * @since 2.0.0
529
+ */
530
+ export const headNonEmpty = /*#__PURE__*/unsafeGet(0);
531
+ /**
532
+ * Get the last element in a `ReadonlyArray`, or `None` if the `ReadonlyArray` is empty.
533
+ *
534
+ * @category getters
535
+ * @since 2.0.0
536
+ */
537
+ export const last = self => isNonEmptyReadonlyArray(self) ? Option.some(lastNonEmpty(self)) : Option.none();
538
+ /**
539
+ * Get the last element of a non empty array.
540
+ *
541
+ * **Example**
542
+ *
543
+ * ```ts
544
+ * import { Array } from "effect"
545
+ *
546
+ * const result = Array.lastNonEmpty([1, 2, 3, 4])
547
+ * console.log(result) // 4
548
+ * ```
549
+ *
550
+ * @category getters
551
+ * @since 2.0.0
552
+ */
553
+ export const lastNonEmpty = self => self[self.length - 1];
554
+ /**
555
+ * Get all but the first element of an `Iterable`, creating a new `Array`, or `None` if the `Iterable` is empty.
556
+ *
557
+ * @category getters
558
+ * @since 2.0.0
559
+ */
560
+ export const tail = self => {
561
+ const input = fromIterable(self);
562
+ return isNonEmptyReadonlyArray(input) ? Option.some(tailNonEmpty(input)) : Option.none();
563
+ };
564
+ /**
565
+ * Get all but the first element of a `NonEmptyReadonlyArray`.
566
+ *
567
+ * **Example**
568
+ *
569
+ * ```ts
570
+ * import { Array } from "effect"
571
+ *
572
+ * const result = Array.tailNonEmpty([1, 2, 3, 4])
573
+ * console.log(result) // [2, 3, 4]
574
+ * ```
575
+ *
576
+ * @category getters
577
+ * @since 2.0.0
578
+ */
579
+ export const tailNonEmpty = self => self.slice(1);
580
+ /**
581
+ * Get all but the last element of an `Iterable`, creating a new `Array`, or `None` if the `Iterable` is empty.
582
+ *
583
+ * @category getters
584
+ * @since 2.0.0
585
+ */
586
+ export const init = self => {
587
+ const input = fromIterable(self);
588
+ return isNonEmptyReadonlyArray(input) ? Option.some(initNonEmpty(input)) : Option.none();
589
+ };
590
+ /**
591
+ * Get all but the last element of a non empty array, creating a new array.
592
+ *
593
+ * **Example**
594
+ *
595
+ * ```ts
596
+ * import { Array } from "effect"
597
+ *
598
+ * const result = Array.initNonEmpty([1, 2, 3, 4])
599
+ * console.log(result) // [1, 2, 3]
600
+ * ```
601
+ *
602
+ * @category getters
603
+ * @since 2.0.0
604
+ */
605
+ export const initNonEmpty = self => self.slice(0, -1);
606
+ /**
607
+ * Keep only a max number of elements from the start of an `Iterable`, creating a new `Array`.
608
+ *
609
+ * **Note**. `n` is normalized to a non negative integer.
610
+ *
611
+ * **Example**
612
+ *
613
+ * ```ts
614
+ * import { Array } from "effect"
615
+ *
616
+ * const result = Array.take([1, 2, 3, 4, 5], 3)
617
+ * console.log(result) // [1, 2, 3]
618
+ * ```
619
+ *
620
+ * @category getters
621
+ * @since 2.0.0
622
+ */
623
+ export const take = /*#__PURE__*/dual(2, (self, n) => {
624
+ const input = fromIterable(self);
625
+ return input.slice(0, clamp(n, input));
626
+ });
627
+ /**
628
+ * Keep only a max number of elements from the end of an `Iterable`, creating a new `Array`.
629
+ *
630
+ * **Note**. `n` is normalized to a non negative integer.
631
+ *
632
+ * **Example**
633
+ *
634
+ * ```ts
635
+ * import { Array } from "effect"
636
+ *
637
+ * const result = Array.takeRight([1, 2, 3, 4, 5], 3)
638
+ * console.log(result) // [3, 4, 5]
639
+ * ```
640
+ *
641
+ * @category getters
642
+ * @since 2.0.0
643
+ */
644
+ export const takeRight = /*#__PURE__*/dual(2, (self, n) => {
645
+ const input = fromIterable(self);
646
+ const i = clamp(n, input);
647
+ return i === 0 ? [] : input.slice(-i);
648
+ });
649
+ /**
650
+ * Calculate the longest initial subarray for which all element satisfy the specified predicate, creating a new `Array`.
651
+ *
652
+ * **Example**
653
+ *
654
+ * ```ts
655
+ * import { Array } from "effect"
656
+ *
657
+ * const result = Array.takeWhile([1, 3, 2, 4, 1, 2], x => x < 4)
658
+ * console.log(result) // [1, 3, 2]
659
+ *
660
+ * // Explanation:
661
+ * // - The function starts with the first element (`1`), which is less than `4`, so it adds `1` to the result.
662
+ * // - The next element (`3`) is also less than `4`, so it adds `3`.
663
+ * // - The next element (`2`) is again less than `4`, so it adds `2`.
664
+ * // - The function then encounters `4`, which is not less than `4`. At this point, it stops checking further elements and finalizes the result.
665
+ * ```
666
+ *
667
+ * @category getters
668
+ * @since 2.0.0
669
+ */
670
+ export const takeWhile = /*#__PURE__*/dual(2, (self, predicate) => {
671
+ let i = 0;
672
+ const out = [];
673
+ for (const a of self) {
674
+ if (!predicate(a, i)) {
675
+ break;
676
+ }
677
+ out.push(a);
678
+ i++;
679
+ }
680
+ return out;
681
+ });
682
+ const spanIndex = (self, predicate) => {
683
+ let i = 0;
684
+ for (const a of self) {
685
+ if (!predicate(a, i)) {
686
+ break;
687
+ }
688
+ i++;
689
+ }
690
+ return i;
691
+ };
692
+ /**
693
+ * Split an `Iterable` into two parts:
694
+ *
695
+ * 1. the longest initial subarray for which all elements satisfy the specified predicate
696
+ * 2. the remaining elements
697
+ *
698
+ * @category splitting
699
+ * @since 2.0.0
700
+ */
701
+ export const span = /*#__PURE__*/dual(2, (self, predicate) => splitAt(self, spanIndex(self, predicate)));
702
+ /**
703
+ * Drop a max number of elements from the start of an `Iterable`, creating a new `Array`.
704
+ *
705
+ * **Note**. `n` is normalized to a non negative integer.
706
+ *
707
+ * **Example**
708
+ *
709
+ * ```ts
710
+ * import { Array } from "effect"
711
+ *
712
+ * const result = Array.drop([1, 2, 3, 4, 5], 2)
713
+ * console.log(result) // [3, 4, 5]
714
+ * ```
715
+ *
716
+ * @category getters
717
+ * @since 2.0.0
718
+ */
719
+ export const drop = /*#__PURE__*/dual(2, (self, n) => {
720
+ const input = fromIterable(self);
721
+ return input.slice(clamp(n, input), input.length);
722
+ });
723
+ /**
724
+ * Drop a max number of elements from the end of an `Iterable`, creating a new `Array`.
725
+ *
726
+ * **Note**. `n` is normalized to a non negative integer.
727
+ *
728
+ * **Example**
729
+ *
730
+ * ```ts
731
+ * import { Array } from "effect"
732
+ *
733
+ * const result = Array.dropRight([1, 2, 3, 4, 5], 2)
734
+ * console.log(result) // [1, 2, 3]
735
+ * ```
736
+ *
737
+ * @category getters
738
+ * @since 2.0.0
739
+ */
740
+ export const dropRight = /*#__PURE__*/dual(2, (self, n) => {
741
+ const input = fromIterable(self);
742
+ return input.slice(0, input.length - clamp(n, input));
743
+ });
744
+ /**
745
+ * Remove the longest initial subarray for which all element satisfy the specified predicate, creating a new `Array`.
746
+ *
747
+ * **Example**
748
+ *
749
+ * ```ts
750
+ * import { Array } from "effect"
751
+ *
752
+ * const result = Array.dropWhile([1, 2, 3, 4, 5], x => x < 4)
753
+ * console.log(result) // [4, 5]
754
+ * ```
755
+ *
756
+ * @category getters
757
+ * @since 2.0.0
758
+ */
759
+ export const dropWhile = /*#__PURE__*/dual(2, (self, predicate) => fromIterable(self).slice(spanIndex(self, predicate)));
760
+ /**
761
+ * Return the first index for which a predicate holds.
762
+ *
763
+ * **Example**
764
+ *
765
+ * ```ts
766
+ * import { Array } from "effect"
767
+ *
768
+ * const result = Array.findFirstIndex([5, 3, 8, 9], x => x > 5)
769
+ * console.log(result) // Option.some(2)
770
+ * ```
771
+ *
772
+ * @category elements
773
+ * @since 2.0.0
774
+ */
775
+ export const findFirstIndex = /*#__PURE__*/dual(2, (self, predicate) => {
776
+ let i = 0;
777
+ for (const a of self) {
778
+ if (predicate(a, i)) {
779
+ return Option.some(i);
780
+ }
781
+ i++;
782
+ }
783
+ return Option.none();
784
+ });
785
+ /**
786
+ * Return the last index for which a predicate holds.
787
+ *
788
+ * **Example**
789
+ *
790
+ * ```ts
791
+ * import { Array } from "effect"
792
+ *
793
+ * const result = Array.findLastIndex([1, 3, 8, 9], x => x < 5)
794
+ * console.log(result) // Option.some(1)
795
+ * ```
796
+ *
797
+ * @category elements
798
+ * @since 2.0.0
799
+ */
800
+ export const findLastIndex = /*#__PURE__*/dual(2, (self, predicate) => {
801
+ const input = fromIterable(self);
802
+ for (let i = input.length - 1; i >= 0; i--) {
803
+ if (predicate(input[i], i)) {
804
+ return Option.some(i);
805
+ }
806
+ }
807
+ return Option.none();
808
+ });
809
+ /**
810
+ * Returns the first element that satisfies the specified
811
+ * predicate, or `None` if no such element exists.
812
+ *
813
+ * **Example**
814
+ *
815
+ * ```ts
816
+ * import { Array } from "effect"
817
+ *
818
+ * const result = Array.findFirst([1, 2, 3, 4, 5], x => x > 3)
819
+ * console.log(result) // Option.some(4)
820
+ * ```
821
+ *
822
+ * @category elements
823
+ * @since 2.0.0
824
+ */
825
+ export const findFirst = moduleIterable.findFirst;
826
+ /**
827
+ * Finds the last element in an iterable collection that satisfies the given predicate or refinement.
828
+ * Returns an `Option` containing the found element, or `Option.none` if no element matches.
829
+ *
830
+ * **Example**
831
+ *
832
+ * ```ts
833
+ * import { Array } from "effect"
834
+ *
835
+ * const result = Array.findLast([1, 2, 3, 4, 5], n => n % 2 === 0)
836
+ * console.log(result) // Option.some(4)
837
+ * ```
838
+ *
839
+ * @category elements
840
+ * @since 2.0.0
841
+ */
842
+ export const findLast = /*#__PURE__*/dual(2, (self, f) => {
843
+ const input = fromIterable(self);
844
+ for (let i = input.length - 1; i >= 0; i--) {
845
+ const a = input[i];
846
+ const o = f(a, i);
847
+ if (Predicate.isBoolean(o)) {
848
+ if (o) {
849
+ return Option.some(a);
850
+ }
851
+ } else {
852
+ if (Option.isSome(o)) {
853
+ return o;
854
+ }
855
+ }
856
+ }
857
+ return Option.none();
858
+ });
859
+ /**
860
+ * Returns a tuple of the first element that satisfies the specified
861
+ * predicate and its index, or `None` if no such element exists.
862
+ *
863
+ * **Example**
864
+ *
865
+ * ```ts
866
+ * import { Array } from "effect"
867
+ *
868
+ * const result = Array.findFirstWithIndex([1, 2, 3, 4, 5], x => x > 3)
869
+ * console.log(result) // Option.some([4, 3])
870
+ * ```
871
+ *
872
+ * @category elements
873
+ * @since 3.17.0
874
+ */
875
+ export const findFirstWithIndex = /*#__PURE__*/dual(2, (self, f) => {
876
+ let i = 0;
877
+ for (const a of self) {
878
+ const o = f(a, i);
879
+ if (Predicate.isBoolean(o)) {
880
+ if (o) {
881
+ return Option.some([a, i]);
882
+ }
883
+ } else {
884
+ if (Option.isSome(o)) {
885
+ return Option.some([o.value, i]);
886
+ }
887
+ }
888
+ i++;
889
+ }
890
+ return Option.none();
891
+ });
892
+ /**
893
+ * Counts all the element of the given array that pass the given predicate
894
+ *
895
+ * **Example**
896
+ *
897
+ * ```ts
898
+ * import { Array } from "effect"
899
+ *
900
+ * const result = Array.countBy([1, 2, 3, 4, 5], n => n % 2 === 0)
901
+ * console.log(result) // 2
902
+ * ```
903
+ *
904
+ * @category folding
905
+ * @since 3.16.0
906
+ */
907
+ export const countBy = /*#__PURE__*/dual(2, (self, f) => {
908
+ let count = 0;
909
+ const as = fromIterable(self);
910
+ for (let i = 0; i < as.length; i++) {
911
+ const a = as[i];
912
+ if (f(a, i)) {
913
+ count++;
914
+ }
915
+ }
916
+ return count;
917
+ });
918
+ /**
919
+ * Insert an element at the specified index, creating a new `NonEmptyArray`,
920
+ * or return `None` if the index is out of bounds.
921
+ *
922
+ * **Example**
923
+ *
924
+ * ```ts
925
+ * import { Array } from "effect"
926
+ *
927
+ * const result = Array.insertAt(['a', 'b', 'c', 'e'], 3, 'd')
928
+ * console.log(result) // Option.some(['a', 'b', 'c', 'd', 'e'])
929
+ * ```
930
+ *
931
+ * @since 2.0.0
932
+ */
933
+ export const insertAt = /*#__PURE__*/dual(3, (self, i, b) => {
934
+ const out = Array.from(self);
935
+ // v--- `= self.length` is ok, it means inserting in last position
936
+ if (i < 0 || i > out.length) {
937
+ return Option.none();
938
+ }
939
+ out.splice(i, 0, b);
940
+ return Option.some(out);
941
+ });
942
+ /**
943
+ * Change the element at the specified index, creating a new `Array`,
944
+ * or return a copy of the input if the index is out of bounds.
945
+ *
946
+ * **Example**
947
+ *
948
+ * ```ts
949
+ * import { Array } from "effect"
950
+ *
951
+ * const result = Array.replace(['a', 'b', 'c', 'd'], 1, 'z')
952
+ * console.log(result) // ['a', 'z', 'c', 'd']
953
+ * ```
954
+ *
955
+ * @since 2.0.0
956
+ */
957
+ export const replace = /*#__PURE__*/dual(3, (self, i, b) => modify(self, i, () => b));
958
+ /**
959
+ * Replaces an element in an array with the given value, returning an option of the updated array.
960
+ *
961
+ * **Example**
962
+ *
963
+ * ```ts
964
+ * import { Array } from "effect"
965
+ *
966
+ * const result = Array.replaceOption([1, 2, 3], 1, 4)
967
+ * console.log(result) // Option.some([1, 4, 3])
968
+ * ```
969
+ *
970
+ * @since 2.0.0
971
+ */
972
+ export const replaceOption = /*#__PURE__*/dual(3, (self, i, b) => modifyOption(self, i, () => b));
973
+ /**
974
+ * Apply a function to the element at the specified index, creating a new `Array`,
975
+ * or return a copy of the input if the index is out of bounds.
976
+ *
977
+ * **Example**
978
+ *
979
+ * ```ts
980
+ * import { Array } from "effect"
981
+ *
982
+ * const result = Array.modify([1, 2, 3, 4], 2, (n) => n * 2)
983
+ * console.log(result) // [1, 2, 6, 4]
984
+ * ```
985
+ *
986
+ * @since 2.0.0
987
+ */
988
+ export const modify = /*#__PURE__*/dual(3, (self, i, f) => {
989
+ const out = Array.from(self);
990
+ if (isOutOfBounds(i, out)) {
991
+ return out;
992
+ }
993
+ const b = f(out[i]);
994
+ out[i] = b;
995
+ return out;
996
+ });
997
+ /**
998
+ * Apply a function to the element at the specified index, creating a new `Array`,
999
+ * or return `None` if the index is out of bounds.
1000
+ *
1001
+ * **Example**
1002
+ *
1003
+ * ```ts
1004
+ * import { Array } from "effect"
1005
+ *
1006
+ * const input = [1, 2, 3, 4]
1007
+ * const result = Array.modifyOption(input, 2, (n) => n * 2)
1008
+ * console.log(result) // Option.some([1, 2, 6, 4])
1009
+ *
1010
+ * const outOfBoundsResult = Array.modifyOption(input, 5, (n) => n * 2)
1011
+ * console.log(outOfBoundsResult) // Option.none()
1012
+ * ```
1013
+ *
1014
+ * @since 2.0.0
1015
+ */
1016
+ export const modifyOption = /*#__PURE__*/dual(3, (self, i, f) => {
1017
+ const arr = fromIterable(self);
1018
+ if (isOutOfBounds(i, arr)) {
1019
+ return Option.none();
1020
+ }
1021
+ const out = Array.isArray(self) ? self.slice() : arr;
1022
+ const b = f(arr[i]);
1023
+ out[i] = b;
1024
+ return Option.some(out);
1025
+ });
1026
+ /**
1027
+ * Delete the element at the specified index, creating a new `Array`,
1028
+ * or return a copy of the input if the index is out of bounds.
1029
+ *
1030
+ * **Example**
1031
+ *
1032
+ * ```ts
1033
+ * import { Array } from "effect"
1034
+ *
1035
+ * const input = [1, 2, 3, 4]
1036
+ * const result = Array.remove(input, 2)
1037
+ * console.log(result) // [1, 2, 4]
1038
+ *
1039
+ * const outOfBoundsResult = Array.remove(input, 5)
1040
+ * console.log(outOfBoundsResult) // [1, 2, 3, 4]
1041
+ * ```
1042
+ *
1043
+ * @since 2.0.0
1044
+ */
1045
+ export const remove = /*#__PURE__*/dual(2, (self, i) => {
1046
+ const out = Array.from(self);
1047
+ if (isOutOfBounds(i, out)) {
1048
+ return out;
1049
+ }
1050
+ out.splice(i, 1);
1051
+ return out;
1052
+ });
1053
+ /**
1054
+ * Delete the element at the specified index, creating a new `Array`,
1055
+ * or return `None` if the index is out of bounds.
1056
+ *
1057
+ * @example
1058
+ * ```ts
1059
+ * import * as assert from "node:assert"
1060
+ * import { Array, Option } from "effect"
1061
+ *
1062
+ * const numbers = [1, 2, 3, 4]
1063
+ * const result = Array.removeOption(numbers, 2)
1064
+ * assert.deepStrictEqual(result, Option.some([1, 2, 4]))
1065
+ *
1066
+ * const outOfBoundsResult = Array.removeOption(numbers, 5)
1067
+ * assert.deepStrictEqual(outOfBoundsResult, Option.none())
1068
+ * ```
1069
+ *
1070
+ * @since 3.16.0
1071
+ */
1072
+ export const removeOption = /*#__PURE__*/dual(2, (self, i) => {
1073
+ const arr = fromIterable(self);
1074
+ if (isOutOfBounds(i, arr)) {
1075
+ return Option.none();
1076
+ }
1077
+ const out = Array.isArray(self) ? self.slice() : arr;
1078
+ out.splice(i, 1);
1079
+ return Option.some(out);
1080
+ });
1081
+ /**
1082
+ * Reverse an `Iterable`, creating a new `Array`.
1083
+ *
1084
+ * **Example**
1085
+ *
1086
+ * ```ts
1087
+ * import { Array } from "effect"
1088
+ *
1089
+ * const result = Array.reverse([1, 2, 3, 4])
1090
+ * console.log(result) // [4, 3, 2, 1]
1091
+ * ```
1092
+ *
1093
+ * @category elements
1094
+ * @since 2.0.0
1095
+ */
1096
+ export const reverse = self => Array.from(self).reverse();
1097
+ /**
1098
+ * Create a new array with elements sorted in increasing order based on the specified comparator.
1099
+ * If the input is a `NonEmptyReadonlyArray`, the output will also be a `NonEmptyReadonlyArray`.
1100
+ *
1101
+ * @category sorting
1102
+ * @since 2.0.0
1103
+ */
1104
+ export const sort = /*#__PURE__*/dual(2, (self, O) => {
1105
+ const out = Array.from(self);
1106
+ out.sort(O);
1107
+ return out;
1108
+ });
1109
+ /**
1110
+ * Sorts an array based on a provided mapping function and order. The mapping
1111
+ * function transforms the elements into a value that can be compared, and the
1112
+ * order defines how those values should be sorted.
1113
+ *
1114
+ * **Example**
1115
+ *
1116
+ * ```ts
1117
+ * import { Array, Order } from "effect"
1118
+ *
1119
+ * const result = Array.sortWith(["aaa", "b", "cc"], (s) => s.length, Order.number)
1120
+ * console.log(result) // ["b", "cc", "aaa"]
1121
+ *
1122
+ * // Explanation:
1123
+ * // The array of strings is sorted based on their lengths. The mapping function `(s) => s.length`
1124
+ * // converts each string into its length, and the `Order.number` specifies that the lengths should
1125
+ * // be sorted in ascending order.
1126
+ * ```
1127
+ *
1128
+ * @since 2.0.0
1129
+ * @category elements
1130
+ */
1131
+ export const sortWith = /*#__PURE__*/dual(3, (self, f, order) => Array.from(self).map(a => [a, f(a)]).sort(([, a], [, b]) => order(a, b)).map(([_]) => _));
1132
+ /**
1133
+ * Sorts the elements of an `Iterable` in increasing order based on the provided
1134
+ * orders. The elements are compared using the first order in `orders`, then the
1135
+ * second order if the first comparison is equal, and so on.
1136
+ *
1137
+ * **Example**
1138
+ *
1139
+ * ```ts
1140
+ * import { Array, Order, pipe } from "effect"
1141
+ *
1142
+ * const users = [
1143
+ * { name: "Alice", age: 30 },
1144
+ * { name: "Bob", age: 25 },
1145
+ * { name: "Charlie", age: 30 }
1146
+ * ]
1147
+ *
1148
+ * const result = pipe(
1149
+ * users,
1150
+ * Array.sortBy(
1151
+ * Order.mapInput(Order.number, (user: (typeof users)[number]) => user.age),
1152
+ * Order.mapInput(Order.string, (user: (typeof users)[number]) => user.name)
1153
+ * )
1154
+ * )
1155
+ *
1156
+ * console.log(result)
1157
+ * // [
1158
+ * // { name: "Bob", age: 25 },
1159
+ * // { name: "Alice", age: 30 },
1160
+ * // { name: "Charlie", age: 30 }
1161
+ * // ]
1162
+ *
1163
+ * // Explanation:
1164
+ * // The array of users is sorted first by age in ascending order. When ages are equal,
1165
+ * // the users are further sorted by name in ascending order.
1166
+ * ```
1167
+ *
1168
+ * @category sorting
1169
+ * @since 2.0.0
1170
+ */
1171
+ export const sortBy = (...orders) => {
1172
+ const sortByAll = sort(Order.combineAll(orders));
1173
+ return self => {
1174
+ const input = fromIterable(self);
1175
+ if (isNonEmptyReadonlyArray(input)) {
1176
+ return sortByAll(input);
1177
+ }
1178
+ return [];
1179
+ };
1180
+ };
1181
+ /**
1182
+ * Takes two `Iterable`s and returns an `Array` of corresponding pairs.
1183
+ * If one input `Iterable` is short, excess elements of the
1184
+ * longer `Iterable` are discarded.
1185
+ *
1186
+ * **Example**
1187
+ *
1188
+ * ```ts
1189
+ * import { Array } from "effect"
1190
+ *
1191
+ * const result = Array.zip([1, 2, 3], ['a', 'b'])
1192
+ * console.log(result) // [[1, 'a'], [2, 'b']]
1193
+ * ```
1194
+ *
1195
+ * @category zipping
1196
+ * @since 2.0.0
1197
+ */
1198
+ export const zip = /*#__PURE__*/dual(2, (self, that) => zipWith(self, that, Tuple.make));
1199
+ /**
1200
+ * Apply a function to pairs of elements at the same index in two `Iterable`s, collecting the results in a new `Array`. If one
1201
+ * input `Iterable` is short, excess elements of the longer `Iterable` are discarded.
1202
+ *
1203
+ * **Example**
1204
+ *
1205
+ * ```ts
1206
+ * import { Array } from "effect"
1207
+ *
1208
+ * const result = Array.zipWith([1, 2, 3], [4, 5, 6], (a, b) => a + b)
1209
+ * console.log(result) // [5, 7, 9]
1210
+ * ```
1211
+ *
1212
+ * @category zipping
1213
+ * @since 2.0.0
1214
+ */
1215
+ export const zipWith = /*#__PURE__*/dual(3, (self, that, f) => {
1216
+ const as = fromIterable(self);
1217
+ const bs = fromIterable(that);
1218
+ if (isNonEmptyReadonlyArray(as) && isNonEmptyReadonlyArray(bs)) {
1219
+ const out = [f(headNonEmpty(as), headNonEmpty(bs))];
1220
+ const len = Math.min(as.length, bs.length);
1221
+ for (let i = 1; i < len; i++) {
1222
+ out[i] = f(as[i], bs[i]);
1223
+ }
1224
+ return out;
1225
+ }
1226
+ return [];
1227
+ });
1228
+ /**
1229
+ * This function is the inverse of `zip`. Takes an `Iterable` of pairs and return two corresponding `Array`s.
1230
+ *
1231
+ * **Example**
1232
+ *
1233
+ * ```ts
1234
+ * import { Array } from "effect"
1235
+ *
1236
+ * const result = Array.unzip([[1, "a"], [2, "b"], [3, "c"]])
1237
+ * console.log(result) // [[1, 2, 3], ['a', 'b', 'c']]
1238
+ * ```
1239
+ *
1240
+ * @since 2.0.0
1241
+ */
1242
+ export const unzip = self => {
1243
+ const input = fromIterable(self);
1244
+ if (isNonEmptyReadonlyArray(input)) {
1245
+ const fa = [input[0][0]];
1246
+ const fb = [input[0][1]];
1247
+ for (let i = 1; i < input.length; i++) {
1248
+ fa[i] = input[i][0];
1249
+ fb[i] = input[i][1];
1250
+ }
1251
+ return [fa, fb];
1252
+ }
1253
+ return [[], []];
1254
+ };
1255
+ /**
1256
+ * Places an element in between members of an `Iterable`.
1257
+ * If the input is a non-empty array, the result is also a non-empty array.
1258
+ *
1259
+ * **Example**
1260
+ *
1261
+ * ```ts
1262
+ * import { Array } from "effect"
1263
+ *
1264
+ * const result = Array.intersperse([1, 2, 3], 0)
1265
+ * console.log(result) // [1, 0, 2, 0, 3]
1266
+ * ```
1267
+ *
1268
+ * @since 2.0.0
1269
+ */
1270
+ export const intersperse = /*#__PURE__*/dual(2, (self, middle) => {
1271
+ const input = fromIterable(self);
1272
+ if (isNonEmptyReadonlyArray(input)) {
1273
+ const out = [headNonEmpty(input)];
1274
+ const tail = tailNonEmpty(input);
1275
+ for (let i = 0; i < tail.length; i++) {
1276
+ if (i < tail.length) {
1277
+ out.push(middle);
1278
+ }
1279
+ out.push(tail[i]);
1280
+ }
1281
+ return out;
1282
+ }
1283
+ return [];
1284
+ });
1285
+ /**
1286
+ * Apply a function to the head, creating a new `NonEmptyReadonlyArray`.
1287
+ *
1288
+ * **Example**
1289
+ *
1290
+ * ```ts
1291
+ * import { Array } from "effect"
1292
+ *
1293
+ * const result = Array.modifyNonEmptyHead([1, 2, 3], n => n * 10)
1294
+ * console.log(result) // [10, 2, 3]
1295
+ * ```
1296
+ *
1297
+ * @since 2.0.0
1298
+ */
1299
+ export const modifyNonEmptyHead = /*#__PURE__*/dual(2, (self, f) => [f(headNonEmpty(self)), ...tailNonEmpty(self)]);
1300
+ /**
1301
+ * Change the head, creating a new `NonEmptyReadonlyArray`.
1302
+ *
1303
+ * **Example**
1304
+ *
1305
+ * ```ts
1306
+ * import { Array } from "effect"
1307
+ *
1308
+ * const result = Array.setNonEmptyHead([1, 2, 3], 10)
1309
+ * console.log(result) // [10, 2, 3]
1310
+ * ```
1311
+ *
1312
+ * @since 2.0.0
1313
+ */
1314
+ export const setNonEmptyHead = /*#__PURE__*/dual(2, (self, b) => modifyNonEmptyHead(self, () => b));
1315
+ /**
1316
+ * Apply a function to the last element, creating a new `NonEmptyReadonlyArray`.
1317
+ *
1318
+ * **Example**
1319
+ *
1320
+ * ```ts
1321
+ * import { Array } from "effect"
1322
+ *
1323
+ * const result = Array.modifyNonEmptyLast([1, 2, 3], n => n * 2)
1324
+ * console.log(result) // [1, 2, 6]
1325
+ * ```
1326
+ *
1327
+ * @since 2.0.0
1328
+ */
1329
+ export const modifyNonEmptyLast = /*#__PURE__*/dual(2, (self, f) => append(initNonEmpty(self), f(lastNonEmpty(self))));
1330
+ /**
1331
+ * Change the last element, creating a new `NonEmptyReadonlyArray`.
1332
+ *
1333
+ * **Example**
1334
+ *
1335
+ * ```ts
1336
+ * import { Array } from "effect"
1337
+ *
1338
+ * const result = Array.setNonEmptyLast([1, 2, 3], 4)
1339
+ * console.log(result) // [1, 2, 4]
1340
+ * ```
1341
+ *
1342
+ * @since 2.0.0
1343
+ */
1344
+ export const setNonEmptyLast = /*#__PURE__*/dual(2, (self, b) => modifyNonEmptyLast(self, () => b));
1345
+ /**
1346
+ * Rotate an `Iterable` by `n` steps.
1347
+ * If the input is a non-empty array, the result is also a non-empty array.
1348
+ *
1349
+ * **Example**
1350
+ *
1351
+ * ```ts
1352
+ * import { Array } from "effect"
1353
+ *
1354
+ * const result = Array.rotate(['a', 'b', 'c', 'd', 'e'], 2)
1355
+ * console.log(result) // [ 'd', 'e', 'a', 'b', 'c' ]
1356
+ * ```
1357
+ *
1358
+ * @since 2.0.0
1359
+ */
1360
+ export const rotate = /*#__PURE__*/dual(2, (self, n) => {
1361
+ const input = fromIterable(self);
1362
+ if (isNonEmptyReadonlyArray(input)) {
1363
+ const len = input.length;
1364
+ const m = Math.round(n) % len;
1365
+ if (isOutOfBounds(Math.abs(m), input) || m === 0) {
1366
+ return copy(input);
1367
+ }
1368
+ if (m < 0) {
1369
+ const [f, s] = splitNonEmptyAt(input, -m);
1370
+ return appendAll(s, f);
1371
+ } else {
1372
+ return rotate(self, m - len);
1373
+ }
1374
+ }
1375
+ return [];
1376
+ });
1377
+ /**
1378
+ * Returns a function that checks if a `ReadonlyArray` contains a given value using a provided `isEquivalent` function.
1379
+ *
1380
+ * **Example**
1381
+ *
1382
+ * ```ts
1383
+ * import { Array, pipe } from "effect"
1384
+ *
1385
+ * const isEquivalent = (a: number, b: number) => a === b
1386
+ * const containsNumber = Array.containsWith(isEquivalent)
1387
+ * const result = pipe([1, 2, 3, 4], containsNumber(3))
1388
+ * console.log(result) // true
1389
+ * ```
1390
+ *
1391
+ * @category elements
1392
+ * @since 2.0.0
1393
+ */
1394
+ export const containsWith = isEquivalent => dual(2, (self, a) => {
1395
+ for (const i of self) {
1396
+ if (isEquivalent(a, i)) {
1397
+ return true;
1398
+ }
1399
+ }
1400
+ return false;
1401
+ });
1402
+ const _equivalence = /*#__PURE__*/Equal.equivalence();
1403
+ /**
1404
+ * Returns a function that checks if a `ReadonlyArray` contains a given value using the default `Equivalence`.
1405
+ *
1406
+ * **Example**
1407
+ *
1408
+ * ```ts
1409
+ * import { Array, pipe } from "effect"
1410
+ *
1411
+ * const result = pipe(['a', 'b', 'c', 'd'], Array.contains('c'))
1412
+ * console.log(result) // true
1413
+ * ```
1414
+ *
1415
+ * @category elements
1416
+ * @since 2.0.0
1417
+ */
1418
+ export const contains = /*#__PURE__*/containsWith(_equivalence);
1419
+ /**
1420
+ * A useful recursion pattern for processing an `Iterable` to produce a new `Array`, often used for "chopping" up the input
1421
+ * `Iterable`. Typically chop is called with some function that will consume an initial prefix of the `Iterable` and produce a
1422
+ * value and the rest of the `Array`.
1423
+ *
1424
+ * **Example**
1425
+ *
1426
+ * ```ts
1427
+ * import { Array } from "effect"
1428
+ *
1429
+ * const result = Array.chop([1, 2, 3, 4, 5], (as): [number, Array<number>] => [as[0] * 2, as.slice(1)])
1430
+ * console.log(result) // [2, 4, 6, 8, 10]
1431
+ *
1432
+ * // Explanation:
1433
+ * // The `chopFunction` takes the first element of the array, doubles it, and then returns it along with the rest of the array.
1434
+ * // The `chop` function applies this `chopFunction` recursively to the input array `[1, 2, 3, 4, 5]`,
1435
+ * // resulting in a new array `[2, 4, 6, 8, 10]`.
1436
+ * ```
1437
+ *
1438
+ * @since 2.0.0
1439
+ */
1440
+ export const chop = /*#__PURE__*/dual(2, (self, f) => {
1441
+ const input = fromIterable(self);
1442
+ if (isNonEmptyReadonlyArray(input)) {
1443
+ const [b, rest] = f(input);
1444
+ const out = [b];
1445
+ let next = rest;
1446
+ while (internalArray.isNonEmptyArray(next)) {
1447
+ const [b, rest] = f(next);
1448
+ out.push(b);
1449
+ next = rest;
1450
+ }
1451
+ return out;
1452
+ }
1453
+ return [];
1454
+ });
1455
+ /**
1456
+ * Splits an `Iterable` into two segments, with the first segment containing a maximum of `n` elements.
1457
+ * The value of `n` can be `0`.
1458
+ *
1459
+ * **Example**
1460
+ *
1461
+ * ```ts
1462
+ * import { Array } from "effect"
1463
+ *
1464
+ * const result = Array.splitAt([1, 2, 3, 4, 5], 3)
1465
+ * console.log(result) // [[1, 2, 3], [4, 5]]
1466
+ * ```
1467
+ *
1468
+ * @category splitting
1469
+ * @since 2.0.0
1470
+ */
1471
+ export const splitAt = /*#__PURE__*/dual(2, (self, n) => {
1472
+ const input = Array.from(self);
1473
+ const _n = Math.floor(n);
1474
+ if (isNonEmptyReadonlyArray(input)) {
1475
+ if (_n >= 1) {
1476
+ return splitNonEmptyAt(input, _n);
1477
+ }
1478
+ return [[], input];
1479
+ }
1480
+ return [input, []];
1481
+ });
1482
+ /**
1483
+ * Splits a `NonEmptyReadonlyArray` into two segments, with the first segment containing a maximum of `n` elements.
1484
+ * The value of `n` must be `>= 1`.
1485
+ *
1486
+ * **Example**
1487
+ *
1488
+ * ```ts
1489
+ * import { Array } from "effect"
1490
+ *
1491
+ * const result = Array.splitNonEmptyAt(["a", "b", "c", "d", "e"], 3)
1492
+ * console.log(result) // [["a", "b", "c"], ["d", "e"]]
1493
+ * ```
1494
+ *
1495
+ * @category splitting
1496
+ * @since 2.0.0
1497
+ */
1498
+ export const splitNonEmptyAt = /*#__PURE__*/dual(2, (self, n) => {
1499
+ const _n = Math.max(1, Math.floor(n));
1500
+ return _n >= self.length ? [copy(self), []] : [prepend(self.slice(1, _n), headNonEmpty(self)), self.slice(_n)];
1501
+ });
1502
+ /**
1503
+ * Splits this iterable into `n` equally sized arrays.
1504
+ *
1505
+ * **Example**
1506
+ *
1507
+ * ```ts
1508
+ * import { Array } from "effect"
1509
+ *
1510
+ * const result = Array.split([1, 2, 3, 4, 5, 6, 7, 8], 3)
1511
+ * console.log(result) // [[1, 2, 3], [4, 5, 6], [7, 8]]
1512
+ * ```
1513
+ *
1514
+ * @since 2.0.0
1515
+ * @category splitting
1516
+ */
1517
+ export const split = /*#__PURE__*/dual(2, (self, n) => {
1518
+ const input = fromIterable(self);
1519
+ return chunksOf(input, Math.ceil(input.length / Math.floor(n)));
1520
+ });
1521
+ /**
1522
+ * Splits this iterable on the first element that matches this predicate.
1523
+ * Returns a tuple containing two arrays: the first one is before the match, and the second one is from the match onward.
1524
+ *
1525
+ * **Example**
1526
+ *
1527
+ * ```ts
1528
+ * import { Array } from "effect"
1529
+ *
1530
+ * const result = Array.splitWhere([1, 2, 3, 4, 5], n => n > 3)
1531
+ * console.log(result) // [[1, 2, 3], [4, 5]]
1532
+ * ```
1533
+ *
1534
+ * @category splitting
1535
+ * @since 2.0.0
1536
+ */
1537
+ export const splitWhere = /*#__PURE__*/dual(2, (self, predicate) => span(self, (a, i) => !predicate(a, i)));
1538
+ /**
1539
+ * Copies an array.
1540
+ *
1541
+ * **Example**
1542
+ *
1543
+ * ```ts
1544
+ * import { Array } from "effect"
1545
+ *
1546
+ * const result = Array.copy([1, 2, 3])
1547
+ * console.log(result) // [1, 2, 3]
1548
+ * ```
1549
+ *
1550
+ * @since 2.0.0
1551
+ */
1552
+ export const copy = self => self.slice();
1553
+ /**
1554
+ * Pads an array.
1555
+ * Returns a new array of length `n` with the elements of `array` followed by `fill` elements if `array` is shorter than `n`.
1556
+ * If `array` is longer than `n`, the returned array will be a slice of `array` containing the `n` first elements of `array`.
1557
+ * If `n` is less than or equal to 0, the returned array will be an empty array.
1558
+ *
1559
+ * **Example**
1560
+ *
1561
+ * ```ts
1562
+ * import { Array } from "effect"
1563
+ *
1564
+ * const result = Array.pad([1, 2, 3], 6, 0)
1565
+ * console.log(result) // [1, 2, 3, 0, 0, 0]
1566
+ * ```
1567
+ *
1568
+ * @since 3.8.4
1569
+ */
1570
+ export const pad = /*#__PURE__*/dual(3, (self, n, fill) => {
1571
+ if (self.length >= n) {
1572
+ return take(self, n);
1573
+ }
1574
+ return appendAll(self, makeBy(n - self.length, () => fill));
1575
+ });
1576
+ /**
1577
+ * Splits an `Iterable` into length-`n` pieces. The last piece will be shorter if `n` does not evenly divide the length of
1578
+ * the `Iterable`. Note that `chunksOf(n)([])` is `[]`, not `[[]]`. This is intentional, and is consistent with a recursive
1579
+ * definition of `chunksOf`; it satisfies the property that
1580
+ *
1581
+ * ```ts skip-type-checking
1582
+ * chunksOf(n)(xs).concat(chunksOf(n)(ys)) == chunksOf(n)(xs.concat(ys)))
1583
+ * ```
1584
+ *
1585
+ * whenever `n` evenly divides the length of `self`.
1586
+ *
1587
+ * **Example**
1588
+ *
1589
+ * ```ts
1590
+ * import { Array } from "effect"
1591
+ *
1592
+ * const result = Array.chunksOf([1, 2, 3, 4, 5], 2)
1593
+ * console.log(result) // [[1, 2], [3, 4], [5]]
1594
+ *
1595
+ * // Explanation:
1596
+ * // The `chunksOf` function takes an array of numbers `[1, 2, 3, 4, 5]` and a number `2`.
1597
+ * // It splits the array into chunks of length 2. Since the array length is not evenly divisible by 2,
1598
+ * // the last chunk contains the remaining elements.
1599
+ * // The result is `[[1, 2], [3, 4], [5]]`.
1600
+ * ```
1601
+ *
1602
+ * @category splitting
1603
+ * @since 2.0.0
1604
+ */
1605
+ export const chunksOf = /*#__PURE__*/dual(2, (self, n) => {
1606
+ const input = fromIterable(self);
1607
+ if (isNonEmptyReadonlyArray(input)) {
1608
+ return chop(input, splitNonEmptyAt(n));
1609
+ }
1610
+ return [];
1611
+ });
1612
+ /**
1613
+ * Creates sliding windows of size `n` from an `Iterable`.
1614
+ * If the number of elements is less than `n` or if `n` is not greater than zero,
1615
+ * an empty array is returned.
1616
+ *
1617
+ * @example
1618
+ * ```ts
1619
+ * import * as assert from "node:assert"
1620
+ * import { Array } from "effect"
1621
+ *
1622
+ * const numbers = [1, 2, 3, 4, 5]
1623
+ * assert.deepStrictEqual(Array.window(numbers, 3), [[1, 2, 3], [2, 3, 4], [3, 4, 5]])
1624
+ * assert.deepStrictEqual(Array.window(numbers, 6), [])
1625
+ * ```
1626
+ *
1627
+ * @category splitting
1628
+ * @since 3.13.2
1629
+ */
1630
+ export const window = /*#__PURE__*/dual(2, (self, n) => {
1631
+ const input = fromIterable(self);
1632
+ if (n > 0 && isNonEmptyReadonlyArray(input)) {
1633
+ return Array.from({
1634
+ length: input.length - (n - 1)
1635
+ }, (_, index) => input.slice(index, index + n));
1636
+ }
1637
+ return [];
1638
+ });
1639
+ /**
1640
+ * Group equal, consecutive elements of a `NonEmptyReadonlyArray` into `NonEmptyArray`s using the provided `isEquivalent` function.
1641
+ *
1642
+ * **Example**
1643
+ *
1644
+ * ```ts
1645
+ * import { Array } from "effect"
1646
+ *
1647
+ * const result = Array.groupWith(["a", "a", "b", "b", "b", "c", "a"], (x, y) => x === y)
1648
+ * console.log(result) // [["a", "a"], ["b", "b", "b"], ["c"], ["a"]]
1649
+ * ```
1650
+ *
1651
+ * @category grouping
1652
+ * @since 2.0.0
1653
+ */
1654
+ export const groupWith = /*#__PURE__*/dual(2, (self, isEquivalent) => chop(self, as => {
1655
+ const h = headNonEmpty(as);
1656
+ const out = [h];
1657
+ let i = 1;
1658
+ for (; i < as.length; i++) {
1659
+ const a = as[i];
1660
+ if (isEquivalent(a, h)) {
1661
+ out.push(a);
1662
+ } else {
1663
+ break;
1664
+ }
1665
+ }
1666
+ return [out, as.slice(i)];
1667
+ }));
1668
+ /**
1669
+ * Group equal, consecutive elements of a `NonEmptyReadonlyArray` into `NonEmptyArray`s.
1670
+ *
1671
+ * **Example**
1672
+ *
1673
+ * ```ts
1674
+ * import { Array } from "effect"
1675
+ *
1676
+ * const result = Array.group([1, 1, 2, 2, 2, 3, 1])
1677
+ * console.log(result) // [[1, 1], [2, 2, 2], [3], [1]]
1678
+ * ```
1679
+ *
1680
+ * @category grouping
1681
+ * @since 2.0.0
1682
+ */
1683
+ export const group = /*#__PURE__*/groupWith(/*#__PURE__*/Equal.equivalence());
1684
+ /**
1685
+ * Splits an `Iterable` into sub-non-empty-arrays stored in an object, based on the result of calling a `string`-returning
1686
+ * function on each element, and grouping the results according to values returned
1687
+ *
1688
+ * **Example**
1689
+ *
1690
+ * ```ts
1691
+ * import { Array } from "effect"
1692
+ *
1693
+ * const people = [
1694
+ * { name: "Alice", group: "A" },
1695
+ * { name: "Bob", group: "B" },
1696
+ * { name: "Charlie", group: "A" }
1697
+ * ]
1698
+ *
1699
+ * const result = Array.groupBy(people, person => person.group)
1700
+ * console.log(result)
1701
+ * // {
1702
+ * // A: [{ name: "Alice", group: "A" }, { name: "Charlie", group: "A" }],
1703
+ * // B: [{ name: "Bob", group: "B" }]
1704
+ * // }
1705
+ * ```
1706
+ *
1707
+ * @category grouping
1708
+ * @since 2.0.0
1709
+ */
1710
+ export const groupBy = /*#__PURE__*/dual(2, (self, f) => {
1711
+ const out = {};
1712
+ for (const a of self) {
1713
+ const k = f(a);
1714
+ if (Object.prototype.hasOwnProperty.call(out, k)) {
1715
+ out[k].push(a);
1716
+ } else {
1717
+ out[k] = [a];
1718
+ }
1719
+ }
1720
+ return out;
1721
+ });
1722
+ /**
1723
+ * Calculates the union of two arrays using the provided equivalence relation.
1724
+ *
1725
+ * **Example**
1726
+ *
1727
+ * ```ts
1728
+ * import { Array } from "effect"
1729
+ *
1730
+ * const union = Array.unionWith([1, 2], [2, 3], (a, b) => a === b)
1731
+ * console.log(union) // [1, 2, 3]
1732
+ * ```
1733
+ *
1734
+ * @since 2.0.0
1735
+ */
1736
+ export const unionWith = /*#__PURE__*/dual(3, (self, that, isEquivalent) => {
1737
+ const a = fromIterable(self);
1738
+ const b = fromIterable(that);
1739
+ if (isNonEmptyReadonlyArray(a)) {
1740
+ if (isNonEmptyReadonlyArray(b)) {
1741
+ const dedupe = dedupeWith(isEquivalent);
1742
+ return dedupe(appendAll(a, b));
1743
+ }
1744
+ return a;
1745
+ }
1746
+ return b;
1747
+ });
1748
+ /**
1749
+ * Creates a union of two arrays, removing duplicates.
1750
+ *
1751
+ * **Example**
1752
+ *
1753
+ * ```ts
1754
+ * import { Array } from "effect"
1755
+ *
1756
+ * const result = Array.union([1, 2], [2, 3])
1757
+ * console.log(result) // [1, 2, 3]
1758
+ * ```
1759
+ *
1760
+ * @since 2.0.0
1761
+ */
1762
+ export const union = /*#__PURE__*/dual(2, (self, that) => unionWith(self, that, _equivalence));
1763
+ /**
1764
+ * Creates an `Array` of unique values that are included in all given `Iterable`s using the provided `isEquivalent` function.
1765
+ * The order and references of result values are determined by the first `Iterable`.
1766
+ *
1767
+ * **Example**
1768
+ *
1769
+ * ```ts
1770
+ * import { Array } from "effect"
1771
+ *
1772
+ * const array1 = [{ id: 1 }, { id: 2 }, { id: 3 }]
1773
+ * const array2 = [{ id: 3 }, { id: 4 }, { id: 1 }]
1774
+ * const isEquivalent = (a: { id: number }, b: { id: number }) => a.id === b.id
1775
+ * const result = Array.intersectionWith(isEquivalent)(array2)(array1)
1776
+ * console.log(result) // [{ id: 1 }, { id: 3 }]
1777
+ * ```
1778
+ *
1779
+ * @since 2.0.0
1780
+ */
1781
+ export const intersectionWith = isEquivalent => {
1782
+ const has = containsWith(isEquivalent);
1783
+ return dual(2, (self, that) => {
1784
+ const bs = fromIterable(that);
1785
+ return fromIterable(self).filter(a => has(bs, a));
1786
+ });
1787
+ };
1788
+ /**
1789
+ * Creates an `Array` of unique values that are included in all given `Iterable`s.
1790
+ * The order and references of result values are determined by the first `Iterable`.
1791
+ *
1792
+ * **Example**
1793
+ *
1794
+ * ```ts
1795
+ * import { Array } from "effect"
1796
+ *
1797
+ * const result = Array.intersection([1, 2, 3], [3, 4, 1])
1798
+ * console.log(result) // [1, 3]
1799
+ * ```
1800
+ *
1801
+ * @since 2.0.0
1802
+ */
1803
+ export const intersection = /*#__PURE__*/intersectionWith(_equivalence);
1804
+ /**
1805
+ * Creates a `Array` of values not included in the other given `Iterable` using the provided `isEquivalent` function.
1806
+ * The order and references of result values are determined by the first `Iterable`.
1807
+ *
1808
+ * **Example**
1809
+ *
1810
+ * ```ts
1811
+ * import { Array } from "effect"
1812
+ *
1813
+ * const array1 = [1, 2, 3]
1814
+ * const array2 = [2, 3, 4]
1815
+ * const difference = Array.differenceWith<number>((a, b) => a === b)(array1, array2)
1816
+ * console.log(difference) // [1]
1817
+ * ```
1818
+ *
1819
+ * @since 2.0.0
1820
+ */
1821
+ export const differenceWith = isEquivalent => {
1822
+ const has = containsWith(isEquivalent);
1823
+ return dual(2, (self, that) => {
1824
+ const bs = fromIterable(that);
1825
+ return fromIterable(self).filter(a => !has(bs, a));
1826
+ });
1827
+ };
1828
+ /**
1829
+ * Creates a `Array` of values not included in the other given `Iterable`.
1830
+ * The order and references of result values are determined by the first `Iterable`.
1831
+ *
1832
+ * **Example**
1833
+ *
1834
+ * ```ts
1835
+ * import { Array } from "effect"
1836
+ *
1837
+ * const difference = Array.difference([1, 2, 3], [2, 3, 4])
1838
+ * console.log(difference) // [1]
1839
+ * ```
1840
+ *
1841
+ * @since 2.0.0
1842
+ */
1843
+ export const difference = /*#__PURE__*/differenceWith(_equivalence);
1844
+ /**
1845
+ * @category constructors
1846
+ * @since 2.0.0
1847
+ */
1848
+ export const empty = () => [];
1849
+ /**
1850
+ * Constructs a new `NonEmptyArray<A>` from the specified value.
1851
+ *
1852
+ * @category constructors
1853
+ * @since 2.0.0
1854
+ */
1855
+ export const of = a => [a];
1856
+ /**
1857
+ * @category mapping
1858
+ * @since 2.0.0
1859
+ */
1860
+ export const map = /*#__PURE__*/dual(2, (self, f) => self.map(f));
1861
+ /**
1862
+ * Applies a function to each element in an array and returns a new array containing the concatenated mapped elements.
1863
+ *
1864
+ * @category sequencing
1865
+ * @since 2.0.0
1866
+ */
1867
+ export const flatMap = /*#__PURE__*/dual(2, (self, f) => {
1868
+ if (isEmptyReadonlyArray(self)) {
1869
+ return [];
1870
+ }
1871
+ const out = [];
1872
+ for (let i = 0; i < self.length; i++) {
1873
+ const inner = f(self[i], i);
1874
+ for (let j = 0; j < inner.length; j++) {
1875
+ out.push(inner[j]);
1876
+ }
1877
+ }
1878
+ return out;
1879
+ });
1880
+ /**
1881
+ * Combines multiple arrays into a single array by concatenating all elements
1882
+ * from each nested array. This function ensures that the structure of nested
1883
+ * arrays is collapsed into a single, flat array.
1884
+ *
1885
+ * **Example**
1886
+ *
1887
+ * ```ts
1888
+ * import { Array } from "effect"
1889
+ *
1890
+ * const result = Array.flatten([[1, 2], [], [3, 4], [], [5, 6]])
1891
+ * console.log(result) // [1, 2, 3, 4, 5, 6]
1892
+ * ```
1893
+ *
1894
+ * @category sequencing
1895
+ * @since 2.0.0
1896
+ */
1897
+ export const flatten = /*#__PURE__*/flatMap(identity);
1898
+ /**
1899
+ * Applies a function to each element of the `Iterable` and filters based on the result, keeping the transformed values where the function returns `Some`.
1900
+ * This method combines filtering and mapping functionalities, allowing transformations and filtering of elements based on a single function pass.
1901
+ *
1902
+ * **Example**
1903
+ *
1904
+ * ```ts
1905
+ * import { Array, Option } from "effect"
1906
+ *
1907
+ * const evenSquares = (x: number) => x % 2 === 0 ? Option.some(x * x) : Option.none()
1908
+ *
1909
+ * const result = Array.filterMap([1, 2, 3, 4, 5], evenSquares);
1910
+ * console.log(result) // [4, 16]
1911
+ * ```
1912
+ *
1913
+ * @category filtering
1914
+ * @since 2.0.0
1915
+ */
1916
+ export const filterMap = /*#__PURE__*/dual(2, (self, f) => {
1917
+ const as = fromIterable(self);
1918
+ const out = [];
1919
+ for (let i = 0; i < as.length; i++) {
1920
+ const o = f(as[i], i);
1921
+ if (Option.isSome(o)) {
1922
+ out.push(o.value);
1923
+ }
1924
+ }
1925
+ return out;
1926
+ });
1927
+ /**
1928
+ * Applies a function to each element of the array and filters based on the result, stopping when a condition is not met.
1929
+ * This method combines filtering and mapping in a single pass, and short-circuits, i.e., stops processing, as soon as the function returns `None`.
1930
+ * This is useful when you need to transform an array but only up to the point where a certain condition holds true.
1931
+ *
1932
+ * **Example**
1933
+ *
1934
+ * ```ts
1935
+ * import { Array, Option } from "effect"
1936
+ *
1937
+ * const toSquareTillOdd = (x: number) => x % 2 === 0 ? Option.some(x * x) : Option.none()
1938
+ *
1939
+ * const result = Array.filterMapWhile([2, 4, 5], toSquareTillOdd)
1940
+ * console.log(result) // [4, 16]
1941
+ * ```
1942
+ *
1943
+ * @category filtering
1944
+ * @since 2.0.0
1945
+ */
1946
+ export const filterMapWhile = /*#__PURE__*/dual(2, (self, f) => {
1947
+ let i = 0;
1948
+ const out = [];
1949
+ for (const a of self) {
1950
+ const b = f(a, i);
1951
+ if (Option.isSome(b)) {
1952
+ out.push(b.value);
1953
+ } else {
1954
+ break;
1955
+ }
1956
+ i++;
1957
+ }
1958
+ return out;
1959
+ });
1960
+ /**
1961
+ * Applies a function to each element of the `Iterable`, categorizing the results into two separate arrays.
1962
+ * This function is particularly useful for operations where each element can result in two possible types,
1963
+ * and you want to separate these types into different collections. For instance, separating validation results
1964
+ * into successes and failures.
1965
+ *
1966
+ * **Example**
1967
+ *
1968
+ * ```ts
1969
+ * import { Array, Either } from "effect";
1970
+ *
1971
+ * const isEven = (x: number) => x % 2 === 0
1972
+ *
1973
+ * const result = Array.partitionMap([1, 2, 3, 4, 5], x =>
1974
+ * isEven(x) ? Either.right(x) : Either.left(x)
1975
+ * )
1976
+ * console.log(result)
1977
+ * // [
1978
+ * // [1, 3, 5],
1979
+ * // [2, 4]
1980
+ * // ]
1981
+ * ```
1982
+ *
1983
+ * @category filtering
1984
+ * @since 2.0.0
1985
+ */
1986
+ export const partitionMap = /*#__PURE__*/dual(2, (self, f) => {
1987
+ const left = [];
1988
+ const right = [];
1989
+ const as = fromIterable(self);
1990
+ for (let i = 0; i < as.length; i++) {
1991
+ const e = f(as[i], i);
1992
+ if (Either.isLeft(e)) {
1993
+ left.push(e.left);
1994
+ } else {
1995
+ right.push(e.right);
1996
+ }
1997
+ }
1998
+ return [left, right];
1999
+ });
2000
+ /**
2001
+ * Retrieves the `Some` values from an `Iterable` of `Option`s, collecting them into an array.
2002
+ *
2003
+ * **Example**
2004
+ *
2005
+ * ```ts
2006
+ * import { Array, Option } from "effect"
2007
+ *
2008
+ * const result = Array.getSomes([Option.some(1), Option.none(), Option.some(2)])
2009
+ * console.log(result) // [1, 2]
2010
+ * ```
2011
+ *
2012
+ * @category filtering
2013
+ * @since 2.0.0
2014
+ */
2015
+ export const getSomes = /*#__PURE__*/filterMap(identity);
2016
+ /**
2017
+ * Retrieves the `Left` values from an `Iterable` of `Either`s, collecting them into an array.
2018
+ *
2019
+ * **Example**
2020
+ *
2021
+ * ```ts
2022
+ * import { Array, Either } from "effect"
2023
+ *
2024
+ * const result = Array.getLefts([Either.right(1), Either.left("err"), Either.right(2)])
2025
+ * console.log(result) // ["err"]
2026
+ * ```
2027
+ *
2028
+ * @category filtering
2029
+ * @since 2.0.0
2030
+ */
2031
+ export const getLefts = self => {
2032
+ const out = [];
2033
+ for (const a of self) {
2034
+ if (Either.isLeft(a)) {
2035
+ out.push(a.left);
2036
+ }
2037
+ }
2038
+ return out;
2039
+ };
2040
+ /**
2041
+ * Retrieves the `Right` values from an `Iterable` of `Either`s, collecting them into an array.
2042
+ *
2043
+ * **Example**
2044
+ *
2045
+ * ```ts
2046
+ * import { Array, Either } from "effect"
2047
+ *
2048
+ * const result = Array.getRights([Either.right(1), Either.left("err"), Either.right(2)])
2049
+ * console.log(result) // [1, 2]
2050
+ * ```
2051
+ *
2052
+ * @category filtering
2053
+ * @since 2.0.0
2054
+ */
2055
+ export const getRights = self => {
2056
+ const out = [];
2057
+ for (const a of self) {
2058
+ if (Either.isRight(a)) {
2059
+ out.push(a.right);
2060
+ }
2061
+ }
2062
+ return out;
2063
+ };
2064
+ /**
2065
+ * @category filtering
2066
+ * @since 2.0.0
2067
+ */
2068
+ export const filter = /*#__PURE__*/dual(2, (self, predicate) => {
2069
+ const as = fromIterable(self);
2070
+ const out = [];
2071
+ for (let i = 0; i < as.length; i++) {
2072
+ if (predicate(as[i], i)) {
2073
+ out.push(as[i]);
2074
+ }
2075
+ }
2076
+ return out;
2077
+ });
2078
+ /**
2079
+ * Separate elements based on a predicate that also exposes the index of the element.
2080
+ *
2081
+ * **Example**
2082
+ *
2083
+ * ```ts
2084
+ * import { Array } from "effect"
2085
+ *
2086
+ * const result = Array.partition([1, 2, 3, 4], n => n % 2 === 0)
2087
+ * console.log(result) // [[1, 3], [2, 4]]
2088
+ * ```
2089
+ *
2090
+ * @category filtering
2091
+ * @since 2.0.0
2092
+ */
2093
+ export const partition = /*#__PURE__*/dual(2, (self, predicate) => {
2094
+ const left = [];
2095
+ const right = [];
2096
+ const as = fromIterable(self);
2097
+ for (let i = 0; i < as.length; i++) {
2098
+ if (predicate(as[i], i)) {
2099
+ right.push(as[i]);
2100
+ } else {
2101
+ left.push(as[i]);
2102
+ }
2103
+ }
2104
+ return [left, right];
2105
+ });
2106
+ /**
2107
+ * Separates an `Iterable` into two arrays based on a predicate.
2108
+ *
2109
+ * @category filtering
2110
+ * @since 2.0.0
2111
+ */
2112
+ export const separate = /*#__PURE__*/partitionMap(identity);
2113
+ /**
2114
+ * Reduces an array from the left.
2115
+ *
2116
+ * **Example**
2117
+ *
2118
+ * ```ts
2119
+ * import { Array } from "effect"
2120
+ *
2121
+ * const result = Array.reduce([1, 2, 3], 0, (acc, n) => acc + n)
2122
+ * console.log(result) // 6
2123
+ * ```
2124
+ *
2125
+ * @category folding
2126
+ * @since 2.0.0
2127
+ */
2128
+ export const reduce = /*#__PURE__*/dual(3, (self, b, f) => fromIterable(self).reduce((b, a, i) => f(b, a, i), b));
2129
+ /**
2130
+ * Reduces an array from the right.
2131
+ *
2132
+ * **Example**
2133
+ *
2134
+ * ```ts
2135
+ * import { Array } from "effect"
2136
+ *
2137
+ * const result = Array.reduceRight([1, 2, 3], 0, (acc, n) => acc + n)
2138
+ * console.log(result) // 6
2139
+ * ```
2140
+ *
2141
+ * @category folding
2142
+ * @since 2.0.0
2143
+ */
2144
+ export const reduceRight = /*#__PURE__*/dual(3, (self, b, f) => fromIterable(self).reduceRight((b, a, i) => f(b, a, i), b));
2145
+ /**
2146
+ * Lifts a predicate into an array.
2147
+ *
2148
+ * **Example**
2149
+ *
2150
+ * ```ts
2151
+ * import { Array } from "effect"
2152
+ *
2153
+ * const isEven = (n: number) => n % 2 === 0
2154
+ * const to = Array.liftPredicate(isEven)
2155
+ * console.log(to(1)) // []
2156
+ * console.log(to(2)) // [2]
2157
+ * ```
2158
+ *
2159
+ * @category lifting
2160
+ * @since 2.0.0
2161
+ */
2162
+ export const liftPredicate = predicate => b => predicate(b) ? [b] : [];
2163
+ /**
2164
+ * @category lifting
2165
+ * @since 2.0.0
2166
+ */
2167
+ export const liftOption = f => (...a) => fromOption(f(...a));
2168
+ /**
2169
+ * @category conversions
2170
+ * @since 2.0.0
2171
+ */
2172
+ export const fromNullable = a => a == null ? empty() : [a];
2173
+ /**
2174
+ * @category lifting
2175
+ * @since 2.0.0
2176
+ */
2177
+ export const liftNullable = f => (...a) => fromNullable(f(...a));
2178
+ /**
2179
+ * Maps over an array and flattens the result, removing null and undefined values.
2180
+ *
2181
+ * **Example**
2182
+ *
2183
+ * ```ts
2184
+ * import { Array } from "effect"
2185
+ *
2186
+ * const result = Array.flatMapNullable([1, 2, 3], n => (n % 2 === 0 ? null : n))
2187
+ * console.log(result) // [1, 3]
2188
+ *
2189
+ * // Explanation:
2190
+ * // The array of numbers [1, 2, 3] is mapped with a function that returns null for even numbers
2191
+ * // and the number itself for odd numbers. The resulting array [1, null, 3] is then flattened
2192
+ * // to remove null values, resulting in [1, 3].
2193
+ * ```
2194
+ *
2195
+ * @category sequencing
2196
+ * @since 2.0.0
2197
+ */
2198
+ export const flatMapNullable = /*#__PURE__*/dual(2, (self, f) => flatMap(self, a => fromNullable(f(a))));
2199
+ /**
2200
+ * Lifts a function that returns an `Either` into a function that returns an array.
2201
+ * If the `Either` is a left, it returns an empty array.
2202
+ * If the `Either` is a right, it returns an array with the right value.
2203
+ *
2204
+ * **Example**
2205
+ *
2206
+ * ```ts
2207
+ * import { Array, Either } from "effect"
2208
+ *
2209
+ * const parseNumber = (s: string): Either.Either<number, Error> =>
2210
+ * isNaN(Number(s)) ? Either.left(new Error("Not a number")) : Either.right(Number(s))
2211
+ *
2212
+ * const liftedParseNumber = Array.liftEither(parseNumber)
2213
+ *
2214
+ * const result1 = liftedParseNumber("42")
2215
+ * console.log(result1) // [42]
2216
+ *
2217
+ * const result2 = liftedParseNumber("not a number")
2218
+ * console.log(result2) // []
2219
+ *
2220
+ * // Explanation:
2221
+ * // The function parseNumber is lifted to return an array.
2222
+ * // When parsing "42", it returns an Either.left with the number 42, resulting in [42].
2223
+ * // When parsing "not a number", it returns an Either.right with an error, resulting in an empty array [].
2224
+ * ```
2225
+ *
2226
+ * @category lifting
2227
+ * @since 2.0.0
2228
+ */
2229
+ export const liftEither = f => (...a) => {
2230
+ const e = f(...a);
2231
+ return Either.isLeft(e) ? [] : [e.right];
2232
+ };
2233
+ /**
2234
+ * Check if a predicate holds true for every `ReadonlyArray` element.
2235
+ *
2236
+ * @category elements
2237
+ * @since 2.0.0
2238
+ */
2239
+ export const every = /*#__PURE__*/dual(2, (self, refinement) => self.every(refinement));
2240
+ /**
2241
+ * Check if a predicate holds true for some `ReadonlyArray` element.
2242
+ *
2243
+ * @category elements
2244
+ * @since 2.0.0
2245
+ */
2246
+ export const some = /*#__PURE__*/dual(2, (self, predicate) => self.some(predicate));
2247
+ /**
2248
+ * Extends an array with a function that maps each subarray to a value.
2249
+ *
2250
+ * **Example**
2251
+ *
2252
+ * ```ts
2253
+ * import { Array } from "effect"
2254
+ *
2255
+ * const result = Array.extend([1, 2, 3], as => as.length)
2256
+ * console.log(result) // [3, 2, 1]
2257
+ *
2258
+ * // Explanation:
2259
+ * // The function maps each subarray starting from each element to its length.
2260
+ * // The subarrays are: [1, 2, 3], [2, 3], [3].
2261
+ * // The lengths are: 3, 2, 1.
2262
+ * // Therefore, the result is [3, 2, 1].
2263
+ * ```
2264
+ *
2265
+ * @since 2.0.0
2266
+ */
2267
+ export const extend = /*#__PURE__*/dual(2, (self, f) => self.map((_, i, as) => f(as.slice(i))));
2268
+ /**
2269
+ * Finds the minimum element in an array based on a comparator.
2270
+ *
2271
+ * **Example**
2272
+ *
2273
+ * ```ts
2274
+ * import { Array, Order } from "effect"
2275
+ *
2276
+ * const result = Array.min([3, 1, 2], Order.number)
2277
+ * console.log(result) // 1
2278
+ * ```
2279
+ *
2280
+ * @since 2.0.0
2281
+ */
2282
+ export const min = /*#__PURE__*/dual(2, (self, O) => self.reduce(Order.min(O)));
2283
+ /**
2284
+ * Finds the maximum element in an array based on a comparator.
2285
+ *
2286
+ * **Example**
2287
+ *
2288
+ * ```ts
2289
+ * import { Array, Order } from "effect"
2290
+ *
2291
+ * const result = Array.max([3, 1, 2], Order.number)
2292
+ * console.log(result) // 3
2293
+ * ```
2294
+ *
2295
+ * @since 2.0.0
2296
+ */
2297
+ export const max = /*#__PURE__*/dual(2, (self, O) => self.reduce(Order.max(O)));
2298
+ /**
2299
+ * @category constructors
2300
+ * @since 2.0.0
2301
+ */
2302
+ export const unfold = (b, f) => {
2303
+ const out = [];
2304
+ let next = b;
2305
+ let o;
2306
+ while (Option.isSome(o = f(next))) {
2307
+ const [a, b] = o.value;
2308
+ out.push(a);
2309
+ next = b;
2310
+ }
2311
+ return out;
2312
+ };
2313
+ /**
2314
+ * This function creates and returns a new `Order` for an array of values based on a given `Order` for the elements of the array.
2315
+ * The returned `Order` compares two arrays by applying the given `Order` to each element in the arrays.
2316
+ * If all elements are equal, the arrays are then compared based on their length.
2317
+ * It is useful when you need to compare two arrays of the same type and you have a specific way of comparing each element of the array.
2318
+ *
2319
+ * @category instances
2320
+ * @since 2.0.0
2321
+ */
2322
+ export const getOrder = Order.array;
2323
+ /**
2324
+ * Creates an equivalence relation for arrays.
2325
+ *
2326
+ * **Example**
2327
+ *
2328
+ * ```ts
2329
+ * import { Array } from "effect"
2330
+ *
2331
+ * const eq = Array.getEquivalence<number>((a, b) => a === b)
2332
+ * console.log(eq([1, 2, 3], [1, 2, 3])) // true
2333
+ * ```
2334
+ *
2335
+ * @category instances
2336
+ * @since 2.0.0
2337
+ */
2338
+ export const getEquivalence = Equivalence.array;
2339
+ /**
2340
+ * Performs a side-effect for each element of the `Iterable`.
2341
+ *
2342
+ * **Example**
2343
+ *
2344
+ * ```ts
2345
+ * import { Array } from "effect"
2346
+ *
2347
+ * Array.forEach([1, 2, 3], n => console.log(n)) // 1, 2, 3
2348
+ * ```
2349
+ *
2350
+ * @since 2.0.0
2351
+ */
2352
+ export const forEach = /*#__PURE__*/dual(2, (self, f) => fromIterable(self).forEach((a, i) => f(a, i)));
2353
+ /**
2354
+ * Remove duplicates from an `Iterable` using the provided `isEquivalent` function,
2355
+ * preserving the order of the first occurrence of each element.
2356
+ *
2357
+ * **Example**
2358
+ *
2359
+ * ```ts
2360
+ * import { Array } from "effect"
2361
+ *
2362
+ * const result = Array.dedupeWith([1, 2, 2, 3, 3, 3], (a, b) => a === b)
2363
+ * console.log(result) // [1, 2, 3]
2364
+ * ```
2365
+ *
2366
+ * @since 2.0.0
2367
+ */
2368
+ export const dedupeWith = /*#__PURE__*/dual(2, (self, isEquivalent) => {
2369
+ const input = fromIterable(self);
2370
+ if (isNonEmptyReadonlyArray(input)) {
2371
+ const out = [headNonEmpty(input)];
2372
+ const rest = tailNonEmpty(input);
2373
+ for (const r of rest) {
2374
+ if (out.every(a => !isEquivalent(r, a))) {
2375
+ out.push(r);
2376
+ }
2377
+ }
2378
+ return out;
2379
+ }
2380
+ return [];
2381
+ });
2382
+ /**
2383
+ * Remove duplicates from an `Iterable`, preserving the order of the first occurrence of each element.
2384
+ * The equivalence used to compare elements is provided by `Equal.equivalence()` from the `Equal` module.
2385
+ *
2386
+ * @since 2.0.0
2387
+ */
2388
+ export const dedupe = self => dedupeWith(self, Equal.equivalence());
2389
+ /**
2390
+ * Deduplicates adjacent elements that are identical using the provided `isEquivalent` function.
2391
+ *
2392
+ * **Example**
2393
+ *
2394
+ * ```ts
2395
+ * import { Array } from "effect"
2396
+ *
2397
+ * const result = Array.dedupeAdjacentWith([1, 1, 2, 2, 3, 3], (a, b) => a === b)
2398
+ * console.log(result) // [1, 2, 3]
2399
+ * ```
2400
+ *
2401
+ * @since 2.0.0
2402
+ */
2403
+ export const dedupeAdjacentWith = /*#__PURE__*/dual(2, (self, isEquivalent) => {
2404
+ const out = [];
2405
+ let lastA = Option.none();
2406
+ for (const a of self) {
2407
+ if (Option.isNone(lastA) || !isEquivalent(a, lastA.value)) {
2408
+ out.push(a);
2409
+ lastA = Option.some(a);
2410
+ }
2411
+ }
2412
+ return out;
2413
+ });
2414
+ /**
2415
+ * Deduplicates adjacent elements that are identical.
2416
+ *
2417
+ * **Example**
2418
+ *
2419
+ * ```ts
2420
+ * import { Array } from "effect"
2421
+ *
2422
+ * const result = Array.dedupeAdjacent([1, 1, 2, 2, 3, 3])
2423
+ * console.log(result) // [1, 2, 3]
2424
+ * ```
2425
+ *
2426
+ * @since 2.0.0
2427
+ */
2428
+ export const dedupeAdjacent = /*#__PURE__*/dedupeAdjacentWith(/*#__PURE__*/Equal.equivalence());
2429
+ /**
2430
+ * Joins the elements together with "sep" in the middle.
2431
+ *
2432
+ * **Example**
2433
+ *
2434
+ * ```ts
2435
+ * import { Array } from "effect"
2436
+ *
2437
+ * const strings = ["a", "b", "c"]
2438
+ * const joined = Array.join(strings, "-")
2439
+ * console.log(joined) // "a-b-c"
2440
+ * ```
2441
+ *
2442
+ * @since 2.0.0
2443
+ * @category folding
2444
+ */
2445
+ export const join = /*#__PURE__*/dual(2, (self, sep) => fromIterable(self).join(sep));
2446
+ /**
2447
+ * Statefully maps over the chunk, producing new elements of type `B`.
2448
+ *
2449
+ * **Example**
2450
+ *
2451
+ * ```ts
2452
+ * import { Array } from "effect"
2453
+ *
2454
+ * const result = Array.mapAccum([1, 2, 3], 0, (acc, n) => [acc + n, acc + n])
2455
+ * console.log(result) // [6, [1, 3, 6]]
2456
+ * ```
2457
+ *
2458
+ * @since 2.0.0
2459
+ * @category folding
2460
+ */
2461
+ export const mapAccum = /*#__PURE__*/dual(3, (self, s, f) => {
2462
+ let i = 0;
2463
+ let s1 = s;
2464
+ const out = [];
2465
+ for (const a of self) {
2466
+ const r = f(s1, a, i);
2467
+ s1 = r[0];
2468
+ out.push(r[1]);
2469
+ i++;
2470
+ }
2471
+ return [s1, out];
2472
+ });
2473
+ /**
2474
+ * Zips this chunk crosswise with the specified chunk using the specified combiner.
2475
+ *
2476
+ * **Example**
2477
+ *
2478
+ * ```ts
2479
+ * import { Array } from "effect"
2480
+ *
2481
+ * const result = Array.cartesianWith([1, 2], ["a", "b"], (a, b) => `${a}-${b}`)
2482
+ * console.log(result) // ["1-a", "1-b", "2-a", "2-b"]
2483
+ * ```
2484
+ *
2485
+ * @since 2.0.0
2486
+ * @category elements
2487
+ */
2488
+ export const cartesianWith = /*#__PURE__*/dual(3, (self, that, f) => flatMap(self, a => map(that, b => f(a, b))));
2489
+ /**
2490
+ * Zips this chunk crosswise with the specified chunk.
2491
+ *
2492
+ * **Example**
2493
+ *
2494
+ * ```ts
2495
+ * import { Array } from "effect"
2496
+ *
2497
+ * const result = Array.cartesian([1, 2], ["a", "b"])
2498
+ * console.log(result) // [[1, "a"], [1, "b"], [2, "a"], [2, "b"]]
2499
+ * ```
2500
+ *
2501
+ * @since 2.0.0
2502
+ * @category elements
2503
+ */
2504
+ export const cartesian = /*#__PURE__*/dual(2, (self, that) => cartesianWith(self, that, (a, b) => [a, b]));
2505
+ // -------------------------------------------------------------------------------------
2506
+ // do notation
2507
+ // -------------------------------------------------------------------------------------
2508
+ /**
2509
+ * The "do simulation" for array allows you to sequentially apply operations to the elements of arrays, just as nested loops allow you to go through all combinations of elements in an arrays.
2510
+ *
2511
+ * It can be used to simulate "array comprehension".
2512
+ * It's a technique that allows you to create new arrays by iterating over existing ones and applying specific **conditions** or **transformations** to the elements. It's like assembling a new collection from pieces of other collections based on certain rules.
2513
+ *
2514
+ * Here's how the do simulation works:
2515
+ *
2516
+ * 1. Start the do simulation using the `Do` value
2517
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Array` values
2518
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
2519
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
2520
+ * 5. Regular `Array` functions like `map` and `filter` can still be used within the do simulation. These functions will receive the accumulated variables as arguments within the scope
2521
+ *
2522
+ * **Example**
2523
+ *
2524
+ * ```ts
2525
+ * import { Array, pipe } from "effect"
2526
+ *
2527
+ * const doResult = pipe(
2528
+ * Array.Do,
2529
+ * Array.bind("x", () => [1, 3, 5]),
2530
+ * Array.bind("y", () => [2, 4, 6]),
2531
+ * Array.filter(({ x, y }) => x < y), // condition
2532
+ * Array.map(({ x, y }) => [x, y] as const) // transformation
2533
+ * )
2534
+ * console.log(doResult) // [[1, 2], [1, 4], [1, 6], [3, 4], [3, 6], [5, 6]]
2535
+ *
2536
+ * // equivalent
2537
+ * const x = [1, 3, 5],
2538
+ * y = [2, 4, 6],
2539
+ * result = [];
2540
+ * for(let i = 0; i < x.length; i++) {
2541
+ * for(let j = 0; j < y.length; j++) {
2542
+ * const _x = x[i], _y = y[j];
2543
+ * if(_x < _y) result.push([_x, _y] as const)
2544
+ * }
2545
+ * }
2546
+ * ```
2547
+ *
2548
+ * @see {@link bindTo}
2549
+ * @see {@link bind}
2550
+ * @see {@link let_ let}
2551
+ *
2552
+ * @category do notation
2553
+ * @since 3.2.0
2554
+ */
2555
+ export const Do = /*#__PURE__*/of({});
2556
+ /**
2557
+ * The "do simulation" for array allows you to sequentially apply operations to the elements of arrays, just as nested loops allow you to go through all combinations of elements in an arrays.
2558
+ *
2559
+ * It can be used to simulate "array comprehension".
2560
+ * It's a technique that allows you to create new arrays by iterating over existing ones and applying specific **conditions** or **transformations** to the elements. It's like assembling a new collection from pieces of other collections based on certain rules.
2561
+ *
2562
+ * Here's how the do simulation works:
2563
+ *
2564
+ * 1. Start the do simulation using the `Do` value
2565
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Array` values
2566
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
2567
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
2568
+ * 5. Regular `Array` functions like `map` and `filter` can still be used within the do simulation. These functions will receive the accumulated variables as arguments within the scope
2569
+ *
2570
+ * **Example**
2571
+ *
2572
+ * ```ts
2573
+ * import { Array, pipe } from "effect"
2574
+ *
2575
+ * const doResult = pipe(
2576
+ * Array.Do,
2577
+ * Array.bind("x", () => [1, 3, 5]),
2578
+ * Array.bind("y", () => [2, 4, 6]),
2579
+ * Array.filter(({ x, y }) => x < y), // condition
2580
+ * Array.map(({ x, y }) => [x, y] as const) // transformation
2581
+ * )
2582
+ * console.log(doResult) // [[1, 2], [1, 4], [1, 6], [3, 4], [3, 6], [5, 6]]
2583
+ *
2584
+ * // equivalent
2585
+ * const x = [1, 3, 5],
2586
+ * y = [2, 4, 6],
2587
+ * result = [];
2588
+ * for(let i = 0; i < x.length; i++) {
2589
+ * for(let j = 0; j < y.length; j++) {
2590
+ * const _x = x[i], _y = y[j];
2591
+ * if(_x < _y) result.push([_x, _y] as const)
2592
+ * }
2593
+ * }
2594
+ * ```
2595
+ *
2596
+ * @see {@link bindTo}
2597
+ * @see {@link Do}
2598
+ * @see {@link let_ let}
2599
+ *
2600
+ * @category do notation
2601
+ * @since 3.2.0
2602
+ */
2603
+ export const bind = /*#__PURE__*/internalDoNotation.bind(map, flatMap);
2604
+ /**
2605
+ * The "do simulation" for array allows you to sequentially apply operations to the elements of arrays, just as nested loops allow you to go through all combinations of elements in an arrays.
2606
+ *
2607
+ * It can be used to simulate "array comprehension".
2608
+ * It's a technique that allows you to create new arrays by iterating over existing ones and applying specific **conditions** or **transformations** to the elements. It's like assembling a new collection from pieces of other collections based on certain rules.
2609
+ *
2610
+ * Here's how the do simulation works:
2611
+ *
2612
+ * 1. Start the do simulation using the `Do` value
2613
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Array` values
2614
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
2615
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
2616
+ * 5. Regular `Array` functions like `map` and `filter` can still be used within the do simulation. These functions will receive the accumulated variables as arguments within the scope
2617
+ *
2618
+ * **Example**
2619
+ *
2620
+ * ```ts
2621
+ * import { Array, pipe } from "effect"
2622
+ *
2623
+ * const doResult = pipe(
2624
+ * Array.Do,
2625
+ * Array.bind("x", () => [1, 3, 5]),
2626
+ * Array.bind("y", () => [2, 4, 6]),
2627
+ * Array.filter(({ x, y }) => x < y), // condition
2628
+ * Array.map(({ x, y }) => [x, y] as const) // transformation
2629
+ * )
2630
+ * console.log(doResult) // [[1, 2], [1, 4], [1, 6], [3, 4], [3, 6], [5, 6]]
2631
+ *
2632
+ * // equivalent
2633
+ * const x = [1, 3, 5],
2634
+ * y = [2, 4, 6],
2635
+ * result = [];
2636
+ * for(let i = 0; i < x.length; i++) {
2637
+ * for(let j = 0; j < y.length; j++) {
2638
+ * const _x = x[i], _y = y[j];
2639
+ * if(_x < _y) result.push([_x, _y] as const)
2640
+ * }
2641
+ * }
2642
+ * ```
2643
+ *
2644
+ * @see {@link bindTo}
2645
+ * @see {@link Do}
2646
+ * @see {@link let_ let}
2647
+ *
2648
+ * @category do notation
2649
+ * @since 3.2.0
2650
+ */
2651
+ export const bindTo = /*#__PURE__*/internalDoNotation.bindTo(map);
2652
+ const let_ = /*#__PURE__*/internalDoNotation.let_(map);
2653
+ export {
2654
+ /**
2655
+ * The "do simulation" for array allows you to sequentially apply operations to the elements of arrays, just as nested loops allow you to go through all combinations of elements in an arrays.
2656
+ *
2657
+ * It can be used to simulate "array comprehension".
2658
+ * It's a technique that allows you to create new arrays by iterating over existing ones and applying specific **conditions** or **transformations** to the elements. It's like assembling a new collection from pieces of other collections based on certain rules.
2659
+ *
2660
+ * Here's how the do simulation works:
2661
+ *
2662
+ * 1. Start the do simulation using the `Do` value
2663
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Array` values
2664
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
2665
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
2666
+ * 5. Regular `Array` functions like `map` and `filter` can still be used within the do simulation. These functions will receive the accumulated variables as arguments within the scope
2667
+ *
2668
+ * **Example**
2669
+ *
2670
+ * ```ts
2671
+ * import { Array, pipe } from "effect"
2672
+ *
2673
+ * const doResult = pipe(
2674
+ * Array.Do,
2675
+ * Array.bind("x", () => [1, 3, 5]),
2676
+ * Array.bind("y", () => [2, 4, 6]),
2677
+ * Array.filter(({ x, y }) => x < y), // condition
2678
+ * Array.map(({ x, y }) => [x, y] as const) // transformation
2679
+ * )
2680
+ * console.log(doResult) // [[1, 2], [1, 4], [1, 6], [3, 4], [3, 6], [5, 6]]
2681
+ *
2682
+ * // equivalent
2683
+ * const x = [1, 3, 5],
2684
+ * y = [2, 4, 6],
2685
+ * result = [];
2686
+ * for(let i = 0; i < x.length; i++) {
2687
+ * for(let j = 0; j < y.length; j++) {
2688
+ * const _x = x[i], _y = y[j];
2689
+ * if(_x < _y) result.push([_x, _y] as const)
2690
+ * }
2691
+ * }
2692
+ *
2693
+ * ```
2694
+ *
2695
+ * @see {@link bindTo}
2696
+ * @see {@link bind}
2697
+ * @see {@link Do}
2698
+ *
2699
+ * @category do notation
2700
+ * @since 3.2.0
2701
+ */
2702
+ let_ as let };
2703
+ //# sourceMappingURL=Array.js.map
backend/node_modules/effect/dist/esm/BigDecimal.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"BigDecimal.js","names":["Equal","equivalence","dual","pipe","Hash","NodeInspectSymbol","Option","order","pipeArguments","hasProperty","DEFAULT_PRECISION","FINITE_INT_REGEX","TypeId","Symbol","for","BigDecimalProto","symbol","normalized","normalize","hash","value","combine","number","scale","cached","that","isBigDecimal","equals","toString","format","toJSON","_id","String","arguments","u","make","o","Object","create","unsafeMakeNormalized","bigint0","bigint10","RangeError","BigInt","bigint1","zero","self","undefined","digits","trail","i","length","substring","sum","multiply","subtract","divideWithPrecision","num","den","precision","numNegative","denNegative","negateResult","quotient","remainder","count","q","r","roundTerminal","n","pos","Number","divide","none","some","unsafeDivide","Order","scmp","sign","bigint","lessThan","lessThanOrEqualTo","greaterThan","greaterThanOrEqualTo","between","clamp","min","max","abs","negate","divisor","Math","unsafeRemainder","Equivalence","fromBigInt","unsafeFromNumber","getOrThrowWith","safeFromNumber","fromNumber","isFinite","string","includes","fromString","lead","split","s","base","exp","seperator","search","slice","isSafeInteger","test","offset","dot","unsafeFromString","Error","toExponential","negative","absolute","before","after","repeat","location","zeros","complete","isZero","head","tail","output","isNegative","unsafeToNumber","isInteger","isPositive","isBigDecimalArgs","args","ceil","truncated","truncate","floor","digitAt","scaled","round","options","mode","halfCeil","halfFloor","digit","sumAll","collection","out"],"sources":["../../src/BigDecimal.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;;;;;;;;;;;;AAmBA,OAAO,KAAKA,KAAK,MAAM,YAAY;AACnC,OAAO,KAAKC,WAAW,MAAM,kBAAkB;AAC/C,SAASC,IAAI,EAAEC,IAAI,QAAQ,eAAe;AAC1C,OAAO,KAAKC,IAAI,MAAM,WAAW;AACjC,SAA2BC,iBAAiB,QAAQ,kBAAkB;AACtE,OAAO,KAAK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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides utility functions and type class instances for working with the `bigint` type in TypeScript.
3
+ * It includes functions for basic arithmetic operations, as well as type class instances for
4
+ * `Equivalence` and `Order`.
5
+ *
6
+ * @module BigInt
7
+ * @since 2.0.0
8
+ * @see {@link module:BigDecimal} for more similar operations on `BigDecimal` types
9
+ * @see {@link module:Number} for more similar operations on `number` types
10
+ */
11
+ import * as equivalence from "./Equivalence.js";
12
+ import { dual } from "./Function.js";
13
+ import * as Option from "./Option.js";
14
+ import * as order from "./Order.js";
15
+ import * as predicate from "./Predicate.js";
16
+ const bigint0 = /*#__PURE__*/BigInt(0);
17
+ const bigint1 = /*#__PURE__*/BigInt(1);
18
+ const bigint2 = /*#__PURE__*/BigInt(2);
19
+ /**
20
+ * Tests if a value is a `bigint`.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * import * as assert from "node:assert"
25
+ * import { isBigInt } from "effect/BigInt"
26
+ *
27
+ * assert.deepStrictEqual(isBigInt(1n), true)
28
+ * assert.deepStrictEqual(isBigInt(1), false)
29
+ * ```
30
+ *
31
+ * @category guards
32
+ * @since 2.0.0
33
+ */
34
+ export const isBigInt = predicate.isBigInt;
35
+ /**
36
+ * Provides an addition operation on `bigint`s.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * import * as assert from "node:assert"
41
+ * import { sum } from "effect/BigInt"
42
+ *
43
+ * assert.deepStrictEqual(sum(2n, 3n), 5n)
44
+ * ```
45
+ *
46
+ * @category math
47
+ * @since 2.0.0
48
+ */
49
+ export const sum = /*#__PURE__*/dual(2, (self, that) => self + that);
50
+ /**
51
+ * Provides a multiplication operation on `bigint`s.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * import * as assert from "node:assert"
56
+ * import { multiply } from "effect/BigInt"
57
+ *
58
+ * assert.deepStrictEqual(multiply(2n, 3n), 6n)
59
+ * ```
60
+ *
61
+ * @category math
62
+ * @since 2.0.0
63
+ */
64
+ export const multiply = /*#__PURE__*/dual(2, (self, that) => self * that);
65
+ /**
66
+ * Provides a subtraction operation on `bigint`s.
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * import * as assert from "node:assert"
71
+ * import { subtract } from "effect/BigInt"
72
+ *
73
+ * assert.deepStrictEqual(subtract(2n, 3n), -1n)
74
+ * ```
75
+ *
76
+ * @category math
77
+ * @since 2.0.0
78
+ */
79
+ export const subtract = /*#__PURE__*/dual(2, (self, that) => self - that);
80
+ /**
81
+ * Provides a division operation on `bigint`s.
82
+ *
83
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
84
+ * which represents the integer division rounded down to the nearest integer.
85
+ *
86
+ * Returns `None` if the divisor is `0n`.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * import * as assert from "node:assert"
91
+ * import { BigInt, Option } from "effect"
92
+ *
93
+ * assert.deepStrictEqual(BigInt.divide(6n, 3n), Option.some(2n))
94
+ * assert.deepStrictEqual(BigInt.divide(6n, 0n), Option.none())
95
+ * ```
96
+ *
97
+ * @category math
98
+ * @since 2.0.0
99
+ */
100
+ export const divide = /*#__PURE__*/dual(2, (self, that) => that === bigint0 ? Option.none() : Option.some(self / that));
101
+ /**
102
+ * Provides a division operation on `bigint`s.
103
+ *
104
+ * If the dividend is not a multiple of the divisor the result will be a `bigint` value
105
+ * which represents the integer division rounded down to the nearest integer.
106
+ *
107
+ * Throws a `RangeError` if the divisor is `0n`.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * import * as assert from "node:assert"
112
+ * import { unsafeDivide } from "effect/BigInt"
113
+ *
114
+ * assert.deepStrictEqual(unsafeDivide(6n, 3n), 2n)
115
+ * assert.deepStrictEqual(unsafeDivide(6n, 4n), 1n)
116
+ * ```
117
+ *
118
+ * @category math
119
+ * @since 2.0.0
120
+ */
121
+ export const unsafeDivide = /*#__PURE__*/dual(2, (self, that) => self / that);
122
+ /**
123
+ * Returns the result of adding `1n` to a given number.
124
+ *
125
+ * @example
126
+ * ```ts
127
+ * import * as assert from "node:assert"
128
+ * import { increment } from "effect/BigInt"
129
+ *
130
+ * assert.deepStrictEqual(increment(2n), 3n)
131
+ * ```
132
+ *
133
+ * @category math
134
+ * @since 2.0.0
135
+ */
136
+ export const increment = n => n + bigint1;
137
+ /**
138
+ * Decrements a number by `1n`.
139
+ *
140
+ * @example
141
+ * ```ts
142
+ * import * as assert from "node:assert"
143
+ * import { decrement } from "effect/BigInt"
144
+ *
145
+ * assert.deepStrictEqual(decrement(3n), 2n)
146
+ * ```
147
+ *
148
+ * @category math
149
+ * @since 2.0.0
150
+ */
151
+ export const decrement = n => n - bigint1;
152
+ /**
153
+ * @category instances
154
+ * @since 2.0.0
155
+ */
156
+ export const Equivalence = equivalence.bigint;
157
+ /**
158
+ * @category instances
159
+ * @since 2.0.0
160
+ */
161
+ export const Order = order.bigint;
162
+ /**
163
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
164
+ *
165
+ * @example
166
+ * ```ts
167
+ * import * as assert from "node:assert"
168
+ * import { lessThan } from "effect/BigInt"
169
+ *
170
+ * assert.deepStrictEqual(lessThan(2n, 3n), true)
171
+ * assert.deepStrictEqual(lessThan(3n, 3n), false)
172
+ * assert.deepStrictEqual(lessThan(4n, 3n), false)
173
+ * ```
174
+ *
175
+ * @category predicates
176
+ * @since 2.0.0
177
+ */
178
+ export const lessThan = /*#__PURE__*/order.lessThan(Order);
179
+ /**
180
+ * Returns a function that checks if a given `bigint` is less than or equal to the provided one.
181
+ *
182
+ * @example
183
+ * ```ts
184
+ * import * as assert from "node:assert"
185
+ * import { lessThanOrEqualTo } from "effect/BigInt"
186
+ *
187
+ * assert.deepStrictEqual(lessThanOrEqualTo(2n, 3n), true)
188
+ * assert.deepStrictEqual(lessThanOrEqualTo(3n, 3n), true)
189
+ * assert.deepStrictEqual(lessThanOrEqualTo(4n, 3n), false)
190
+ * ```
191
+ *
192
+ * @category predicates
193
+ * @since 2.0.0
194
+ */
195
+ export const lessThanOrEqualTo = /*#__PURE__*/order.lessThanOrEqualTo(Order);
196
+ /**
197
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * import * as assert from "node:assert"
202
+ * import { greaterThan } from "effect/BigInt"
203
+ *
204
+ * assert.deepStrictEqual(greaterThan(2n, 3n), false)
205
+ * assert.deepStrictEqual(greaterThan(3n, 3n), false)
206
+ * assert.deepStrictEqual(greaterThan(4n, 3n), true)
207
+ * ```
208
+ *
209
+ * @category predicates
210
+ * @since 2.0.0
211
+ */
212
+ export const greaterThan = /*#__PURE__*/order.greaterThan(Order);
213
+ /**
214
+ * Returns a function that checks if a given `bigint` is greater than or equal to the provided one.
215
+ *
216
+ * @example
217
+ * ```ts
218
+ * import * as assert from "node:assert"
219
+ * import { greaterThanOrEqualTo } from "effect/BigInt"
220
+ *
221
+ * assert.deepStrictEqual(greaterThanOrEqualTo(2n, 3n), false)
222
+ * assert.deepStrictEqual(greaterThanOrEqualTo(3n, 3n), true)
223
+ * assert.deepStrictEqual(greaterThanOrEqualTo(4n, 3n), true)
224
+ * ```
225
+ *
226
+ * @category predicates
227
+ * @since 2.0.0
228
+ */
229
+ export const greaterThanOrEqualTo = /*#__PURE__*/order.greaterThanOrEqualTo(Order);
230
+ /**
231
+ * Checks if a `bigint` is between a `minimum` and `maximum` value (inclusive).
232
+ *
233
+ * @example
234
+ * ```ts
235
+ * import * as assert from "node:assert"
236
+ * import { BigInt } from "effect"
237
+ *
238
+ * const between = BigInt.between({ minimum: 0n, maximum: 5n })
239
+ *
240
+ * assert.deepStrictEqual(between(3n), true)
241
+ * assert.deepStrictEqual(between(-1n), false)
242
+ * assert.deepStrictEqual(between(6n), false)
243
+ * ```
244
+ *
245
+ * @category predicates
246
+ * @since 2.0.0
247
+ */
248
+ export const between = /*#__PURE__*/order.between(Order);
249
+ /**
250
+ * Restricts the given `bigint` to be within the range specified by the `minimum` and `maximum` values.
251
+ *
252
+ * - If the `bigint` is less than the `minimum` value, the function returns the `minimum` value.
253
+ * - If the `bigint` is greater than the `maximum` value, the function returns the `maximum` value.
254
+ * - Otherwise, it returns the original `bigint`.
255
+ *
256
+ * @example
257
+ * ```ts
258
+ * import * as assert from "node:assert"
259
+ * import { BigInt } from "effect"
260
+ *
261
+ * const clamp = BigInt.clamp({ minimum: 1n, maximum: 5n })
262
+ *
263
+ * assert.equal(clamp(3n), 3n)
264
+ * assert.equal(clamp(0n), 1n)
265
+ * assert.equal(clamp(6n), 5n)
266
+ * ```
267
+ *
268
+ * @since 2.0.0
269
+ */
270
+ export const clamp = /*#__PURE__*/order.clamp(Order);
271
+ /**
272
+ * Returns the minimum between two `bigint`s.
273
+ *
274
+ * @example
275
+ * ```ts
276
+ * import * as assert from "node:assert"
277
+ * import { min } from "effect/BigInt"
278
+ *
279
+ * assert.deepStrictEqual(min(2n, 3n), 2n)
280
+ * ```
281
+ *
282
+ * @since 2.0.0
283
+ */
284
+ export const min = /*#__PURE__*/order.min(Order);
285
+ /**
286
+ * Returns the maximum between two `bigint`s.
287
+ *
288
+ * @example
289
+ * ```ts
290
+ * import * as assert from "node:assert"
291
+ * import { max } from "effect/BigInt"
292
+ *
293
+ * assert.deepStrictEqual(max(2n, 3n), 3n)
294
+ * ```
295
+ *
296
+ * @since 2.0.0
297
+ */
298
+ export const max = /*#__PURE__*/order.max(Order);
299
+ /**
300
+ * Determines the sign of a given `bigint`.
301
+ *
302
+ * @example
303
+ * ```ts
304
+ * import * as assert from "node:assert"
305
+ * import { sign } from "effect/BigInt"
306
+ *
307
+ * assert.deepStrictEqual(sign(-5n), -1)
308
+ * assert.deepStrictEqual(sign(0n), 0)
309
+ * assert.deepStrictEqual(sign(5n), 1)
310
+ * ```
311
+ *
312
+ * @category math
313
+ * @since 2.0.0
314
+ */
315
+ export const sign = n => Order(n, bigint0);
316
+ /**
317
+ * Determines the absolute value of a given `bigint`.
318
+ *
319
+ * @example
320
+ * ```ts
321
+ * import * as assert from "node:assert"
322
+ * import { abs } from "effect/BigInt"
323
+ *
324
+ * assert.deepStrictEqual(abs(-5n), 5n)
325
+ * assert.deepStrictEqual(abs(0n), 0n)
326
+ * assert.deepStrictEqual(abs(5n), 5n)
327
+ * ```
328
+ *
329
+ * @category math
330
+ * @since 2.0.0
331
+ */
332
+ export const abs = n => n < bigint0 ? -n : n;
333
+ /**
334
+ * Determines the greatest common divisor of two `bigint`s.
335
+ *
336
+ * @example
337
+ * ```ts
338
+ * import * as assert from "node:assert"
339
+ * import { gcd } from "effect/BigInt"
340
+ *
341
+ * assert.deepStrictEqual(gcd(2n, 3n), 1n)
342
+ * assert.deepStrictEqual(gcd(2n, 4n), 2n)
343
+ * assert.deepStrictEqual(gcd(16n, 24n), 8n)
344
+ * ```
345
+ *
346
+ * @category math
347
+ * @since 2.0.0
348
+ */
349
+ export const gcd = /*#__PURE__*/dual(2, (self, that) => {
350
+ while (that !== bigint0) {
351
+ const t = that;
352
+ that = self % that;
353
+ self = t;
354
+ }
355
+ return self;
356
+ });
357
+ /**
358
+ * Determines the least common multiple of two `bigint`s.
359
+ *
360
+ * @example
361
+ * ```ts
362
+ * import * as assert from "node:assert"
363
+ * import { lcm } from "effect/BigInt"
364
+ *
365
+ * assert.deepStrictEqual(lcm(2n, 3n), 6n)
366
+ * assert.deepStrictEqual(lcm(2n, 4n), 4n)
367
+ * assert.deepStrictEqual(lcm(16n, 24n), 48n)
368
+ * ```
369
+ *
370
+ * @category math
371
+ * @since 2.0.0
372
+ */
373
+ export const lcm = /*#__PURE__*/dual(2, (self, that) => self * that / gcd(self, that));
374
+ /**
375
+ * Determines the square root of a given `bigint` unsafely. Throws if the given `bigint` is negative.
376
+ *
377
+ * @example
378
+ * ```ts
379
+ * import * as assert from "node:assert"
380
+ * import { unsafeSqrt } from "effect/BigInt"
381
+ *
382
+ * assert.deepStrictEqual(unsafeSqrt(4n), 2n)
383
+ * assert.deepStrictEqual(unsafeSqrt(9n), 3n)
384
+ * assert.deepStrictEqual(unsafeSqrt(16n), 4n)
385
+ * ```
386
+ *
387
+ * @category math
388
+ * @since 2.0.0
389
+ */
390
+ export const unsafeSqrt = n => {
391
+ if (n < bigint0) {
392
+ throw new RangeError("Cannot take the square root of a negative number");
393
+ }
394
+ if (n < bigint2) {
395
+ return n;
396
+ }
397
+ let x = n / bigint2;
398
+ while (x * x > n) {
399
+ x = (n / x + x) / bigint2;
400
+ }
401
+ return x;
402
+ };
403
+ /**
404
+ * Determines the square root of a given `bigint` safely. Returns `none` if the given `bigint` is negative.
405
+ *
406
+ * @example
407
+ * ```ts
408
+ * import * as assert from "node:assert"
409
+ * import { BigInt, Option } from "effect"
410
+ *
411
+ * assert.deepStrictEqual(BigInt.sqrt(4n), Option.some(2n))
412
+ * assert.deepStrictEqual(BigInt.sqrt(9n), Option.some(3n))
413
+ * assert.deepStrictEqual(BigInt.sqrt(16n), Option.some(4n))
414
+ * assert.deepStrictEqual(BigInt.sqrt(-1n), Option.none())
415
+ * ```
416
+ *
417
+ * @category math
418
+ * @since 2.0.0
419
+ */
420
+ export const sqrt = n => greaterThanOrEqualTo(n, bigint0) ? Option.some(unsafeSqrt(n)) : Option.none();
421
+ /**
422
+ * Takes an `Iterable` of `bigint`s and returns their sum as a single `bigint
423
+ *
424
+ * @example
425
+ * ```ts
426
+ * import * as assert from "node:assert"
427
+ * import { sumAll } from "effect/BigInt"
428
+ *
429
+ * assert.deepStrictEqual(sumAll([2n, 3n, 4n]), 9n)
430
+ * ```
431
+ *
432
+ * @category math
433
+ * @since 2.0.0
434
+ */
435
+ export const sumAll = collection => {
436
+ let out = bigint0;
437
+ for (const n of collection) {
438
+ out += n;
439
+ }
440
+ return out;
441
+ };
442
+ /**
443
+ * Takes an `Iterable` of `bigint`s and returns their multiplication as a single `number`.
444
+ *
445
+ * @example
446
+ * ```ts
447
+ * import * as assert from "node:assert"
448
+ * import { multiplyAll } from "effect/BigInt"
449
+ *
450
+ * assert.deepStrictEqual(multiplyAll([2n, 3n, 4n]), 24n)
451
+ * ```
452
+ *
453
+ * @category math
454
+ * @since 2.0.0
455
+ */
456
+ export const multiplyAll = collection => {
457
+ let out = bigint1;
458
+ for (const n of collection) {
459
+ if (n === bigint0) {
460
+ return bigint0;
461
+ }
462
+ out *= n;
463
+ }
464
+ return out;
465
+ };
466
+ /**
467
+ * Takes a `bigint` and returns an `Option` of `number`.
468
+ *
469
+ * If the `bigint` is outside the safe integer range for JavaScript (`Number.MAX_SAFE_INTEGER`
470
+ * and `Number.MIN_SAFE_INTEGER`), it returns `Option.none()`. Otherwise, it converts the `bigint`
471
+ * to a number and returns `Option.some(number)`.
472
+ *
473
+ * @example
474
+ * ```ts
475
+ * import * as assert from "node:assert"
476
+ * import { BigInt as BI, Option } from "effect"
477
+ *
478
+ * assert.deepStrictEqual(BI.toNumber(BigInt(42)), Option.some(42))
479
+ * assert.deepStrictEqual(BI.toNumber(BigInt(Number.MAX_SAFE_INTEGER) + BigInt(1)), Option.none())
480
+ * assert.deepStrictEqual(BI.toNumber(BigInt(Number.MIN_SAFE_INTEGER) - BigInt(1)), Option.none())
481
+ * ```
482
+ *
483
+ * @category conversions
484
+ * @since 2.0.0
485
+ */
486
+ export const toNumber = b => {
487
+ if (b > BigInt(Number.MAX_SAFE_INTEGER) || b < BigInt(Number.MIN_SAFE_INTEGER)) {
488
+ return Option.none();
489
+ }
490
+ return Option.some(Number(b));
491
+ };
492
+ /**
493
+ * Takes a string and returns an `Option` of `bigint`.
494
+ *
495
+ * If the string is empty or contains characters that cannot be converted into a `bigint`,
496
+ * it returns `Option.none()`, otherwise, it returns `Option.some(bigint)`.
497
+ *
498
+ * @example
499
+ * ```ts
500
+ * import * as assert from "node:assert"
501
+ * import { BigInt as BI, Option } from "effect"
502
+ *
503
+ * assert.deepStrictEqual(BI.fromString("42"), Option.some(BigInt(42)))
504
+ * assert.deepStrictEqual(BI.fromString(" "), Option.none())
505
+ * assert.deepStrictEqual(BI.fromString("a"), Option.none())
506
+ * ```
507
+ *
508
+ * @category conversions
509
+ * @since 2.4.12
510
+ */
511
+ export const fromString = s => {
512
+ try {
513
+ return s.trim() === "" ? Option.none() : Option.some(BigInt(s));
514
+ } catch {
515
+ return Option.none();
516
+ }
517
+ };
518
+ /**
519
+ * Takes a number and returns an `Option` of `bigint`.
520
+ *
521
+ * If the number is outside the safe integer range for JavaScript (`Number.MAX_SAFE_INTEGER`
522
+ * and `Number.MIN_SAFE_INTEGER`), it returns `Option.none()`. Otherwise, it attempts to
523
+ * convert the number to a `bigint` and returns `Option.some(bigint)`.
524
+ *
525
+ * @example
526
+ * ```ts
527
+ * import * as assert from "node:assert"
528
+ * import { BigInt as BI, Option } from "effect"
529
+ *
530
+ * assert.deepStrictEqual(BI.fromNumber(42), Option.some(BigInt(42)))
531
+ * assert.deepStrictEqual(BI.fromNumber(Number.MAX_SAFE_INTEGER + 1), Option.none())
532
+ * assert.deepStrictEqual(BI.fromNumber(Number.MIN_SAFE_INTEGER - 1), Option.none())
533
+ * ```
534
+ *
535
+ * @category conversions
536
+ * @since 2.4.12
537
+ */
538
+ export const fromNumber = n => {
539
+ if (n > Number.MAX_SAFE_INTEGER || n < Number.MIN_SAFE_INTEGER) {
540
+ return Option.none();
541
+ }
542
+ try {
543
+ return Option.some(BigInt(n));
544
+ } catch {
545
+ return Option.none();
546
+ }
547
+ };
548
+ //# sourceMappingURL=BigInt.js.map
backend/node_modules/effect/dist/esm/BigInt.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"BigInt.js","names":["equivalence","dual","Option","order","predicate","bigint0","BigInt","bigint1","bigint2","isBigInt","sum","self","that","multiply","subtract","divide","none","some","unsafeDivide","increment","n","decrement","Equivalence","bigint","Order","lessThan","lessThanOrEqualTo","greaterThan","greaterThanOrEqualTo","between","clamp","min","max","sign","abs","gcd","t","lcm","unsafeSqrt","RangeError","x","sqrt","sumAll","collection","out","multiplyAll","toNumber","b","Number","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","fromString","s","trim","fromNumber"],"sources":["../../src/BigInt.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;;;;AAWA,OAAO,KAAKA,WAAW,MAAM,kBAAkB;AAC/C,SAASC,IAAI,QAAQ,eAAe;AACpC,OAAO,KAAKC,MAAM,MAAM,aAAa;AACrC,OAAO,KAAKC,KAAK,MAAM,YAAY;AAEnC,OAAO,KAAKC,SAAS,MAAM,gBAAgB;AAE3C,MAAMC,OAAO,gBAAGC,MAAM,CAAC,CAAC,CAAC;AACzB,MAAMC,OAAO,gBAAGD,MAAM,CAAC,CAAC,CAAC;AACzB,MAAME,OAAO,gBAAGF,MAAM,CAAC,CAAC,CAAC;AAEzB;;;;;;;;;;;;;;;AAeA,OAAO,MAAMG,QAAQ,GAAgCL,SAAS,CAACK,QAAQ;AAEvE;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,GAAG,gBA+BZT,IAAI,CAAC,CAAC,EAAE,CAACU,IAAY,EAAEC,IAAY,KAAaD,IAAI,GAAGC,IAAI,CAAC;AAEhE;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,QAAQ,gBA+BjBZ,IAAI,CAAC,CAAC,EAAE,CAACU,IAAY,EAAEC,IAAY,KAAaD,IAAI,GAAGC,IAAI,CAAC;AAEhE;;;;;;;;;;;;;;AAcA,OAAO,MAAME,QAAQ,gBA+BjBb,IAAI,CAAC,CAAC,EAAE,CAACU,IAAY,EAAEC,IAAY,KAAaD,IAAI,GAAGC,IAAI,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;AAoBA,OAAO,MAAMG,MAAM,gBA2Cf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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides utility functions and type class instances for working with the `boolean` type in TypeScript.
3
+ * It includes functions for basic boolean operations, as well as type class instances for
4
+ * `Equivalence` and `Order`.
5
+ *
6
+ * @since 2.0.0
7
+ */
8
+ import * as equivalence from "./Equivalence.js";
9
+ import { dual } from "./Function.js";
10
+ import * as order from "./Order.js";
11
+ import * as predicate from "./Predicate.js";
12
+ /**
13
+ * Tests if a value is a `boolean`.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * import * as assert from "node:assert"
18
+ * import { isBoolean } from "effect/Boolean"
19
+ *
20
+ * assert.deepStrictEqual(isBoolean(true), true)
21
+ * assert.deepStrictEqual(isBoolean("true"), false)
22
+ * ```
23
+ *
24
+ * @category guards
25
+ * @since 2.0.0
26
+ */
27
+ export const isBoolean = predicate.isBoolean;
28
+ /**
29
+ * This function returns the result of either of the given functions depending on the value of the boolean parameter.
30
+ * It is useful when you have to run one of two functions depending on the boolean value.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * import * as assert from "node:assert"
35
+ * import { Boolean } from "effect"
36
+ *
37
+ * assert.deepStrictEqual(Boolean.match(true, { onFalse: () => "It's false!", onTrue: () => "It's true!" }), "It's true!")
38
+ * ```
39
+ *
40
+ * @category pattern matching
41
+ * @since 2.0.0
42
+ */
43
+ export const match = /*#__PURE__*/dual(2, (value, options) => value ? options.onTrue() : options.onFalse());
44
+ /**
45
+ * @category instances
46
+ * @since 2.0.0
47
+ */
48
+ export const Equivalence = equivalence.boolean;
49
+ /**
50
+ * @category instances
51
+ * @since 2.0.0
52
+ */
53
+ export const Order = order.boolean;
54
+ /**
55
+ * Negates the given boolean: `!self`
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * import * as assert from "node:assert"
60
+ * import { not } from "effect/Boolean"
61
+ *
62
+ * assert.deepStrictEqual(not(true), false)
63
+ * assert.deepStrictEqual(not(false), true)
64
+ * ```
65
+ *
66
+ * @category combinators
67
+ * @since 2.0.0
68
+ */
69
+ export const not = self => !self;
70
+ /**
71
+ * Combines two boolean using AND: `self && that`.
72
+ *
73
+ * @example
74
+ * ```ts
75
+ * import * as assert from "node:assert"
76
+ * import { and } from "effect/Boolean"
77
+ *
78
+ * assert.deepStrictEqual(and(true, true), true)
79
+ * assert.deepStrictEqual(and(true, false), false)
80
+ * assert.deepStrictEqual(and(false, true), false)
81
+ * assert.deepStrictEqual(and(false, false), false)
82
+ * ```
83
+ *
84
+ * @category combinators
85
+ * @since 2.0.0
86
+ */
87
+ export const and = /*#__PURE__*/dual(2, (self, that) => self && that);
88
+ /**
89
+ * Combines two boolean using NAND: `!(self && that)`.
90
+ *
91
+ * @example
92
+ * ```ts
93
+ * import * as assert from "node:assert"
94
+ * import { nand } from "effect/Boolean"
95
+ *
96
+ * assert.deepStrictEqual(nand(true, true), false)
97
+ * assert.deepStrictEqual(nand(true, false), true)
98
+ * assert.deepStrictEqual(nand(false, true), true)
99
+ * assert.deepStrictEqual(nand(false, false), true)
100
+ * ```
101
+ *
102
+ * @category combinators
103
+ * @since 2.0.0
104
+ */
105
+ export const nand = /*#__PURE__*/dual(2, (self, that) => !(self && that));
106
+ /**
107
+ * Combines two boolean using OR: `self || that`.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * import * as assert from "node:assert"
112
+ * import { or } from "effect/Boolean"
113
+ *
114
+ * assert.deepStrictEqual(or(true, true), true)
115
+ * assert.deepStrictEqual(or(true, false), true)
116
+ * assert.deepStrictEqual(or(false, true), true)
117
+ * assert.deepStrictEqual(or(false, false), false)
118
+ * ```
119
+ *
120
+ * @category combinators
121
+ * @since 2.0.0
122
+ */
123
+ export const or = /*#__PURE__*/dual(2, (self, that) => self || that);
124
+ /**
125
+ * Combines two booleans using NOR: `!(self || that)`.
126
+ *
127
+ * @example
128
+ * ```ts
129
+ * import * as assert from "node:assert"
130
+ * import { nor } from "effect/Boolean"
131
+ *
132
+ * assert.deepStrictEqual(nor(true, true), false)
133
+ * assert.deepStrictEqual(nor(true, false), false)
134
+ * assert.deepStrictEqual(nor(false, true), false)
135
+ * assert.deepStrictEqual(nor(false, false), true)
136
+ * ```
137
+ *
138
+ * @category combinators
139
+ * @since 2.0.0
140
+ */
141
+ export const nor = /*#__PURE__*/dual(2, (self, that) => !(self || that));
142
+ /**
143
+ * Combines two booleans using XOR: `(!self && that) || (self && !that)`.
144
+ *
145
+ * @example
146
+ * ```ts
147
+ * import * as assert from "node:assert"
148
+ * import { xor } from "effect/Boolean"
149
+ *
150
+ * assert.deepStrictEqual(xor(true, true), false)
151
+ * assert.deepStrictEqual(xor(true, false), true)
152
+ * assert.deepStrictEqual(xor(false, true), true)
153
+ * assert.deepStrictEqual(xor(false, false), false)
154
+ * ```
155
+ *
156
+ * @category combinators
157
+ * @since 2.0.0
158
+ */
159
+ export const xor = /*#__PURE__*/dual(2, (self, that) => !self && that || self && !that);
160
+ /**
161
+ * Combines two booleans using EQV (aka XNOR): `!xor(self, that)`.
162
+ *
163
+ * @example
164
+ * ```ts
165
+ * import * as assert from "node:assert"
166
+ * import { eqv } from "effect/Boolean"
167
+ *
168
+ * assert.deepStrictEqual(eqv(true, true), true)
169
+ * assert.deepStrictEqual(eqv(true, false), false)
170
+ * assert.deepStrictEqual(eqv(false, true), false)
171
+ * assert.deepStrictEqual(eqv(false, false), true)
172
+ * ```
173
+ *
174
+ * @category combinators
175
+ * @since 2.0.0
176
+ */
177
+ export const eqv = /*#__PURE__*/dual(2, (self, that) => !xor(self, that));
178
+ /**
179
+ * Combines two booleans using an implication: `(!self || that)`.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * import * as assert from "node:assert"
184
+ * import { implies } from "effect/Boolean"
185
+ *
186
+ * assert.deepStrictEqual(implies(true, true), true)
187
+ * assert.deepStrictEqual(implies(true, false), false)
188
+ * assert.deepStrictEqual(implies(false, true), true)
189
+ * assert.deepStrictEqual(implies(false, false), true)
190
+ * ```
191
+ *
192
+ * @category combinators
193
+ * @since 2.0.0
194
+ */
195
+ export const implies = /*#__PURE__*/dual(2, (self, that) => self ? that : true);
196
+ /**
197
+ * This utility function is used to check if all the elements in a collection of boolean values are `true`.
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * import * as assert from "node:assert"
202
+ * import { every } from "effect/Boolean"
203
+ *
204
+ * assert.deepStrictEqual(every([true, true, true]), true)
205
+ * assert.deepStrictEqual(every([true, false, true]), false)
206
+ * ```
207
+ *
208
+ * @since 2.0.0
209
+ */
210
+ export const every = collection => {
211
+ for (const b of collection) {
212
+ if (!b) {
213
+ return false;
214
+ }
215
+ }
216
+ return true;
217
+ };
218
+ /**
219
+ * This utility function is used to check if at least one of the elements in a collection of boolean values is `true`.
220
+ *
221
+ * @example
222
+ * ```ts
223
+ * import * as assert from "node:assert"
224
+ * import { some } from "effect/Boolean"
225
+ *
226
+ * assert.deepStrictEqual(some([true, false, true]), true)
227
+ * assert.deepStrictEqual(some([false, false, false]), false)
228
+ * ```
229
+ *
230
+ * @since 2.0.0
231
+ */
232
+ export const some = collection => {
233
+ for (const b of collection) {
234
+ if (b) {
235
+ return true;
236
+ }
237
+ }
238
+ return false;
239
+ };
240
+ //# sourceMappingURL=Boolean.js.map
backend/node_modules/effect/dist/esm/Boolean.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Boolean.js","names":["equivalence","dual","order","predicate","isBoolean","match","value","options","onTrue","onFalse","Equivalence","boolean","Order","not","self","and","that","nand","or","nor","xor","eqv","implies","every","collection","b","some"],"sources":["../../src/Boolean.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;AAOA,OAAO,KAAKA,WAAW,MAAM,kBAAkB;AAE/C,SAASC,IAAI,QAAQ,eAAe;AACpC,OAAO,KAAKC,KAAK,MAAM,YAAY;AACnC,OAAO,KAAKC,SAAS,MAAM,gBAAgB;AAE3C;;;;;;;;;;;;;;;AAeA,OAAO,MAAMC,SAAS,GAAyCD,SAAS,CAACC,SAAS;AAElF;;;;;;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,IAAI,CAAC,CAAC,EAAE,CAACa,IAAa,EAAEE,IAAa,KAAc,CAACI,GAAG,CAACN,IAAI,EAAEE,IAAI,CAAC,CAAC;AAExE;;;;;;;;;;;;;;;;;AAiBA,OAAO,MAAMM,OAAO,gBAqChBrB,IAAI,CAAC,CAAC,EAAE,CAACa,IAAI,EAAEE,IAAI,KAAKF,IAAI,GAAGE,IAAI,GAAG,IAAI,CAAC;AAE/C;;;;;;;;;;;;;;AAcA,OAAO,MAAMO,KAAK,GAAIC,UAA6B,IAAa;EAC9D,KAAK,MAAMC,CAAC,IAAID,UAAU,EAAE;IAC1B,IAAI,CAACC,CAAC,EAAE;MACN,OAAO,KAAK;IACd;EACF;EACA,OAAO,IAAI;AACb,CAAC;AAED;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,IAAI,GAAIF,UAA6B,IAAa;EAC7D,KAAK,MAAMC,CAAC,IAAID,UAAU,EAAE;IAC1B,IAAIC,CAAC,EAAE;MACL,OAAO,IAAI;IACb;EACF;EACA,OAAO,KAAK;AACd,CAAC","ignoreList":[]}
backend/node_modules/effect/dist/esm/Brand.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Brand.js","names":["Arr","Either","identity","unsafeCoerce","Option","BrandTypeId","Symbol","for","RefinedConstructorsTypeId","error","message","meta","errors","flatten","refined","args","either","length","unbranded","right","left","match","onNone","onSome","Object","assign","getOrThrowWith","option","getRight","is","isRight","nominal","some","_args","all","brands","result","brand","nextResult","isLeft","onLeft","e","onRight"],"sources":["../../src/Brand.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;;;;;;;;;;;;AAkBA,OAAO,KAAKA,GAAG,MAAM,YAAY;AACjC,OAAO,KAAKC,MAAM,MAAM,aAAa;AACrC,SAASC,QAAQ,EAAEC,YAAY,QAAQ,eAAe;AACtD,OAAO,KAAKC,MAAM,MAAM,aAAa;AAIrC;;;;AAIA,OAAO,MAAMC,WAAW,gBAAkBC,MAAM,CAACC,GAAG,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I;MACZ,MAAMA,CAAC;IACT,CAAC;IACDC,OAAO,EAAExC;GACV,CAAC,EAAE;IACJ,CAACM,yBAAyB,GAAGA,yBAAyB;IACtDmB,MAAM,EAAGZ,IAAS,IAAKX,MAAM,CAACwB,QAAQ,CAACZ,MAAM,CAACD,IAAI,CAAC,CAAC;IACpDC,MAAM;IACNa,EAAE,EAAGd,IAAS,IAAkBd,MAAM,CAAC6B,OAAO,CAACd,MAAM,CAACD,IAAI,CAAC;GAC5D,CAAC;AACJ,CAAC;AAED;;;;;;AAMA,OAAO,MAAMG,SAAS,GAA6Df,YAAY","ignoreList":[]}
backend/node_modules/effect/dist/esm/Cache.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as internal from "./internal/cache.js";
2
+ /**
3
+ * @since 2.0.0
4
+ * @category symbols
5
+ */
6
+ export const CacheTypeId = internal.CacheTypeId;
7
+ /**
8
+ * @since 3.6.4
9
+ * @category symbols
10
+ */
11
+ export const ConsumerCacheTypeId = internal.ConsumerCacheTypeId;
12
+ /**
13
+ * Constructs a new cache with the specified capacity, time to live, and
14
+ * lookup function.
15
+ *
16
+ * @since 2.0.0
17
+ * @category constructors
18
+ */
19
+ export const make = internal.make;
20
+ /**
21
+ * Constructs a new cache with the specified capacity, time to live, and
22
+ * lookup function, where the time to live can depend on the `Exit` value
23
+ * returned by the lookup function.
24
+ *
25
+ * @since 2.0.0
26
+ * @category constructors
27
+ */
28
+ export const makeWith = internal.makeWith;
29
+ /**
30
+ * Constructs a new `CacheStats` from the specified values.
31
+ *
32
+ * @since 2.0.0
33
+ * @category constructors
34
+ */
35
+ export const makeCacheStats = internal.makeCacheStats;
36
+ /**
37
+ * Constructs a new `EntryStats` from the specified values.
38
+ *
39
+ * @since 2.0.0
40
+ * @category constructors
41
+ */
42
+ export const makeEntryStats = internal.makeEntryStats;
43
+ //# sourceMappingURL=Cache.js.map
backend/node_modules/effect/dist/esm/Cache.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Cache.js","names":["internal","CacheTypeId","ConsumerCacheTypeId","make","makeWith","makeCacheStats","makeEntryStats"],"sources":["../../src/Cache.ts"],"sourcesContent":[null],"mappings":"AAOA,OAAO,KAAKA,QAAQ,MAAM,qBAAqB;AAK/C;;;;AAIA,OAAO,MAAMC,WAAW,GAAkBD,QAAQ,CAACC,WAAW;AAQ9D;;;;AAIA,OAAO,MAAMC,mBAAmB,GAAkBF,QAAQ,CAACE,mBAAmB;AAsK9E;;;;;;;AAOA,OAAO,MAAMC,IAAI,GAMkDH,QAAQ,CAACG,IAAI;AAEhF;;;;;;;;AAQA,OAAO,MAAMC,QAAQ,GAM8CJ,QAAQ,CAACI,QAAQ;AAepF;;;;;;AAMA,OAAO,MAAMC,cAAc,GAMTL,QAAQ,CAACK,cAAc;AAYzC;;;;;;AAMA,OAAO,MAAMC,cAAc,GAAyCN,QAAQ,CAACM,cAAc","ignoreList":[]}
backend/node_modules/effect/dist/esm/Cause.js ADDED
@@ -0,0 +1,1004 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as internal from "./internal/cause.js";
2
+ import * as core from "./internal/core.js";
3
+ /**
4
+ * A unique symbol identifying the `Cause` type.
5
+ *
6
+ * **Details**
7
+ *
8
+ * This provides a symbol that helps identify instances of the `Cause` data
9
+ * type. This can be used for advanced operations such as refining types or
10
+ * building internal utilities that check whether an unknown value is a `Cause`.
11
+ *
12
+ * @see {@link isCause} Check if a value is a `Cause`
13
+ *
14
+ * @since 2.0.0
15
+ * @category Symbols
16
+ */
17
+ export const CauseTypeId = internal.CauseTypeId;
18
+ /**
19
+ * A unique symbol identifying the `RuntimeException` type.
20
+ *
21
+ * **Details**
22
+ *
23
+ * This provides a symbol that identifies a `RuntimeException`. This is
24
+ * typically used internally by the library to recognize checked exceptions that
25
+ * occur during runtime.
26
+ *
27
+ * @see {@link RuntimeException} Create or work with a `RuntimeException`
28
+ *
29
+ * @since 2.0.0
30
+ * @category Symbols
31
+ */
32
+ export const RuntimeExceptionTypeId = core.RuntimeExceptionTypeId;
33
+ /**
34
+ * A unique symbol identifying the `InterruptedException` type.
35
+ *
36
+ * **Details**
37
+ *
38
+ * This provides a symbol that identifies an `InterruptedException`. This is
39
+ * typically used internally to recognize when a fiber has been interrupted,
40
+ * helping the framework handle interruption logic correctly.
41
+ *
42
+ * @see {@link InterruptedException} Create or work with an `InterruptedException`
43
+ *
44
+ * @since 2.0.0
45
+ * @category Symbols
46
+ */
47
+ export const InterruptedExceptionTypeId = core.InterruptedExceptionTypeId;
48
+ /**
49
+ * A unique symbol identifying the `IllegalArgumentException` type.
50
+ *
51
+ * **Details**
52
+ *
53
+ * This provides a symbol that identifies an `IllegalArgumentException`. This is
54
+ * often used in scenarios where invalid arguments are supplied to methods that
55
+ * expect specific input.
56
+ *
57
+ * @see {@link IllegalArgumentException} Create or work with an `IllegalArgumentException`
58
+ *
59
+ * @since 2.0.0
60
+ * @category Symbols
61
+ */
62
+ export const IllegalArgumentExceptionTypeId = core.IllegalArgumentExceptionTypeId;
63
+ /**
64
+ * A unique symbol identifying the `NoSuchElementException` type.
65
+ *
66
+ * **Details**
67
+ *
68
+ * This provides a symbol that identifies a `NoSuchElementException`. It helps
69
+ * differentiate cases where a required element is missing within a data
70
+ * structure.
71
+ *
72
+ * @see {@link NoSuchElementException} Create or work with a `NoSuchElementException`
73
+ *
74
+ * @since 2.0.0
75
+ * @category Symbols
76
+ */
77
+ export const NoSuchElementExceptionTypeId = core.NoSuchElementExceptionTypeId;
78
+ /**
79
+ * A unique symbol identifying the `InvalidPubSubCapacityException` type.
80
+ *
81
+ * **Details**
82
+ *
83
+ * This provides a symbol that identifies an `InvalidPubSubCapacityException`.
84
+ * It indicates an error related to an invalid capacity passed to a `PubSub`
85
+ * structure.
86
+ *
87
+ * @see {@link InvalidPubSubCapacityException} Create or work with an `InvalidPubSubCapacityException`
88
+ *
89
+ * @since 2.0.0
90
+ * @category Symbols
91
+ */
92
+ export const InvalidPubSubCapacityExceptionTypeId = core.InvalidPubSubCapacityExceptionTypeId;
93
+ /**
94
+ * A unique symbol identifying the `ExceededCapacityException` type.
95
+ *
96
+ * **Details**
97
+ *
98
+ * This provides a symbol that identifies an `ExceededCapacityException`. It
99
+ * denotes situations where a resource has exceeded its configured capacity
100
+ * limit.
101
+ *
102
+ * @see {@link ExceededCapacityException} Create or work with an `ExceededCapacityException`
103
+ *
104
+ * @since 3.5.0
105
+ * @category Symbols
106
+ */
107
+ export const ExceededCapacityExceptionTypeId = core.ExceededCapacityExceptionTypeId;
108
+ /**
109
+ * A unique symbol identifying the `TimeoutException` type.
110
+ *
111
+ * **Details**
112
+ *
113
+ * This provides a symbol that identifies a `TimeoutException`. It helps the
114
+ * framework recognize errors related to operations that fail to complete within
115
+ * a given timeframe.
116
+ *
117
+ * @see {@link TimeoutException} Create or work with a `TimeoutException`
118
+ *
119
+ * @since 2.0.0
120
+ * @category Symbols
121
+ */
122
+ export const TimeoutExceptionTypeId = core.TimeoutExceptionTypeId;
123
+ /**
124
+ * A unique symbol identifying the `UnknownException` type.
125
+ *
126
+ * **Details**
127
+ *
128
+ * This provides a symbol that identifies an `UnknownException`. It is typically
129
+ * used for generic or unexpected errors that do not fit other specific
130
+ * exception categories.
131
+ *
132
+ * @see {@link UnknownException} Create or work with an `UnknownException`
133
+ *
134
+ * @since 2.0.0
135
+ * @category Symbols
136
+ */
137
+ export const UnknownExceptionTypeId = core.UnknownExceptionTypeId;
138
+ /**
139
+ * Creates an error that occurs at runtime, extendable for other exception
140
+ * types.
141
+ *
142
+ * @since 2.0.0
143
+ * @category Errors
144
+ */
145
+ export const YieldableError = core.YieldableError;
146
+ /**
147
+ * Creates an `Empty` cause.
148
+ *
149
+ * **Details**
150
+ *
151
+ * This function returns a cause that signifies "no error." It's commonly used
152
+ * to represent an absence of failure conditions.
153
+ *
154
+ * @see {@link isEmpty} Check if a `Cause` is empty
155
+ *
156
+ * @since 2.0.0
157
+ * @category Constructors
158
+ */
159
+ export const empty = internal.empty;
160
+ /**
161
+ * Creates a `Fail` cause from an expected error.
162
+ *
163
+ * **Details**
164
+ *
165
+ * This function constructs a `Cause` carrying an error of type `E`. It's used
166
+ * when you want to represent a known or anticipated failure in your effectful
167
+ * computations.
168
+ *
169
+ * @see {@link isFailure} Check if a `Cause` contains a failure
170
+ *
171
+ * @since 2.0.0
172
+ * @category Constructors
173
+ */
174
+ export const fail = internal.fail;
175
+ /**
176
+ * Creates a `Die` cause from an unexpected error.
177
+ *
178
+ * **Details**
179
+ *
180
+ * This function wraps an unhandled or unknown defect (like a runtime crash)
181
+ * into a `Cause`. It's useful for capturing unforeseen issues in a structured
182
+ * way.
183
+ *
184
+ * @see {@link isDie} Check if a `Cause` contains a defect
185
+ *
186
+ * @since 2.0.0
187
+ * @category Constructors
188
+ */
189
+ export const die = internal.die;
190
+ /**
191
+ * Creates an `Interrupt` cause from a `FiberId`.
192
+ *
193
+ * **Details**
194
+ *
195
+ * This function represents a fiber that has been interrupted. It stores the
196
+ * identifier of the interrupted fiber, enabling precise tracking of concurrent
197
+ * cancellations.
198
+ *
199
+ * @see {@link isInterrupted} Check if a `Cause` contains an interruption
200
+ *
201
+ * @since 2.0.0
202
+ * @category Constructors
203
+ */
204
+ export const interrupt = internal.interrupt;
205
+ /**
206
+ * Combines two `Cause`s in parallel.
207
+ *
208
+ * **Details**
209
+ *
210
+ * This function merges two errors that occurred simultaneously. Instead of
211
+ * discarding one error, both are retained, allowing for richer error reporting
212
+ * and debugging.
213
+ *
214
+ * @see {@link isParallelType} Check if a `Cause` is a `Parallel`
215
+ *
216
+ * @since 2.0.0
217
+ * @category Constructors
218
+ */
219
+ export const parallel = internal.parallel;
220
+ /**
221
+ * Combines two `Cause`s sequentially.
222
+ *
223
+ * **Details**
224
+ *
225
+ * This function merges two errors that occurred in sequence, such as a main
226
+ * error followed by a finalization error. It preserves both errors for complete
227
+ * failure information.
228
+ *
229
+ * @see {@link isSequentialType} Check if a `Cause` is a `Sequential`
230
+ *
231
+ * @since 2.0.0
232
+ * @category Constructors
233
+ */
234
+ export const sequential = internal.sequential;
235
+ /**
236
+ * Checks if a value is a `Cause`.
237
+ *
238
+ * @since 2.0.0
239
+ * @category Guards
240
+ */
241
+ export const isCause = internal.isCause;
242
+ /**
243
+ * Checks if a `Cause` is an `Empty` type.
244
+ *
245
+ * @see {@link empty} Create a new `Empty` cause
246
+ *
247
+ * @since 2.0.0
248
+ * @category Guards
249
+ */
250
+ export const isEmptyType = internal.isEmptyType;
251
+ /**
252
+ * Checks if a `Cause` is a `Fail` type.
253
+ *
254
+ * @see {@link fail} Create a new `Fail` cause
255
+ *
256
+ * @since 2.0.0
257
+ * @category Guards
258
+ */
259
+ export const isFailType = internal.isFailType;
260
+ /**
261
+ * Checks if a `Cause` is a `Die` type.
262
+ *
263
+ * @see {@link die} Create a new `Die` cause
264
+ *
265
+ * @since 2.0.0
266
+ * @category Guards
267
+ */
268
+ export const isDieType = internal.isDieType;
269
+ /**
270
+ * Checks if a `Cause` is an `Interrupt` type.
271
+ *
272
+ * @see {@link interrupt} Create an `Interrupt` cause
273
+ *
274
+ * @since 2.0.0
275
+ * @category Guards
276
+ */
277
+ export const isInterruptType = internal.isInterruptType;
278
+ /**
279
+ * Checks if a `Cause` is a `Sequential` type.
280
+ *
281
+ * @see {@link sequential} Combine two `Cause`s sequentially
282
+ *
283
+ * @since 2.0.0
284
+ * @category Guards
285
+ */
286
+ export const isSequentialType = internal.isSequentialType;
287
+ /**
288
+ * Checks if a `Cause` is a `Parallel` type.
289
+ *
290
+ * @see {@link parallel} Combine two `Cause`s in parallel
291
+ *
292
+ * @since 2.0.0
293
+ * @category Guards
294
+ */
295
+ export const isParallelType = internal.isParallelType;
296
+ /**
297
+ * Calculates the size of a `Cause`.
298
+ *
299
+ * **Details**
300
+ *
301
+ * This function returns the total number of `Cause` nodes in the semiring
302
+ * structure, reflecting how many individual error elements are recorded.
303
+ *
304
+ * @since 2.0.0
305
+ * @category Getters
306
+ */
307
+ export const size = internal.size;
308
+ /**
309
+ * Checks if a `Cause` is entirely empty.
310
+ *
311
+ * **Details**
312
+ *
313
+ * This function returns `true` if the `Cause` contains no errors, defects, or
314
+ * interruptions. It's helpful for verifying if a computation truly had no
315
+ * failures.
316
+ *
317
+ * @since 2.0.0
318
+ * @category Getters
319
+ */
320
+ export const isEmpty = internal.isEmpty;
321
+ /**
322
+ * Checks if a `Cause` contains a failure.
323
+ *
324
+ * **Details**
325
+ *
326
+ * This function returns `true` if the `Cause` includes any `Fail` error. It's
327
+ * commonly used to confirm whether a workflow encountered an anticipated error
328
+ * versus just defects or interruptions.
329
+ *
330
+ * @since 2.0.0
331
+ * @category Getters
332
+ */
333
+ export const isFailure = internal.isFailure;
334
+ /**
335
+ * Checks if a `Cause` contains a defect.
336
+ *
337
+ * **Details**
338
+ *
339
+ * This function returns `true` if the `Cause` includes any unexpected or
340
+ * unhandled errors (`Die`). It's useful for differentiating known failures from
341
+ * unexpected ones.
342
+ *
343
+ * @since 2.0.0
344
+ * @category Getters
345
+ */
346
+ export const isDie = internal.isDie;
347
+ /**
348
+ * Checks if a `Cause` contains an interruption.
349
+ *
350
+ * **Details**
351
+ *
352
+ * This function returns `true` if the `Cause` includes any fiber interruptions.
353
+ *
354
+ * @since 2.0.0
355
+ * @category Getters
356
+ */
357
+ export const isInterrupted = internal.isInterrupted;
358
+ /**
359
+ * Checks if a `Cause` contains only interruptions.
360
+ *
361
+ * **Details**
362
+ *
363
+ * This function returns `true` if the `Cause` has been interrupted but does not
364
+ * contain any other failures, such as `Fail` or `Die`. It's helpful for
365
+ * verifying purely "cancellation" scenarios.
366
+ *
367
+ * @since 2.0.0
368
+ * @category Getters
369
+ */
370
+ export const isInterruptedOnly = internal.isInterruptedOnly;
371
+ /**
372
+ * Extracts all recoverable errors of type `E` from a `Cause`.
373
+ *
374
+ * **Details**
375
+ *
376
+ * This function returns a chunk of errors, providing a list of all `Fail`
377
+ * values found in the cause. It's useful for collecting all known failures for
378
+ * logging or combined error handling.
379
+ *
380
+ * @since 2.0.0
381
+ * @category Getters
382
+ */
383
+ export const failures = internal.failures;
384
+ /**
385
+ * Extracts all unrecoverable defects from a `Cause`.
386
+ *
387
+ * **Details**
388
+ *
389
+ * This function returns a chunk of values representing unexpected errors
390
+ * (`Die`). It's handy for capturing or logging unanticipated failures that
391
+ * might need special handling, such as bug reports.
392
+ *
393
+ * @since 2.0.0
394
+ * @category Getters
395
+ */
396
+ export const defects = internal.defects;
397
+ /**
398
+ * Collects all `FiberId`s responsible for interrupting a fiber.
399
+ *
400
+ * **Details**
401
+ *
402
+ * This function returns a set of IDs indicating which fibers caused
403
+ * interruptions within this `Cause`. It's useful for debugging concurrency
404
+ * issues or tracing cancellations.
405
+ *
406
+ * @since 2.0.0
407
+ * @category Getters
408
+ */
409
+ export const interruptors = internal.interruptors;
410
+ /**
411
+ * Retrieves the first `Fail` error in a `Cause`, if present.
412
+ *
413
+ * **Details**
414
+ *
415
+ * This function returns an `Option` containing the first recoverable error
416
+ * (`E`) from the cause. It's often used to quickly check if there's a primary
417
+ * error to handle or display.
418
+ *
419
+ * @since 2.0.0
420
+ * @category Getters
421
+ */
422
+ export const failureOption = internal.failureOption;
423
+ /**
424
+ * Splits a `Cause` into either its first `Fail` error or the rest of the cause
425
+ * (which might only contain `Die` or `Interrupt`).
426
+ *
427
+ * **Details**
428
+ *
429
+ * This function either returns the checked error (`E`) or the remaining
430
+ * `Cause<never>` with defects/interruptions. It helps you decide if there's a
431
+ * recoverable path or if only unhandled issues remain.
432
+ *
433
+ * @since 2.0.0
434
+ * @category Getters
435
+ */
436
+ export const failureOrCause = internal.failureOrCause;
437
+ /**
438
+ * Strips out failures with an error of `None` from a `Cause<Option<E>>`.
439
+ *
440
+ * **Details**
441
+ *
442
+ * This function turns a `Cause<Option<E>>` into an `Option<Cause<E>>`. If the
443
+ * cause only contains failures of `None`, it becomes `None`; otherwise, it
444
+ * returns a `Cause` of the remaining errors. It's helpful when working with
445
+ * optional errors and filtering out certain error paths.
446
+ *
447
+ * @since 2.0.0
448
+ * @category Getters
449
+ */
450
+ export const flipCauseOption = internal.flipCauseOption;
451
+ /**
452
+ * Retrieves the first `Die` defect in a `Cause`, if present.
453
+ *
454
+ * **Details**
455
+ *
456
+ * This function returns an `Option` containing the first unexpected failure
457
+ * (`Die`) discovered. It's helpful for diagnosing the primary defect in a chain
458
+ * of errors.
459
+ *
460
+ * @since 2.0.0
461
+ * @category Getters
462
+ */
463
+ export const dieOption = internal.dieOption;
464
+ /**
465
+ * Retrieves the first `Interrupt` in a `Cause`, if present.
466
+ *
467
+ * **Details**
468
+ *
469
+ * This function returns an `Option` with the first fiber interruption
470
+ * discovered. This is particularly useful for concurrency analysis or debugging
471
+ * cancellations.
472
+ *
473
+ * @since 2.0.0
474
+ * @category Getters
475
+ */
476
+ export const interruptOption = internal.interruptOption;
477
+ /**
478
+ * Removes all `Fail` and `Interrupt` nodes, keeping only defects (`Die`) in a
479
+ * `Cause`.
480
+ *
481
+ * **Details**
482
+ *
483
+ * This function strips a cause of recoverable errors and interruptions, leaving
484
+ * only unexpected failures. If no defects remain, it returns `None`. It's
485
+ * valuable for focusing only on unanticipated problems when both known errors
486
+ * and defects could occur.
487
+ *
488
+ * @since 2.0.0
489
+ * @category Getters
490
+ */
491
+ export const keepDefects = internal.keepDefects;
492
+ // TODO(4.0): remove? what's the point of this API?
493
+ /**
494
+ * Linearizes a `Cause` into a set of parallel causes, each containing a
495
+ * sequential chain of failures.
496
+ *
497
+ * **Details**
498
+ *
499
+ * This function reorganizes the cause structure so that you can analyze each
500
+ * parallel branch separately, even if they have multiple sequential errors.
501
+ *
502
+ * @since 2.0.0
503
+ * @category Getters
504
+ */
505
+ export const linearize = internal.linearize;
506
+ /**
507
+ * Removes `Fail` and `Interrupt` nodes from a `Cause`, keeping only defects
508
+ * (`Die`).
509
+ *
510
+ * **Details**
511
+ *
512
+ * This function is similar to `keepDefects` but returns a `Cause<never>`
513
+ * directly, which can still store `Die` or finalizer-related defects. It's
514
+ * helpful for analyzing only the irrecoverable portion of the error.
515
+ *
516
+ * @since 2.0.0
517
+ * @category Getters
518
+ */
519
+ export const stripFailures = internal.stripFailures;
520
+ /**
521
+ * Removes matching defects from a `Cause` using a partial function, returning
522
+ * the remainder.
523
+ *
524
+ * **Details**
525
+ *
526
+ * This function applies a user-defined extraction function to each defect
527
+ * (`Die`). If the function matches the defect, that defect is removed. If all
528
+ * defects match, the result is `None`. Otherwise, you get a `Cause` with the
529
+ * unmatched defects.
530
+ *
531
+ * @since 2.0.0
532
+ * @category Getters
533
+ */
534
+ export const stripSomeDefects = internal.stripSomeDefects;
535
+ /**
536
+ * Replaces any errors in a `Cause` with a provided constant error.
537
+ *
538
+ * **Details**
539
+ *
540
+ * This function transforms all `Fail` errors into the specified error value,
541
+ * preserving the structure of the `Cause`. It's useful when you no longer need
542
+ * the original error details but still want to keep the cause shape.
543
+ *
544
+ * @see {@link map} Apply a custom transformation to `Fail` errors
545
+ *
546
+ * @since 2.0.0
547
+ * @category Mapping
548
+ */
549
+ export const as = internal.as;
550
+ /**
551
+ * Transforms the errors in a `Cause` using a user-provided function.
552
+ *
553
+ * **Details**
554
+ *
555
+ * This function applies `f` to each `Fail` error while leaving defects (`Die`)
556
+ * and interruptions untouched. It's useful for changing or simplifying error
557
+ * types in your effectful workflows.
558
+ *
559
+ * @see {@link as} Replace errors with a single constant
560
+ *
561
+ * @since 2.0.0
562
+ * @category Mapping
563
+ */
564
+ export const map = internal.map;
565
+ /**
566
+ * Transforms errors in a `Cause` into new causes.
567
+ *
568
+ * **Details**
569
+ *
570
+ * This function applies a function `f` to each `Fail` error, converting it into
571
+ * a new `Cause`. This is especially powerful for merging or restructuring error
572
+ * types while preserving or combining cause information.
573
+ *
574
+ * @see {@link map} Apply a simpler transformation to errors
575
+ *
576
+ * @since 2.0.0
577
+ * @category Sequencing
578
+ */
579
+ export const flatMap = internal.flatMap;
580
+ /**
581
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
582
+ * the first `Cause`.
583
+ *
584
+ * @since 2.0.0
585
+ * @category Sequencing
586
+ */
587
+ export const andThen = internal.andThen;
588
+ /**
589
+ * Flattens a nested `Cause` structure.
590
+ *
591
+ * **Details**
592
+ *
593
+ * This function takes a `Cause<Cause<E>>` and merges the layers into a single
594
+ * `Cause<E>`. It's useful for eliminating additional nesting created by
595
+ * repeated transformations or compositions.
596
+ *
597
+ * @see {@link flatMap} Compose nested causes
598
+ *
599
+ * @since 2.0.0
600
+ * @category Sequencing
601
+ */
602
+ export const flatten = internal.flatten;
603
+ /**
604
+ * Checks if the current `Cause` contains or is equal to another `Cause`.
605
+ *
606
+ * **Details**
607
+ *
608
+ * This function returns `true` if `that` cause is part of or the same as
609
+ * the current `Cause`. It's useful when you need to check for specific
610
+ * error patterns or deduplicate repeated failures.
611
+ *
612
+ * @since 2.0.0
613
+ * @category Elements
614
+ */
615
+ export const contains = internal.contains;
616
+ /**
617
+ * Extracts the most "important" defect from a `Cause`.
618
+ *
619
+ * **Details**
620
+ *
621
+ * This function reduces a `Cause` to a single, prioritized defect. It evaluates
622
+ * the `Cause` in the following order of priority:
623
+ *
624
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it returns
625
+ * the raw error value.
626
+ * 2. If there is no failure, it looks for the first defect (e.g., from
627
+ * `Effect.die`).
628
+ * 3. If neither of the above is present, and the `Cause` stems from an
629
+ * interruption, it creates and returns an `InterruptedException`.
630
+ *
631
+ * This function ensures you can always extract a meaningful representation of
632
+ * the primary issue from a potentially complex `Cause` structure.
633
+ *
634
+ * **When to Use**
635
+ *
636
+ * Use this function when you need to extract the most relevant error or defect
637
+ * from a `Cause`, especially in scenarios where multiple errors or defects may
638
+ * be present. It's particularly useful for simplifying error reporting or
639
+ * logging.
640
+ *
641
+ * @see {@link squashWith} Allows transforming failures into defects when squashing.
642
+ *
643
+ * @since 2.0.0
644
+ * @category Destructors
645
+ */
646
+ export const squash = core.causeSquash;
647
+ /**
648
+ * Extracts the most "important" defect from a `Cause`, transforming failures
649
+ * into defects using a provided function.
650
+ *
651
+ * **Details**
652
+ *
653
+ * This function reduces a `Cause` to a single, prioritized defect, while
654
+ * allowing you to transform recoverable failures into defects through a custom
655
+ * function. It processes the `Cause` in the following order:
656
+ *
657
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it applies
658
+ * the provided function `f` to the error to transform it into a defect.
659
+ * 2. If there is no failure, it looks for the first defect (e.g., from
660
+ * `Effect.die`) and returns it.
661
+ * 3. If neither is present and the `Cause` stems from an interruption, it
662
+ * returns an `InterruptedException`.
663
+ *
664
+ * This function is particularly useful when you need custom handling or
665
+ * transformation of errors while processing a `Cause`.
666
+ *
667
+ * @see {@link squash} Extracts the most "important" defect without transforming failures.
668
+ *
669
+ * @since 2.0.0
670
+ * @category Destructors
671
+ */
672
+ export const squashWith = core.causeSquashWith;
673
+ /**
674
+ * Searches a `Cause` using a partial function to extract information.
675
+ *
676
+ * **Details**
677
+ *
678
+ * This function allows you to search through a `Cause` using a custom partial
679
+ * function. The partial function is applied to the `Cause`, and if it matches,
680
+ * the result is returned wrapped in a `Some`. If no match is found, the result
681
+ * is `None`.
682
+ *
683
+ * This is particularly useful when you are only interested in specific types of
684
+ * errors, defects, or interruption causes within a potentially complex `Cause`
685
+ * structure. By leveraging a partial function, you can focus on extracting only
686
+ * the relevant information you care about.
687
+ *
688
+ * The partial function should return an `Option` indicating whether it matched
689
+ * and the value it extracted.
690
+ *
691
+ * @since 2.0.0
692
+ * @category Elements
693
+ */
694
+ export const find = internal.find;
695
+ /**
696
+ * Preserves parts of a `Cause` that match a given predicate.
697
+ *
698
+ * **Details**
699
+ *
700
+ * This function allows you to retain only the parts of a `Cause` structure that
701
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
702
+ * not match the provided condition are excluded from the result.
703
+ *
704
+ * You can use this function in two ways:
705
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
706
+ * retained based on its value.
707
+ * - With a `Refinement`: A more specific predicate that can refine the type of
708
+ * the `Cause`.
709
+ *
710
+ * This is useful when you need to extract specific types of errors, defects, or
711
+ * interruptions from a `Cause` while discarding unrelated parts.
712
+ *
713
+ * @since 2.0.0
714
+ * @category Filtering
715
+ */
716
+ export const filter = internal.filter;
717
+ /**
718
+ * Transforms a `Cause` into a single value using custom handlers for each
719
+ * possible case.
720
+ *
721
+ * **Details**
722
+ *
723
+ * This function processes a `Cause` by applying a set of custom handlers to
724
+ * each possible type of cause: `Empty`, `Fail`, `Die`, `Interrupt`,
725
+ * `Sequential`, and `Parallel`. The result of this function is a single value
726
+ * of type `Z`. This function allows you to define exactly how to handle each
727
+ * part of a `Cause`, whether it's a failure, defect, interruption, or a
728
+ * combination of these.
729
+ *
730
+ * The options parameter provides handlers for:
731
+ * - `onEmpty`: Handles the case where the cause is `Empty`, meaning no errors
732
+ * occurred.
733
+ * - `onFail`: Processes a failure with an error of type `E`.
734
+ * - `onDie`: Processes a defect (unexpected error).
735
+ * - `onInterrupt`: Handles a fiber interruption, providing the `FiberId` of the
736
+ * interruption.
737
+ * - `onSequential`: Combines two sequential causes into a single value of type
738
+ * `Z`.
739
+ * - `onParallel`: Combines two parallel causes into a single value of type `Z`.
740
+ *
741
+ * @since 2.0.0
742
+ * @category Matching
743
+ */
744
+ export const match = internal.match;
745
+ /**
746
+ * Combines all parts of a `Cause` into a single value by starting with an
747
+ * initial value.
748
+ *
749
+ * **Details**
750
+ *
751
+ * This function processes a `Cause` by starting with an initial value (`zero`)
752
+ * and applying a custom function (`pf`) to combine all elements of the `Cause`
753
+ * into a single result of type `Z`. The custom function determines how each
754
+ * part of the `Cause` contributes to the final result. The function can return
755
+ * an `Option` to either continue combining values or skip specific parts of the
756
+ * `Cause`.
757
+ *
758
+ * This function is useful for tasks such as:
759
+ * - Aggregating error messages from a `Cause` into a single string.
760
+ * - Summarizing the structure of a `Cause` into a simplified result.
761
+ * - Filtering or processing only specific parts of a `Cause`.
762
+ *
763
+ * The reduction proceeds in a top-down manner, visiting all nodes in the
764
+ * `Cause` structure. This gives you complete control over how each part of the
765
+ * `Cause` contributes to the final result.
766
+ *
767
+ * @since 2.0.0
768
+ * @category Reducing
769
+ */
770
+ export const reduce = internal.reduce;
771
+ /**
772
+ * Combines all parts of a `Cause` into a single value using a custom reducer
773
+ * and a context.
774
+ *
775
+ * **Details**
776
+ *
777
+ * This function allows you to reduce a `Cause` into a single value of type `Z`
778
+ * using a custom `CauseReducer`. A `CauseReducer` provides methods to handle
779
+ * specific parts of the `Cause`, such as failures, defects, or interruptions.
780
+ * Additionally, this function provides access to a `context` value, which can
781
+ * be used to carry information or maintain state during the reduction process.
782
+ *
783
+ * This is particularly useful when the reduction process needs additional
784
+ * context or configuration, such as:
785
+ * - Aggregating error details with dynamic formatting.
786
+ * - Collecting logs or statistics about the `Cause`.
787
+ * - Performing stateful transformations based on the `context`.
788
+ *
789
+ * @see {@link reduce} To reduce a `Cause` without additional context.
790
+ *
791
+ * @since 2.0.0
792
+ * @category Reducing
793
+ */
794
+ export const reduceWithContext = internal.reduceWithContext;
795
+ /**
796
+ * Creates an error that indicates a `Fiber` was interrupted.
797
+ *
798
+ * **Details**
799
+ *
800
+ * This function constructs an `InterruptedException` recognized by the Effect
801
+ * runtime. It is usually thrown or returned when a fiber's execution is
802
+ * interrupted by external events or by another fiber. This is particularly
803
+ * helpful in concurrent programs where fibers may halt each other before
804
+ * completion.
805
+ *
806
+ * @since 2.0.0
807
+ * @category Errors
808
+ */
809
+ export const InterruptedException = core.InterruptedException;
810
+ /**
811
+ * Checks if a given unknown value is an `InterruptedException`.
812
+ *
813
+ * @since 2.0.0
814
+ * @category Guards
815
+ */
816
+ export const isInterruptedException = core.isInterruptedException;
817
+ /**
818
+ * Creates an error indicating an invalid method argument.
819
+ *
820
+ * **Details**
821
+ *
822
+ * This function constructs an `IllegalArgumentException`. It is typically
823
+ * thrown or returned when an operation receives improper inputs, such as
824
+ * out-of-range values or invalid object states.
825
+ *
826
+ * @since 2.0.0
827
+ * @category Errors
828
+ */
829
+ export const IllegalArgumentException = core.IllegalArgumentException;
830
+ /**
831
+ * Checks if a given unknown value is an `IllegalArgumentException`.
832
+ *
833
+ * @since 2.0.0
834
+ * @category Guards
835
+ */
836
+ export const isIllegalArgumentException = core.isIllegalArgumentException;
837
+ /**
838
+ * Creates an error indicating a missing element.
839
+ *
840
+ * **Details**
841
+ *
842
+ * This function constructs a `NoSuchElementException`. It helps you clearly
843
+ * communicate that a required element is unavailable.
844
+ *
845
+ * @since 2.0.0
846
+ * @category Errors
847
+ */
848
+ export const NoSuchElementException = core.NoSuchElementException;
849
+ /**
850
+ * Checks if a given unknown value is a `NoSuchElementException`.
851
+ *
852
+ * @since 2.0.0
853
+ * @category Guards
854
+ */
855
+ export const isNoSuchElementException = core.isNoSuchElementException;
856
+ /**
857
+ * Creates an error for general runtime errors.
858
+ *
859
+ * **Details**
860
+ *
861
+ * This function constructs a `RuntimeException`, for errors that occur at
862
+ * runtime but are not specifically typed or categorized as interruptions,
863
+ * missing elements, or invalid arguments. It helps unify a wide range of
864
+ * unexpected conditions under a single, recognizable error type.
865
+ *
866
+ * @since 2.0.0
867
+ * @category Errors
868
+ */
869
+ export const RuntimeException = core.RuntimeException;
870
+ /**
871
+ * Checks if a given unknown value is a `RuntimeException`.
872
+ *
873
+ * @since 2.0.0
874
+ * @category Guards
875
+ */
876
+ export const isRuntimeException = core.isRuntimeException;
877
+ /**
878
+ * Creates an error for operations that exceed their expected time.
879
+ *
880
+ * **Details**
881
+ *
882
+ * This function constructs a `TimeoutException`. It is typically used to signal
883
+ * that an operation or fiber did not complete within a designated time limit,
884
+ * allowing you to handle slow or hanging processes.
885
+ *
886
+ * @since 2.0.0
887
+ * @category Errors
888
+ */
889
+ export const TimeoutException = core.TimeoutException;
890
+ /**
891
+ * Checks if a given unknown value is a `TimeoutException`.
892
+ *
893
+ * @since 3.15.0
894
+ * @category Guards
895
+ */
896
+ export const isTimeoutException = core.isTimeoutException;
897
+ /**
898
+ * Creates an instance of `UnknownException`, an error object used to handle
899
+ * unknown errors such as those from rejected promises.
900
+ *
901
+ * **Details**
902
+ *
903
+ * This function constructs an `UnknownException` with flexible behavior for
904
+ * managing the error message and cause.
905
+ *
906
+ * The required `error` argument is passed as the `cause` to the global `Error`
907
+ * constructor, ensuring that the original cause is preserved in the error chain
908
+ * for debugging purposes. This ensures that the origin stack trace is
909
+ * preserved.
910
+ *
911
+ * The `error` argument is always stored in the `error` property of the
912
+ * `UnknownException` instance for reference, regardless of its type.
913
+ *
914
+ * Additionally, if you provide a `message` argument, it is used as the error
915
+ * message. If no `message` is provided, the error message defaults to `"An
916
+ * unknown error occurred"`.
917
+ *
918
+ * **When to Use**
919
+ *
920
+ * Use this function when you need to handle unexpected or unknown errors in
921
+ * your application, particularly when the source of the error might not provide
922
+ * a clear message. This is useful for wrapping generic errors thrown from
923
+ * promises or external APIs.
924
+ *
925
+ * @since 2.0.0
926
+ * @category Errors
927
+ */
928
+ export const UnknownException = core.UnknownException;
929
+ /**
930
+ * Checks if a given unknown value is an `UnknownException`.
931
+ *
932
+ * @since 2.0.0
933
+ * @category Guards
934
+ */
935
+ export const isUnknownException = core.isUnknownException;
936
+ /**
937
+ * Creates an error indicating resource capacity has been exceeded.
938
+ *
939
+ * **Details**
940
+ *
941
+ * This function constructs an `ExceededCapacityException`, signifying that an
942
+ * operation or resource usage surpassed established limits. This can be
943
+ * essential for concurrency or resource management situations, ensuring your
944
+ * application doesn't go beyond acceptable thresholds.
945
+ *
946
+ * @since 3.5.0
947
+ * @category Errors
948
+ */
949
+ export const ExceededCapacityException = core.ExceededCapacityException;
950
+ /**
951
+ * Checks if a given unknown value is an `ExceededCapacityException`.
952
+ *
953
+ * @since 3.5.0
954
+ * @category Guards
955
+ */
956
+ export const isExceededCapacityException = core.isExceededCapacityException;
957
+ /**
958
+ * Converts a `Cause` into a human-readable string.
959
+ *
960
+ * **Details**
961
+ *
962
+ * This function pretty-prints the entire `Cause`, including any failures,
963
+ * defects, and interruptions. It can be especially helpful for logging,
964
+ * debugging, or displaying structured errors to users.
965
+ *
966
+ * You can optionally pass `options` to configure how the error cause is
967
+ * rendered. By default, it includes essential details of all errors in the
968
+ * `Cause`.
969
+ *
970
+ * @see {@link prettyErrors} Get a list of `PrettyError` objects instead of a single string.
971
+ *
972
+ * @since 2.0.0
973
+ * @category Formatting
974
+ */
975
+ export const pretty = internal.pretty;
976
+ /**
977
+ * Returns a list of prettified errors (`PrettyError`) from a `Cause`.
978
+ *
979
+ * **Details**
980
+ *
981
+ * This function inspects the entire `Cause` and produces an array of
982
+ * `PrettyError` objects. Each object may include additional metadata, such as a
983
+ * `Span`, to provide deeper insights into where and how the error occurred.
984
+ *
985
+ * @since 3.2.0
986
+ * @category Formatting
987
+ */
988
+ export const prettyErrors = internal.prettyErrors;
989
+ /**
990
+ * Retrieves the original, unproxied error instance from an error object.
991
+ *
992
+ * **Details**
993
+ *
994
+ * This function returns the underlying error object without any
995
+ * library-specific wrapping or proxying that might occur during error handling.
996
+ * This can be essential if you need direct access to the error's native
997
+ * properties, such as stack traces or custom data fields, for detailed
998
+ * debugging or integration with external systems.
999
+ *
1000
+ * @since 2.0.0
1001
+ * @category Errors
1002
+ */
1003
+ export const originalError = core.originalInstance;
1004
+ //# sourceMappingURL=Cause.js.map
backend/node_modules/effect/dist/esm/Cause.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Cause.js","names":["internal","core","CauseTypeId","RuntimeExceptionTypeId","InterruptedExceptionTypeId","IllegalArgumentExceptionTypeId","NoSuchElementExceptionTypeId","InvalidPubSubCapacityExceptionTypeId","ExceededCapacityExceptionTypeId","TimeoutExceptionTypeId","UnknownExceptionTypeId","YieldableError","empty","fail","die","interrupt","parallel","sequential","isCause","isEmptyType","isFailType","isDieType","isInterruptType","isSequentialType","isParallelType","size","isEmpty","isFailure","isDie","isInterrupted","isInterruptedOnly","failures","defects","interruptors","failureOption","failureOrCause","flipCauseOption","dieOption","interruptOption","keepDefects","linearize","stripFailures","stripSomeDefects","as","map","flatMap","andThen","flatten","contains","squash","causeSquash","squashWith","causeSquashWith","find","filter","match","reduce","reduceWithContext","InterruptedException","isInterruptedException","IllegalArgumentException","isIllegalArgumentException","NoSuchElementException","isNoSuchElementException","RuntimeException","isRuntimeException","TimeoutException","isTimeoutException","UnknownException","isUnknownException","ExceededCapacityException","isExceededCapacityException","pretty","prettyErrors","originalError","originalInstance"],"sources":["../../src/Cause.ts"],"sourcesContent":[null],"mappings":"AA+BA,OAAO,KAAKA,QAAQ,MAAM,qBAAqB;AAC/C,OAAO,KAAKC,IAAI,MAAM,oBAAoB;AAS1C;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,WAAW,GAAkBF,QAAQ,CAACE,WAAW;AAQ9D;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,sBAAsB,GAAkBF,IAAI,CAACE,sBAAsB;AAQhF;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,0BAA0B,GAAkBH,IAAI,CAACG,0BAA0B;AAQxF;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,8BAA8B,GAAkBJ,IAAI,CAACI,8BAA8B;AAQhG;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,4BAA4B,GAAkBL,IAAI,CAACK,4BAA4B;AAQ5F;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,oCAAoC,GAAkBN,IAAI,CAACM,oCAAoC;AAQ5G;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,+BAA+B,GAAkBP,IAAI,CAACO,+BAA+B;AAQlG;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,sBAAsB,GAAkBR,IAAI,CAACQ,sBAAsB;AAQhF;;;;;;;;;;;;;;AAcA,OAAO,MAAMC,sBAAsB,GAAkBT,IAAI,CAACS,sBAAsB;AAuFhF;;;;;;;AAOA,OAAO,MAAMC,cAAc,GAAwDV,IAAI,CAACU,cAAc;AA4OtG;;;;;;;;;;;;;AAaA,OAAO,MAAMC,KAAK,GAAiBZ,QAAQ,CAACY,KAAK;AAEjD;;;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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as channel from "./internal/channel.js";
2
+ import * as core from "./internal/core-stream.js";
3
+ import * as sink from "./internal/sink.js";
4
+ import * as stream from "./internal/stream.js";
5
+ /**
6
+ * @since 2.0.0
7
+ * @category symbols
8
+ */
9
+ export const ChannelTypeId = core.ChannelTypeId;
10
+ /**
11
+ * @since 2.0.0
12
+ * @category symbols
13
+ */
14
+ export const ChannelExceptionTypeId = channel.ChannelExceptionTypeId;
15
+ /**
16
+ * @since 3.5.4
17
+ * @category refinements
18
+ */
19
+ export const isChannel = core.isChannel;
20
+ /**
21
+ * @since 2.0.0
22
+ * @category constructors
23
+ */
24
+ export const acquireUseRelease = channel.acquireUseRelease;
25
+ /**
26
+ * @since 2.0.0
27
+ * @category constructors
28
+ */
29
+ export const acquireReleaseOut = core.acquireReleaseOut;
30
+ /**
31
+ * Returns a new channel that is the same as this one, except the terminal
32
+ * value of the channel is the specified constant value.
33
+ *
34
+ * This method produces the same result as mapping this channel to the
35
+ * specified constant value.
36
+ *
37
+ * @since 2.0.0
38
+ * @category mapping
39
+ */
40
+ export const as = channel.as;
41
+ /**
42
+ * @since 2.0.0
43
+ * @category mapping
44
+ */
45
+ export const asVoid = channel.asVoid;
46
+ /**
47
+ * Creates a channel backed by a buffer. When the buffer is empty, the channel
48
+ * will simply passthrough its input as output. However, when the buffer is
49
+ * non-empty, the value inside the buffer will be passed along as output.
50
+ *
51
+ * @since 2.0.0
52
+ * @category constructors
53
+ */
54
+ export const buffer = channel.buffer;
55
+ /**
56
+ * @since 2.0.0
57
+ * @category constructors
58
+ */
59
+ export const bufferChunk = channel.bufferChunk;
60
+ /**
61
+ * Returns a new channel that is the same as this one, except if this channel
62
+ * errors for any typed error, then the returned channel will switch over to
63
+ * using the fallback channel returned by the specified error handler.
64
+ *
65
+ * @since 2.0.0
66
+ * @category error handling
67
+ */
68
+ export const catchAll = channel.catchAll;
69
+ /**
70
+ * Returns a new channel that is the same as this one, except if this channel
71
+ * errors for any typed error, then the returned channel will switch over to
72
+ * using the fallback channel returned by the specified error handler.
73
+ *
74
+ * @since 2.0.0
75
+ * @category error handling
76
+ */
77
+ export const catchAllCause = core.catchAllCause;
78
+ /**
79
+ * Concat sequentially a channel of channels.
80
+ *
81
+ * @since 2.0.0
82
+ * @category constructors
83
+ */
84
+ export const concatAll = core.concatAll;
85
+ /**
86
+ * Concat sequentially a channel of channels.
87
+ *
88
+ * @since 2.0.0
89
+ * @category constructors
90
+ */
91
+ export const concatAllWith = core.concatAllWith;
92
+ /**
93
+ * Returns a new channel whose outputs are fed to the specified factory
94
+ * function, which creates new channels in response. These new channels are
95
+ * sequentially concatenated together, and all their outputs appear as outputs
96
+ * of the newly returned channel.
97
+ *
98
+ * @since 2.0.0
99
+ * @category utils
100
+ */
101
+ export const concatMap = channel.concatMap;
102
+ /**
103
+ * Returns a new channel whose outputs are fed to the specified factory
104
+ * function, which creates new channels in response. These new channels are
105
+ * sequentially concatenated together, and all their outputs appear as outputs
106
+ * of the newly returned channel. The provided merging function is used to
107
+ * merge the terminal values of all channels into the single terminal value of
108
+ * the returned channel.
109
+ *
110
+ * @since 2.0.0
111
+ * @category utils
112
+ */
113
+ export const concatMapWith = core.concatMapWith;
114
+ /**
115
+ * Returns a new channel whose outputs are fed to the specified factory
116
+ * function, which creates new channels in response. These new channels are
117
+ * sequentially concatenated together, and all their outputs appear as outputs
118
+ * of the newly returned channel. The provided merging function is used to
119
+ * merge the terminal values of all channels into the single terminal value of
120
+ * the returned channel.
121
+ *
122
+ * @since 2.0.0
123
+ * @category utils
124
+ */
125
+ export const concatMapWithCustom = core.concatMapWithCustom;
126
+ /**
127
+ * Returns a new channel, which is the same as this one, except its outputs
128
+ * are filtered and transformed by the specified partial function.
129
+ *
130
+ * @since 2.0.0
131
+ * @category utils
132
+ */
133
+ export const collect = channel.collect;
134
+ /**
135
+ * Returns a new channel, which is the concatenation of all the channels that
136
+ * are written out by this channel. This method may only be called on channels
137
+ * that output other channels.
138
+ *
139
+ * @since 2.0.0
140
+ * @category utils
141
+ */
142
+ export const concatOut = channel.concatOut;
143
+ /**
144
+ * Returns a new channel which is the same as this one but applies the given
145
+ * function to the input channel's done value.
146
+ *
147
+ * @since 2.0.0
148
+ * @category utils
149
+ */
150
+ export const mapInput = channel.mapInput;
151
+ /**
152
+ * Returns a new channel which is the same as this one but applies the given
153
+ * effectual function to the input channel's done value.
154
+ *
155
+ * @since 2.0.0
156
+ * @category utils
157
+ */
158
+ export const mapInputEffect = channel.mapInputEffect;
159
+ /**
160
+ * Returns a new channel which is the same as this one but applies the given
161
+ * function to the input channel's error value.
162
+ *
163
+ * @since 2.0.0
164
+ * @category utils
165
+ */
166
+ export const mapInputError = channel.mapInputError;
167
+ /**
168
+ * Returns a new channel which is the same as this one but applies the given
169
+ * effectual function to the input channel's error value.
170
+ *
171
+ * @since 2.0.0
172
+ * @category utils
173
+ */
174
+ export const mapInputErrorEffect = channel.mapInputErrorEffect;
175
+ /**
176
+ * Returns a new channel which is the same as this one but applies the given
177
+ * function to the input channel's output elements.
178
+ *
179
+ * @since 2.0.0
180
+ * @category utils
181
+ */
182
+ export const mapInputIn = channel.mapInputIn;
183
+ /**
184
+ * Returns a new channel which is the same as this one but applies the given
185
+ * effectual function to the input channel's output elements.
186
+ *
187
+ * @since 2.0.0
188
+ * @category utils
189
+ */
190
+ export const mapInputInEffect = channel.mapInputInEffect;
191
+ /**
192
+ * Returns a new channel, which is the same as this one, except that all the
193
+ * outputs are collected and bundled into a tuple together with the terminal
194
+ * value of this channel.
195
+ *
196
+ * As the channel returned from this channel collects all of this channel's
197
+ * output into an in- memory chunk, it is not safe to call this method on
198
+ * channels that output a large or unbounded number of values.
199
+ *
200
+ * @since 2.0.0
201
+ * @category utils
202
+ */
203
+ export const doneCollect = channel.doneCollect;
204
+ /**
205
+ * Returns a new channel which reads all the elements from upstream's output
206
+ * channel and ignores them, then terminates with the upstream result value.
207
+ *
208
+ * @since 2.0.0
209
+ * @category utils
210
+ */
211
+ export const drain = channel.drain;
212
+ /**
213
+ * Returns a new channel which connects the given `AsyncInputProducer` as
214
+ * this channel's input.
215
+ *
216
+ * @since 2.0.0
217
+ * @category utils
218
+ */
219
+ export const embedInput = core.embedInput;
220
+ /**
221
+ * Returns a new channel that collects the output and terminal value of this
222
+ * channel, which it then writes as output of the returned channel.
223
+ *
224
+ * @since 2.0.0
225
+ * @category utils
226
+ */
227
+ export const emitCollect = channel.emitCollect;
228
+ /**
229
+ * Returns a new channel with an attached finalizer. The finalizer is
230
+ * guaranteed to be executed so long as the channel begins execution (and
231
+ * regardless of whether or not it completes).
232
+ *
233
+ * @since 2.0.0
234
+ * @category utils
235
+ */
236
+ export const ensuring = channel.ensuring;
237
+ /**
238
+ * Returns a new channel with an attached finalizer. The finalizer is
239
+ * guaranteed to be executed so long as the channel begins execution (and
240
+ * regardless of whether or not it completes).
241
+ *
242
+ * @since 2.0.0
243
+ * @category utils
244
+ */
245
+ export const ensuringWith = core.ensuringWith;
246
+ /**
247
+ * Accesses the whole context of the channel.
248
+ *
249
+ * @since 2.0.0
250
+ * @category context
251
+ */
252
+ export const context = channel.context;
253
+ /**
254
+ * Accesses the context of the channel with the specified function.
255
+ *
256
+ * @since 2.0.0
257
+ * @category context
258
+ */
259
+ export const contextWith = channel.contextWith;
260
+ /**
261
+ * Accesses the context of the channel in the context of a channel.
262
+ *
263
+ * @since 2.0.0
264
+ * @category context
265
+ */
266
+ export const contextWithChannel = channel.contextWithChannel;
267
+ /**
268
+ * Accesses the context of the channel in the context of an effect.
269
+ *
270
+ * @since 2.0.0
271
+ * @category context
272
+ */
273
+ export const contextWithEffect = channel.contextWithEffect;
274
+ /**
275
+ * Constructs a channel that fails immediately with the specified error.
276
+ *
277
+ * @since 2.0.0
278
+ * @category constructors
279
+ */
280
+ export const fail = core.fail;
281
+ /**
282
+ * Constructs a channel that succeeds immediately with the specified lazily
283
+ * evaluated value.
284
+ *
285
+ * @since 2.0.0
286
+ * @category constructors
287
+ */
288
+ export const failSync = core.failSync;
289
+ /**
290
+ * Constructs a channel that fails immediately with the specified `Cause`.
291
+ *
292
+ * @since 2.0.0
293
+ * @category constructors
294
+ */
295
+ export const failCause = core.failCause;
296
+ /**
297
+ * Constructs a channel that succeeds immediately with the specified lazily
298
+ * evaluated `Cause`.
299
+ *
300
+ * @since 2.0.0
301
+ * @category constructors
302
+ */
303
+ export const failCauseSync = core.failCauseSync;
304
+ /**
305
+ * Returns a new channel, which sequentially combines this channel, together
306
+ * with the provided factory function, which creates a second channel based on
307
+ * the terminal value of this channel. The result is a channel that will first
308
+ * perform the functions of this channel, before performing the functions of
309
+ * the created channel (including yielding its terminal value).
310
+ *
311
+ * @since 2.0.0
312
+ * @category sequencing
313
+ */
314
+ export const flatMap = core.flatMap;
315
+ /**
316
+ * Returns a new channel, which flattens the terminal value of this channel.
317
+ * This function may only be called if the terminal value of this channel is
318
+ * another channel of compatible types.
319
+ *
320
+ * @since 2.0.0
321
+ * @category sequencing
322
+ */
323
+ export const flatten = channel.flatten;
324
+ /**
325
+ * Folds over the result of this channel.
326
+ *
327
+ * @since 2.0.0
328
+ * @category utils
329
+ */
330
+ export const foldChannel = channel.foldChannel;
331
+ /**
332
+ * Folds over the result of this channel including any cause of termination.
333
+ *
334
+ * @since 2.0.0
335
+ * @category utils
336
+ */
337
+ export const foldCauseChannel = core.foldCauseChannel;
338
+ /**
339
+ * Use an effect to end a channel.
340
+ *
341
+ * @since 2.0.0
342
+ * @category constructors
343
+ */
344
+ export const fromEffect = core.fromEffect;
345
+ /**
346
+ * Constructs a channel from an `Either`.
347
+ *
348
+ * @since 2.0.0
349
+ * @category constructors
350
+ */
351
+ export const fromEither = channel.fromEither;
352
+ /**
353
+ * Construct a `Channel` from an `AsyncInputConsumer`.
354
+ *
355
+ * @since 2.0.0
356
+ * @category constructors
357
+ */
358
+ export const fromInput = channel.fromInput;
359
+ /**
360
+ * Construct a `Channel` from a `PubSub`.
361
+ *
362
+ * @since 2.0.0
363
+ * @category constructors
364
+ */
365
+ export const fromPubSub = channel.fromPubSub;
366
+ /**
367
+ * Construct a `Channel` from a `PubSub` within a scoped effect.
368
+ *
369
+ * @since 2.0.0
370
+ * @category constructors
371
+ */
372
+ export const fromPubSubScoped = channel.fromPubSubScoped;
373
+ /**
374
+ * Construct a `Channel` from an `Option`.
375
+ *
376
+ * @since 2.0.0
377
+ * @category constructors
378
+ */
379
+ export const fromOption = channel.fromOption;
380
+ /**
381
+ * Construct a `Channel` from a `Queue`.
382
+ *
383
+ * @since 2.0.0
384
+ * @category constructors
385
+ */
386
+ export const fromQueue = channel.fromQueue;
387
+ /**
388
+ * @since 2.0.0
389
+ * @category constructors
390
+ */
391
+ export const identity = channel.identityChannel;
392
+ /**
393
+ * Returns a new channel, which is the same as this one, except it will be
394
+ * interrupted when the specified effect completes. If the effect completes
395
+ * successfully before the underlying channel is done, then the returned
396
+ * channel will yield the success value of the effect as its terminal value.
397
+ * On the other hand, if the underlying channel finishes first, then the
398
+ * returned channel will yield the success value of the underlying channel as
399
+ * its terminal value.
400
+ *
401
+ * @since 2.0.0
402
+ * @category utils
403
+ */
404
+ export const interruptWhen = channel.interruptWhen;
405
+ /**
406
+ * Returns a new channel, which is the same as this one, except it will be
407
+ * interrupted when the specified deferred is completed. If the deferred is
408
+ * completed before the underlying channel is done, then the returned channel
409
+ * will yield the value of the deferred. Otherwise, if the underlying channel
410
+ * finishes first, then the returned channel will yield the value of the
411
+ * underlying channel.
412
+ *
413
+ * @since 2.0.0
414
+ * @category utils
415
+ */
416
+ export const interruptWhenDeferred = channel.interruptWhenDeferred;
417
+ /**
418
+ * Returns a new channel, which is the same as this one, except the terminal
419
+ * value of the returned channel is created by applying the specified function
420
+ * to the terminal value of this channel.
421
+ *
422
+ * @since 2.0.0
423
+ * @category mapping
424
+ */
425
+ export const map = channel.map;
426
+ /**
427
+ * Returns a new channel, which is the same as this one, except the terminal
428
+ * value of the returned channel is created by applying the specified
429
+ * effectful function to the terminal value of this channel.
430
+ *
431
+ * @since 2.0.0
432
+ * @category mapping
433
+ */
434
+ export const mapEffect = channel.mapEffect;
435
+ /**
436
+ * Returns a new channel, which is the same as this one, except the failure
437
+ * value of the returned channel is created by applying the specified function
438
+ * to the failure value of this channel.
439
+ *
440
+ * @since 2.0.0
441
+ * @category mapping
442
+ */
443
+ export const mapError = channel.mapError;
444
+ /**
445
+ * A more powerful version of `mapError` which also surfaces the `Cause`
446
+ * of the channel failure.
447
+ *
448
+ * @since 2.0.0
449
+ * @category mapping
450
+ */
451
+ export const mapErrorCause = channel.mapErrorCause;
452
+ /**
453
+ * Maps the output of this channel using the specified function.
454
+ *
455
+ * @since 2.0.0
456
+ * @category mapping
457
+ */
458
+ export const mapOut = channel.mapOut;
459
+ /**
460
+ * Creates a channel that is like this channel but the given effectful function
461
+ * gets applied to each emitted output element.
462
+ *
463
+ * @since 2.0.0
464
+ * @category mapping
465
+ */
466
+ export const mapOutEffect = channel.mapOutEffect;
467
+ /**
468
+ * Creates a channel that is like this channel but the given Effect function gets
469
+ * applied to each emitted output element, taking `n` elements at once and
470
+ * mapping them in parallel.
471
+ *
472
+ * @since 2.0.0
473
+ * @category mapping
474
+ */
475
+ export const mapOutEffectPar = channel.mapOutEffectPar;
476
+ /**
477
+ * @since 2.0.0
478
+ * @category utils
479
+ */
480
+ export const mergeAll = channel.mergeAll;
481
+ /**
482
+ * @since 2.0.0
483
+ * @category utils
484
+ */
485
+ export const mergeAllUnbounded = channel.mergeAllUnbounded;
486
+ /**
487
+ * @since 2.0.0
488
+ * @category utils
489
+ */
490
+ export const mergeAllUnboundedWith = channel.mergeAllUnboundedWith;
491
+ /**
492
+ * @since 2.0.0
493
+ * @category utils
494
+ */
495
+ export const mergeAllWith = channel.mergeAllWith;
496
+ /**
497
+ * Returns a new channel which creates a new channel for each emitted element
498
+ * and merges some of them together. Different merge strategies control what
499
+ * happens if there are more than the given maximum number of channels gets
500
+ * created. See `Channel.mergeAll`.
501
+ *
502
+ * @since 2.0.0
503
+ * @category mapping
504
+ */
505
+ export const mergeMap = channel.mergeMap;
506
+ /**
507
+ * Returns a new channel which merges a number of channels emitted by this
508
+ * channel using the back pressuring merge strategy. See `Channel.mergeAll`.
509
+ *
510
+ * @since 2.0.0
511
+ * @category utils
512
+ */
513
+ export const mergeOut = channel.mergeOut;
514
+ /**
515
+ * Returns a new channel which merges a number of channels emitted by this
516
+ * channel using the back pressuring merge strategy and uses a given function
517
+ * to merge each completed subchannel's result value. See
518
+ * `Channel.mergeAll`.
519
+ *
520
+ * @since 2.0.0
521
+ * @category utils
522
+ */
523
+ export const mergeOutWith = channel.mergeOutWith;
524
+ /**
525
+ * Returns a new channel, which is the merge of this channel and the specified
526
+ * channel, where the behavior of the returned channel on left or right early
527
+ * termination is decided by the specified `leftDone` and `rightDone` merge
528
+ * decisions.
529
+ *
530
+ * @since 2.0.0
531
+ * @category utils
532
+ */
533
+ export const mergeWith = channel.mergeWith;
534
+ /**
535
+ * Returns a channel that never completes
536
+ *
537
+ * @since 2.0.0
538
+ * @category constructors
539
+ */
540
+ export const never = channel.never;
541
+ /**
542
+ * Translates channel failure into death of the fiber, making all failures
543
+ * unchecked and not a part of the type of the channel.
544
+ *
545
+ * @since 2.0.0
546
+ * @category error handling
547
+ */
548
+ export const orDie = channel.orDie;
549
+ /**
550
+ * Keeps none of the errors, and terminates the fiber with them, using the
551
+ * specified function to convert the `OutErr` into a defect.
552
+ *
553
+ * @since 2.0.0
554
+ * @category error handling
555
+ */
556
+ export const orDieWith = channel.orDieWith;
557
+ /**
558
+ * Returns a new channel that will perform the operations of this one, until
559
+ * failure, and then it will switch over to the operations of the specified
560
+ * fallback channel.
561
+ *
562
+ * @since 2.0.0
563
+ * @category error handling
564
+ */
565
+ export const orElse = channel.orElse;
566
+ /**
567
+ * Returns a new channel that pipes the output of this channel into the
568
+ * specified channel. The returned channel has the input type of this channel,
569
+ * and the output type of the specified channel, terminating with the value of
570
+ * the specified channel.
571
+ *
572
+ * @since 2.0.0
573
+ * @category utils
574
+ */
575
+ export const pipeTo = core.pipeTo;
576
+ /**
577
+ * Returns a new channel that pipes the output of this channel into the
578
+ * specified channel and preserves this channel's failures without providing
579
+ * them to the other channel for observation.
580
+ *
581
+ * @since 2.0.0
582
+ * @category utils
583
+ */
584
+ export const pipeToOrFail = channel.pipeToOrFail;
585
+ /**
586
+ * Provides the channel with its required context, which eliminates its
587
+ * dependency on `Env`.
588
+ *
589
+ * @since 2.0.0
590
+ * @category context
591
+ */
592
+ export const provideContext = core.provideContext;
593
+ /**
594
+ * Provides a layer to the channel, which translates it to another level.
595
+ *
596
+ * @since 2.0.0
597
+ * @category context
598
+ */
599
+ export const provideLayer = channel.provideLayer;
600
+ /**
601
+ * Transforms the context being provided to the channel with the specified
602
+ * function.
603
+ *
604
+ * @since 2.0.0
605
+ * @category context
606
+ */
607
+ export const mapInputContext = channel.mapInputContext;
608
+ /**
609
+ * Splits the context into two parts, providing one part using the
610
+ * specified layer and leaving the remainder `Env0`.
611
+ *
612
+ * @since 2.0.0
613
+ * @category context
614
+ */
615
+ export const provideSomeLayer = channel.provideSomeLayer;
616
+ /**
617
+ * Provides the effect with the single service it requires. If the effect
618
+ * requires more than one service use `provideContext` instead.
619
+ *
620
+ * @since 2.0.0
621
+ * @category context
622
+ */
623
+ export const provideService = channel.provideService;
624
+ /**
625
+ * @since 2.0.0
626
+ * @category constructors
627
+ */
628
+ export const read = channel.read;
629
+ /**
630
+ * @since 2.0.0
631
+ * @category constructors
632
+ */
633
+ export const readOrFail = core.readOrFail;
634
+ /**
635
+ * @since 2.0.0
636
+ * @category constructors
637
+ */
638
+ export const readWith = core.readWith;
639
+ /**
640
+ * @since 2.0.0
641
+ * @category constructors
642
+ */
643
+ export const readWithCause = core.readWithCause;
644
+ /**
645
+ * Creates a channel which repeatedly runs this channel.
646
+ *
647
+ * @since 2.0.0
648
+ * @category utils
649
+ */
650
+ export const repeated = channel.repeated;
651
+ /**
652
+ * Runs a channel until the end is received.
653
+ *
654
+ * @since 2.0.0
655
+ * @category destructors
656
+ */
657
+ export const run = channel.run;
658
+ /**
659
+ * Run the channel until it finishes with a done value or fails with an error
660
+ * and collects its emitted output elements.
661
+ *
662
+ * The channel must not read any input.
663
+ *
664
+ * @since 2.0.0
665
+ * @category destructors
666
+ */
667
+ export const runCollect = channel.runCollect;
668
+ /**
669
+ * Runs a channel until the end is received.
670
+ *
671
+ * @since 2.0.0
672
+ * @category destructors
673
+ */
674
+ export const runDrain = channel.runDrain;
675
+ /**
676
+ * Run the channel until it finishes with a done value or fails with an error.
677
+ * The channel must not read any input or write any output.
678
+ *
679
+ * Closing the channel, which includes execution of all the finalizers
680
+ * attached to the channel will be added to the current scope as a finalizer.
681
+ *
682
+ * @since 3.11.0
683
+ * @category destructors
684
+ */
685
+ export const runScoped = channel.runScoped;
686
+ /**
687
+ * Use a scoped effect to emit an output element.
688
+ *
689
+ * @since 2.0.0
690
+ * @category constructors
691
+ */
692
+ export const scoped = channel.scoped;
693
+ /**
694
+ * Use a function that receives a scope and returns an effect to emit an output
695
+ * element. The output element will be the result of the returned effect, if
696
+ * successful.
697
+ *
698
+ * @since 3.11.0
699
+ * @category constructors
700
+ */
701
+ export const scopedWith = channel.scopedWith;
702
+ /**
703
+ * Splits strings on newlines. Handles both Windows newlines (`\r\n`) and UNIX
704
+ * newlines (`\n`).
705
+ *
706
+ * @since 2.0.0
707
+ * @category combinators
708
+ */
709
+ export const splitLines = channel.splitLines;
710
+ /**
711
+ * Constructs a channel that succeeds immediately with the specified value.
712
+ *
713
+ * @since 2.0.0
714
+ * @category constructors
715
+ */
716
+ export const succeed = core.succeed;
717
+ /**
718
+ * Lazily constructs a channel from the given side effect.
719
+ *
720
+ * @since 2.0.0
721
+ * @category constructors
722
+ */
723
+ export const suspend = core.suspend;
724
+ /**
725
+ * Constructs a channel that succeeds immediately with the specified lazy value.
726
+ *
727
+ * @since 2.0.0
728
+ * @category constructors
729
+ */
730
+ export const sync = core.sync;
731
+ /**
732
+ * Converts a `Channel` to a `PubSub`.
733
+ *
734
+ * @since 2.0.0
735
+ * @category destructors
736
+ */
737
+ export const toPubSub = channel.toPubSub;
738
+ /**
739
+ * Returns a scoped `Effect` that can be used to repeatedly pull elements from
740
+ * the constructed `Channel`. The pull effect fails with the channel's failure
741
+ * in case the channel fails, or returns either the channel's done value or an
742
+ * emitted element.
743
+ *
744
+ * @since 2.0.0
745
+ * @category destructors
746
+ */
747
+ export const toPull = channel.toPull;
748
+ /**
749
+ * Returns an `Effect` that can be used to repeatedly pull elements from the
750
+ * constructed `Channel` within the provided `Scope`. The pull effect fails
751
+ * with the channel's failure in case the channel fails, or returns either the
752
+ * channel's done value or an emitted element.
753
+ *
754
+ * @since 3.11.0
755
+ * @category destructors
756
+ */
757
+ export const toPullIn = channel.toPullIn;
758
+ /**
759
+ * Converts a `Channel` to a `Queue`.
760
+ *
761
+ * @since 2.0.0
762
+ * @category destructors
763
+ */
764
+ export const toQueue = channel.toQueue;
765
+ /** Converts this channel to a `Sink`.
766
+ *
767
+ * @since 2.0.0
768
+ * @category destructors
769
+ */
770
+ export const toSink = sink.channelToSink;
771
+ /**
772
+ * Converts this channel to a `Stream`.
773
+ *
774
+ * @since 2.0.0
775
+ * @category destructors
776
+ */
777
+ export const toStream = stream.channelToStream;
778
+ const void_ = core.void;
779
+ export {
780
+ /**
781
+ * @since 2.0.0
782
+ * @category constructors
783
+ */
784
+ void_ as void };
785
+ /**
786
+ * Constructs a `Channel` from an effect that will result in a `Channel` if
787
+ * successful.
788
+ *
789
+ * @since 2.0.0
790
+ * @category constructors
791
+ */
792
+ export const unwrap = channel.unwrap;
793
+ /**
794
+ * Constructs a `Channel` from a scoped effect that will result in a
795
+ * `Channel` if successful.
796
+ *
797
+ * @since 2.0.0
798
+ * @category constructors
799
+ */
800
+ export const unwrapScoped = channel.unwrapScoped;
801
+ /**
802
+ * Constructs a `Channel` from a function which receives a `Scope` and returns
803
+ * an effect that will result in a `Channel` if successful.
804
+ *
805
+ * @since 3.11.0
806
+ * @category constructors
807
+ */
808
+ export const unwrapScopedWith = channel.unwrapScopedWith;
809
+ /**
810
+ * Updates a service in the context of this channel.
811
+ *
812
+ * @since 2.0.0
813
+ * @category context
814
+ */
815
+ export const updateService = channel.updateService;
816
+ /**
817
+ * Wraps the channel with a new span for tracing.
818
+ *
819
+ * @since 2.0.0
820
+ * @category tracing
821
+ */
822
+ export const withSpan = channel.withSpan;
823
+ /**
824
+ * Writes a single value to the channel.
825
+ *
826
+ * @since 2.0.0
827
+ * @category constructors
828
+ */
829
+ export const write = core.write;
830
+ /**
831
+ * Writes a sequence of values to the channel.
832
+ *
833
+ * @since 2.0.0
834
+ * @category constructors
835
+ */
836
+ export const writeAll = channel.writeAll;
837
+ /**
838
+ * Writes a `Chunk` of values to the channel.
839
+ *
840
+ * @since 2.0.0
841
+ * @category constructors
842
+ */
843
+ export const writeChunk = channel.writeChunk;
844
+ /**
845
+ * Returns a new channel that is the sequential composition of this channel
846
+ * and the specified channel. The returned channel terminates with a tuple of
847
+ * the terminal values of both channels.
848
+ *
849
+ * @since 2.0.0
850
+ * @category zipping
851
+ */
852
+ export const zip = channel.zip;
853
+ /**
854
+ * Returns a new channel that is the sequential composition of this channel
855
+ * and the specified channel. The returned channel terminates with the
856
+ * terminal value of this channel.
857
+ *
858
+ * @since 2.0.0
859
+ * @category zipping
860
+ */
861
+ export const zipLeft = channel.zipLeft;
862
+ /**
863
+ * Returns a new channel that is the sequential composition of this channel
864
+ * and the specified channel. The returned channel terminates with the
865
+ * terminal value of that channel.
866
+ *
867
+ * @since 2.0.0
868
+ * @category zipping
869
+ */
870
+ export const zipRight = channel.zipRight;
871
+ /**
872
+ * Represents a generic checked exception which occurs when a `Channel` is
873
+ * executed.
874
+ *
875
+ * @since 2.0.0
876
+ * @category errors
877
+ */
878
+ export const ChannelException = channel.ChannelException;
879
+ /**
880
+ * Returns `true` if the specified value is an `ChannelException`, `false`
881
+ * otherwise.
882
+ *
883
+ * @since 2.0.0
884
+ * @category refinements
885
+ */
886
+ export const isChannelException = channel.isChannelException;
887
+ //# sourceMappingURL=Channel.js.map
backend/node_modules/effect/dist/esm/ChildExecutorDecision.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import * as internal from "./internal/channel/childExecutorDecision.js";
5
+ /**
6
+ * @since 2.0.0
7
+ * @category symbols
8
+ */
9
+ export const ChildExecutorDecisionTypeId = internal.ChildExecutorDecisionTypeId;
10
+ /**
11
+ * @since 2.0.0
12
+ * @category constructors
13
+ */
14
+ export const Continue = internal.Continue;
15
+ /**
16
+ * @since 2.0.0
17
+ * @category constructors
18
+ */
19
+ export const Close = internal.Close;
20
+ /**
21
+ * @since 2.0.0
22
+ * @category constructors
23
+ */
24
+ export const Yield = internal.Yield;
25
+ /**
26
+ * Returns `true` if the specified value is a `ChildExecutorDecision`, `false`
27
+ * otherwise.
28
+ *
29
+ * @since 2.0.0
30
+ * @category refinements
31
+ */
32
+ export const isChildExecutorDecision = internal.isChildExecutorDecision;
33
+ /**
34
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Continue`,
35
+ * `false` otherwise.
36
+ *
37
+ * @since 2.0.0
38
+ * @category refinements
39
+ */
40
+ export const isContinue = internal.isContinue;
41
+ /**
42
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Close`, `false`
43
+ * otherwise.
44
+ *
45
+ * @since 2.0.0
46
+ * @category refinements
47
+ */
48
+ export const isClose = internal.isClose;
49
+ /**
50
+ * Returns `true` if the specified `ChildExecutorDecision` is a `Yield`, `false`
51
+ * otherwise.
52
+ *
53
+ * @since 2.0.0
54
+ * @category refinements
55
+ */
56
+ export const isYield = internal.isYield;
57
+ /**
58
+ * Folds over a `ChildExecutorDecision` to produce a value of type `A`.
59
+ *
60
+ * @since 2.0.0
61
+ * @category folding
62
+ */
63
+ export const match = internal.match;
64
+ //# sourceMappingURL=ChildExecutorDecision.js.map
backend/node_modules/effect/dist/esm/ChildExecutorDecision.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ChildExecutorDecision.js","names":["internal","ChildExecutorDecisionTypeId","Continue","Close","Yield","isChildExecutorDecision","isContinue","isClose","isYield","match"],"sources":["../../src/ChildExecutorDecision.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAKA,QAAQ,MAAM,6CAA6C;AAEvE;;;;AAIA,OAAO,MAAMC,2BAA2B,GAAkBD,QAAQ,CAACC,2BAA2B;AA4D9F;;;;AAIA,OAAO,MAAMC,QAAQ,GAAuCF,QAAQ,CAACE,QAAQ;AAE7E;;;;AAIA,OAAO,MAAMC,KAAK,GAA8CH,QAAQ,CAACG,KAAK;AAE9E;;;;AAIA,OAAO,MAAMC,KAAK,GAAuCJ,QAAQ,CAACI,KAAK;AAEvE;;;;;;;AAOA,OAAO,MAAMC,uBAAuB,GAA+CL,QAAQ,CAACK,uBAAuB;AAEnH;;;;;;;AAOA,OAAO,MAAMC,UAAU,GAAsDN,QAAQ,CAACM,UAAU;AAEhG;;;;;;;AAOA,OAAO,MAAMC,OAAO,GAAmDP,QAAQ,CAACO,OAAO;AAEvF;;;;;;;AAOA,OAAO,MAAMC,OAAO,GAAmDR,QAAQ,CAACQ,OAAO;AAEvF;;;;;;AAMA,OAAO,MAAMC,KAAK,GA4BdT,QAAQ,CAACS,KAAK","ignoreList":[]}