@rspack/core 1.3.15 → 1.4.0-beta.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/compiled/@swc/types/index.d.ts +18 -2
- package/compiled/@swc/types/package.json +1 -1
- package/compiled/tinypool/README.md +4 -196
- package/compiled/tinypool/dist/common-Qw-RoVFD.js +28 -0
- package/compiled/tinypool/dist/entry/process.d.ts +1 -2
- package/compiled/tinypool/dist/entry/process.js +63 -83
- package/compiled/tinypool/dist/entry/utils.d.ts +3 -1
- package/compiled/tinypool/dist/entry/utils.js +3 -9
- package/compiled/tinypool/dist/entry/worker.d.ts +1 -2
- package/compiled/tinypool/dist/entry/worker.js +66 -94
- package/compiled/tinypool/dist/index.d.ts +132 -125
- package/compiled/tinypool/dist/index.js +771 -1035
- package/compiled/tinypool/dist/utils-B--2TaWv.js +38 -0
- package/compiled/tinypool/dist/utils-De75vAgL.js +10 -0
- package/compiled/tinypool/package.json +6 -22
- package/compiled/zod/dist/types/v4/classic/schemas.d.ts +19 -14
- package/compiled/zod/dist/types/v4/core/api.d.ts +5 -4
- package/compiled/zod/dist/types/v4/core/checks.d.ts +1 -1
- package/compiled/zod/dist/types/v4/core/core.d.ts +1 -1
- package/compiled/zod/dist/types/v4/core/registries.d.ts +3 -1
- package/compiled/zod/dist/types/v4/core/schemas.d.ts +33 -39
- package/compiled/zod/dist/types/v4/core/to-json-schema.d.ts +2 -2
- package/compiled/zod/dist/types/v4/core/util.d.ts +1 -1
- package/compiled/zod/dist/types/v4/locales/index.d.ts +1 -0
- package/compiled/zod/dist/types/v4/locales/ps.d.ts +4 -0
- package/compiled/zod/dist/types/v4/mini/schemas.d.ts +77 -125
- package/compiled/zod/index.js +33 -33
- package/compiled/zod/package.json +1 -1
- package/dist/BuildInfo.d.ts +17 -0
- package/dist/FileSystem.d.ts +26 -3
- package/dist/Module.d.ts +1 -13
- package/dist/builtin-loader/swc/types.d.ts +255 -255
- package/dist/config/devServer.d.ts +10 -10
- package/dist/config/normalization.d.ts +1 -0
- package/dist/config/types.d.ts +10 -1
- package/dist/config/utils.d.ts +1 -0
- package/dist/config/zod.d.ts +1638 -1068
- package/dist/cssExtractLoader.js +5 -5
- package/dist/exports.d.ts +2 -1
- package/dist/index.js +544 -470
- package/dist/loader-runner/index.d.ts +0 -9
- package/dist/trace/index.d.ts +16 -18
- package/dist/worker.js +2 -2
- package/module.d.ts +1 -1
- package/package.json +8 -8
- package/compiled/tinypool/dist/chunk-6LX4VMOV.js +0 -31
- package/compiled/tinypool/dist/chunk-ACQHDOFQ.js +0 -12
- package/compiled/tinypool/dist/chunk-E2J7JLFN.js +0 -53
- package/compiled/tinypool/dist/chunk-UBWFVGJX.js +0 -38
@@ -14,122 +14,106 @@ export interface ZodMiniType<out Output = unknown, out Input = unknown, out Inte
|
|
14
14
|
parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
|
15
15
|
safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<util.SafeParseResult<core.output<this>>>;
|
16
16
|
}
|
17
|
-
interface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodMiniType<
|
17
|
+
interface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodMiniType<any, any, Internals> {
|
18
18
|
}
|
19
19
|
export declare const ZodMiniType: core.$constructor<ZodMiniType>;
|
20
|
-
export interface
|
20
|
+
export interface _ZodMiniString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodMiniType<T>, core.$ZodString<T["input"]> {
|
21
|
+
_zod: T;
|
22
|
+
}
|
23
|
+
export interface ZodMiniString<Input = unknown> extends _ZodMiniString<core.$ZodStringInternals<Input>>, core.$ZodString<Input> {
|
21
24
|
}
|
22
25
|
export declare const ZodMiniString: core.$constructor<ZodMiniString>;
|
23
26
|
export declare function string(params?: string | core.$ZodStringParams): ZodMiniString<string>;
|
24
|
-
export interface ZodMiniStringFormat<Format extends core.$ZodStringFormats = core.$ZodStringFormats> extends
|
25
|
-
_zod: core.$ZodStringFormatInternals<Format>;
|
27
|
+
export interface ZodMiniStringFormat<Format extends core.$ZodStringFormats = core.$ZodStringFormats> extends _ZodMiniString<core.$ZodStringFormatInternals<Format>>, core.$ZodStringFormat<Format> {
|
26
28
|
}
|
27
29
|
export declare const ZodMiniStringFormat: core.$constructor<ZodMiniStringFormat>;
|
28
|
-
export interface ZodMiniEmail extends
|
29
|
-
_zod: core.$ZodEmailInternals;
|
30
|
+
export interface ZodMiniEmail extends _ZodMiniString<core.$ZodEmailInternals> {
|
30
31
|
}
|
31
32
|
export declare const ZodMiniEmail: core.$constructor<ZodMiniEmail>;
|
32
33
|
export declare function email(params?: string | core.$ZodEmailParams): ZodMiniEmail;
|
33
|
-
export interface ZodMiniGUID extends
|
34
|
-
_zod: core.$ZodGUIDInternals;
|
34
|
+
export interface ZodMiniGUID extends _ZodMiniString<core.$ZodGUIDInternals> {
|
35
35
|
}
|
36
36
|
export declare const ZodMiniGUID: core.$constructor<ZodMiniGUID>;
|
37
37
|
export declare function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID;
|
38
|
-
export interface ZodMiniUUID extends
|
39
|
-
_zod: core.$ZodUUIDInternals;
|
38
|
+
export interface ZodMiniUUID extends _ZodMiniString<core.$ZodUUIDInternals> {
|
40
39
|
}
|
41
40
|
export declare const ZodMiniUUID: core.$constructor<ZodMiniUUID>;
|
42
41
|
export declare function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID;
|
43
42
|
export declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID;
|
44
43
|
export declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID;
|
45
44
|
export declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID;
|
46
|
-
export interface ZodMiniURL extends
|
47
|
-
_zod: core.$ZodURLInternals;
|
45
|
+
export interface ZodMiniURL extends _ZodMiniString<core.$ZodURLInternals> {
|
48
46
|
}
|
49
47
|
export declare const ZodMiniURL: core.$constructor<ZodMiniURL>;
|
50
48
|
export declare function url(params?: string | core.$ZodURLParams): ZodMiniURL;
|
51
|
-
export interface ZodMiniEmoji extends
|
52
|
-
_zod: core.$ZodEmojiInternals;
|
49
|
+
export interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {
|
53
50
|
}
|
54
51
|
export declare const ZodMiniEmoji: core.$constructor<ZodMiniEmoji>;
|
55
52
|
export declare function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji;
|
56
|
-
export interface ZodMiniNanoID extends
|
57
|
-
_zod: core.$ZodNanoIDInternals;
|
53
|
+
export interface ZodMiniNanoID extends _ZodMiniString<core.$ZodNanoIDInternals> {
|
58
54
|
}
|
59
55
|
export declare const ZodMiniNanoID: core.$constructor<ZodMiniNanoID>;
|
60
56
|
export declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID;
|
61
|
-
export interface ZodMiniCUID extends
|
62
|
-
_zod: core.$ZodCUIDInternals;
|
57
|
+
export interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {
|
63
58
|
}
|
64
59
|
export declare const ZodMiniCUID: core.$constructor<ZodMiniCUID>;
|
65
60
|
export declare function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID;
|
66
|
-
export interface ZodMiniCUID2 extends
|
67
|
-
_zod: core.$ZodCUID2Internals;
|
61
|
+
export interface ZodMiniCUID2 extends _ZodMiniString<core.$ZodCUID2Internals> {
|
68
62
|
}
|
69
63
|
export declare const ZodMiniCUID2: core.$constructor<ZodMiniCUID2>;
|
70
64
|
export declare function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2;
|
71
|
-
export interface ZodMiniULID extends
|
72
|
-
_zod: core.$ZodULIDInternals;
|
65
|
+
export interface ZodMiniULID extends _ZodMiniString<core.$ZodULIDInternals> {
|
73
66
|
}
|
74
67
|
export declare const ZodMiniULID: core.$constructor<ZodMiniULID>;
|
75
68
|
export declare function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID;
|
76
|
-
export interface ZodMiniXID extends
|
77
|
-
_zod: core.$ZodXIDInternals;
|
69
|
+
export interface ZodMiniXID extends _ZodMiniString<core.$ZodXIDInternals> {
|
78
70
|
}
|
79
71
|
export declare const ZodMiniXID: core.$constructor<ZodMiniXID>;
|
80
72
|
export declare function xid(params?: string | core.$ZodXIDParams): ZodMiniXID;
|
81
|
-
export interface ZodMiniKSUID extends
|
82
|
-
_zod: core.$ZodKSUIDInternals;
|
73
|
+
export interface ZodMiniKSUID extends _ZodMiniString<core.$ZodKSUIDInternals> {
|
83
74
|
}
|
84
75
|
export declare const ZodMiniKSUID: core.$constructor<ZodMiniKSUID>;
|
85
76
|
export declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID;
|
86
|
-
export interface ZodMiniIPv4 extends
|
87
|
-
_zod: core.$ZodIPv4Internals;
|
77
|
+
export interface ZodMiniIPv4 extends _ZodMiniString<core.$ZodIPv4Internals> {
|
88
78
|
}
|
89
79
|
export declare const ZodMiniIPv4: core.$constructor<ZodMiniIPv4>;
|
90
80
|
export declare function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4;
|
91
|
-
export interface ZodMiniIPv6 extends
|
92
|
-
_zod: core.$ZodIPv6Internals;
|
81
|
+
export interface ZodMiniIPv6 extends _ZodMiniString<core.$ZodIPv6Internals> {
|
93
82
|
}
|
94
83
|
export declare const ZodMiniIPv6: core.$constructor<ZodMiniIPv6>;
|
95
84
|
export declare function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6;
|
96
|
-
export interface ZodMiniCIDRv4 extends
|
97
|
-
_zod: core.$ZodCIDRv4Internals;
|
85
|
+
export interface ZodMiniCIDRv4 extends _ZodMiniString<core.$ZodCIDRv4Internals> {
|
98
86
|
}
|
99
87
|
export declare const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4>;
|
100
88
|
export declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4;
|
101
|
-
export interface ZodMiniCIDRv6 extends
|
102
|
-
_zod: core.$ZodCIDRv6Internals;
|
89
|
+
export interface ZodMiniCIDRv6 extends _ZodMiniString<core.$ZodCIDRv6Internals> {
|
103
90
|
}
|
104
91
|
export declare const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6>;
|
105
92
|
export declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6;
|
106
|
-
export interface ZodMiniBase64 extends
|
107
|
-
_zod: core.$ZodBase64Internals;
|
93
|
+
export interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {
|
108
94
|
}
|
109
95
|
export declare const ZodMiniBase64: core.$constructor<ZodMiniBase64>;
|
110
96
|
export declare function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64;
|
111
|
-
export interface ZodMiniBase64URL extends
|
112
|
-
_zod: core.$ZodBase64URLInternals;
|
97
|
+
export interface ZodMiniBase64URL extends _ZodMiniString<core.$ZodBase64URLInternals> {
|
113
98
|
}
|
114
99
|
export declare const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL>;
|
115
100
|
export declare function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL;
|
116
|
-
export interface ZodMiniE164 extends
|
117
|
-
_zod: core.$ZodE164Internals;
|
101
|
+
export interface ZodMiniE164 extends _ZodMiniString<core.$ZodE164Internals> {
|
118
102
|
}
|
119
103
|
export declare const ZodMiniE164: core.$constructor<ZodMiniE164>;
|
120
104
|
export declare function e164(params?: string | core.$ZodE164Params): ZodMiniE164;
|
121
|
-
export interface ZodMiniJWT extends
|
122
|
-
_zod: core.$ZodJWTInternals;
|
105
|
+
export interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {
|
123
106
|
}
|
124
107
|
export declare const ZodMiniJWT: core.$constructor<ZodMiniJWT>;
|
125
108
|
export declare function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT;
|
126
|
-
|
127
|
-
_zod:
|
109
|
+
interface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>> extends _ZodMiniType<T>, core.$ZodNumber<T["input"]> {
|
110
|
+
_zod: T;
|
111
|
+
}
|
112
|
+
export interface ZodMiniNumber<Input = unknown> extends _ZodMiniNumber<core.$ZodNumberInternals<Input>>, core.$ZodNumber<Input> {
|
128
113
|
}
|
129
114
|
export declare const ZodMiniNumber: core.$constructor<ZodMiniNumber>;
|
130
115
|
export declare function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number>;
|
131
|
-
export interface ZodMiniNumberFormat extends
|
132
|
-
_zod: core.$ZodNumberFormatInternals;
|
116
|
+
export interface ZodMiniNumberFormat extends _ZodMiniNumber<core.$ZodNumberFormatInternals>, core.$ZodNumberFormat {
|
133
117
|
}
|
134
118
|
export declare const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat>;
|
135
119
|
export declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat;
|
@@ -137,62 +121,51 @@ export declare function float32(params?: string | core.$ZodCheckNumberFormatPara
|
|
137
121
|
export declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat;
|
138
122
|
export declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat;
|
139
123
|
export declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat;
|
140
|
-
export interface ZodMiniBoolean<T = unknown> extends
|
141
|
-
_zod: core.$ZodBooleanInternals<T>;
|
124
|
+
export interface ZodMiniBoolean<T = unknown> extends _ZodMiniType<core.$ZodBooleanInternals<T>> {
|
142
125
|
}
|
143
126
|
export declare const ZodMiniBoolean: core.$constructor<ZodMiniBoolean>;
|
144
127
|
export declare function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean>;
|
145
|
-
export interface ZodMiniBigInt<T = unknown> extends
|
146
|
-
_zod: core.$ZodBigIntInternals<T>;
|
128
|
+
export interface ZodMiniBigInt<T = unknown> extends _ZodMiniType<core.$ZodBigIntInternals<T>>, core.$ZodBigInt<T> {
|
147
129
|
}
|
148
130
|
export declare const ZodMiniBigInt: core.$constructor<ZodMiniBigInt>;
|
149
131
|
export declare function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint>;
|
150
|
-
export interface ZodMiniBigIntFormat extends
|
151
|
-
_zod: core.$ZodBigIntFormatInternals;
|
132
|
+
export interface ZodMiniBigIntFormat extends _ZodMiniType<core.$ZodBigIntFormatInternals> {
|
152
133
|
}
|
153
134
|
export declare const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat>;
|
154
135
|
export declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat;
|
155
136
|
export declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat;
|
156
|
-
export interface ZodMiniSymbol extends
|
157
|
-
_zod: core.$ZodSymbolInternals;
|
137
|
+
export interface ZodMiniSymbol extends _ZodMiniType<core.$ZodSymbolInternals> {
|
158
138
|
}
|
159
139
|
export declare const ZodMiniSymbol: core.$constructor<ZodMiniSymbol>;
|
160
140
|
export declare function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol;
|
161
|
-
export interface ZodMiniUndefined extends
|
162
|
-
_zod: core.$ZodUndefinedInternals;
|
141
|
+
export interface ZodMiniUndefined extends _ZodMiniType<core.$ZodUndefinedInternals> {
|
163
142
|
}
|
164
143
|
export declare const ZodMiniUndefined: core.$constructor<ZodMiniUndefined>;
|
165
144
|
declare function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined;
|
166
145
|
export { _undefined as undefined };
|
167
|
-
export interface ZodMiniNull extends
|
168
|
-
_zod: core.$ZodNullInternals;
|
146
|
+
export interface ZodMiniNull extends _ZodMiniType<core.$ZodNullInternals> {
|
169
147
|
}
|
170
148
|
export declare const ZodMiniNull: core.$constructor<ZodMiniNull>;
|
171
149
|
declare function _null(params?: string | core.$ZodNullParams): ZodMiniNull;
|
172
150
|
export { _null as null };
|
173
|
-
export interface ZodMiniAny extends
|
174
|
-
_zod: core.$ZodAnyInternals;
|
151
|
+
export interface ZodMiniAny extends _ZodMiniType<core.$ZodAnyInternals> {
|
175
152
|
}
|
176
153
|
export declare const ZodMiniAny: core.$constructor<ZodMiniAny>;
|
177
154
|
export declare function any(): ZodMiniAny;
|
178
|
-
export interface ZodMiniUnknown extends
|
179
|
-
_zod: core.$ZodUnknownInternals;
|
155
|
+
export interface ZodMiniUnknown extends _ZodMiniType<core.$ZodUnknownInternals> {
|
180
156
|
}
|
181
157
|
export declare const ZodMiniUnknown: core.$constructor<ZodMiniUnknown>;
|
182
158
|
export declare function unknown(): ZodMiniUnknown;
|
183
|
-
export interface ZodMiniNever extends
|
184
|
-
_zod: core.$ZodNeverInternals;
|
159
|
+
export interface ZodMiniNever extends _ZodMiniType<core.$ZodNeverInternals> {
|
185
160
|
}
|
186
161
|
export declare const ZodMiniNever: core.$constructor<ZodMiniNever>;
|
187
162
|
export declare function never(params?: string | core.$ZodNeverParams): ZodMiniNever;
|
188
|
-
export interface ZodMiniVoid extends
|
189
|
-
_zod: core.$ZodVoidInternals;
|
163
|
+
export interface ZodMiniVoid extends _ZodMiniType<core.$ZodVoidInternals> {
|
190
164
|
}
|
191
165
|
export declare const ZodMiniVoid: core.$constructor<ZodMiniVoid>;
|
192
166
|
declare function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid;
|
193
167
|
export { _void as void };
|
194
|
-
export interface ZodMiniDate<T = unknown> extends
|
195
|
-
_zod: core.$ZodDateInternals<T>;
|
168
|
+
export interface ZodMiniDate<T = unknown> extends _ZodMiniType<core.$ZodDateInternals<T>> {
|
196
169
|
}
|
197
170
|
export declare const ZodMiniDate: core.$constructor<ZodMiniDate>;
|
198
171
|
export declare function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date>;
|
@@ -232,8 +205,7 @@ export declare function required<T extends ZodMiniObject>(schema: T): ZodMiniObj
|
|
232
205
|
export declare function required<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(schema: T, mask: M): ZodMiniObject<util.Extend<T["shape"], {
|
233
206
|
[k in keyof M & keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
|
234
207
|
}>, T["_zod"]["config"]>;
|
235
|
-
export interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]> extends
|
236
|
-
_zod: core.$ZodUnionInternals<T>;
|
208
|
+
export interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]> extends _ZodMiniType<core.$ZodUnionInternals<T>> {
|
237
209
|
}
|
238
210
|
export declare const ZodMiniUnion: core.$constructor<ZodMiniUnion>;
|
239
211
|
export declare function union<const T extends readonly SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodMiniUnion<T>;
|
@@ -242,36 +214,30 @@ export interface ZodMiniDiscriminatedUnion<Options extends readonly SomeType[] =
|
|
242
214
|
}
|
243
215
|
export declare const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion>;
|
244
216
|
export declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]]>(discriminator: string, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodMiniDiscriminatedUnion<Types>;
|
245
|
-
export interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends
|
246
|
-
_zod: core.$ZodIntersectionInternals<A, B>;
|
217
|
+
export interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodIntersectionInternals<A, B>> {
|
247
218
|
}
|
248
219
|
export declare const ZodMiniIntersection: core.$constructor<ZodMiniIntersection>;
|
249
220
|
export declare function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U>;
|
250
|
-
export interface ZodMiniTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends SomeType | null = core.$ZodType | null> extends
|
251
|
-
_zod: core.$ZodTupleInternals<T, Rest>;
|
221
|
+
export interface ZodMiniTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends SomeType | null = core.$ZodType | null> extends _ZodMiniType<core.$ZodTupleInternals<T, Rest>> {
|
252
222
|
}
|
253
223
|
export declare const ZodMiniTuple: core.$constructor<ZodMiniTuple>;
|
254
224
|
export declare function tuple<const T extends readonly [SomeType, ...SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, null>;
|
255
225
|
export declare function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, Rest>;
|
256
226
|
export declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;
|
257
|
-
export interface ZodMiniRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends SomeType = core.$ZodType> extends
|
258
|
-
_zod: core.$ZodRecordInternals<Key, Value>;
|
227
|
+
export interface ZodMiniRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodRecordInternals<Key, Value>> {
|
259
228
|
}
|
260
229
|
export declare const ZodMiniRecord: core.$constructor<ZodMiniRecord>;
|
261
230
|
export declare function record<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key, Value>;
|
262
231
|
export declare function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<ZodMiniUnion<[Key, ZodMiniNever]>, Value>;
|
263
|
-
export interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType> extends
|
264
|
-
_zod: core.$ZodMapInternals<Key, Value>;
|
232
|
+
export interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {
|
265
233
|
}
|
266
234
|
export declare const ZodMiniMap: core.$constructor<ZodMiniMap>;
|
267
235
|
export declare function map<Key extends SomeType, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMiniMap<Key, Value>;
|
268
|
-
export interface ZodMiniSet<T extends SomeType = core.$ZodType> extends
|
269
|
-
_zod: core.$ZodSetInternals<T>;
|
236
|
+
export interface ZodMiniSet<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSetInternals<T>> {
|
270
237
|
}
|
271
238
|
export declare const ZodMiniSet: core.$constructor<ZodMiniSet>;
|
272
239
|
export declare function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value>;
|
273
|
-
export interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends
|
274
|
-
_zod: core.$ZodEnumInternals<T>;
|
240
|
+
export interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {
|
275
241
|
}
|
276
242
|
export declare const ZodMiniEnum: core.$constructor<ZodMiniEnum>;
|
277
243
|
declare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<util.ToEnum<T[number]>>;
|
@@ -285,92 +251,75 @@ export { _enum as enum };
|
|
285
251
|
* ```
|
286
252
|
*/
|
287
253
|
export declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;
|
288
|
-
export interface ZodMiniLiteral<T extends util.Primitive = util.Primitive> extends
|
289
|
-
_zod: core.$ZodLiteralInternals<T>;
|
254
|
+
export interface ZodMiniLiteral<T extends util.Primitive = util.Primitive> extends _ZodMiniType<core.$ZodLiteralInternals<T>> {
|
290
255
|
}
|
291
256
|
export declare const ZodMiniLiteral: core.$constructor<ZodMiniLiteral>;
|
292
|
-
export declare function literal<const T extends
|
257
|
+
export declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T[number]>;
|
293
258
|
export declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T>;
|
294
|
-
export interface ZodMiniFile extends
|
295
|
-
_zod: core.$ZodFileInternals;
|
259
|
+
export interface ZodMiniFile extends _ZodMiniType<core.$ZodFileInternals> {
|
296
260
|
}
|
297
261
|
export declare const ZodMiniFile: core.$constructor<ZodMiniFile>;
|
298
262
|
export declare function file(params?: string | core.$ZodFileParams): ZodMiniFile;
|
299
|
-
export interface ZodMiniTransform<O = unknown, I = unknown> extends
|
300
|
-
_zod: core.$ZodTransformInternals<O, I>;
|
263
|
+
export interface ZodMiniTransform<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodTransformInternals<O, I>> {
|
301
264
|
}
|
302
265
|
export declare const ZodMiniTransform: core.$constructor<ZodMiniTransform>;
|
303
266
|
export declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.ParsePayload) => O): ZodMiniTransform<Awaited<O>, I>;
|
304
|
-
export interface ZodMiniOptional<T extends SomeType = core.$ZodType> extends
|
305
|
-
_zod: core.$ZodOptionalInternals<T>;
|
267
|
+
export interface ZodMiniOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {
|
306
268
|
}
|
307
269
|
export declare const ZodMiniOptional: core.$constructor<ZodMiniOptional>;
|
308
270
|
export declare function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T>;
|
309
|
-
export interface ZodMiniNullable<T extends SomeType = core.$ZodType> extends
|
310
|
-
_zod: core.$ZodNullableInternals<T>;
|
271
|
+
export interface ZodMiniNullable<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNullableInternals<T>> {
|
311
272
|
}
|
312
273
|
export declare const ZodMiniNullable: core.$constructor<ZodMiniNullable>;
|
313
274
|
export declare function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T>;
|
314
275
|
export declare function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>>;
|
315
|
-
export interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends
|
316
|
-
_zod: core.$ZodDefaultInternals<T>;
|
276
|
+
export interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodDefaultInternals<T>> {
|
317
277
|
}
|
318
278
|
export declare const ZodMiniDefault: core.$constructor<ZodMiniDefault>;
|
319
279
|
export declare function _default<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodMiniDefault<T>;
|
320
|
-
export interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends
|
321
|
-
_zod: core.$ZodPrefaultInternals<T>;
|
280
|
+
export interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {
|
322
281
|
}
|
323
282
|
export declare const ZodMiniPrefault: core.$constructor<ZodMiniPrefault>;
|
324
283
|
export declare function prefault<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.input<T>> | (() => util.NoUndefined<core.input<T>>)): ZodMiniPrefault<T>;
|
325
|
-
export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends
|
326
|
-
_zod: core.$ZodNonOptionalInternals<T>;
|
284
|
+
export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {
|
327
285
|
}
|
328
286
|
export declare const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional>;
|
329
287
|
export declare function nonoptional<T extends SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodMiniNonOptional<T>;
|
330
|
-
export interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends
|
331
|
-
_zod: core.$ZodSuccessInternals<T>;
|
288
|
+
export interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSuccessInternals<T>> {
|
332
289
|
}
|
333
290
|
export declare const ZodMiniSuccess: core.$constructor<ZodMiniSuccess>;
|
334
291
|
export declare function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T>;
|
335
|
-
export interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends
|
336
|
-
_zod: core.$ZodCatchInternals<T>;
|
292
|
+
export interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodCatchInternals<T>> {
|
337
293
|
}
|
338
294
|
export declare const ZodMiniCatch: core.$constructor<ZodMiniCatch>;
|
339
295
|
declare function _catch<T extends SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodMiniCatch<T>;
|
340
296
|
export { _catch as catch };
|
341
|
-
export interface ZodMiniNaN extends
|
342
|
-
_zod: core.$ZodNaNInternals;
|
297
|
+
export interface ZodMiniNaN extends _ZodMiniType<core.$ZodNaNInternals> {
|
343
298
|
}
|
344
299
|
export declare const ZodMiniNaN: core.$constructor<ZodMiniNaN>;
|
345
300
|
export declare function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN;
|
346
|
-
export interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends
|
347
|
-
_zod: core.$ZodPipeInternals<A, B>;
|
301
|
+
export interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPipeInternals<A, B>> {
|
348
302
|
}
|
349
303
|
export declare const ZodMiniPipe: core.$constructor<ZodMiniPipe>;
|
350
304
|
export declare function pipe<const A extends SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodMiniPipe<A, B>;
|
351
|
-
export interface ZodMiniReadonly<T extends SomeType = core.$ZodType> extends
|
352
|
-
_zod: core.$ZodReadonlyInternals<T>;
|
305
|
+
export interface ZodMiniReadonly<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodReadonlyInternals<T>> {
|
353
306
|
}
|
354
307
|
export declare const ZodMiniReadonly: core.$constructor<ZodMiniReadonly>;
|
355
308
|
export declare function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T>;
|
356
|
-
export interface ZodMiniTemplateLiteral<Template extends string = string> extends
|
357
|
-
_zod: core.$ZodTemplateLiteralInternals<Template>;
|
309
|
+
export interface ZodMiniTemplateLiteral<Template extends string = string> extends _ZodMiniType<core.$ZodTemplateLiteralInternals<Template>> {
|
358
310
|
}
|
359
311
|
export declare const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral>;
|
360
312
|
export declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodMiniTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;
|
361
|
-
export interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends
|
362
|
-
_zod: core.$ZodLazyInternals<T>;
|
313
|
+
export interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodLazyInternals<T>> {
|
363
314
|
}
|
364
315
|
export declare const ZodMiniLazy: core.$constructor<ZodMiniLazy>;
|
365
316
|
declare function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T>;
|
366
317
|
export { _lazy as lazy };
|
367
|
-
export interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends
|
368
|
-
_zod: core.$ZodPromiseInternals<T>;
|
318
|
+
export interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPromiseInternals<T>> {
|
369
319
|
}
|
370
320
|
export declare const ZodMiniPromise: core.$constructor<ZodMiniPromise>;
|
371
321
|
export declare function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T>;
|
372
|
-
export interface ZodMiniCustom<O = unknown, I = unknown> extends
|
373
|
-
_zod: core.$ZodCustomInternals<O, I>;
|
322
|
+
export interface ZodMiniCustom<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodCustomInternals<O, I>> {
|
374
323
|
}
|
375
324
|
export declare const ZodMiniCustom: core.$constructor<ZodMiniCustom>;
|
376
325
|
export declare function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O>;
|
@@ -381,18 +330,21 @@ declare abstract class Class {
|
|
381
330
|
}
|
382
331
|
declare function _instanceof<T extends typeof Class>(cls: T, params?: core.$ZodCustomParams): ZodMiniCustom<InstanceType<T>, InstanceType<T>>;
|
383
332
|
export { _instanceof as instanceof };
|
384
|
-
export declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniPipe<
|
385
|
-
|
333
|
+
export declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniPipe<ZodMiniPipe<ZodMiniString, ZodMiniTransform<boolean, string>>, ZodMiniBoolean>;
|
334
|
+
type _ZodMiniJSONSchema = ZodMiniUnion<[
|
386
335
|
ZodMiniString,
|
387
336
|
ZodMiniNumber,
|
388
337
|
ZodMiniBoolean,
|
389
338
|
ZodMiniNull,
|
390
339
|
ZodMiniArray<ZodMiniJSONSchema>,
|
391
340
|
ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>
|
392
|
-
]
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
}
|
341
|
+
]>;
|
342
|
+
type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema["_zod"];
|
343
|
+
export interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {
|
344
|
+
output: util.JSONType;
|
345
|
+
input: util.JSONType;
|
346
|
+
}
|
347
|
+
export interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {
|
348
|
+
_zod: ZodMiniJSONSchemaInternals;
|
349
|
+
}
|
398
350
|
export declare function json(): ZodMiniJSONSchema;
|
package/compiled/zod/index.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
/******/ "use strict";
|
3
3
|
/******/ var __webpack_modules__ = ({
|
4
4
|
|
5
|
-
/***/
|
5
|
+
/***/ 684:
|
6
6
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
7
7
|
|
8
8
|
|
@@ -24,20 +24,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24
24
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
25
25
|
};
|
26
26
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
27
|
-
const index_js_1 = __importDefault(__nccwpck_require__(
|
28
|
-
__exportStar(__nccwpck_require__(
|
27
|
+
const index_js_1 = __importDefault(__nccwpck_require__(750));
|
28
|
+
__exportStar(__nccwpck_require__(750), exports);
|
29
29
|
exports["default"] = index_js_1.default;
|
30
30
|
|
31
31
|
|
32
32
|
/***/ }),
|
33
33
|
|
34
|
-
/***/
|
34
|
+
/***/ 757:
|
35
35
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
36
36
|
|
37
37
|
|
38
38
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
39
39
|
exports.ZodError = exports.quotelessJson = exports.ZodIssueCode = void 0;
|
40
|
-
const util_js_1 = __nccwpck_require__(
|
40
|
+
const util_js_1 = __nccwpck_require__(426);
|
41
41
|
exports.ZodIssueCode = util_js_1.util.arrayToEnum([
|
42
42
|
"invalid_type",
|
43
43
|
"invalid_literal",
|
@@ -175,7 +175,7 @@ ZodError.create = (issues) => {
|
|
175
175
|
|
176
176
|
/***/ }),
|
177
177
|
|
178
|
-
/***/
|
178
|
+
/***/ 995:
|
179
179
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
180
180
|
|
181
181
|
|
@@ -186,7 +186,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
186
186
|
exports.defaultErrorMap = void 0;
|
187
187
|
exports.setErrorMap = setErrorMap;
|
188
188
|
exports.getErrorMap = getErrorMap;
|
189
|
-
const en_js_1 = __importDefault(__nccwpck_require__(
|
189
|
+
const en_js_1 = __importDefault(__nccwpck_require__(947));
|
190
190
|
exports.defaultErrorMap = en_js_1.default;
|
191
191
|
let overrideErrorMap = en_js_1.default;
|
192
192
|
function setErrorMap(map) {
|
@@ -199,7 +199,7 @@ function getErrorMap() {
|
|
199
199
|
|
200
200
|
/***/ }),
|
201
201
|
|
202
|
-
/***/
|
202
|
+
/***/ 979:
|
203
203
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
204
204
|
|
205
205
|
|
@@ -218,17 +218,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
218
218
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
219
219
|
};
|
220
220
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
221
|
-
__exportStar(__nccwpck_require__(
|
222
|
-
__exportStar(__nccwpck_require__(
|
223
|
-
__exportStar(__nccwpck_require__(
|
224
|
-
__exportStar(__nccwpck_require__(
|
225
|
-
__exportStar(__nccwpck_require__(
|
226
|
-
__exportStar(__nccwpck_require__(
|
221
|
+
__exportStar(__nccwpck_require__(995), exports);
|
222
|
+
__exportStar(__nccwpck_require__(335), exports);
|
223
|
+
__exportStar(__nccwpck_require__(404), exports);
|
224
|
+
__exportStar(__nccwpck_require__(426), exports);
|
225
|
+
__exportStar(__nccwpck_require__(227), exports);
|
226
|
+
__exportStar(__nccwpck_require__(757), exports);
|
227
227
|
|
228
228
|
|
229
229
|
/***/ }),
|
230
230
|
|
231
|
-
/***/
|
231
|
+
/***/ 54:
|
232
232
|
/***/ ((__unused_webpack_module, exports) => {
|
233
233
|
|
234
234
|
|
@@ -244,7 +244,7 @@ var errorUtil;
|
|
244
244
|
|
245
245
|
/***/ }),
|
246
246
|
|
247
|
-
/***/
|
247
|
+
/***/ 335:
|
248
248
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
249
249
|
|
250
250
|
|
@@ -254,8 +254,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
254
254
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
255
255
|
exports.isAsync = exports.isValid = exports.isDirty = exports.isAborted = exports.OK = exports.DIRTY = exports.INVALID = exports.ParseStatus = exports.EMPTY_PATH = exports.makeIssue = void 0;
|
256
256
|
exports.addIssueToContext = addIssueToContext;
|
257
|
-
const errors_js_1 = __nccwpck_require__(
|
258
|
-
const en_js_1 = __importDefault(__nccwpck_require__(
|
257
|
+
const errors_js_1 = __nccwpck_require__(995);
|
258
|
+
const en_js_1 = __importDefault(__nccwpck_require__(947));
|
259
259
|
const makeIssue = (params) => {
|
260
260
|
const { data, path, errorMaps, issueData } = params;
|
261
261
|
const fullPath = [...path, ...(issueData.path || [])];
|
@@ -375,7 +375,7 @@ exports.isAsync = isAsync;
|
|
375
375
|
|
376
376
|
/***/ }),
|
377
377
|
|
378
|
-
/***/
|
378
|
+
/***/ 404:
|
379
379
|
/***/ ((__unused_webpack_module, exports) => {
|
380
380
|
|
381
381
|
|
@@ -384,7 +384,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
384
384
|
|
385
385
|
/***/ }),
|
386
386
|
|
387
|
-
/***/
|
387
|
+
/***/ 426:
|
388
388
|
/***/ ((__unused_webpack_module, exports) => {
|
389
389
|
|
390
390
|
|
@@ -528,7 +528,7 @@ exports.getParsedType = getParsedType;
|
|
528
528
|
|
529
529
|
/***/ }),
|
530
530
|
|
531
|
-
/***/
|
531
|
+
/***/ 750:
|
532
532
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
533
533
|
|
534
534
|
|
@@ -560,21 +560,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
560
560
|
};
|
561
561
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
562
562
|
exports.z = void 0;
|
563
|
-
const z = __importStar(__nccwpck_require__(
|
563
|
+
const z = __importStar(__nccwpck_require__(979));
|
564
564
|
exports.z = z;
|
565
|
-
__exportStar(__nccwpck_require__(
|
565
|
+
__exportStar(__nccwpck_require__(979), exports);
|
566
566
|
exports["default"] = z;
|
567
567
|
|
568
568
|
|
569
569
|
/***/ }),
|
570
570
|
|
571
|
-
/***/
|
571
|
+
/***/ 947:
|
572
572
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
573
573
|
|
574
574
|
|
575
575
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
576
|
-
const ZodError_js_1 = __nccwpck_require__(
|
577
|
-
const util_js_1 = __nccwpck_require__(
|
576
|
+
const ZodError_js_1 = __nccwpck_require__(757);
|
577
|
+
const util_js_1 = __nccwpck_require__(426);
|
578
578
|
const errorMap = (issue, _ctx) => {
|
579
579
|
let message;
|
580
580
|
switch (issue.code) {
|
@@ -684,7 +684,7 @@ exports["default"] = errorMap;
|
|
684
684
|
|
685
685
|
/***/ }),
|
686
686
|
|
687
|
-
/***/
|
687
|
+
/***/ 227:
|
688
688
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
689
689
|
|
690
690
|
|
@@ -693,11 +693,11 @@ exports.discriminatedUnion = exports.date = exports.boolean = exports.bigint = e
|
|
693
693
|
exports.NEVER = exports["void"] = exports.unknown = exports.union = exports.undefined = exports.tuple = exports.transformer = exports.symbol = exports.string = exports.strictObject = exports.set = exports.record = exports.promise = exports.preprocess = exports.pipeline = exports.ostring = exports.optional = exports.onumber = exports.oboolean = exports.object = exports.number = exports.nullable = exports["null"] = exports.never = exports.nativeEnum = exports.nan = exports.map = exports.literal = exports.lazy = exports.intersection = exports["instanceof"] = exports["function"] = exports["enum"] = exports.effect = void 0;
|
694
694
|
exports.datetimeRegex = datetimeRegex;
|
695
695
|
exports.custom = custom;
|
696
|
-
const ZodError_js_1 = __nccwpck_require__(
|
697
|
-
const errors_js_1 = __nccwpck_require__(
|
698
|
-
const errorUtil_js_1 = __nccwpck_require__(
|
699
|
-
const parseUtil_js_1 = __nccwpck_require__(
|
700
|
-
const util_js_1 = __nccwpck_require__(
|
696
|
+
const ZodError_js_1 = __nccwpck_require__(757);
|
697
|
+
const errors_js_1 = __nccwpck_require__(995);
|
698
|
+
const errorUtil_js_1 = __nccwpck_require__(54);
|
699
|
+
const parseUtil_js_1 = __nccwpck_require__(335);
|
700
|
+
const util_js_1 = __nccwpck_require__(426);
|
701
701
|
class ParseInputLazyPath {
|
702
702
|
constructor(parent, value, path, key) {
|
703
703
|
this._cachedPath = [];
|
@@ -4506,7 +4506,7 @@ exports.NEVER = parseUtil_js_1.INVALID;
|
|
4506
4506
|
/******/ // startup
|
4507
4507
|
/******/ // Load entry module and return exports
|
4508
4508
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
4509
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
4509
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(684);
|
4510
4510
|
/******/ module.exports = __webpack_exports__;
|
4511
4511
|
/******/
|
4512
4512
|
/******/ })()
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"zod","author":"Colin McDonnell <zod@colinhacks.com>","version":"3.25.
|
1
|
+
{"name":"zod","author":"Colin McDonnell <zod@colinhacks.com>","version":"3.25.58","funding":"https://github.com/sponsors/colinhacks","license":"MIT","types":"./dist/types/index.d.ts","type":"commonjs"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import * as binding from "@rspack/binding";
|
2
|
+
import type { Source } from "../compiled/webpack-sources";
|
3
|
+
declare const $assets: unique symbol;
|
4
|
+
declare module "@rspack/binding" {
|
5
|
+
interface Assets {
|
6
|
+
[$assets]: Record<string, Source>;
|
7
|
+
}
|
8
|
+
interface KnownBuildInfo {
|
9
|
+
assets: Record<string, Source>;
|
10
|
+
fileDependencies: Set<string>;
|
11
|
+
contextDependencies: Set<string>;
|
12
|
+
missingDependencies: Set<string>;
|
13
|
+
buildDependencies: Set<string>;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
export type { BuildInfo } from "@rspack/binding";
|
17
|
+
export declare const commitCustomFieldsToRust: (buildInfo: binding.BuildInfo) => void;
|