@vercel/python-analysis 0.1.1

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.
Files changed (54) hide show
  1. package/LICENSE +202 -0
  2. package/dist/index.d.ts +22 -0
  3. package/dist/index.js +107 -0
  4. package/dist/manifest/package.d.ts +166 -0
  5. package/dist/manifest/package.js +422 -0
  6. package/dist/manifest/pep440.d.ts +6 -0
  7. package/dist/manifest/pep440.js +63 -0
  8. package/dist/manifest/pep508.d.ts +64 -0
  9. package/dist/manifest/pep508.js +70 -0
  10. package/dist/manifest/pipfile/schema.d.ts +40 -0
  11. package/dist/manifest/pipfile/schema.js +44 -0
  12. package/dist/manifest/pipfile/schema.zod.d.ts +606 -0
  13. package/dist/manifest/pipfile/schema.zod.js +97 -0
  14. package/dist/manifest/pipfile/types.d.ts +77 -0
  15. package/dist/manifest/pipfile/types.js +16 -0
  16. package/dist/manifest/pipfile-parser.d.ts +35 -0
  17. package/dist/manifest/pipfile-parser.js +262 -0
  18. package/dist/manifest/pyproject/schema.d.ts +50 -0
  19. package/dist/manifest/pyproject/schema.js +56 -0
  20. package/dist/manifest/pyproject/schema.zod.d.ts +767 -0
  21. package/dist/manifest/pyproject/schema.zod.js +94 -0
  22. package/dist/manifest/pyproject/types.d.ts +93 -0
  23. package/dist/manifest/pyproject/types.js +16 -0
  24. package/dist/manifest/python-selector.d.ts +123 -0
  25. package/dist/manifest/python-selector.js +185 -0
  26. package/dist/manifest/python-specifiers.d.ts +76 -0
  27. package/dist/manifest/python-specifiers.js +156 -0
  28. package/dist/manifest/requirement/schema.d.ts +28 -0
  29. package/dist/manifest/requirement/schema.js +35 -0
  30. package/dist/manifest/requirement/schema.zod.d.ts +76 -0
  31. package/dist/manifest/requirement/schema.zod.js +49 -0
  32. package/dist/manifest/requirement/types.d.ts +50 -0
  33. package/dist/manifest/requirement/types.js +16 -0
  34. package/dist/manifest/requirements-txt-parser.d.ts +55 -0
  35. package/dist/manifest/requirements-txt-parser.js +400 -0
  36. package/dist/manifest/uv-config/schema.d.ts +22 -0
  37. package/dist/manifest/uv-config/schema.js +35 -0
  38. package/dist/manifest/uv-config/schema.zod.d.ts +140 -0
  39. package/dist/manifest/uv-config/schema.zod.js +48 -0
  40. package/dist/manifest/uv-config/types.d.ts +48 -0
  41. package/dist/manifest/uv-config/types.js +16 -0
  42. package/dist/manifest/uv-python-version-parser.d.ts +28 -0
  43. package/dist/manifest/uv-python-version-parser.js +268 -0
  44. package/dist/types.d.ts +17 -0
  45. package/dist/types.js +16 -0
  46. package/dist/util/config.d.ts +20 -0
  47. package/dist/util/config.js +100 -0
  48. package/dist/util/error.d.ts +39 -0
  49. package/dist/util/error.js +54 -0
  50. package/dist/util/fs.d.ts +25 -0
  51. package/dist/util/fs.js +75 -0
  52. package/dist/util/type.d.ts +7 -0
  53. package/dist/util/type.js +30 -0
  54. package/package.json +43 -0
