bupkis 0.10.4 → 0.11.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 +27 -0
- package/dist/commonjs/assertion/impl/async-parametric.d.ts +2 -17
- package/dist/commonjs/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/async-parametric.js +2 -17
- package/dist/commonjs/assertion/impl/async-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/async.d.ts +0 -16
- package/dist/commonjs/assertion/impl/async.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.d.ts +54 -89
- package/dist/commonjs/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.js +122 -181
- package/dist/commonjs/assertion/impl/sync-collection.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.d.ts +130 -15
- package/dist/commonjs/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.js +4 -59
- package/dist/commonjs/assertion/impl/sync-date.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts +2 -6
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.js +2 -4
- package/dist/commonjs/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync.d.ts +297 -108
- package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync.js +5 -1
- package/dist/commonjs/assertion/impl/sync.js.map +1 -1
- package/dist/commonjs/bootstrap.d.ts +146 -62
- package/dist/commonjs/bootstrap.d.ts.map +1 -1
- package/dist/commonjs/diff.d.ts.map +1 -1
- package/dist/commonjs/diff.js +103 -24
- package/dist/commonjs/diff.js.map +1 -1
- package/dist/commonjs/index.d.ts +143 -59
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/schema.d.ts +165 -0
- package/dist/commonjs/schema.d.ts.map +1 -1
- package/dist/commonjs/schema.js +176 -1
- package/dist/commonjs/schema.js.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.d.ts +2 -17
- package/dist/esm/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.js +2 -17
- package/dist/esm/assertion/impl/async-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/async.d.ts +0 -16
- package/dist/esm/assertion/impl/async.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.d.ts +54 -89
- package/dist/esm/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.js +122 -181
- package/dist/esm/assertion/impl/sync-collection.js.map +1 -1
- package/dist/esm/assertion/impl/sync-date.d.ts +130 -15
- package/dist/esm/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-date.js +4 -59
- package/dist/esm/assertion/impl/sync-date.js.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.d.ts +2 -6
- package/dist/esm/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.js +2 -4
- package/dist/esm/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/sync.d.ts +297 -108
- package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync.js +6 -2
- package/dist/esm/assertion/impl/sync.js.map +1 -1
- package/dist/esm/bootstrap.d.ts +146 -62
- package/dist/esm/bootstrap.d.ts.map +1 -1
- package/dist/esm/diff.d.ts.map +1 -1
- package/dist/esm/diff.js +103 -24
- package/dist/esm/diff.js.map +1 -1
- package/dist/esm/index.d.ts +143 -59
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/schema.d.ts +165 -0
- package/dist/esm/schema.d.ts.map +1 -1
- package/dist/esm/schema.js +175 -0
- package/dist/esm/schema.js.map +1 -1
- package/package.json +3 -3
- package/src/assertion/impl/async-parametric.ts +2 -17
- package/src/assertion/impl/sync-collection.ts +135 -191
- package/src/assertion/impl/sync-date.ts +37 -105
- package/src/assertion/impl/sync-parametric.ts +2 -4
- package/src/assertion/impl/sync.ts +5 -2
- package/src/diff.ts +122 -29
- package/src/schema.ts +179 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;
|
|
1
|
+
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAkIH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+WAgBrB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;+tCAOzB,CAAC;AAEX;;;;GAIG;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;wnNAuCtB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2JA8B3B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sVA8B3B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+WAMjB,CAAC;AAIX,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -34,6 +34,11 @@ const sync_collection_js_1 = require("./sync-collection.js");
|
|
|
34
34
|
const sync_date_js_1 = require("./sync-date.js");
|
|
35
35
|
const sync_esoteric_js_1 = require("./sync-esoteric.js");
|
|
36
36
|
const sync_parametric_js_1 = require("./sync-parametric.js");
|
|
37
|
+
/**
|
|
38
|
+
* Tuple of all built-in date-related synchronous assertions.
|
|
39
|
+
*
|
|
40
|
+
* @group Assertion Collections
|
|
41
|
+
*/
|
|
37
42
|
exports.SyncDateAssertions = [
|
|
38
43
|
sync_date_js_1.afterAssertion,
|
|
39
44
|
sync_date_js_1.atLeastAgoAssertion,
|
|
@@ -157,7 +162,6 @@ exports.SyncCollectionAssertions = [
|
|
|
157
162
|
sync_collection_js_1.emptySetAssertion,
|
|
158
163
|
sync_collection_js_1.arrayContainsAssertion,
|
|
159
164
|
sync_collection_js_1.arraySizeAssertion,
|
|
160
|
-
sync_collection_js_1.arrayLengthAssertion,
|
|
161
165
|
sync_collection_js_1.nonEmptyArrayAssertion,
|
|
162
166
|
sync_collection_js_1.objectKeysAssertion,
|
|
163
167
|
sync_collection_js_1.objectSizeAssertion,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../src/assertion/impl/sync.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;AAEH,mDAuCyB;AACzB,
|
|
1
|
+
{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../src/assertion/impl/sync.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;AAEH,mDAuCyB;AACzB,6DA8B8B;AAC9B,iDAgBwB;AACxB,yDAO4B;AAC5B,6DA8B8B;AAE9B;;;;GAIG;AACU,QAAA,kBAAkB,GAAG;IAChC,6BAAc;IACd,kCAAmB;IACnB,sCAAuB;IACvB,8BAAe;IACf,+BAAgB;IAChB,mCAAoB;IACpB,mCAAoB;IACpB,iCAAkB;IAClB,gCAAiB;IACjB,6BAAc;IACd,iCAAkB;IAClB,+BAAgB;IAChB,+BAAgB;IAChB,iCAAkB;IAClB,qCAAsB;CACd,CAAC;AAEX;;;;GAIG;AACU,QAAA,sBAAsB,GAAG;IACpC,yCAAsB;IACtB,kCAAe;IACf,8CAA2B;IAC3B,+CAA4B;IAC5B,kCAAe;IACf,sCAAmB;CACX,CAAC;AAEX;;;;GAIG;AAEU,QAAA,mBAAmB,GAAG;IACjC,8BAAc;IACd,sCAAsB;IACtB,+BAAe;IACf,gCAAgB;IAChB,8BAAc;IACd,6BAAa;IACb,gCAAgB;IAChB,mCAAmB;IACnB,oCAAoB;IACpB,oCAAoB;IACpB,8BAAc;IACd,8BAAc;IACd,8BAAc;IACd,iCAAiB;IACjB,iCAAiB;IACjB,gCAAgB;IAChB,4BAAY;IACZ,iCAAiB;IACjB,yCAAyB;IACzB,wCAAwB;IACxB,uCAAuB;IACvB,6BAAa;IACb,+BAAe;IACf,+BAAe;IACf,iCAAiB;IACjB,yCAAyB;IACzB,wCAAwB;IACxB,kCAAkB;IAClB,+BAAe;IACf,+BAAe;IACf,4BAAY;IACZ,+BAAe;IACf,+BAAe;IACf,6BAAa;IACb,+BAAe;IACf,kCAAkB;IAClB,gCAAgB;IAChB,gCAAgB;CACR,CAAC;AAEX;;;;GAIG;AACU,QAAA,wBAAwB,GAAG;IACtC,wCAAmB;IACnB,oCAAe;IACf,+CAA0B;IAC1B,4CAAuB;IACvB,sDAAiC;IACjC,mDAA8B;IAC9B,+CAA0B;IAC1B,2CAAsB;IACtB,+CAA0B;IAC1B,4CAAuB;IACvB,sDAAiC;IACjC,mDAA8B;IAC9B,8CAAyB;IACzB,4CAAuB;IACvB,mCAAc;IACd,2CAAsB;IACtB,0CAAqB;IACrB,kDAA6B;IAC7B,4CAAuB;IACvB,6CAAwB;IACxB,4CAAuB;IACvB,4CAAuB;IACvB,gDAA2B;IAC3B,sDAAiC;IACjC,0DAAqC;IACrC,4CAAuB;IACvB,2CAAsB;IACtB,6CAAwB;IACxB,4CAAuB;CACf,CAAC;AAEX;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACtC,yCAAoB;IACpB,qCAAgB;IAChB,sCAAiB;IACjB,yCAAoB;IACpB,qCAAgB;IAChB,sCAAiB;IACjB,2CAAsB;IACtB,uCAAkB;IAClB,2CAAsB;IACtB,wCAAmB;IACnB,wCAAmB;IACnB,4CAAuB;IACvB,uCAAkB;IAClB,yCAAoB;IACpB,uCAAkB;IAClB,yCAAoB;IACpB,6CAAwB;IACxB,yCAAoB;IACpB,8CAAyB;IACzB,qDAAgC;IAChC,mDAA8B;IAC9B,4DAAuC;IACvC,oCAAe;IACf,sCAAiB;IACjB,sCAAiB;IACjB,yCAAoB;IACpB,uDAAkC;IAClC,oDAA+B;IAC/B,mDAA8B;CACtB,CAAC;AAEX;;;;GAIG;AACU,QAAA,cAAc,GAAG;IAC5B,GAAG,gCAAwB;IAC3B,GAAG,2BAAmB;IACtB,GAAG,gCAAwB;IAC3B,GAAG,8BAAsB;IACzB,GAAG,0BAAkB;CACb,CAAC;AAEX,gDAAgD;AAChD,sDAAsD;AACtD,kDAAgC;AAChC,uDAAqC;AACrC,iDAA+B;AAC/B,qDAAmC;AACnC,uDAAqC"}
|
|
@@ -15,93 +15,73 @@ declare const
|
|
|
15
15
|
* @function
|
|
16
16
|
* @group Core API
|
|
17
17
|
*/
|
|
18
|
-
expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").
|
|
19
|
-
actual: unknown;
|
|
20
|
-
expected: string;
|
|
21
|
-
message: string;
|
|
22
|
-
}, readonly [import("zod").ZodUnion<[import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, "to have size", import("zod").ZodInt], (subject: Map<unknown, unknown>, expectedSize: number) => true | {
|
|
23
|
-
actual: number;
|
|
24
|
-
expected: number;
|
|
18
|
+
expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, key: unknown) => {
|
|
25
19
|
message: string;
|
|
26
|
-
|
|
20
|
+
actual?: never;
|
|
21
|
+
expected?: never;
|
|
22
|
+
} | {
|
|
27
23
|
actual: unknown;
|
|
28
24
|
expected: string;
|
|
29
25
|
message: string;
|
|
30
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
31
|
-
actual: number;
|
|
32
|
-
expected: number;
|
|
33
|
-
message: string;
|
|
34
|
-
} | undefined, readonly [import("zod").ZodSet<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodSet<import("zod").ZodUnknown>, "to be empty"], (subject: Set<unknown>) => {
|
|
35
|
-
actual: number;
|
|
36
|
-
expected: number;
|
|
26
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", import("zod").ZodInt], (_subject: Map<unknown, unknown>, expectedSize: number) => import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => {
|
|
37
27
|
message: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to have size", import("zod").ZodInt], (subject: any[], expectedSize: number) => true | {
|
|
43
|
-
actual: number;
|
|
44
|
-
expected: number;
|
|
45
|
-
message: string;
|
|
46
|
-
}, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to have length", import("zod").ZodInt], (_: unknown[], expectedLength: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to have length">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], (subject: unknown[]) => {
|
|
47
|
-
actual: string;
|
|
28
|
+
actual?: never;
|
|
29
|
+
expected?: never;
|
|
30
|
+
} | {
|
|
31
|
+
actual: unknown;
|
|
48
32
|
expected: string;
|
|
49
33
|
message: string;
|
|
50
|
-
} | undefined, readonly [import("zod").
|
|
51
|
-
actual: string;
|
|
52
|
-
expected: string;
|
|
34
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have size", import("zod").ZodInt], (_subject: Set<unknown>, expectedSize: number) => import("zod").ZodSet<import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: unknown[], value: unknown) => {
|
|
53
35
|
message: string;
|
|
54
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, import("zod").ZodArray<import("zod").ZodString
|
|
36
|
+
} | undefined, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to have length", "to have size"], import("zod").ZodInt], (_subject: unknown[], expectedSize: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have length", "to have size"]>, import("zod").ZodInt]>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"]>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"], import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>], (_subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keys: (string | number | symbol)[]) => import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"]>, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, "to have size", import("zod").ZodInt], (subject: {
|
|
55
37
|
[x: string]: unknown;
|
|
56
38
|
}, expectedSize: number) => {
|
|
57
39
|
actual: number;
|
|
58
40
|
expected: number;
|
|
59
41
|
message: string;
|
|
60
|
-
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
42
|
+
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
61
43
|
actual: string;
|
|
62
44
|
expect: string;
|
|
63
45
|
message: string;
|
|
64
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").
|
|
46
|
+
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to equal", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (actual: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a subset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (subset: Set<unknown>, superset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to be a subset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a superset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (superset: Set<unknown>, subset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to be a superset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to intersect with", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to intersect with">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be disjoint from", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to be disjoint from">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have union", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have union">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have intersection", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have intersection">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have symmetric difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have symmetric difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have key", import("zod").ZodUnknown], (map: Map<unknown, unknown>, key: unknown) => {
|
|
65
47
|
actual: unknown[];
|
|
66
|
-
expected: unknown;
|
|
48
|
+
expected: unknown[];
|
|
67
49
|
message: string;
|
|
68
|
-
}, readonly [import("zod").
|
|
50
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to have key">, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, readonly ["to have value", "to contain value", "to include value"], import("zod").ZodUnknown], (map: Map<unknown, unknown>, value: unknown) => {
|
|
69
51
|
actual: unknown[];
|
|
70
52
|
expected: unknown;
|
|
71
53
|
message: string;
|
|
72
|
-
}, readonly [import("zod").
|
|
73
|
-
actual: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
74
|
-
expected: string;
|
|
54
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have value", "to contain value", "to include value"]>, import("zod").ZodUnknown]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"], import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>], (map: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, [key, value]: [unknown, unknown]) => {
|
|
75
55
|
message: string;
|
|
56
|
+
actual?: never;
|
|
57
|
+
expected?: never;
|
|
76
58
|
} | {
|
|
77
59
|
actual: unknown[] | undefined;
|
|
78
60
|
expected: unknown[];
|
|
79
61
|
message: string;
|
|
80
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
62
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"]>, import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to equal", import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>], (mapA: Map<unknown, unknown>, mapB: Map<unknown, unknown>) => {
|
|
81
63
|
actual: number;
|
|
82
64
|
expected: number;
|
|
83
65
|
message: string;
|
|
84
66
|
} | {
|
|
85
|
-
actual: string;
|
|
86
|
-
expected: string;
|
|
87
67
|
message: string;
|
|
68
|
+
actual?: never;
|
|
69
|
+
expected?: never;
|
|
88
70
|
} | {
|
|
89
71
|
actual: unknown[];
|
|
90
72
|
expected: unknown[];
|
|
91
73
|
message: string;
|
|
92
|
-
}, readonly [import("zod").
|
|
74
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size greater than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, minSize: number) => {
|
|
93
75
|
actual: number;
|
|
94
|
-
expected:
|
|
76
|
+
expected: number;
|
|
95
77
|
message: string;
|
|
96
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
78
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").PhraseLiteralSlot<"to have size greater than">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size less than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, maxSize: number) => {
|
|
97
79
|
actual: number;
|
|
98
|
-
expected:
|
|
80
|
+
expected: number;
|
|
99
81
|
message: string;
|
|
100
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
101
|
-
actual: number;
|
|
102
|
-
expected: string;
|
|
82
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").PhraseLiteralSlot<"to have size less than">, import("zod").ZodInt]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size between", import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>], (collection: Map<unknown, unknown> | Set<unknown>, [min, max]: [number, number]) => {
|
|
103
83
|
message: string;
|
|
104
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
84
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("./types.js").PhraseLiteralSlot<"to have size between">, import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>]>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be an array", "to be array"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be an array", "to be array"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be an async function"], import("./types.js").AssertionImplSchemaSync<readonly ["to be an async function"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a class", "to be a constructor", "to be constructible"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a class", "to be a constructor", "to be constructible"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a date", "to be a Date"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a date", "to be a Date"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be defined"], import("./types.js").AssertionImplSchemaSync<readonly ["to be defined"]>, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("zod").ZodTuple<[import("zod").ZodUnknown], import("zod").ZodUnknown>, import("zod").ZodObject<{
|
|
105
85
|
length: import("zod").ZodNumber;
|
|
106
86
|
}, import("zod/v4/core").$loose>]>, "to be empty"], (subject: unknown[] | [unknown, ...unknown[]] | {
|
|
107
87
|
[x: string]: unknown;
|
|
@@ -114,7 +94,7 @@ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [im
|
|
|
114
94
|
length: import("zod").ZodNumber;
|
|
115
95
|
}, import("zod/v4/core").$loose>]>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, "to be empty"]>, readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be empty"]>, readonly [import("zod").ZodString, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be an Error", "to be a Error"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be an Error", "to be a Error"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be false"], import("./types.js").AssertionImplSchemaSync<readonly ["to be false"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be falsy"], import("./types.js").AssertionImplSchemaSync<readonly ["to be falsy"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a function"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a function"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be infinite"], import("./types.js").AssertionImplSchemaSync<readonly ["to be infinite"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be NaN"], import("./types.js").AssertionImplSchemaSync<readonly ["to be NaN"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be -Infinity"], import("./types.js").AssertionImplSchemaSync<readonly ["to be -Infinity"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be non-empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be non-empty"]>, readonly [import("zod").ZodString, import("./types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./types.js").AssertionSchemaSync<readonly ["to be null"], import("./types.js").AssertionImplSchemaSync<readonly ["to be null"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a number", "to be finite"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a number", "to be finite"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be an object"], import("./types.js").AssertionImplSchemaSync<readonly ["to be an object"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be Infinity"], import("./types.js").AssertionImplSchemaSync<readonly ["to be Infinity"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a primitive"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a primitive"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a Set"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a Set"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a string"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a string"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be true"], import("./types.js").AssertionImplSchemaSync<readonly ["to be true"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be undefined"], import("./types.js").AssertionImplSchemaSync<readonly ["to be undefined"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a WeakMap"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a WeakMap"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a WeakSet"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a WeakSet"]>, never>, import("./types.js").AssertionFunctionSync<readonly [readonly ["to be an instance of", "to be a", "to be an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (_: unknown, ctor: import("./types.js").Constructor) => import("zod").ZodCustom<any, any>, readonly [import("zod").ZodUnknown, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be an instance of", "to be a", "to be an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodAny, readonly ["to be a", "to be an", "to have type"], import("zod").ZodEnum<{
|
|
116
96
|
[x: string]: string;
|
|
117
|
-
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").
|
|
97
|
+
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").ZodSymbol | import("zod").ZodArray<import("zod").ZodAny> | import("zod").ZodBigInt | import("zod").ZodBoolean | import("zod").ZodDate | import("zod").ZodCustom<Error, Error> | import("zod").ZodNull | import("zod").ZodUndefined | import("zod").ZodCustom<RegExp, RegExp> | import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut> | import("zod").ZodObject<{}, import("zod/v4/core").$loose> | import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | import("zod").ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>, readonly [import("zod").ZodAny, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an", "to have type"]>, import("zod").ZodEnum<{
|
|
118
98
|
[x: string]: string;
|
|
119
99
|
}>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, "to be greater than", import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./types.js").PhraseLiteralSlot<"to be greater than">, import("zod").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than", "to be lt"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be less than", "to be lt"]>, import("zod").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be greater than or equal to", "to be at least", "to be gte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be greater than or equal to", "to be at least", "to be gte"]>, import("zod").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than or equal to", "to be at most", "to be lte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be less than or equal to", "to be at most", "to be lte"]>, import("zod").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be within", "to be between"], import("zod").ZodNumber, import("zod").ZodNumber], (subject: number, min: number, max: number) => {
|
|
120
100
|
actual: number;
|
|
@@ -150,7 +130,7 @@ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [im
|
|
|
150
130
|
message: string;
|
|
151
131
|
} | undefined, readonly [import("zod").ZodString, import("./types.js").PhraseLiteralSlot<"to end with">, import("zod").ZodString]>, import("./types.js").AssertionFunctionSync<readonly ["to be one of", import("zod").ZodArray<import("zod").ZodAny>], (subject: unknown, values: any[]) => {
|
|
152
132
|
actual: unknown;
|
|
153
|
-
expected:
|
|
133
|
+
expected: any[];
|
|
154
134
|
message: string;
|
|
155
135
|
} | undefined, readonly [import("zod").ZodUnknown, import("./types.js").PhraseLiteralSlot<"to be one of">, import("zod").ZodArray<import("zod").ZodAny>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, "to have arity", import("zod").ZodInt], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, expectedArity: number) => {
|
|
156
136
|
actual: number;
|
|
@@ -185,16 +165,12 @@ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [im
|
|
|
185
165
|
expected: string;
|
|
186
166
|
message: string;
|
|
187
167
|
} | undefined, readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to throw an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw", "to throw error satisfying"], import("zod").ZodAny], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, param: any) => {
|
|
188
|
-
actual: unknown;
|
|
189
|
-
expected: string;
|
|
190
168
|
message: string;
|
|
191
169
|
schema?: never;
|
|
192
170
|
subject?: never;
|
|
193
171
|
} | {
|
|
194
172
|
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
195
173
|
subject: {} | null;
|
|
196
|
-
actual?: never;
|
|
197
|
-
expected?: never;
|
|
198
174
|
message?: never;
|
|
199
175
|
}, readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to throw", "to throw error satisfying"]>, import("zod").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw a", "to throw an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>, "satisfying", import("zod").ZodAny], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("./types.js").Constructor, param: any) => {
|
|
200
176
|
actual: unknown;
|
|
@@ -229,7 +205,123 @@ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [im
|
|
|
229
205
|
actual: boolean;
|
|
230
206
|
expected: boolean;
|
|
231
207
|
message: string;
|
|
232
|
-
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, import("./types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod").ZodNonOptional<import("zod").ZodUnknown>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, "to have enumerable property", import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_subject: unknown, key: string | number | symbol) => import("zod").ZodCustom<unknown, unknown>, readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to have enumerable property">, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("./types.js").AssertionSchemaSync<readonly ["to be sealed"], import("./types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be extensible"], import("./types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"ago">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"from now">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => import("./types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("./types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, never>, import("./types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("./types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => import("./types.js").AssertionFailure | boolean, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("./types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => import("./types.js").AssertionFailure | boolean, never>, import("./types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => import("./types.js").AssertionFailure | boolean, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"ago">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("./types.js").AssertionFailure | import("./types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"from now">]>]>,
|
|
208
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, import("./types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod").ZodNonOptional<import("zod").ZodUnknown>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, "to have enumerable property", import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_subject: unknown, key: string | number | symbol) => import("zod").ZodCustom<unknown, unknown>, readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to have enumerable property">, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("./types.js").AssertionSchemaSync<readonly ["to be sealed"], import("./types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be extensible"], import("./types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
209
|
+
message: string;
|
|
210
|
+
schema?: never;
|
|
211
|
+
subject?: never;
|
|
212
|
+
} | {
|
|
213
|
+
schema: import("zod").ZodDate;
|
|
214
|
+
subject: Date;
|
|
215
|
+
message?: never;
|
|
216
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
217
|
+
message: string;
|
|
218
|
+
schema?: never;
|
|
219
|
+
subject?: never;
|
|
220
|
+
} | {
|
|
221
|
+
schema: import("zod").ZodDate;
|
|
222
|
+
subject: Date;
|
|
223
|
+
message?: never;
|
|
224
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"ago">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
225
|
+
message: string;
|
|
226
|
+
schema?: never;
|
|
227
|
+
subject?: never;
|
|
228
|
+
} | {
|
|
229
|
+
schema: import("zod").ZodDate;
|
|
230
|
+
subject: Date;
|
|
231
|
+
message?: never;
|
|
232
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"from now">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
233
|
+
message: string;
|
|
234
|
+
schema?: never;
|
|
235
|
+
subject?: never;
|
|
236
|
+
} | {
|
|
237
|
+
schema: import("zod").ZodDate;
|
|
238
|
+
subject: Date;
|
|
239
|
+
message?: never;
|
|
240
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => {
|
|
241
|
+
message: string;
|
|
242
|
+
schema?: never;
|
|
243
|
+
subject?: never;
|
|
244
|
+
} | {
|
|
245
|
+
schema: import("zod").ZodDate;
|
|
246
|
+
subject: Date;
|
|
247
|
+
message?: never;
|
|
248
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => {
|
|
249
|
+
message: string;
|
|
250
|
+
actual?: never;
|
|
251
|
+
expected?: never;
|
|
252
|
+
} | {
|
|
253
|
+
actual: {
|
|
254
|
+
difference: number;
|
|
255
|
+
};
|
|
256
|
+
expected: {
|
|
257
|
+
maxDifference: number;
|
|
258
|
+
};
|
|
259
|
+
message: string;
|
|
260
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("./types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => {
|
|
261
|
+
message: string;
|
|
262
|
+
schema?: never;
|
|
263
|
+
subject?: never;
|
|
264
|
+
} | {
|
|
265
|
+
schema: import("zod").ZodDate;
|
|
266
|
+
subject: Date;
|
|
267
|
+
message?: never;
|
|
268
|
+
}, never>, import("./types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => {
|
|
269
|
+
message: string;
|
|
270
|
+
schema?: never;
|
|
271
|
+
subject?: never;
|
|
272
|
+
} | {
|
|
273
|
+
schema: import("zod").ZodDate;
|
|
274
|
+
subject: Date;
|
|
275
|
+
message?: never;
|
|
276
|
+
}, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
277
|
+
message: string;
|
|
278
|
+
actual?: never;
|
|
279
|
+
expected?: never;
|
|
280
|
+
} | {
|
|
281
|
+
actual: string;
|
|
282
|
+
expected: string;
|
|
283
|
+
message: string;
|
|
284
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("./types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => {
|
|
285
|
+
message: string;
|
|
286
|
+
actual?: never;
|
|
287
|
+
expected?: never;
|
|
288
|
+
} | {
|
|
289
|
+
actual: string;
|
|
290
|
+
expected: string;
|
|
291
|
+
message: string;
|
|
292
|
+
} | undefined, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("./types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => {
|
|
293
|
+
message: string;
|
|
294
|
+
actual?: never;
|
|
295
|
+
expected?: never;
|
|
296
|
+
} | {
|
|
297
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
298
|
+
expected: string;
|
|
299
|
+
message: string;
|
|
300
|
+
} | undefined, never>, import("./types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => {
|
|
301
|
+
message: string;
|
|
302
|
+
actual?: never;
|
|
303
|
+
expected?: never;
|
|
304
|
+
} | {
|
|
305
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
306
|
+
expected: string;
|
|
307
|
+
message: string;
|
|
308
|
+
} | undefined, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
309
|
+
message: string;
|
|
310
|
+
schema?: never;
|
|
311
|
+
subject?: never;
|
|
312
|
+
} | {
|
|
313
|
+
schema: import("zod").ZodDate;
|
|
314
|
+
subject: Date;
|
|
315
|
+
message?: never;
|
|
316
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"ago">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
317
|
+
message: string;
|
|
318
|
+
schema?: never;
|
|
319
|
+
subject?: never;
|
|
320
|
+
} | {
|
|
321
|
+
schema: import("zod").ZodDate;
|
|
322
|
+
subject: Date;
|
|
323
|
+
message?: never;
|
|
324
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("./types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("./types.js").PhraseLiteralSlot<"from now">]>]>,
|
|
233
325
|
/**
|
|
234
326
|
* The main asynchronous assertion function which can execute only built-in
|
|
235
327
|
* assertions.
|
|
@@ -238,20 +330,12 @@ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [im
|
|
|
238
330
|
* @group Core API
|
|
239
331
|
*/
|
|
240
332
|
expectAsync: ExpectAsync<readonly [import("./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<{
|
|
241
|
-
actual: string;
|
|
242
|
-
expected: string;
|
|
243
333
|
message: string;
|
|
244
334
|
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
245
|
-
actual: string;
|
|
246
|
-
expected: string;
|
|
247
335
|
message: string;
|
|
248
336
|
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./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<{
|
|
249
|
-
actual: string;
|
|
250
|
-
expected: string;
|
|
251
337
|
message: string;
|
|
252
338
|
} | undefined>, readonly [import("zod").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralSlot<"to reject">]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
253
|
-
actual: string;
|
|
254
|
-
expected: string;
|
|
255
339
|
message: string;
|
|
256
340
|
} | undefined>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralSlot<"to reject">]>, import("./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<{
|
|
257
341
|
actual: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAyB3D,QAAA;AACE;;;;;;GAMG;AACH,MAAM
|
|
1
|
+
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAyB3D,QAAA;AACE;;;;;;GAMG;AACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACN;;;;;;GAMG;AACH,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kVACN,CAAC;AAER,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../src/diff.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAGhC,YAAY,EAAE,WAAW,EAAE,CAAC;AAO5B;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,MAAM,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,CAAC,CAAC,QAAQ,EACpB,SAAS,OAAO,KACf,
|
|
1
|
+
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../src/diff.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAGhC,YAAY,EAAE,WAAW,EAAE,CAAC;AAO5B;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,MAAM,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,CAAC,CAAC,QAAQ,EACpB,SAAS,OAAO,KACf,UAiKF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,OAAO,EACjB,QAAQ,OAAO,EACf,UAAS,WAAgB,KACxB,IAAI,GAAG,MAYT,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,OAAO,EACf,UAAU,OAAO,KAChB,OACoE,CAAC"}
|