bupkis 0.15.0 → 0.17.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/CHANGELOG.md +29 -0
- package/README.md +3 -2
- package/dist/assertion/assertion-async.cjs +6 -6
- package/dist/assertion/assertion-async.cjs.map +1 -1
- package/dist/assertion/assertion-async.js +1 -1
- package/dist/assertion/assertion-async.js.map +1 -1
- package/dist/assertion/assertion-sync.cjs +3 -3
- package/dist/assertion/assertion-sync.cjs.map +1 -1
- package/dist/assertion/assertion-sync.js +1 -1
- package/dist/assertion/assertion-sync.js.map +1 -1
- package/dist/assertion/assertion-types.d.cts +1 -1
- package/dist/assertion/assertion-types.d.cts.map +1 -1
- package/dist/assertion/assertion-types.d.ts +1 -1
- package/dist/assertion/assertion-types.d.ts.map +1 -1
- package/dist/assertion/assertion.cjs +2 -2
- package/dist/assertion/assertion.cjs.map +1 -1
- package/dist/assertion/assertion.d.cts +1 -1
- package/dist/assertion/assertion.d.cts.map +1 -1
- package/dist/assertion/assertion.d.ts +1 -1
- package/dist/assertion/assertion.d.ts.map +1 -1
- package/dist/assertion/assertion.js +1 -1
- package/dist/assertion/assertion.js.map +1 -1
- package/dist/assertion/create.cjs +7 -7
- package/dist/assertion/create.cjs.map +1 -1
- package/dist/assertion/create.d.cts +2 -2
- package/dist/assertion/create.d.ts +2 -2
- package/dist/assertion/create.js +3 -3
- package/dist/assertion/create.js.map +1 -1
- package/dist/assertion/impl/async-iterable.cjs +627 -0
- package/dist/assertion/impl/async-iterable.cjs.map +1 -0
- package/dist/assertion/impl/async-iterable.d.cts +406 -0
- package/dist/assertion/impl/async-iterable.d.cts.map +1 -0
- package/dist/assertion/impl/async-iterable.d.ts +406 -0
- package/dist/assertion/impl/async-iterable.d.ts.map +1 -0
- package/dist/assertion/impl/async-iterable.js +624 -0
- package/dist/assertion/impl/async-iterable.js.map +1 -0
- package/dist/assertion/impl/async-parametric.d.cts +1 -1
- package/dist/assertion/impl/async-parametric.d.cts.map +1 -1
- package/dist/assertion/impl/async-parametric.d.ts +1 -1
- package/dist/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/assertion/impl/async.cjs +7 -2
- package/dist/assertion/impl/async.cjs.map +1 -1
- package/dist/assertion/impl/async.d.cts +76 -31
- package/dist/assertion/impl/async.d.cts.map +1 -1
- package/dist/assertion/impl/async.d.ts +76 -31
- package/dist/assertion/impl/async.d.ts.map +1 -1
- package/dist/assertion/impl/async.js +7 -2
- package/dist/assertion/impl/async.js.map +1 -1
- package/dist/assertion/impl/iteration-util.cjs +297 -0
- package/dist/assertion/impl/iteration-util.cjs.map +1 -0
- package/dist/assertion/impl/iteration-util.d.cts +12 -0
- package/dist/assertion/impl/iteration-util.d.cts.map +1 -0
- package/dist/assertion/impl/iteration-util.d.ts +12 -0
- package/dist/assertion/impl/iteration-util.d.ts.map +1 -0
- package/dist/assertion/impl/iteration-util.js +282 -0
- package/dist/assertion/impl/iteration-util.js.map +1 -0
- package/dist/assertion/impl/snapshot.cjs +5 -5
- package/dist/assertion/impl/snapshot.cjs.map +1 -1
- package/dist/assertion/impl/snapshot.d.cts +1 -1
- package/dist/assertion/impl/snapshot.d.cts.map +1 -1
- package/dist/assertion/impl/snapshot.d.ts +1 -1
- package/dist/assertion/impl/snapshot.d.ts.map +1 -1
- package/dist/assertion/impl/snapshot.js +1 -1
- package/dist/assertion/impl/snapshot.js.map +1 -1
- package/dist/assertion/impl/sync-basic.cjs +8 -8
- package/dist/assertion/impl/sync-basic.cjs.map +1 -1
- package/dist/assertion/impl/sync-basic.d.cts +2 -2
- package/dist/assertion/impl/sync-basic.d.cts.map +1 -1
- package/dist/assertion/impl/sync-basic.d.ts +2 -2
- package/dist/assertion/impl/sync-basic.d.ts.map +1 -1
- package/dist/assertion/impl/sync-basic.js +1 -1
- package/dist/assertion/impl/sync-basic.js.map +1 -1
- package/dist/assertion/impl/sync-collection.cjs +10 -10
- package/dist/assertion/impl/sync-collection.cjs.map +1 -1
- package/dist/assertion/impl/sync-collection.d.cts +1 -1
- package/dist/assertion/impl/sync-collection.d.cts.map +1 -1
- package/dist/assertion/impl/sync-collection.d.ts +1 -1
- package/dist/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/assertion/impl/sync-collection.js +1 -1
- package/dist/assertion/impl/sync-collection.js.map +1 -1
- package/dist/assertion/impl/sync-date.d.cts +14 -14
- package/dist/assertion/impl/sync-date.d.cts.map +1 -1
- package/dist/assertion/impl/sync-date.d.ts +14 -14
- package/dist/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/assertion/impl/sync-esoteric.cjs +3 -3
- package/dist/assertion/impl/sync-esoteric.cjs.map +1 -1
- package/dist/assertion/impl/sync-esoteric.d.cts +1 -1
- package/dist/assertion/impl/sync-esoteric.d.cts.map +1 -1
- package/dist/assertion/impl/sync-esoteric.d.ts +1 -1
- package/dist/assertion/impl/sync-esoteric.d.ts.map +1 -1
- package/dist/assertion/impl/sync-esoteric.js +1 -1
- package/dist/assertion/impl/sync-esoteric.js.map +1 -1
- package/dist/assertion/impl/sync-iterable.cjs +512 -0
- package/dist/assertion/impl/sync-iterable.cjs.map +1 -0
- package/dist/assertion/impl/sync-iterable.d.cts +334 -0
- package/dist/assertion/impl/sync-iterable.d.cts.map +1 -0
- package/dist/assertion/impl/sync-iterable.d.ts +334 -0
- package/dist/assertion/impl/sync-iterable.d.ts.map +1 -0
- package/dist/assertion/impl/sync-iterable.js +509 -0
- package/dist/assertion/impl/sync-iterable.js.map +1 -0
- package/dist/assertion/impl/sync-parametric.cjs +3 -3
- package/dist/assertion/impl/sync-parametric.cjs.map +1 -1
- package/dist/assertion/impl/sync-parametric.d.cts +2 -2
- package/dist/assertion/impl/sync-parametric.d.cts.map +1 -1
- package/dist/assertion/impl/sync-parametric.d.ts +2 -2
- package/dist/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/assertion/impl/sync-parametric.js +1 -1
- package/dist/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/assertion/impl/sync.cjs +3 -0
- package/dist/assertion/impl/sync.cjs.map +1 -1
- package/dist/assertion/impl/sync.d.cts +178 -141
- package/dist/assertion/impl/sync.d.cts.map +1 -1
- package/dist/assertion/impl/sync.d.ts +178 -141
- package/dist/assertion/impl/sync.d.ts.map +1 -1
- package/dist/assertion/impl/sync.js +3 -0
- package/dist/assertion/impl/sync.js.map +1 -1
- package/dist/assertion/slotify.cjs +5 -5
- package/dist/assertion/slotify.cjs.map +1 -1
- package/dist/assertion/slotify.js +1 -1
- package/dist/assertion/slotify.js.map +1 -1
- package/dist/constant.cjs +10 -11
- package/dist/constant.cjs.map +1 -1
- package/dist/constant.d.cts +19 -3
- package/dist/constant.d.cts.map +1 -1
- package/dist/constant.d.ts +19 -3
- package/dist/constant.d.ts.map +1 -1
- package/dist/constant.js +10 -11
- package/dist/constant.js.map +1 -1
- package/dist/diff.d.cts +1 -1
- package/dist/diff.d.cts.map +1 -1
- package/dist/diff.d.ts +1 -1
- package/dist/diff.d.ts.map +1 -1
- package/dist/error.cjs +2 -4
- package/dist/error.cjs.map +1 -1
- package/dist/error.d.cts +21 -4
- package/dist/error.d.cts.map +1 -1
- package/dist/error.d.ts +21 -4
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js +2 -4
- package/dist/error.js.map +1 -1
- package/dist/guards.cjs +4 -3
- package/dist/guards.cjs.map +1 -1
- package/dist/guards.d.cts +2 -3
- package/dist/guards.d.cts.map +1 -1
- package/dist/guards.d.ts +2 -3
- package/dist/guards.d.ts.map +1 -1
- package/dist/guards.js +4 -3
- package/dist/guards.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +85 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal-schema.cjs +41 -41
- package/dist/internal-schema.cjs.map +1 -1
- package/dist/internal-schema.js +1 -1
- package/dist/internal-schema.js.map +1 -1
- package/dist/metadata.cjs +16 -16
- package/dist/metadata.cjs.map +1 -1
- package/dist/metadata.d.cts +1 -4
- package/dist/metadata.d.cts.map +1 -1
- package/dist/metadata.d.ts +1 -4
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +1 -1
- package/dist/metadata.js.map +1 -1
- package/dist/schema.cjs +311 -67
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +221 -2
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +221 -2
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +245 -2
- package/dist/schema.js.map +1 -1
- package/dist/snapshot/adapters/node-test.cjs +25 -1
- package/dist/snapshot/adapters/node-test.cjs.map +1 -1
- package/dist/snapshot/adapters/node-test.d.cts +2 -1
- package/dist/snapshot/adapters/node-test.d.cts.map +1 -1
- package/dist/snapshot/adapters/node-test.d.ts +2 -1
- package/dist/snapshot/adapters/node-test.d.ts.map +1 -1
- package/dist/snapshot/adapters/node-test.js +25 -1
- package/dist/snapshot/adapters/node-test.js.map +1 -1
- package/dist/snapshot/index.cjs +7 -1
- package/dist/snapshot/index.cjs.map +1 -1
- package/dist/snapshot/index.d.cts +3 -2
- package/dist/snapshot/index.d.cts.map +1 -1
- package/dist/snapshot/index.d.ts +3 -2
- package/dist/snapshot/index.d.ts.map +1 -1
- package/dist/snapshot/index.js +2 -0
- package/dist/snapshot/index.js.map +1 -1
- package/dist/snapshot/node-version.cjs +49 -0
- package/dist/snapshot/node-version.cjs.map +1 -0
- package/dist/snapshot/node-version.d.cts +34 -0
- package/dist/snapshot/node-version.d.cts.map +1 -0
- package/dist/snapshot/node-version.d.ts +34 -0
- package/dist/snapshot/node-version.d.ts.map +1 -0
- package/dist/snapshot/node-version.js +44 -0
- package/dist/snapshot/node-version.js.map +1 -0
- package/dist/types.d.cts +1 -3
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts +1 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/util.cjs +2 -134
- package/dist/util.cjs.map +1 -1
- package/dist/util.d.cts +1 -55
- package/dist/util.d.cts.map +1 -1
- package/dist/util.d.ts +1 -55
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +1 -131
- package/dist/util.js.map +1 -1
- package/dist/value-to-schema.cjs +89 -45
- package/dist/value-to-schema.cjs.map +1 -1
- package/dist/value-to-schema.d.cts +1 -1
- package/dist/value-to-schema.d.cts.map +1 -1
- package/dist/value-to-schema.d.ts +1 -1
- package/dist/value-to-schema.d.ts.map +1 -1
- package/dist/value-to-schema.js +53 -9
- package/dist/value-to-schema.js.map +1 -1
- package/package.json +44 -145
- package/src/assertion/assertion-async.ts +1 -1
- package/src/assertion/assertion-sync.ts +1 -1
- package/src/assertion/assertion-types.ts +1 -1
- package/src/assertion/assertion.ts +1 -1
- package/src/assertion/create.ts +3 -3
- package/src/assertion/impl/async-iterable.ts +749 -0
- package/src/assertion/impl/async-parametric.ts +1 -1
- package/src/assertion/impl/async.ts +7 -2
- package/src/assertion/impl/iteration-util.ts +379 -0
- package/src/assertion/impl/snapshot.ts +1 -1
- package/src/assertion/impl/sync-basic.ts +1 -1
- package/src/assertion/impl/sync-collection.ts +1 -1
- package/src/assertion/impl/sync-esoteric.ts +1 -1
- package/src/assertion/impl/sync-iterable.ts +593 -0
- package/src/assertion/impl/sync-parametric.ts +1 -1
- package/src/assertion/impl/sync.ts +3 -0
- package/src/assertion/slotify.ts +1 -1
- package/src/constant.ts +15 -13
- package/src/diff.ts +1 -1
- package/src/error.ts +2 -4
- package/src/guards.ts +7 -4
- package/src/index.ts +1 -1
- package/src/internal-schema.ts +1 -1
- package/src/metadata.ts +1 -1
- package/src/schema.ts +267 -2
- package/src/snapshot/adapters/node-test.ts +28 -1
- package/src/snapshot/index.ts +10 -2
- package/src/snapshot/node-version.ts +50 -0
- package/src/types.ts +1 -1
- package/src/util.ts +1 -149
- package/src/value-to-schema.ts +71 -12
- package/LICENSE.md +0 -55
|
@@ -23,6 +23,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AsyncAssertions = exports.AsyncParametricAssertions = void 0;
|
|
26
|
+
const async_iterable_js_1 = require("./async-iterable.cjs");
|
|
26
27
|
const async_parametric_js_1 = require("./async-parametric.cjs");
|
|
27
28
|
/**
|
|
28
29
|
* Tuple of all built-in `Promise`-based parametric assertions.
|
|
@@ -42,10 +43,14 @@ exports.AsyncParametricAssertions = [
|
|
|
42
43
|
async_parametric_js_1.functionFulfillWithValueSatisfyingAssertion,
|
|
43
44
|
];
|
|
44
45
|
/**
|
|
45
|
-
* Tuple of all built-in async assertions (Promise
|
|
46
|
+
* Tuple of all built-in async assertions (Promise and async iterables).
|
|
46
47
|
*
|
|
47
48
|
* @group Assertion Collections
|
|
48
49
|
*/
|
|
49
|
-
exports.AsyncAssertions = [
|
|
50
|
+
exports.AsyncAssertions = [
|
|
51
|
+
...exports.AsyncParametricAssertions,
|
|
52
|
+
...async_iterable_js_1.AsyncIterableAssertions,
|
|
53
|
+
];
|
|
54
|
+
__exportStar(require("./async-iterable.cjs"), exports);
|
|
50
55
|
__exportStar(require("./async-parametric.cjs"), exports);
|
|
51
56
|
//# sourceMappingURL=async.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.js","sourceRoot":"","sources":["../../../src/assertion/impl/async.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;AAEH,gEAW+B;AAE/B;;;;GAIG;AACU,QAAA,yBAAyB,GAAG;IACvC,8CAAwB;IACxB,6CAAuB;IACvB,6CAAuB;IACvB,4CAAsB;IACtB,qDAA+B;IAC/B,oDAA8B;IAC9B,gEAA0C;IAC1C,+DAAyC;IACzC,gEAA0C;IAC1C,iEAA2C;CACnC,CAAC;AAEX;;;;GAIG;AACU,QAAA,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"async.js","sourceRoot":"","sources":["../../../src/assertion/impl/async.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;AAEH,4DAA8D;AAC9D,gEAW+B;AAE/B;;;;GAIG;AACU,QAAA,yBAAyB,GAAG;IACvC,8CAAwB;IACxB,6CAAuB;IACvB,6CAAuB;IACvB,4CAAsB;IACtB,qDAA+B;IAC/B,oDAA8B;IAC9B,gEAA0C;IAC1C,+DAAyC;IACzC,gEAA0C;IAC1C,iEAA2C;CACnC,CAAC;AAEX;;;;GAIG;AACU,QAAA,eAAe,GAAG;IAC7B,GAAG,iCAAyB;IAC5B,GAAG,2CAAuB;CAClB,CAAC;AAEX,uDAAoC;AACpC,yDAAsC"}
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @group Assertion Collections
|
|
13
13
|
*/
|
|
14
|
-
export declare const AsyncParametricAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod
|
|
14
|
+
export declare const AsyncParametricAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to resolve", "to fulfill"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
15
15
|
message: string;
|
|
16
|
-
} | undefined>, readonly [import("zod
|
|
16
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
17
17
|
message: string;
|
|
18
|
-
} | undefined>, readonly [import("zod
|
|
18
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject", "to be rejected"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
19
19
|
message: string;
|
|
20
|
-
} | undefined>, readonly [import("zod
|
|
20
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject", "to be rejected"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
21
21
|
message: string;
|
|
22
|
-
} | undefined>, readonly [import("zod
|
|
22
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
23
23
|
message: string;
|
|
24
24
|
actual?: undefined;
|
|
25
25
|
expected?: undefined;
|
|
@@ -27,7 +27,7 @@ export declare const AsyncParametricAssertions: readonly [import("../assertion-t
|
|
|
27
27
|
actual: string;
|
|
28
28
|
expected: string;
|
|
29
29
|
message: string;
|
|
30
|
-
} | undefined>, readonly [import("zod
|
|
30
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
31
31
|
message: string;
|
|
32
32
|
actual?: undefined;
|
|
33
33
|
expected?: undefined;
|
|
@@ -35,53 +35,53 @@ export declare const AsyncParametricAssertions: readonly [import("../assertion-t
|
|
|
35
35
|
actual: string;
|
|
36
36
|
expected: string;
|
|
37
37
|
message: string;
|
|
38
|
-
} | undefined>, readonly [import("zod
|
|
38
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
39
39
|
message: string;
|
|
40
40
|
schema?: undefined;
|
|
41
41
|
subject?: undefined;
|
|
42
42
|
} | {
|
|
43
|
-
schema: import("zod
|
|
43
|
+
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
44
44
|
subject: {} | null;
|
|
45
45
|
message?: undefined;
|
|
46
|
-
}>, readonly [import("zod
|
|
46
|
+
}>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
47
47
|
message: string;
|
|
48
48
|
schema?: undefined;
|
|
49
49
|
subject?: undefined;
|
|
50
50
|
} | {
|
|
51
|
-
schema: import("zod
|
|
51
|
+
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
52
52
|
subject: {} | null;
|
|
53
53
|
message?: undefined;
|
|
54
|
-
}>, readonly [import("zod
|
|
54
|
+
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
55
55
|
message: string;
|
|
56
56
|
schema?: undefined;
|
|
57
57
|
subject?: undefined;
|
|
58
58
|
} | {
|
|
59
|
-
schema: import("zod
|
|
59
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
60
60
|
subject: unknown;
|
|
61
61
|
message?: undefined;
|
|
62
|
-
}>, readonly [import("zod
|
|
62
|
+
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
63
63
|
message: string;
|
|
64
64
|
schema?: undefined;
|
|
65
65
|
subject?: undefined;
|
|
66
66
|
} | {
|
|
67
|
-
schema: import("zod
|
|
67
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
68
68
|
subject: unknown;
|
|
69
69
|
message?: undefined;
|
|
70
|
-
}>, readonly [import("zod
|
|
70
|
+
}>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod").ZodUnknown]>];
|
|
71
71
|
/**
|
|
72
|
-
* Tuple of all built-in async assertions (Promise
|
|
72
|
+
* Tuple of all built-in async assertions (Promise and async iterables).
|
|
73
73
|
*
|
|
74
74
|
* @group Assertion Collections
|
|
75
75
|
*/
|
|
76
|
-
export declare const AsyncAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod
|
|
76
|
+
export declare const AsyncAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to resolve", "to fulfill"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
77
77
|
message: string;
|
|
78
|
-
} | undefined>, readonly [import("zod
|
|
78
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
79
79
|
message: string;
|
|
80
|
-
} | undefined>, readonly [import("zod
|
|
80
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject", "to be rejected"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
81
81
|
message: string;
|
|
82
|
-
} | undefined>, readonly [import("zod
|
|
82
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject", "to be rejected"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
83
83
|
message: string;
|
|
84
|
-
} | undefined>, readonly [import("zod
|
|
84
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
85
85
|
message: string;
|
|
86
86
|
actual?: undefined;
|
|
87
87
|
expected?: undefined;
|
|
@@ -89,7 +89,7 @@ export declare const AsyncAssertions: readonly [import("../assertion-types.js").
|
|
|
89
89
|
actual: string;
|
|
90
90
|
expected: string;
|
|
91
91
|
message: string;
|
|
92
|
-
} | undefined>, readonly [import("zod
|
|
92
|
+
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
93
93
|
message: string;
|
|
94
94
|
actual?: undefined;
|
|
95
95
|
expected?: undefined;
|
|
@@ -97,38 +97,83 @@ export declare const AsyncAssertions: readonly [import("../assertion-types.js").
|
|
|
97
97
|
actual: string;
|
|
98
98
|
expected: string;
|
|
99
99
|
message: string;
|
|
100
|
-
} | undefined>, readonly [import("zod
|
|
100
|
+
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
101
101
|
message: string;
|
|
102
102
|
schema?: undefined;
|
|
103
103
|
subject?: undefined;
|
|
104
104
|
} | {
|
|
105
|
-
schema: import("zod
|
|
105
|
+
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
106
106
|
subject: {} | null;
|
|
107
107
|
message?: undefined;
|
|
108
|
-
}>, readonly [import("zod
|
|
108
|
+
}>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
109
109
|
message: string;
|
|
110
110
|
schema?: undefined;
|
|
111
111
|
subject?: undefined;
|
|
112
112
|
} | {
|
|
113
|
-
schema: import("zod
|
|
113
|
+
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
114
114
|
subject: {} | null;
|
|
115
115
|
message?: undefined;
|
|
116
|
-
}>, readonly [import("zod
|
|
116
|
+
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
117
117
|
message: string;
|
|
118
118
|
schema?: undefined;
|
|
119
119
|
subject?: undefined;
|
|
120
120
|
} | {
|
|
121
|
-
schema: import("zod
|
|
121
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
122
122
|
subject: unknown;
|
|
123
123
|
message?: undefined;
|
|
124
|
-
}>, readonly [import("zod
|
|
124
|
+
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
125
125
|
message: string;
|
|
126
126
|
schema?: undefined;
|
|
127
127
|
subject?: undefined;
|
|
128
128
|
} | {
|
|
129
|
-
schema: import("zod
|
|
129
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
130
130
|
subject: unknown;
|
|
131
131
|
message?: undefined;
|
|
132
|
-
}>, readonly [import("zod
|
|
132
|
+
}>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to yield", "to emit", "to yield value satisfying"], import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
133
|
+
message: string;
|
|
134
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to yield", "to emit", "to yield value satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield value exhaustively satisfying", import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
135
|
+
message: string;
|
|
136
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield value exhaustively satisfying">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield items satisfying", import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
137
|
+
message: string;
|
|
138
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield items satisfying">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield items exhaustively satisfying", import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
139
|
+
message: string;
|
|
140
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield items exhaustively satisfying">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to yield first", "to yield first satisfying"], import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
141
|
+
message: string;
|
|
142
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to yield first", "to yield first satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield first exhaustively satisfying", import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
143
|
+
message: string;
|
|
144
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield first exhaustively satisfying">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to yield last", "to yield last satisfying"], import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
145
|
+
message: string;
|
|
146
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to yield last", "to yield last satisfying"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield last exhaustively satisfying", import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown) => Promise<{
|
|
147
|
+
message: string;
|
|
148
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield last exhaustively satisfying">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield count", import("zod").ZodInt], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expectedCount: number) => Promise<{
|
|
149
|
+
actual: number;
|
|
150
|
+
expected: number;
|
|
151
|
+
message: string;
|
|
152
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield count">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield at least", import("zod").ZodInt], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, minCount: number) => Promise<{
|
|
153
|
+
actual: number;
|
|
154
|
+
expected: string;
|
|
155
|
+
message: string;
|
|
156
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield at least">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield at most", import("zod").ZodInt], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, maxCount: number) => Promise<{
|
|
157
|
+
actual: number;
|
|
158
|
+
expected: string;
|
|
159
|
+
message: string;
|
|
160
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield at most">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to be an empty iterable"], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>) => Promise<{
|
|
161
|
+
message: string;
|
|
162
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to be an empty iterable">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, "to yield exactly", import("zod").ZodArray<import("zod").ZodUnknown>], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown[]) => Promise<{
|
|
163
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
164
|
+
subject: unknown[];
|
|
165
|
+
}>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to yield exactly">, import("zod").ZodArray<import("zod").ZodUnknown>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to yield sequence satisfying", "to yield array satisfying"], import("zod").ZodArray<import("zod").ZodUnknown>], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expected: unknown[]) => Promise<{
|
|
166
|
+
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
167
|
+
subject: unknown[];
|
|
168
|
+
}>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to yield sequence satisfying", "to yield array satisfying"]>, import("zod").ZodArray<import("zod").ZodUnknown>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to complete", "to finish"]], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>) => Promise<{
|
|
169
|
+
message: string;
|
|
170
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to complete", "to finish"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to reject", "to be rejected"]], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>) => Promise<{
|
|
171
|
+
message: string;
|
|
172
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to reject with a", "to reject with an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expectedType: import("../../types.js").Constructor) => Promise<{
|
|
173
|
+
message: string;
|
|
174
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod").ZodUnknown], (subject: Iterable<unknown> | AsyncIterable<unknown> | AsyncIterator<unknown, any, any>, expectedShape: unknown) => Promise<{
|
|
175
|
+
message: string;
|
|
176
|
+
} | undefined>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<AsyncIterable<unknown>, AsyncIterable<unknown>>, import("zod").ZodCustom<AsyncIterator<unknown, any, any>, AsyncIterator<unknown, any, any>>, import("zod").ZodCustom<Iterable<unknown>, Iterable<unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod").ZodUnknown]>];
|
|
177
|
+
export * from "./async-iterable.cjs";
|
|
133
178
|
export * from "./async-parametric.cjs";
|
|
134
179
|
//# sourceMappingURL=async.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAgBH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wWAW5B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4cAGlB,CAAC;AAEX,qCAAoC;AACpC,uCAAsC"}
|