@@ -0,0 +1,767 @@
1
+ import { z } from 'zod';
2
+ export declare const pyProjectBuildSystemSchema: z.ZodObject<{
3
+ requires: z.ZodArray<z.ZodString, "many">;
4
+ 'build-backend': z.ZodOptional<z.ZodString>;
5
+ 'backend-path': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ requires: string[];
8
+ 'build-backend'?: string | undefined;
9
+ 'backend-path'?: string[] | undefined;
10
+ }, {
11
+ requires: string[];
12
+ 'build-backend'?: string | undefined;
13
+ 'backend-path'?: string[] | undefined;
14
+ }>;
15
+ export declare const personSchema: z.ZodObject<{
16
+ name: z.ZodOptional<z.ZodString>;
17
+ email: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ name?: string | undefined;
20
+ email?: string | undefined;
21
+ }, {
22
+ name?: string | undefined;
23
+ email?: string | undefined;
24
+ }>;
25
+ export declare const readmeObjectSchema: z.ZodObject<{
26
+ file: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
27
+ content_type: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ file: (string | string[]) & (string | string[] | undefined);
30
+ content_type?: string | undefined;
31
+ }, {
32
+ file: (string | string[]) & (string | string[] | undefined);
33
+ content_type?: string | undefined;
34
+ }>;
35
+ export declare const readmeSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
36
+ file: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
37
+ content_type: z.ZodOptional<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ file: (string | string[]) & (string | string[] | undefined);
40
+ content_type?: string | undefined;
41
+ }, {
42
+ file: (string | string[]) & (string | string[] | undefined);
43
+ content_type?: string | undefined;
44
+ }>]>;
45
+ export declare const licenseObjectSchema: z.ZodObject<{
46
+ text: z.ZodOptional<z.ZodString>;
47
+ file: z.ZodOptional<z.ZodString>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ text?: string | undefined;
50
+ file?: string | undefined;
51
+ }, {
52
+ text?: string | undefined;
53
+ file?: string | undefined;
54
+ }>;
55
+ export declare const licenseSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
56
+ text: z.ZodOptional<z.ZodString>;
57
+ file: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ text?: string | undefined;
60
+ file?: string | undefined;
61
+ }, {
62
+ text?: string | undefined;
63
+ file?: string | undefined;
64
+ }>]>;
65
+ export declare const pyProjectProjectSchema: z.ZodObject<{
66
+ name: z.ZodOptional<z.ZodString>;
67
+ version: z.ZodOptional<z.ZodString>;
68
+ description: z.ZodOptional<z.ZodString>;
69
+ readme: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
70
+ file: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
71
+ content_type: z.ZodOptional<z.ZodString>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ file: (string | string[]) & (string | string[] | undefined);
74
+ content_type?: string | undefined;
75
+ }, {
76
+ file: (string | string[]) & (string | string[] | undefined);
77
+ content_type?: string | undefined;
78
+ }>]>>;
79
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
+ authors: z.ZodOptional<z.ZodArray<z.ZodObject<{
81
+ name: z.ZodOptional<z.ZodString>;
82
+ email: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ name?: string | undefined;
85
+ email?: string | undefined;
86
+ }, {
87
+ name?: string | undefined;
88
+ email?: string | undefined;
89
+ }>, "many">>;
90
+ maintainers: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ name: z.ZodOptional<z.ZodString>;
92
+ email: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ name?: string | undefined;
95
+ email?: string | undefined;
96
+ }, {
97
+ name?: string | undefined;
98
+ email?: string | undefined;
99
+ }>, "many">>;
100
+ license: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
101
+ text: z.ZodOptional<z.ZodString>;
102
+ file: z.ZodOptional<z.ZodString>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ text?: string | undefined;
105
+ file?: string | undefined;
106
+ }, {
107
+ text?: string | undefined;
108
+ file?: string | undefined;
109
+ }>]>>;
110
+ classifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
111
+ urls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
112
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
113
+ 'optional-dependencies': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
114
+ dynamic: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
115
+ 'requires-python': z.ZodOptional<z.ZodString>;
116
+ scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
117
+ entry_points: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ name?: string | undefined;
120
+ version?: string | undefined;
121
+ description?: string | undefined;
122
+ readme?: string | {
123
+ file: (string | string[]) & (string | string[] | undefined);
124
+ content_type?: string | undefined;
125
+ } | undefined;
126
+ keywords?: string[] | undefined;
127
+ authors?: {
128
+ name?: string | undefined;
129
+ email?: string | undefined;
130
+ }[] | undefined;
131
+ maintainers?: {
132
+ name?: string | undefined;
133
+ email?: string | undefined;
134
+ }[] | undefined;
135
+ license?: string | {
136
+ text?: string | undefined;
137
+ file?: string | undefined;
138
+ } | undefined;
139
+ classifiers?: string[] | undefined;
140
+ urls?: Record<string, string> | undefined;
141
+ dependencies?: string[] | undefined;
142
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
143
+ dynamic?: string[] | undefined;
144
+ 'requires-python'?: string | undefined;
145
+ scripts?: Record<string, string> | undefined;
146
+ entry_points?: Record<string, Record<string, string>> | undefined;
147
+ }, {
148
+ name?: string | undefined;
149
+ version?: string | undefined;
150
+ description?: string | undefined;
151
+ readme?: string | {
152
+ file: (string | string[]) & (string | string[] | undefined);
153
+ content_type?: string | undefined;
154
+ } | undefined;
155
+ keywords?: string[] | undefined;
156
+ authors?: {
157
+ name?: string | undefined;
158
+ email?: string | undefined;
159
+ }[] | undefined;
160
+ maintainers?: {
161
+ name?: string | undefined;
162
+ email?: string | undefined;
163
+ }[] | undefined;
164
+ license?: string | {
165
+ text?: string | undefined;
166
+ file?: string | undefined;
167
+ } | undefined;
168
+ classifiers?: string[] | undefined;
169
+ urls?: Record<string, string> | undefined;
170
+ dependencies?: string[] | undefined;
171
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
172
+ dynamic?: string[] | undefined;
173
+ 'requires-python'?: string | undefined;
174
+ scripts?: Record<string, string> | undefined;
175
+ entry_points?: Record<string, Record<string, string>> | undefined;
176
+ }>;
177
+ export declare const pyProjectDependencyGroupsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
178
+ export declare const pyProjectToolSectionSchema: z.ZodObject<{
179
+ uv: z.ZodOptional<z.ZodObject<{
180
+ sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
181
+ index: z.ZodOptional<z.ZodString>;
182
+ git: z.ZodOptional<z.ZodString>;
183
+ rev: z.ZodOptional<z.ZodString>;
184
+ path: z.ZodOptional<z.ZodString>;
185
+ editable: z.ZodOptional<z.ZodBoolean>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ index?: string | undefined;
188
+ git?: string | undefined;
189
+ rev?: string | undefined;
190
+ path?: string | undefined;
191
+ editable?: boolean | undefined;
192
+ }, {
193
+ index?: string | undefined;
194
+ git?: string | undefined;
195
+ rev?: string | undefined;
196
+ path?: string | undefined;
197
+ editable?: boolean | undefined;
198
+ }>, z.ZodArray<z.ZodObject<{
199
+ index: z.ZodOptional<z.ZodString>;
200
+ git: z.ZodOptional<z.ZodString>;
201
+ rev: z.ZodOptional<z.ZodString>;
202
+ path: z.ZodOptional<z.ZodString>;
203
+ editable: z.ZodOptional<z.ZodBoolean>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ index?: string | undefined;
206
+ git?: string | undefined;
207
+ rev?: string | undefined;
208
+ path?: string | undefined;
209
+ editable?: boolean | undefined;
210
+ }, {
211
+ index?: string | undefined;
212
+ git?: string | undefined;
213
+ rev?: string | undefined;
214
+ path?: string | undefined;
215
+ editable?: boolean | undefined;
216
+ }>, "many">]>>>;
217
+ index: z.ZodOptional<z.ZodArray<z.ZodObject<{
218
+ name: z.ZodString;
219
+ url: z.ZodString;
220
+ default: z.ZodOptional<z.ZodBoolean>;
221
+ explicit: z.ZodOptional<z.ZodBoolean>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ name: string;
224
+ url: string;
225
+ default?: boolean | undefined;
226
+ explicit?: boolean | undefined;
227
+ }, {
228
+ name: string;
229
+ url: string;
230
+ default?: boolean | undefined;
231
+ explicit?: boolean | undefined;
232
+ }>, "many">>;
233
+ workspace: z.ZodOptional<z.ZodObject<{
234
+ members: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ members?: string[] | undefined;
238
+ exclude?: string[] | undefined;
239
+ }, {
240
+ members?: string[] | undefined;
241
+ exclude?: string[] | undefined;
242
+ }>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ sources?: Record<string, {
245
+ index?: string | undefined;
246
+ git?: string | undefined;
247
+ rev?: string | undefined;
248
+ path?: string | undefined;
249
+ editable?: boolean | undefined;
250
+ } | {
251
+ index?: string | undefined;
252
+ git?: string | undefined;
253
+ rev?: string | undefined;
254
+ path?: string | undefined;
255
+ editable?: boolean | undefined;
256
+ }[]> | undefined;
257
+ index?: {
258
+ name: string;
259
+ url: string;
260
+ default?: boolean | undefined;
261
+ explicit?: boolean | undefined;
262
+ }[] | undefined;
263
+ workspace?: {
264
+ members?: string[] | undefined;
265
+ exclude?: string[] | undefined;
266
+ } | undefined;
267
+ }, {
268
+ sources?: Record<string, {
269
+ index?: string | undefined;
270
+ git?: string | undefined;
271
+ rev?: string | undefined;
272
+ path?: string | undefined;
273
+ editable?: boolean | undefined;
274
+ } | {
275
+ index?: string | undefined;
276
+ git?: string | undefined;
277
+ rev?: string | undefined;
278
+ path?: string | undefined;
279
+ editable?: boolean | undefined;
280
+ }[]> | undefined;
281
+ index?: {
282
+ name: string;
283
+ url: string;
284
+ default?: boolean | undefined;
285
+ explicit?: boolean | undefined;
286
+ }[] | undefined;
287
+ workspace?: {
288
+ members?: string[] | undefined;
289
+ exclude?: string[] | undefined;
290
+ } | undefined;
291
+ }>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ uv?: {
294
+ sources?: Record<string, {
295
+ index?: string | undefined;
296
+ git?: string | undefined;
297
+ rev?: string | undefined;
298
+ path?: string | undefined;
299
+ editable?: boolean | undefined;
300
+ } | {
301
+ index?: string | undefined;
302
+ git?: string | undefined;
303
+ rev?: string | undefined;
304
+ path?: string | undefined;
305
+ editable?: boolean | undefined;
306
+ }[]> | undefined;
307
+ index?: {
308
+ name: string;
309
+ url: string;
310
+ default?: boolean | undefined;
311
+ explicit?: boolean | undefined;
312
+ }[] | undefined;
313
+ workspace?: {
314
+ members?: string[] | undefined;
315
+ exclude?: string[] | undefined;
316
+ } | undefined;
317
+ } | undefined;
318
+ }, {
319
+ uv?: {
320
+ sources?: Record<string, {
321
+ index?: string | undefined;
322
+ git?: string | undefined;
323
+ rev?: string | undefined;
324
+ path?: string | undefined;
325
+ editable?: boolean | undefined;
326
+ } | {
327
+ index?: string | undefined;
328
+ git?: string | undefined;
329
+ rev?: string | undefined;
330
+ path?: string | undefined;
331
+ editable?: boolean | undefined;
332
+ }[]> | undefined;
333
+ index?: {
334
+ name: string;
335
+ url: string;
336
+ default?: boolean | undefined;
337
+ explicit?: boolean | undefined;
338
+ }[] | undefined;
339
+ workspace?: {
340
+ members?: string[] | undefined;
341
+ exclude?: string[] | undefined;
342
+ } | undefined;
343
+ } | undefined;
344
+ }>;
345
+ export declare const pyProjectTomlSchema: z.ZodObject<{
346
+ project: z.ZodOptional<z.ZodObject<{
347
+ name: z.ZodOptional<z.ZodString>;
348
+ version: z.ZodOptional<z.ZodString>;
349
+ description: z.ZodOptional<z.ZodString>;
350
+ readme: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
351
+ file: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
352
+ content_type: z.ZodOptional<z.ZodString>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ file: (string | string[]) & (string | string[] | undefined);
355
+ content_type?: string | undefined;
356
+ }, {
357
+ file: (string | string[]) & (string | string[] | undefined);
358
+ content_type?: string | undefined;
359
+ }>]>>;
360
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
361
+ authors: z.ZodOptional<z.ZodArray<z.ZodObject<{
362
+ name: z.ZodOptional<z.ZodString>;
363
+ email: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ name?: string | undefined;
366
+ email?: string | undefined;
367
+ }, {
368
+ name?: string | undefined;
369
+ email?: string | undefined;
370
+ }>, "many">>;
371
+ maintainers: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ name: z.ZodOptional<z.ZodString>;
373
+ email: z.ZodOptional<z.ZodString>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ name?: string | undefined;
376
+ email?: string | undefined;
377
+ }, {
378
+ name?: string | undefined;
379
+ email?: string | undefined;
380
+ }>, "many">>;
381
+ license: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
382
+ text: z.ZodOptional<z.ZodString>;
383
+ file: z.ZodOptional<z.ZodString>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ text?: string | undefined;
386
+ file?: string | undefined;
387
+ }, {
388
+ text?: string | undefined;
389
+ file?: string | undefined;
390
+ }>]>>;
391
+ classifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
392
+ urls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
393
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
394
+ 'optional-dependencies': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
395
+ dynamic: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
396
+ 'requires-python': z.ZodOptional<z.ZodString>;
397
+ scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
398
+ entry_points: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ name?: string | undefined;
401
+ version?: string | undefined;
402
+ description?: string | undefined;
403
+ readme?: string | {
404
+ file: (string | string[]) & (string | string[] | undefined);
405
+ content_type?: string | undefined;
406
+ } | undefined;
407
+ keywords?: string[] | undefined;
408
+ authors?: {
409
+ name?: string | undefined;
410
+ email?: string | undefined;
411
+ }[] | undefined;
412
+ maintainers?: {
413
+ name?: string | undefined;
414
+ email?: string | undefined;
415
+ }[] | undefined;
416
+ license?: string | {
417
+ text?: string | undefined;
418
+ file?: string | undefined;
419
+ } | undefined;
420
+ classifiers?: string[] | undefined;
421
+ urls?: Record<string, string> | undefined;
422
+ dependencies?: string[] | undefined;
423
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
424
+ dynamic?: string[] | undefined;
425
+ 'requires-python'?: string | undefined;
426
+ scripts?: Record<string, string> | undefined;
427
+ entry_points?: Record<string, Record<string, string>> | undefined;
428
+ }, {
429
+ name?: string | undefined;
430
+ version?: string | undefined;
431
+ description?: string | undefined;
432
+ readme?: string | {
433
+ file: (string | string[]) & (string | string[] | undefined);
434
+ content_type?: string | undefined;
435
+ } | undefined;
436
+ keywords?: string[] | undefined;
437
+ authors?: {
438
+ name?: string | undefined;
439
+ email?: string | undefined;
440
+ }[] | undefined;
441
+ maintainers?: {
442
+ name?: string | undefined;
443
+ email?: string | undefined;
444
+ }[] | undefined;
445
+ license?: string | {
446
+ text?: string | undefined;
447
+ file?: string | undefined;
448
+ } | undefined;
449
+ classifiers?: string[] | undefined;
450
+ urls?: Record<string, string> | undefined;
451
+ dependencies?: string[] | undefined;
452
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
453
+ dynamic?: string[] | undefined;
454
+ 'requires-python'?: string | undefined;
455
+ scripts?: Record<string, string> | undefined;
456
+ entry_points?: Record<string, Record<string, string>> | undefined;
457
+ }>>;
458
+ 'build-system': z.ZodOptional<z.ZodObject<{
459
+ requires: z.ZodArray<z.ZodString, "many">;
460
+ 'build-backend': z.ZodOptional<z.ZodString>;
461
+ 'backend-path': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ requires: string[];
464
+ 'build-backend'?: string | undefined;
465
+ 'backend-path'?: string[] | undefined;
466
+ }, {
467
+ requires: string[];
468
+ 'build-backend'?: string | undefined;
469
+ 'backend-path'?: string[] | undefined;
470
+ }>>;
471
+ 'dependency-groups': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
472
+ tool: z.ZodOptional<z.ZodObject<{
473
+ uv: z.ZodOptional<z.ZodObject<{
474
+ sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
475
+ index: z.ZodOptional<z.ZodString>;
476
+ git: z.ZodOptional<z.ZodString>;
477
+ rev: z.ZodOptional<z.ZodString>;
478
+ path: z.ZodOptional<z.ZodString>;
479
+ editable: z.ZodOptional<z.ZodBoolean>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ index?: string | undefined;
482
+ git?: string | undefined;
483
+ rev?: string | undefined;
484
+ path?: string | undefined;
485
+ editable?: boolean | undefined;
486
+ }, {
487
+ index?: string | undefined;
488
+ git?: string | undefined;
489
+ rev?: string | undefined;
490
+ path?: string | undefined;
491
+ editable?: boolean | undefined;
492
+ }>, z.ZodArray<z.ZodObject<{
493
+ index: z.ZodOptional<z.ZodString>;
494
+ git: z.ZodOptional<z.ZodString>;
495
+ rev: z.ZodOptional<z.ZodString>;
496
+ path: z.ZodOptional<z.ZodString>;
497
+ editable: z.ZodOptional<z.ZodBoolean>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ index?: string | undefined;
500
+ git?: string | undefined;
501
+ rev?: string | undefined;
502
+ path?: string | undefined;
503
+ editable?: boolean | undefined;
504
+ }, {
505
+ index?: string | undefined;
506
+ git?: string | undefined;
507
+ rev?: string | undefined;
508
+ path?: string | undefined;
509
+ editable?: boolean | undefined;
510
+ }>, "many">]>>>;
511
+ index: z.ZodOptional<z.ZodArray<z.ZodObject<{
512
+ name: z.ZodString;
513
+ url: z.ZodString;
514
+ default: z.ZodOptional<z.ZodBoolean>;
515
+ explicit: z.ZodOptional<z.ZodBoolean>;
516
+ }, "strip", z.ZodTypeAny, {
517
+ name: string;
518
+ url: string;
519
+ default?: boolean | undefined;
520
+ explicit?: boolean | undefined;
521
+ }, {
522
+ name: string;
523
+ url: string;
524
+ default?: boolean | undefined;
525
+ explicit?: boolean | undefined;
526
+ }>, "many">>;
527
+ workspace: z.ZodOptional<z.ZodObject<{
528
+ members: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
529
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ members?: string[] | undefined;
532
+ exclude?: string[] | undefined;
533
+ }, {
534
+ members?: string[] | undefined;
535
+ exclude?: string[] | undefined;
536
+ }>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ sources?: Record<string, {
539
+ index?: string | undefined;
540
+ git?: string | undefined;
541
+ rev?: string | undefined;
542
+ path?: string | undefined;
543
+ editable?: boolean | undefined;
544
+ } | {
545
+ index?: string | undefined;
546
+ git?: string | undefined;
547
+ rev?: string | undefined;
548
+ path?: string | undefined;
549
+ editable?: boolean | undefined;
550
+ }[]> | undefined;
551
+ index?: {
552
+ name: string;
553
+ url: string;
554
+ default?: boolean | undefined;
555
+ explicit?: boolean | undefined;
556
+ }[] | undefined;
557
+ workspace?: {
558
+ members?: string[] | undefined;
559
+ exclude?: string[] | undefined;
560
+ } | undefined;
561
+ }, {
562
+ sources?: Record<string, {
563
+ index?: string | undefined;
564
+ git?: string | undefined;
565
+ rev?: string | undefined;
566
+ path?: string | undefined;
567
+ editable?: boolean | undefined;
568
+ } | {
569
+ index?: string | undefined;
570
+ git?: string | undefined;
571
+ rev?: string | undefined;
572
+ path?: string | undefined;
573
+ editable?: boolean | undefined;
574
+ }[]> | undefined;
575
+ index?: {
576
+ name: string;
577
+ url: string;
578
+ default?: boolean | undefined;
579
+ explicit?: boolean | undefined;
580
+ }[] | undefined;
581
+ workspace?: {
582
+ members?: string[] | undefined;
583
+ exclude?: string[] | undefined;
584
+ } | undefined;
585
+ }>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ uv?: {
588
+ sources?: Record<string, {
589
+ index?: string | undefined;
590
+ git?: string | undefined;
591
+ rev?: string | undefined;
592
+ path?: string | undefined;
593
+ editable?: boolean | undefined;
594
+ } | {
595
+ index?: string | undefined;
596
+ git?: string | undefined;
597
+ rev?: string | undefined;
598
+ path?: string | undefined;
599
+ editable?: boolean | undefined;
600
+ }[]> | undefined;
601
+ index?: {
602
+ name: string;
603
+ url: string;
604
+ default?: boolean | undefined;
605
+ explicit?: boolean | undefined;
606
+ }[] | undefined;
607
+ workspace?: {
608
+ members?: string[] | undefined;
609
+ exclude?: string[] | undefined;
610
+ } | undefined;
611
+ } | undefined;
612
+ }, {
613
+ uv?: {
614
+ sources?: Record<string, {
615
+ index?: string | undefined;
616
+ git?: string | undefined;
617
+ rev?: string | undefined;
618
+ path?: string | undefined;
619
+ editable?: boolean | undefined;
620
+ } | {
621
+ index?: string | undefined;
622
+ git?: string | undefined;
623
+ rev?: string | undefined;
624
+ path?: string | undefined;
625
+ editable?: boolean | undefined;
626
+ }[]> | undefined;
627
+ index?: {
628
+ name: string;
629
+ url: string;
630
+ default?: boolean | undefined;
631
+ explicit?: boolean | undefined;
632
+ }[] | undefined;
633
+ workspace?: {
634
+ members?: string[] | undefined;
635
+ exclude?: string[] | undefined;
636
+ } | undefined;
637
+ } | undefined;
638
+ }>>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ project?: {
641
+ name?: string | undefined;
642
+ version?: string | undefined;
643
+ description?: string | undefined;
644
+ readme?: string | {
645
+ file: (string | string[]) & (string | string[] | undefined);
646
+ content_type?: string | undefined;
647
+ } | undefined;
648
+ keywords?: string[] | undefined;
649
+ authors?: {
650
+ name?: string | undefined;
651
+ email?: string | undefined;
652
+ }[] | undefined;
653
+ maintainers?: {
654
+ name?: string | undefined;
655
+ email?: string | undefined;
656
+ }[] | undefined;
657
+ license?: string | {
658
+ text?: string | undefined;
659
+ file?: string | undefined;
660
+ } | undefined;
661
+ classifiers?: string[] | undefined;
662
+ urls?: Record<string, string> | undefined;
663
+ dependencies?: string[] | undefined;
664
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
665
+ dynamic?: string[] | undefined;
666
+ 'requires-python'?: string | undefined;
667
+ scripts?: Record<string, string> | undefined;
668
+ entry_points?: Record<string, Record<string, string>> | undefined;
669
+ } | undefined;
670
+ 'build-system'?: {
671
+ requires: string[];
672
+ 'build-backend'?: string | undefined;
673
+ 'backend-path'?: string[] | undefined;
674
+ } | undefined;
675
+ 'dependency-groups'?: Record<string, string[]> | undefined;
676
+ tool?: {
677
+ uv?: {
678
+ sources?: Record<string, {
679
+ index?: string | undefined;
680
+ git?: string | undefined;
681
+ rev?: string | undefined;
682
+ path?: string | undefined;
683
+ editable?: boolean | undefined;
684
+ } | {
685
+ index?: string | undefined;
686
+ git?: string | undefined;
687
+ rev?: string | undefined;
688
+ path?: string | undefined;
689
+ editable?: boolean | undefined;
690
+ }[]> | undefined;
691
+ index?: {
692
+ name: string;
693
+ url: string;
694
+ default?: boolean | undefined;
695
+ explicit?: boolean | undefined;
696
+ }[] | undefined;
697
+ workspace?: {
698
+ members?: string[] | undefined;
699
+ exclude?: string[] | undefined;
700
+ } | undefined;
701
+ } | undefined;
702
+ } | undefined;
703
+ }, {
704
+ project?: {
705
+ name?: string | undefined;
706
+ version?: string | undefined;
707
+ description?: string | undefined;
708
+ readme?: string | {
709
+ file: (string | string[]) & (string | string[] | undefined);
710
+ content_type?: string | undefined;
711
+ } | undefined;
712
+ keywords?: string[] | undefined;
713
+ authors?: {
714
+ name?: string | undefined;
715
+ email?: string | undefined;
716
+ }[] | undefined;
717
+ maintainers?: {
718
+ name?: string | undefined;
719
+ email?: string | undefined;
720
+ }[] | undefined;
721
+ license?: string | {
722
+ text?: string | undefined;
723
+ file?: string | undefined;
724
+ } | undefined;
725
+ classifiers?: string[] | undefined;
726
+ urls?: Record<string, string> | undefined;
727
+ dependencies?: string[] | undefined;
728
+ 'optional-dependencies'?: Record<string, string[]> | undefined;
729
+ dynamic?: string[] | undefined;
730
+ 'requires-python'?: string | undefined;
731
+ scripts?: Record<string, string> | undefined;
732
+ entry_points?: Record<string, Record<string, string>> | undefined;
733
+ } | undefined;
734
+ 'build-system'?: {
735
+ requires: string[];
736
+ 'build-backend'?: string | undefined;
737
+ 'backend-path'?: string[] | undefined;
738
+ } | undefined;
739
+ 'dependency-groups'?: Record<string, string[]> | undefined;
740
+ tool?: {
741
+ uv?: {
742
+ sources?: Record<string, {
743
+ index?: string | undefined;
744
+ git?: string | undefined;
745
+ rev?: string | undefined;
746
+ path?: string | undefined;
747
+ editable?: boolean | undefined;
748
+ } | {
749
+ index?: string | undefined;
750
+ git?: string | undefined;
751
+ rev?: string | undefined;
752
+ path?: string | undefined;
753
+ editable?: boolean | undefined;
754
+ }[]> | undefined;
755
+ index?: {
756
+ name: string;
757
+ url: string;
758
+ default?: boolean | undefined;
759
+ explicit?: boolean | undefined;
760
+ }[] | undefined;
761
+ workspace?: {
762
+ members?: string[] | undefined;
763
+ exclude?: string[] | undefined;
764
+ } | undefined;
765
+ } | undefined;
766
+ } | undefined;
767
+ }>;