bupkis 0.11.0 → 0.12.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 +72 -88
- package/dist/commonjs/assertion/assertion-async.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion-async.js +32 -9
- package/dist/commonjs/assertion/assertion-async.js.map +1 -1
- package/dist/commonjs/assertion/assertion-standard-schema-async.d.ts +64 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.d.ts.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.js +155 -0
- package/dist/commonjs/assertion/assertion-standard-schema-async.js.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.d.ts +64 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.d.ts.map +1 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.js +164 -0
- package/dist/commonjs/assertion/assertion-standard-schema-sync.js.map +1 -0
- package/dist/commonjs/assertion/assertion-sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion-sync.js +38 -5
- package/dist/commonjs/assertion/assertion-sync.js.map +1 -1
- package/dist/commonjs/assertion/assertion-types.d.ts +82 -14
- package/dist/commonjs/assertion/assertion-types.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion.d.ts +11 -0
- package/dist/commonjs/assertion/assertion.d.ts.map +1 -1
- package/dist/commonjs/assertion/assertion.js +30 -0
- package/dist/commonjs/assertion/assertion.js.map +1 -1
- package/dist/commonjs/assertion/create.d.ts.map +1 -1
- package/dist/commonjs/assertion/create.js +10 -2
- package/dist/commonjs/assertion/create.js.map +1 -1
- package/dist/commonjs/assertion/impl/async-parametric.d.ts +11 -31
- package/dist/commonjs/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/async-parametric.js +12 -37
- package/dist/commonjs/assertion/impl/async-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/async.d.ts +34 -74
- package/dist/commonjs/assertion/impl/async.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-basic.d.ts +37 -37
- package/dist/commonjs/assertion/impl/sync-basic.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-basic.js +25 -25
- package/dist/commonjs/assertion/impl/sync-basic.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.d.ts +7 -9
- package/dist/commonjs/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.js +18 -19
- package/dist/commonjs/assertion/impl/sync-collection.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.d.ts +14 -213
- package/dist/commonjs/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.js +5 -271
- package/dist/commonjs/assertion/impl/sync-date.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-esoteric.d.ts +3 -3
- package/dist/commonjs/assertion/impl/sync-esoteric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-esoteric.js +2 -2
- package/dist/commonjs/assertion/impl/sync-esoteric.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts +29 -49
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.js +77 -100
- package/dist/commonjs/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync.d.ts +138 -320
- package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync.js +0 -7
- package/dist/commonjs/assertion/impl/sync.js.map +1 -1
- package/dist/commonjs/assertion/slotify.js +106 -43
- package/dist/commonjs/assertion/slotify.js.map +1 -1
- package/dist/commonjs/bootstrap.d.ts +84 -195
- package/dist/commonjs/bootstrap.d.ts.map +1 -1
- package/dist/commonjs/diff.d.ts.map +1 -1
- package/dist/commonjs/diff.js +14 -21
- package/dist/commonjs/diff.js.map +1 -1
- package/dist/commonjs/guards.d.ts +16 -0
- package/dist/commonjs/guards.d.ts.map +1 -1
- package/dist/commonjs/guards.js +27 -1
- package/dist/commonjs/guards.js.map +1 -1
- package/dist/commonjs/index.d.ts +53 -157
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/internal-schema.d.ts.map +1 -1
- package/dist/commonjs/internal-schema.js +30 -12
- package/dist/commonjs/internal-schema.js.map +1 -1
- package/dist/commonjs/schema.d.ts +21 -0
- package/dist/commonjs/schema.d.ts.map +1 -1
- package/dist/commonjs/schema.js +132 -2
- package/dist/commonjs/schema.js.map +1 -1
- package/dist/commonjs/standard-schema.d.ts +192 -0
- package/dist/commonjs/standard-schema.d.ts.map +1 -0
- package/dist/commonjs/standard-schema.js +13 -0
- package/dist/commonjs/standard-schema.js.map +1 -0
- package/dist/commonjs/types.d.ts +165 -13
- package/dist/commonjs/types.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-async.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-async.js +33 -10
- package/dist/esm/assertion/assertion-async.js.map +1 -1
- package/dist/esm/assertion/assertion-standard-schema-async.d.ts +64 -0
- package/dist/esm/assertion/assertion-standard-schema-async.d.ts.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-async.js +151 -0
- package/dist/esm/assertion/assertion-standard-schema-async.js.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.d.ts +64 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.d.ts.map +1 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.js +160 -0
- package/dist/esm/assertion/assertion-standard-schema-sync.js.map +1 -0
- package/dist/esm/assertion/assertion-sync.d.ts.map +1 -1
- package/dist/esm/assertion/assertion-sync.js +39 -6
- package/dist/esm/assertion/assertion-sync.js.map +1 -1
- package/dist/esm/assertion/assertion-types.d.ts +82 -14
- package/dist/esm/assertion/assertion-types.d.ts.map +1 -1
- package/dist/esm/assertion/assertion.d.ts +11 -0
- package/dist/esm/assertion/assertion.d.ts.map +1 -1
- package/dist/esm/assertion/assertion.js +30 -0
- package/dist/esm/assertion/assertion.js.map +1 -1
- package/dist/esm/assertion/create.d.ts.map +1 -1
- package/dist/esm/assertion/create.js +11 -3
- package/dist/esm/assertion/create.js.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.d.ts +11 -31
- package/dist/esm/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.js +13 -38
- package/dist/esm/assertion/impl/async-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/async.d.ts +34 -74
- package/dist/esm/assertion/impl/async.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-basic.d.ts +37 -37
- package/dist/esm/assertion/impl/sync-basic.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-basic.js +26 -26
- package/dist/esm/assertion/impl/sync-basic.js.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.d.ts +7 -9
- package/dist/esm/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.js +19 -20
- package/dist/esm/assertion/impl/sync-collection.js.map +1 -1
- package/dist/esm/assertion/impl/sync-date.d.ts +14 -213
- package/dist/esm/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-date.js +4 -270
- package/dist/esm/assertion/impl/sync-date.js.map +1 -1
- package/dist/esm/assertion/impl/sync-esoteric.d.ts +3 -3
- package/dist/esm/assertion/impl/sync-esoteric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-esoteric.js +3 -3
- package/dist/esm/assertion/impl/sync-esoteric.js.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.d.ts +29 -49
- package/dist/esm/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.js +78 -101
- package/dist/esm/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/sync.d.ts +138 -320
- package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync.js +1 -8
- package/dist/esm/assertion/impl/sync.js.map +1 -1
- package/dist/esm/assertion/slotify.js +107 -44
- package/dist/esm/assertion/slotify.js.map +1 -1
- package/dist/esm/bootstrap.d.ts +84 -195
- package/dist/esm/bootstrap.d.ts.map +1 -1
- package/dist/esm/diff.d.ts.map +1 -1
- package/dist/esm/diff.js +14 -21
- package/dist/esm/diff.js.map +1 -1
- package/dist/esm/guards.d.ts +16 -0
- package/dist/esm/guards.d.ts.map +1 -1
- package/dist/esm/guards.js +25 -0
- package/dist/esm/guards.js.map +1 -1
- package/dist/esm/index.d.ts +53 -157
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal-schema.d.ts.map +1 -1
- package/dist/esm/internal-schema.js +31 -13
- package/dist/esm/internal-schema.js.map +1 -1
- package/dist/esm/schema.d.ts +21 -0
- package/dist/esm/schema.d.ts.map +1 -1
- package/dist/esm/schema.js +129 -1
- package/dist/esm/schema.js.map +1 -1
- package/dist/esm/standard-schema.d.ts +192 -0
- package/dist/esm/standard-schema.d.ts.map +1 -0
- package/dist/esm/standard-schema.js +12 -0
- package/dist/esm/standard-schema.js.map +1 -0
- package/dist/esm/types.d.ts +165 -13
- package/dist/esm/types.d.ts.map +1 -1
- package/package.json +38 -20
- package/src/assertion/assertion-async.ts +54 -14
- package/src/assertion/assertion-standard-schema-async.ts +202 -0
- package/src/assertion/assertion-standard-schema-sync.ts +214 -0
- package/src/assertion/assertion-sync.ts +65 -10
- package/src/assertion/assertion-types.ts +113 -13
- package/src/assertion/assertion.ts +40 -0
- package/src/assertion/create.ts +11 -5
- package/src/assertion/impl/async-parametric.ts +16 -37
- package/src/assertion/impl/sync-basic.ts +48 -32
- package/src/assertion/impl/sync-collection.ts +25 -23
- package/src/assertion/impl/sync-date.ts +4 -311
- package/src/assertion/impl/sync-esoteric.ts +7 -3
- package/src/assertion/impl/sync-parametric.ts +104 -102
- package/src/assertion/impl/sync.ts +0 -14
- package/src/assertion/slotify.ts +90 -13
- package/src/diff.ts +14 -29
- package/src/guards.ts +29 -0
- package/src/index.ts +16 -6
- package/src/internal-schema.ts +36 -16
- package/src/schema.ts +152 -1
- package/src/standard-schema.ts +214 -0
- package/src/types.ts +176 -14
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.functionFulfillWithValueSatisfyingAssertion = exports.promiseResolveWithValueSatisfyingAssertion = exports.promiseRejectWithErrorSatisfyingAssertion = exports.functionRejectWithErrorSatisfyingAssertion = exports.promiseRejectWithTypeAssertion = exports.functionRejectWithTypeAssertion = exports.promiseRejectAssertion = exports.functionRejectAssertion = exports.promiseResolveAssertion = exports.functionResolveAssertion = void 0;
|
|
18
18
|
const node_util_1 = require("node:util");
|
|
19
|
-
const v4_1 = require("zod/v4");
|
|
20
19
|
const error_js_1 = require("../../error.js");
|
|
21
20
|
const guards_js_1 = require("../../guards.js");
|
|
22
21
|
const schema_js_1 = require("../../schema.js");
|
|
@@ -139,8 +138,6 @@ exports.functionRejectWithTypeAssertion = (0, create_js_1.createAsyncAssertion)(
|
|
|
139
138
|
const { error, result } = await (0, assertion_util_js_1.trapAsyncFnError)(subject);
|
|
140
139
|
if (error === undefined) {
|
|
141
140
|
return {
|
|
142
|
-
actual: 'function fulfilled',
|
|
143
|
-
expect: 'function rejected',
|
|
144
141
|
message: `Expected function to reject, but it fulfilled with ${(0, node_util_1.inspect)(result)}`,
|
|
145
142
|
};
|
|
146
143
|
}
|
|
@@ -188,8 +185,6 @@ exports.promiseRejectWithTypeAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
|
188
185
|
const { error, result } = await (0, assertion_util_js_1.trapPromiseError)(subject);
|
|
189
186
|
if (error === undefined) {
|
|
190
187
|
return {
|
|
191
|
-
actual: 'Promise fulfilled',
|
|
192
|
-
expect: 'Promise rejected',
|
|
193
188
|
message: `Expected Promise to reject, but it fulfilled with ${(0, node_util_1.inspect)(result)}`,
|
|
194
189
|
};
|
|
195
190
|
}
|
|
@@ -235,30 +230,20 @@ exports.promiseRejectWithTypeAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
|
235
230
|
*
|
|
236
231
|
* @group Parametric Assertions (Async)
|
|
237
232
|
*/
|
|
238
|
-
exports.functionRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([schema_js_1.FunctionSchema, ['to reject with error satisfying'],
|
|
233
|
+
exports.functionRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([schema_js_1.FunctionSchema, ['to reject with error satisfying'], schema_js_1.UnknownSchema], async (subject, param) => {
|
|
239
234
|
const { error, result } = await (0, assertion_util_js_1.trapAsyncFnError)(subject);
|
|
240
235
|
if (error === undefined) {
|
|
241
236
|
return {
|
|
242
|
-
actual: 'function fulfilled',
|
|
243
|
-
expect: 'function to reject',
|
|
244
237
|
message: `Expected function to reject, but it fulfilled with ${(0, node_util_1.inspect)(result)}`,
|
|
245
238
|
};
|
|
246
239
|
}
|
|
247
240
|
let schema;
|
|
248
241
|
// TODO: can valueToSchema handle the first two conditional branches?
|
|
249
242
|
if ((0, guards_js_1.isString)(param)) {
|
|
250
|
-
schema =
|
|
251
|
-
.looseObject({
|
|
252
|
-
message: v4_1.z.coerce.string().pipe(v4_1.z.literal(param)),
|
|
253
|
-
})
|
|
254
|
-
.or(v4_1.z.coerce.string().pipe(v4_1.z.literal(param)));
|
|
243
|
+
schema = (0, schema_js_1.createErrorMessageSchema)(param);
|
|
255
244
|
}
|
|
256
245
|
else if ((0, guards_js_1.isA)(param, RegExp)) {
|
|
257
|
-
schema =
|
|
258
|
-
.looseObject({
|
|
259
|
-
message: v4_1.z.coerce.string().regex(param),
|
|
260
|
-
})
|
|
261
|
-
.or(v4_1.z.coerce.string().regex(param));
|
|
246
|
+
schema = (0, schema_js_1.createErrorMessageRegexSchema)(param);
|
|
262
247
|
}
|
|
263
248
|
else if ((0, guards_js_1.isNonNullObject)(param)) {
|
|
264
249
|
schema = (0, value_to_schema_js_1.valueToSchema)(param, value_to_schema_js_1.valueToSchemaOptionsForSatisfies);
|
|
@@ -298,30 +283,24 @@ exports.functionRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsync
|
|
|
298
283
|
*
|
|
299
284
|
* @group Parametric Assertions (Async)
|
|
300
285
|
*/
|
|
301
|
-
exports.promiseRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
286
|
+
exports.promiseRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
287
|
+
schema_js_1.WrappedPromiseLikeSchema,
|
|
288
|
+
['to reject with error satisfying'],
|
|
289
|
+
schema_js_1.UnknownSchema,
|
|
290
|
+
], async (subject, param) => {
|
|
302
291
|
const { error, result } = await (0, assertion_util_js_1.trapPromiseError)(subject);
|
|
303
292
|
if (error === undefined) {
|
|
304
293
|
return {
|
|
305
|
-
actual: 'Promise fulfilled',
|
|
306
|
-
expect: 'Promise rejected',
|
|
307
294
|
message: `Expected Promise to reject, but it fulfilled with ${(0, node_util_1.inspect)(result)}`,
|
|
308
295
|
};
|
|
309
296
|
}
|
|
310
297
|
let schema;
|
|
311
298
|
// TODO: can valueToSchema handle the first two conditional branches?
|
|
312
299
|
if ((0, guards_js_1.isString)(param)) {
|
|
313
|
-
schema =
|
|
314
|
-
.looseObject({
|
|
315
|
-
message: v4_1.z.coerce.string().pipe(v4_1.z.literal(param)),
|
|
316
|
-
})
|
|
317
|
-
.or(v4_1.z.coerce.string().pipe(v4_1.z.literal(param)));
|
|
300
|
+
schema = (0, schema_js_1.createErrorMessageSchema)(param);
|
|
318
301
|
}
|
|
319
302
|
else if ((0, guards_js_1.isA)(param, RegExp)) {
|
|
320
|
-
schema =
|
|
321
|
-
.looseObject({
|
|
322
|
-
message: v4_1.z.coerce.string().regex(param),
|
|
323
|
-
})
|
|
324
|
-
.or(v4_1.z.coerce.string().regex(param));
|
|
303
|
+
schema = (0, schema_js_1.createErrorMessageRegexSchema)(param);
|
|
325
304
|
}
|
|
326
305
|
else if ((0, guards_js_1.isNonNullObject)(param)) {
|
|
327
306
|
schema = (0, value_to_schema_js_1.valueToSchema)(param, value_to_schema_js_1.valueToSchemaOptionsForSatisfies);
|
|
@@ -364,7 +343,7 @@ exports.promiseRejectWithErrorSatisfyingAssertion = (0, create_js_1.createAsyncA
|
|
|
364
343
|
exports.promiseResolveWithValueSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
365
344
|
schema_js_1.WrappedPromiseLikeSchema,
|
|
366
345
|
['to fulfill with value satisfying', 'to resolve with value satisfying'],
|
|
367
|
-
|
|
346
|
+
schema_js_1.UnknownSchema,
|
|
368
347
|
], async (promise, param) => {
|
|
369
348
|
let value;
|
|
370
349
|
try {
|
|
@@ -372,8 +351,6 @@ exports.promiseResolveWithValueSatisfyingAssertion = (0, create_js_1.createAsync
|
|
|
372
351
|
}
|
|
373
352
|
catch (err) {
|
|
374
353
|
return {
|
|
375
|
-
actual: 'Promise rejected',
|
|
376
|
-
expect: 'Promise to fulfill',
|
|
377
354
|
message: `Expected Promise to fulfill, but it rejected with ${(0, node_util_1.inspect)(err)}`,
|
|
378
355
|
};
|
|
379
356
|
}
|
|
@@ -412,7 +389,7 @@ exports.promiseResolveWithValueSatisfyingAssertion = (0, create_js_1.createAsync
|
|
|
412
389
|
exports.functionFulfillWithValueSatisfyingAssertion = (0, create_js_1.createAsyncAssertion)([
|
|
413
390
|
schema_js_1.FunctionSchema,
|
|
414
391
|
['to fulfill with value satisfying', 'to resolve with value satisfying'],
|
|
415
|
-
|
|
392
|
+
schema_js_1.UnknownSchema,
|
|
416
393
|
], async (subject, param) => {
|
|
417
394
|
let value;
|
|
418
395
|
try {
|
|
@@ -420,8 +397,6 @@ exports.functionFulfillWithValueSatisfyingAssertion = (0, create_js_1.createAsyn
|
|
|
420
397
|
}
|
|
421
398
|
catch (err) {
|
|
422
399
|
return {
|
|
423
|
-
actual: 'function rejected',
|
|
424
|
-
expect: 'function fulfilled',
|
|
425
400
|
message: `Expected function to fulfill, but it rejected with ${(0, node_util_1.inspect)(err)}`,
|
|
426
401
|
};
|
|
427
402
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-parametric.js","sourceRoot":"","sources":["../../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,yCAAoC;
|
|
1
|
+
{"version":3,"file":"async-parametric.js","sourceRoot":"","sources":["../../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,yCAAoC;AAGpC,6CAA0D;AAC1D,+CAAiE;AACjE,+CAOyB;AACzB,iEAGkC;AAClC,4CAAoD;AACpD,2DAAyE;AAEzE;;;;;;;;;;;;;GAaG;AACU,QAAA,wBAAwB,GAAG,IAAA,gCAAoB,EAC1D,CAAC,0BAAc,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,EAC9C,KAAK,EAAE,OAAO,EAAE,EAAE;IAChB,IAAI,CAAC;QACH,MAAM,OAAO,EAAE,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO;YACL,OAAO,EAAE,uDAAuD;SACjE,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACU,QAAA,uBAAuB,GAAG,IAAA,gCAAoB,EACzD,CAAC,oCAAwB,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,EACxD,KAAK,EAAE,OAAO,EAAE,EAAE;IAChB,IAAI,CAAC;QACH,MAAM,OAAO,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO;YACL,OAAO,EAAE,sDAAsD;SAChE,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF;;;;;;;;;;;GAWG;AACU,QAAA,uBAAuB,GAAG,IAAA,gCAAoB,EACzD,CAAC,0BAAc,EAAE,WAAW,CAAC,E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kCAAa,EAAC,KAAK,EAAE,qDAAgC,CAAC,CAAC;IACtE,OAAO;QACL,MAAM;QACN,OAAO,EAAE,KAAK;KACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -11,164 +11,124 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @group Assertion Collections
|
|
13
13
|
*/
|
|
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<{
|
|
14
|
+
export declare const AsyncParametricAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").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").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<{
|
|
16
|
+
} | undefined>, readonly [import("zod/v4").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/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
17
17
|
message: string;
|
|
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>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
18
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
19
19
|
message: string;
|
|
20
|
-
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
20
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
21
21
|
message: string;
|
|
22
|
-
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, 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"], 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
|
-
actual: string;
|
|
24
|
-
expect: string;
|
|
22
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
25
23
|
message: string;
|
|
24
|
+
actual?: never;
|
|
26
25
|
expected?: never;
|
|
27
26
|
} | {
|
|
28
27
|
actual: string;
|
|
29
28
|
expected: string;
|
|
30
29
|
message: string;
|
|
31
|
-
|
|
32
|
-
} | 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"]>, 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"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
33
|
-
actual: string;
|
|
34
|
-
expect: string;
|
|
30
|
+
} | undefined>, readonly [import("zod/v4").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"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
35
31
|
message: string;
|
|
32
|
+
actual?: never;
|
|
36
33
|
expected?: never;
|
|
37
34
|
} | {
|
|
38
35
|
actual: string;
|
|
39
36
|
expected: string;
|
|
40
37
|
message: string;
|
|
41
|
-
|
|
42
|
-
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<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").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying"], import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: any) => Promise<{
|
|
43
|
-
actual: string;
|
|
44
|
-
expect: string;
|
|
38
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
45
39
|
message: string;
|
|
46
40
|
schema?: never;
|
|
47
41
|
subject?: never;
|
|
48
42
|
} | {
|
|
49
|
-
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
43
|
+
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
50
44
|
subject: {} | null;
|
|
51
|
-
actual?: never;
|
|
52
|
-
expect?: never;
|
|
53
45
|
message?: never;
|
|
54
|
-
}>, 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"]>, import("zod").
|
|
55
|
-
actual: string;
|
|
56
|
-
expect: string;
|
|
46
|
+
}>, readonly [import("zod/v4").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"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
57
47
|
message: string;
|
|
58
48
|
schema?: never;
|
|
59
49
|
subject?: never;
|
|
60
50
|
} | {
|
|
61
|
-
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
51
|
+
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
62
52
|
subject: {} | null;
|
|
63
|
-
actual?: never;
|
|
64
|
-
expect?: never;
|
|
65
53
|
message?: never;
|
|
66
|
-
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying"]>, import("zod").
|
|
67
|
-
actual: string;
|
|
68
|
-
expect: string;
|
|
54
|
+
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
69
55
|
message: string;
|
|
70
56
|
schema?: never;
|
|
71
57
|
subject?: never;
|
|
72
58
|
} | {
|
|
73
|
-
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
59
|
+
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
74
60
|
subject: unknown;
|
|
75
|
-
actual?: never;
|
|
76
|
-
expect?: never;
|
|
77
61
|
message?: never;
|
|
78
|
-
}>, 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").
|
|
79
|
-
actual: string;
|
|
80
|
-
expect: string;
|
|
62
|
+
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").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/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
81
63
|
message: string;
|
|
82
64
|
schema?: never;
|
|
83
65
|
subject?: never;
|
|
84
66
|
} | {
|
|
85
|
-
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
67
|
+
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
86
68
|
subject: unknown;
|
|
87
|
-
actual?: never;
|
|
88
|
-
expect?: never;
|
|
89
69
|
message?: never;
|
|
90
|
-
}>, 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").
|
|
70
|
+
}>, readonly [import("zod/v4").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/v4").ZodUnknown]>];
|
|
91
71
|
/**
|
|
92
72
|
* Tuple of all built-in async assertions (Promise only).
|
|
93
73
|
*
|
|
94
74
|
* @group Assertion Collections
|
|
95
75
|
*/
|
|
96
|
-
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<{
|
|
76
|
+
export declare const AsyncAssertions: readonly [import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").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<{
|
|
97
77
|
message: string;
|
|
98
|
-
} | 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<{
|
|
78
|
+
} | undefined>, readonly [import("zod/v4").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/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
99
79
|
message: string;
|
|
100
|
-
} | 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>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
80
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
101
81
|
message: string;
|
|
102
|
-
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
82
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
103
83
|
message: string;
|
|
104
|
-
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, 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"], 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<{
|
|
105
|
-
actual: string;
|
|
106
|
-
expect: string;
|
|
84
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
107
85
|
message: string;
|
|
86
|
+
actual?: never;
|
|
108
87
|
expected?: never;
|
|
109
88
|
} | {
|
|
110
89
|
actual: string;
|
|
111
90
|
expected: string;
|
|
112
91
|
message: string;
|
|
113
|
-
|
|
114
|
-
} | 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"]>, 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"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
115
|
-
actual: string;
|
|
116
|
-
expect: string;
|
|
92
|
+
} | undefined>, readonly [import("zod/v4").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"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
117
93
|
message: string;
|
|
94
|
+
actual?: never;
|
|
118
95
|
expected?: never;
|
|
119
96
|
} | {
|
|
120
97
|
actual: string;
|
|
121
98
|
expected: string;
|
|
122
99
|
message: string;
|
|
123
|
-
|
|
124
|
-
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<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").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying"], import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: any) => Promise<{
|
|
125
|
-
actual: string;
|
|
126
|
-
expect: string;
|
|
100
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
127
101
|
message: string;
|
|
128
102
|
schema?: never;
|
|
129
103
|
subject?: never;
|
|
130
104
|
} | {
|
|
131
|
-
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
105
|
+
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
132
106
|
subject: {} | null;
|
|
133
|
-
actual?: never;
|
|
134
|
-
expect?: never;
|
|
135
107
|
message?: never;
|
|
136
|
-
}>, 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"]>, import("zod").
|
|
137
|
-
actual: string;
|
|
138
|
-
expect: string;
|
|
108
|
+
}>, readonly [import("zod/v4").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"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
139
109
|
message: string;
|
|
140
110
|
schema?: never;
|
|
141
111
|
subject?: never;
|
|
142
112
|
} | {
|
|
143
|
-
schema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
113
|
+
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
144
114
|
subject: {} | null;
|
|
145
|
-
actual?: never;
|
|
146
|
-
expect?: never;
|
|
147
115
|
message?: never;
|
|
148
|
-
}>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying"]>, import("zod").
|
|
149
|
-
actual: string;
|
|
150
|
-
expect: string;
|
|
116
|
+
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
151
117
|
message: string;
|
|
152
118
|
schema?: never;
|
|
153
119
|
subject?: never;
|
|
154
120
|
} | {
|
|
155
|
-
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
121
|
+
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
156
122
|
subject: unknown;
|
|
157
|
-
actual?: never;
|
|
158
|
-
expect?: never;
|
|
159
123
|
message?: never;
|
|
160
|
-
}>, 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").
|
|
161
|
-
actual: string;
|
|
162
|
-
expect: string;
|
|
124
|
+
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").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/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
163
125
|
message: string;
|
|
164
126
|
schema?: never;
|
|
165
127
|
subject?: never;
|
|
166
128
|
} | {
|
|
167
|
-
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
129
|
+
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
168
130
|
subject: unknown;
|
|
169
|
-
actual?: never;
|
|
170
|
-
expect?: never;
|
|
171
131
|
message?: never;
|
|
172
|
-
}>, 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").
|
|
132
|
+
}>, readonly [import("zod/v4").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/v4").ZodUnknown]>];
|
|
173
133
|
export * from './async-parametric.js';
|
|
174
134
|
//# 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;AAeH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/async.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8WAW5B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8WAA0C,CAAC;AAEvE,cAAc,uBAAuB,CAAC"}
|