@nlozgachev/pipelined 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Validation-DCqWoCC2.d.cts → Validation-DC3uUizM.d.cts} +54 -0
- package/dist/{Validation-t0k4ic-S.d.ts → Validation-DZLizBZ0.d.ts} +54 -0
- package/dist/{chunk-EJX32LRO.js → chunk-M4JSQLML.js} +1 -1
- package/dist/{chunk-K7HHEACE.js → chunk-YMHKIN4I.js} +11 -0
- package/dist/core.cjs +11 -0
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/data.d.cts +1 -1
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/index.cjs +11 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -1266,6 +1266,22 @@ declare namespace TaskResult {
|
|
|
1266
1266
|
* The fallback can produce a different success type, widening the result to `Task.Result<E, A | B>`.
|
|
1267
1267
|
*/
|
|
1268
1268
|
const recover: <E, B>(fallback: (e: E) => TaskResult<E, B>) => <A>(data: TaskResult<E, A>) => TaskResult<E, A | B>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Recovers from an error unless the predicate `isBlocked` returns true for that error.
|
|
1271
|
+
* The fallback can produce a different success type, widening the result to `Task.Result<E, A | B>`.
|
|
1272
|
+
*
|
|
1273
|
+
* @example
|
|
1274
|
+
* ```ts
|
|
1275
|
+
* pipe(
|
|
1276
|
+
* fetchTask,
|
|
1277
|
+
* Task.Result.recoverUnless(
|
|
1278
|
+
* (e) => e === "fatal",
|
|
1279
|
+
* () => Task.Result.ok("fallback")
|
|
1280
|
+
* )
|
|
1281
|
+
* );
|
|
1282
|
+
* ```
|
|
1283
|
+
*/
|
|
1284
|
+
const recoverUnless: <E, B>(isBlocked: (e: E) => boolean, fallback: (e: E) => TaskResult<E, B>) => <A>(data: TaskResult<E, A>) => TaskResult<E, A | B>;
|
|
1269
1285
|
/**
|
|
1270
1286
|
* Returns the success value or a default value if the Task.Result is an error.
|
|
1271
1287
|
* The default can be a different type, widening the result to `Task<A | B>`.
|
|
@@ -1501,6 +1517,28 @@ declare namespace TaskValidation {
|
|
|
1501
1517
|
*/
|
|
1502
1518
|
const Result: <E, A>(result: Result<E, A>) => TaskValidation<E, A>;
|
|
1503
1519
|
}
|
|
1520
|
+
namespace to {
|
|
1521
|
+
/**
|
|
1522
|
+
* Converts a `Task.Validation` to a `Task.Result`, combining accumulated errors using `combineErrors`.
|
|
1523
|
+
* `Passed(a)` becomes `Ok(a)`; `Failed(errors)` becomes `Err(combineErrors(errors))`.
|
|
1524
|
+
*
|
|
1525
|
+
* @example
|
|
1526
|
+
* ```ts
|
|
1527
|
+
* Task.Validation.to.Result((errors) => errors.join(", "))(validationTask);
|
|
1528
|
+
* ```
|
|
1529
|
+
*/
|
|
1530
|
+
const Result: <E1, E2, A>(combineErrors: (errors: NonEmptyArr<E1>) => E2) => (data: TaskValidation<E1, A>) => TaskResult<E2, A>;
|
|
1531
|
+
/**
|
|
1532
|
+
* Converts a `Task.Validation` to a `Task.Maybe`.
|
|
1533
|
+
* `Passed(a)` becomes `Some(a)`; `Failed(errors)` becomes `None` (errors are discarded).
|
|
1534
|
+
*
|
|
1535
|
+
* @example
|
|
1536
|
+
* ```ts
|
|
1537
|
+
* Task.Validation.to.Maybe(validationTask);
|
|
1538
|
+
* ```
|
|
1539
|
+
*/
|
|
1540
|
+
const Maybe: <E, A>(data: TaskValidation<E, A>) => TaskMaybe<A>;
|
|
1541
|
+
}
|
|
1504
1542
|
/**
|
|
1505
1543
|
* Creates a Task.Validation from a Promise-returning function.
|
|
1506
1544
|
* Catches any errors and transforms them using the onError function.
|
|
@@ -1578,6 +1616,22 @@ declare namespace TaskValidation {
|
|
|
1578
1616
|
* The fallback can produce a different success type, widening the result to `Task.Validation<E, A | B>`.
|
|
1579
1617
|
*/
|
|
1580
1618
|
const recover: <E, B>(fallback: (errors: NonEmptyArr<E>) => TaskValidation<E, B>) => <A>(data: TaskValidation<E, A>) => TaskValidation<E, A | B>;
|
|
1619
|
+
/**
|
|
1620
|
+
* Recovers from a Failed state unless the predicate `isBlocked` returns true for the accumulated errors.
|
|
1621
|
+
* The fallback receives the accumulated errors and can produce a different success type, widening the result to `Task.Validation<E, A | B>`.
|
|
1622
|
+
*
|
|
1623
|
+
* @example
|
|
1624
|
+
* ```ts
|
|
1625
|
+
* pipe(
|
|
1626
|
+
* validationTask,
|
|
1627
|
+
* Task.Validation.recoverUnless(
|
|
1628
|
+
* (errors) => errors.includes("fatal"),
|
|
1629
|
+
* (errors) => Task.Validation.passed("fallback")
|
|
1630
|
+
* )
|
|
1631
|
+
* );
|
|
1632
|
+
* ```
|
|
1633
|
+
*/
|
|
1634
|
+
const recoverUnless: <E, B>(isBlocked: (errors: NonEmptyArr<E>) => boolean, fallback: (errors: NonEmptyArr<E>) => TaskValidation<E, B>) => <A>(data: TaskValidation<E, A>) => TaskValidation<E, A | B>;
|
|
1581
1635
|
/**
|
|
1582
1636
|
* Runs two Task.Validations concurrently and combines their results into a tuple.
|
|
1583
1637
|
* If both are Passed, returns Passed with both values. If either fails, accumulates
|
|
@@ -1266,6 +1266,22 @@ declare namespace TaskResult {
|
|
|
1266
1266
|
* The fallback can produce a different success type, widening the result to `Task.Result<E, A | B>`.
|
|
1267
1267
|
*/
|
|
1268
1268
|
const recover: <E, B>(fallback: (e: E) => TaskResult<E, B>) => <A>(data: TaskResult<E, A>) => TaskResult<E, A | B>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Recovers from an error unless the predicate `isBlocked` returns true for that error.
|
|
1271
|
+
* The fallback can produce a different success type, widening the result to `Task.Result<E, A | B>`.
|
|
1272
|
+
*
|
|
1273
|
+
* @example
|
|
1274
|
+
* ```ts
|
|
1275
|
+
* pipe(
|
|
1276
|
+
* fetchTask,
|
|
1277
|
+
* Task.Result.recoverUnless(
|
|
1278
|
+
* (e) => e === "fatal",
|
|
1279
|
+
* () => Task.Result.ok("fallback")
|
|
1280
|
+
* )
|
|
1281
|
+
* );
|
|
1282
|
+
* ```
|
|
1283
|
+
*/
|
|
1284
|
+
const recoverUnless: <E, B>(isBlocked: (e: E) => boolean, fallback: (e: E) => TaskResult<E, B>) => <A>(data: TaskResult<E, A>) => TaskResult<E, A | B>;
|
|
1269
1285
|
/**
|
|
1270
1286
|
* Returns the success value or a default value if the Task.Result is an error.
|
|
1271
1287
|
* The default can be a different type, widening the result to `Task<A | B>`.
|
|
@@ -1501,6 +1517,28 @@ declare namespace TaskValidation {
|
|
|
1501
1517
|
*/
|
|
1502
1518
|
const Result: <E, A>(result: Result<E, A>) => TaskValidation<E, A>;
|
|
1503
1519
|
}
|
|
1520
|
+
namespace to {
|
|
1521
|
+
/**
|
|
1522
|
+
* Converts a `Task.Validation` to a `Task.Result`, combining accumulated errors using `combineErrors`.
|
|
1523
|
+
* `Passed(a)` becomes `Ok(a)`; `Failed(errors)` becomes `Err(combineErrors(errors))`.
|
|
1524
|
+
*
|
|
1525
|
+
* @example
|
|
1526
|
+
* ```ts
|
|
1527
|
+
* Task.Validation.to.Result((errors) => errors.join(", "))(validationTask);
|
|
1528
|
+
* ```
|
|
1529
|
+
*/
|
|
1530
|
+
const Result: <E1, E2, A>(combineErrors: (errors: NonEmptyArr<E1>) => E2) => (data: TaskValidation<E1, A>) => TaskResult<E2, A>;
|
|
1531
|
+
/**
|
|
1532
|
+
* Converts a `Task.Validation` to a `Task.Maybe`.
|
|
1533
|
+
* `Passed(a)` becomes `Some(a)`; `Failed(errors)` becomes `None` (errors are discarded).
|
|
1534
|
+
*
|
|
1535
|
+
* @example
|
|
1536
|
+
* ```ts
|
|
1537
|
+
* Task.Validation.to.Maybe(validationTask);
|
|
1538
|
+
* ```
|
|
1539
|
+
*/
|
|
1540
|
+
const Maybe: <E, A>(data: TaskValidation<E, A>) => TaskMaybe<A>;
|
|
1541
|
+
}
|
|
1504
1542
|
/**
|
|
1505
1543
|
* Creates a Task.Validation from a Promise-returning function.
|
|
1506
1544
|
* Catches any errors and transforms them using the onError function.
|
|
@@ -1578,6 +1616,22 @@ declare namespace TaskValidation {
|
|
|
1578
1616
|
* The fallback can produce a different success type, widening the result to `Task.Validation<E, A | B>`.
|
|
1579
1617
|
*/
|
|
1580
1618
|
const recover: <E, B>(fallback: (errors: NonEmptyArr<E>) => TaskValidation<E, B>) => <A>(data: TaskValidation<E, A>) => TaskValidation<E, A | B>;
|
|
1619
|
+
/**
|
|
1620
|
+
* Recovers from a Failed state unless the predicate `isBlocked` returns true for the accumulated errors.
|
|
1621
|
+
* The fallback receives the accumulated errors and can produce a different success type, widening the result to `Task.Validation<E, A | B>`.
|
|
1622
|
+
*
|
|
1623
|
+
* @example
|
|
1624
|
+
* ```ts
|
|
1625
|
+
* pipe(
|
|
1626
|
+
* validationTask,
|
|
1627
|
+
* Task.Validation.recoverUnless(
|
|
1628
|
+
* (errors) => errors.includes("fatal"),
|
|
1629
|
+
* (errors) => Task.Validation.passed("fallback")
|
|
1630
|
+
* )
|
|
1631
|
+
* );
|
|
1632
|
+
* ```
|
|
1633
|
+
*/
|
|
1634
|
+
const recoverUnless: <E, B>(isBlocked: (errors: NonEmptyArr<E>) => boolean, fallback: (errors: NonEmptyArr<E>) => TaskValidation<E, B>) => <A>(data: TaskValidation<E, A>) => TaskValidation<E, A | B>;
|
|
1581
1635
|
/**
|
|
1582
1636
|
* Runs two Task.Validations concurrently and combines their results into a tuple.
|
|
1583
1637
|
* If both are Passed, returns Passed with both values. If either fails, accumulates
|
|
@@ -1951,6 +1951,9 @@ var TaskResult;
|
|
|
1951
1951
|
TaskResult2.recover = (fallback) => (data) => Task.chain(
|
|
1952
1952
|
(result) => Result.is.err(result) ? fallback(result.error) : Task.resolve(result)
|
|
1953
1953
|
)(data);
|
|
1954
|
+
TaskResult2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
1955
|
+
(result) => Result.is.err(result) && !isBlocked(result.error) ? fallback(result.error) : Task.resolve(result)
|
|
1956
|
+
)(data);
|
|
1954
1957
|
TaskResult2.getOrElse = (defaultValue) => (data) => Task.map(Result.getOrElse(defaultValue))(data);
|
|
1955
1958
|
TaskResult2.tap = (f) => (data) => Task.map(Result.tap(f))(data);
|
|
1956
1959
|
TaskResult2.tapError = (f) => (data) => Task.map(Result.tapError(f))(data);
|
|
@@ -2061,6 +2064,11 @@ var TaskValidation;
|
|
|
2061
2064
|
);
|
|
2062
2065
|
from2.Result = (result) => Task.resolve(Validation.from.Result(result));
|
|
2063
2066
|
})(from = TaskValidation2.from || (TaskValidation2.from = {}));
|
|
2067
|
+
let to;
|
|
2068
|
+
((to2) => {
|
|
2069
|
+
to2.Result = (combineErrors) => (data) => Task.map(Validation.to.Result(combineErrors))(data);
|
|
2070
|
+
to2.Maybe = (data) => Task.map(Validation.to.Maybe)(data);
|
|
2071
|
+
})(to = TaskValidation2.to || (TaskValidation2.to = {}));
|
|
2064
2072
|
TaskValidation2.tryCatch = (f, options) => (signal) => Deferred.from.Promise(
|
|
2065
2073
|
globalThis.Promise.resolve().then(async () => f(signal)).then(Validation.make.passed).catch(
|
|
2066
2074
|
(error) => Validation.make.failed(options.onError(error))
|
|
@@ -2079,6 +2087,9 @@ var TaskValidation;
|
|
|
2079
2087
|
TaskValidation2.recover = (fallback) => (data) => Task.chain(
|
|
2080
2088
|
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2081
2089
|
)(data);
|
|
2090
|
+
TaskValidation2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
2091
|
+
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : isBlocked(validation.errors) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2092
|
+
)(data);
|
|
2082
2093
|
TaskValidation2.product = (first, second) => (signal) => Deferred.from.Promise(
|
|
2083
2094
|
Promise.all([Deferred.to.Promise(first(signal)), Deferred.to.Promise(second(signal))]).then(
|
|
2084
2095
|
([va, vb]) => Validation.product(va, vb)
|
package/dist/core.cjs
CHANGED
|
@@ -2022,6 +2022,9 @@ var TaskResult;
|
|
|
2022
2022
|
TaskResult2.recover = (fallback) => (data) => Task.chain(
|
|
2023
2023
|
(result) => Result.is.err(result) ? fallback(result.error) : Task.resolve(result)
|
|
2024
2024
|
)(data);
|
|
2025
|
+
TaskResult2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
2026
|
+
(result) => Result.is.err(result) && !isBlocked(result.error) ? fallback(result.error) : Task.resolve(result)
|
|
2027
|
+
)(data);
|
|
2025
2028
|
TaskResult2.getOrElse = (defaultValue) => (data) => Task.map(Result.getOrElse(defaultValue))(data);
|
|
2026
2029
|
TaskResult2.tap = (f) => (data) => Task.map(Result.tap(f))(data);
|
|
2027
2030
|
TaskResult2.tapError = (f) => (data) => Task.map(Result.tapError(f))(data);
|
|
@@ -2132,6 +2135,11 @@ var TaskValidation;
|
|
|
2132
2135
|
);
|
|
2133
2136
|
from2.Result = (result) => Task.resolve(Validation.from.Result(result));
|
|
2134
2137
|
})(from = TaskValidation2.from || (TaskValidation2.from = {}));
|
|
2138
|
+
let to;
|
|
2139
|
+
((to2) => {
|
|
2140
|
+
to2.Result = (combineErrors) => (data) => Task.map(Validation.to.Result(combineErrors))(data);
|
|
2141
|
+
to2.Maybe = (data) => Task.map(Validation.to.Maybe)(data);
|
|
2142
|
+
})(to = TaskValidation2.to || (TaskValidation2.to = {}));
|
|
2135
2143
|
TaskValidation2.tryCatch = (f, options) => (signal) => Deferred.from.Promise(
|
|
2136
2144
|
globalThis.Promise.resolve().then(async () => f(signal)).then(Validation.make.passed).catch(
|
|
2137
2145
|
(error) => Validation.make.failed(options.onError(error))
|
|
@@ -2150,6 +2158,9 @@ var TaskValidation;
|
|
|
2150
2158
|
TaskValidation2.recover = (fallback) => (data) => Task.chain(
|
|
2151
2159
|
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2152
2160
|
)(data);
|
|
2161
|
+
TaskValidation2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
2162
|
+
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : isBlocked(validation.errors) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2163
|
+
)(data);
|
|
2153
2164
|
TaskValidation2.product = (first, second) => (signal) => Deferred.from.Promise(
|
|
2154
2165
|
Promise.all([Deferred.to.Promise(first(signal)), Deferred.to.Promise(second(signal))]).then(
|
|
2155
2166
|
([va, vb]) => Validation.product(va, vb)
|
package/dist/core.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Maybe, R as Result, T as Task } from './Validation-
|
|
2
|
-
export { E as Equality, a as Err, F as Failed, N as None, O as Ok, b as Ordering, P as Passed, S as Some, V as Validation } from './Validation-
|
|
1
|
+
import { M as Maybe, R as Result, T as Task } from './Validation-DC3uUizM.cjs';
|
|
2
|
+
export { E as Equality, a as Err, F as Failed, N as None, O as Ok, b as Ordering, P as Passed, S as Some, V as Validation } from './Validation-DC3uUizM.cjs';
|
|
3
3
|
import { o as WithValue, i as WithLog, D as Deferred, h as WithKind, e as WithError, R as RetryOptions, b as TimeoutOptions, n as WithTimeout, j as WithMinInterval, c as WithCooldown, W as WithConcurrency, m as WithSize, d as WithDuration, k as WithN, g as WithFirst, l as WithSecond } from './InternalTypes-DuK_XpTi.cjs';
|
|
4
4
|
import { D as Duration } from './Duration-B8joKzro.cjs';
|
|
5
5
|
import './types.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Maybe, R as Result, T as Task } from './Validation-
|
|
2
|
-
export { E as Equality, a as Err, F as Failed, N as None, O as Ok, b as Ordering, P as Passed, S as Some, V as Validation } from './Validation-
|
|
1
|
+
import { M as Maybe, R as Result, T as Task } from './Validation-DZLizBZ0.js';
|
|
2
|
+
export { E as Equality, a as Err, F as Failed, N as None, O as Ok, b as Ordering, P as Passed, S as Some, V as Validation } from './Validation-DZLizBZ0.js';
|
|
3
3
|
import { o as WithValue, i as WithLog, D as Deferred, h as WithKind, e as WithError, R as RetryOptions, b as TimeoutOptions, n as WithTimeout, j as WithMinInterval, c as WithCooldown, W as WithConcurrency, m as WithSize, d as WithDuration, k as WithN, g as WithFirst, l as WithSecond } from './InternalTypes-LdhLQx3N.js';
|
|
4
4
|
import { D as Duration } from './Duration-B8joKzro.js';
|
|
5
5
|
import './types.js';
|
package/dist/core.js
CHANGED
package/dist/data.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as NonEmptyArr, N as NonEmpty } from './InternalTypes-DuK_XpTi.cjs';
|
|
2
|
-
import { M as Maybe, R as Result, E as Equality, b as Ordering, T as Task } from './Validation-
|
|
2
|
+
import { M as Maybe, R as Result, E as Equality, b as Ordering, T as Task } from './Validation-DC3uUizM.cjs';
|
|
3
3
|
import { B as Brand } from './Duration-B8joKzro.cjs';
|
|
4
4
|
import './types.cjs';
|
|
5
5
|
|
package/dist/data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as NonEmptyArr, N as NonEmpty } from './InternalTypes-LdhLQx3N.js';
|
|
2
|
-
import { M as Maybe, R as Result, E as Equality, b as Ordering, T as Task } from './Validation-
|
|
2
|
+
import { M as Maybe, R as Result, E as Equality, b as Ordering, T as Task } from './Validation-DZLizBZ0.js';
|
|
3
3
|
import { B as Brand } from './Duration-B8joKzro.js';
|
|
4
4
|
import './types.js';
|
|
5
5
|
|
package/dist/data.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2504,6 +2504,9 @@ var TaskResult;
|
|
|
2504
2504
|
TaskResult2.recover = (fallback) => (data) => Task.chain(
|
|
2505
2505
|
(result) => Result.is.err(result) ? fallback(result.error) : Task.resolve(result)
|
|
2506
2506
|
)(data);
|
|
2507
|
+
TaskResult2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
2508
|
+
(result) => Result.is.err(result) && !isBlocked(result.error) ? fallback(result.error) : Task.resolve(result)
|
|
2509
|
+
)(data);
|
|
2507
2510
|
TaskResult2.getOrElse = (defaultValue) => (data) => Task.map(Result.getOrElse(defaultValue))(data);
|
|
2508
2511
|
TaskResult2.tap = (f) => (data) => Task.map(Result.tap(f))(data);
|
|
2509
2512
|
TaskResult2.tapError = (f) => (data) => Task.map(Result.tapError(f))(data);
|
|
@@ -2614,6 +2617,11 @@ var TaskValidation;
|
|
|
2614
2617
|
);
|
|
2615
2618
|
from2.Result = (result) => Task.resolve(Validation.from.Result(result));
|
|
2616
2619
|
})(from = TaskValidation2.from || (TaskValidation2.from = {}));
|
|
2620
|
+
let to;
|
|
2621
|
+
((to2) => {
|
|
2622
|
+
to2.Result = (combineErrors) => (data) => Task.map(Validation.to.Result(combineErrors))(data);
|
|
2623
|
+
to2.Maybe = (data) => Task.map(Validation.to.Maybe)(data);
|
|
2624
|
+
})(to = TaskValidation2.to || (TaskValidation2.to = {}));
|
|
2617
2625
|
TaskValidation2.tryCatch = (f, options) => (signal) => Deferred.from.Promise(
|
|
2618
2626
|
globalThis.Promise.resolve().then(async () => f(signal)).then(Validation.make.passed).catch(
|
|
2619
2627
|
(error) => Validation.make.failed(options.onError(error))
|
|
@@ -2632,6 +2640,9 @@ var TaskValidation;
|
|
|
2632
2640
|
TaskValidation2.recover = (fallback) => (data) => Task.chain(
|
|
2633
2641
|
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2634
2642
|
)(data);
|
|
2643
|
+
TaskValidation2.recoverUnless = (isBlocked, fallback) => (data) => Task.chain(
|
|
2644
|
+
(validation) => Validation.is.passed(validation) ? Task.resolve(validation) : isBlocked(validation.errors) ? Task.resolve(validation) : fallback(validation.errors)
|
|
2645
|
+
)(data);
|
|
2635
2646
|
TaskValidation2.product = (first, second) => (signal) => Deferred.from.Promise(
|
|
2636
2647
|
Promise.all([Deferred.to.Promise(first(signal)), Deferred.to.Promise(second(signal))]).then(
|
|
2637
2648
|
([va, vb]) => Validation.product(va, vb)
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { and, compose, constFalse, constNull, constTrue, constUndefined, constVoid, constant, converge, curry, curry3, curry4, defaultTo, flip, flow, identity, juxt, memoize, memoizeWeak, not, on, once, or, pipe, tap, tuple, uncurry, uncurry3, uncurry4, untuple } from './composition.cjs';
|
|
2
2
|
export { Combinable, Failure, Lazy, Lens, Loading, Logged, NotAsked, Op, Optional, Predicate, Reader, Refinement, RemoteData, Resource, State, Stream, Success, These, TheseBoth, TheseFirst, TheseSecond, Tuple } from './core.cjs';
|
|
3
3
|
export { D as Deferred } from './InternalTypes-DuK_XpTi.cjs';
|
|
4
|
-
export { E as Equality, a as Err, F as Failed, M as Maybe, N as None, O as Ok, b as Ordering, P as Passed, R as Result, S as Some, T as Task, V as Validation } from './Validation-
|
|
4
|
+
export { E as Equality, a as Err, F as Failed, M as Maybe, N as None, O as Ok, b as Ordering, P as Passed, R as Result, S as Some, T as Task, V as Validation } from './Validation-DC3uUizM.cjs';
|
|
5
5
|
export { Arr, BigNum, Dict, Json, NonEmptyMap, NonEmptyRecord, NonEmptySet, NonEmptyString, Num, Rec, Str, Uniq } from './data.cjs';
|
|
6
6
|
export { B as Brand, D as Duration } from './Duration-B8joKzro.cjs';
|
|
7
7
|
export { RetryPolicy } from './types.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { and, compose, constFalse, constNull, constTrue, constUndefined, constVoid, constant, converge, curry, curry3, curry4, defaultTo, flip, flow, identity, juxt, memoize, memoizeWeak, not, on, once, or, pipe, tap, tuple, uncurry, uncurry3, uncurry4, untuple } from './composition.js';
|
|
2
2
|
export { Combinable, Failure, Lazy, Lens, Loading, Logged, NotAsked, Op, Optional, Predicate, Reader, Refinement, RemoteData, Resource, State, Stream, Success, These, TheseBoth, TheseFirst, TheseSecond, Tuple } from './core.js';
|
|
3
3
|
export { D as Deferred } from './InternalTypes-LdhLQx3N.js';
|
|
4
|
-
export { E as Equality, a as Err, F as Failed, M as Maybe, N as None, O as Ok, b as Ordering, P as Passed, R as Result, S as Some, T as Task, V as Validation } from './Validation-
|
|
4
|
+
export { E as Equality, a as Err, F as Failed, M as Maybe, N as None, O as Ok, b as Ordering, P as Passed, R as Result, S as Some, T as Task, V as Validation } from './Validation-DZLizBZ0.js';
|
|
5
5
|
export { Arr, BigNum, Dict, Json, NonEmptyMap, NonEmptyRecord, NonEmptySet, NonEmptyString, Num, Rec, Str, Uniq } from './data.js';
|
|
6
6
|
export { B as Brand, D as Duration } from './Duration-B8joKzro.js';
|
|
7
7
|
export { RetryPolicy } from './types.js';
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
Rec,
|
|
40
40
|
Str,
|
|
41
41
|
Uniq
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-M4JSQLML.js";
|
|
43
43
|
import {
|
|
44
44
|
Combinable,
|
|
45
45
|
Deferred,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
These,
|
|
64
64
|
Tuple,
|
|
65
65
|
Validation
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YMHKIN4I.js";
|
|
67
67
|
import {
|
|
68
68
|
Brand,
|
|
69
69
|
Duration,
|