@code-pushup/models 0.108.1 → 0.109.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.
@@ -13,7 +13,7 @@ export declare const outputTransformSchema: z.ZodPipe<z.ZodCustom<unknown, unkno
13
13
  info: "info";
14
14
  warning: "warning";
15
15
  }>;
16
- source: z.ZodOptional<z.ZodObject<{
16
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17
17
  file: z.ZodString;
18
18
  position: z.ZodOptional<z.ZodObject<{
19
19
  startLine: z.ZodNumber;
@@ -21,7 +21,11 @@ export declare const outputTransformSchema: z.ZodPipe<z.ZodCustom<unknown, unkno
21
21
  endLine: z.ZodOptional<z.ZodNumber>;
22
22
  endColumn: z.ZodOptional<z.ZodNumber>;
23
23
  }, z.core.$strip>>;
24
- }, z.core.$strip>>;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ url: z.ZodURL;
26
+ snippet: z.ZodOptional<z.ZodString>;
27
+ selector: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>]>>;
25
29
  }, z.core.$strip>>>;
26
30
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27
31
  title: z.ZodOptional<z.ZodString>;
@@ -72,7 +76,7 @@ export declare const outputTransformSchema: z.ZodPipe<z.ZodCustom<unknown, unkno
72
76
  info: "info";
73
77
  warning: "warning";
74
78
  }>;
75
- source: z.ZodOptional<z.ZodObject<{
79
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
76
80
  file: z.ZodString;
77
81
  position: z.ZodOptional<z.ZodObject<{
78
82
  startLine: z.ZodNumber;
@@ -80,7 +84,11 @@ export declare const outputTransformSchema: z.ZodPipe<z.ZodCustom<unknown, unkno
80
84
  endLine: z.ZodOptional<z.ZodNumber>;
81
85
  endColumn: z.ZodOptional<z.ZodNumber>;
82
86
  }, z.core.$strip>>;
83
- }, z.core.$strip>>;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ url: z.ZodURL;
89
+ snippet: z.ZodOptional<z.ZodString>;
90
+ selector: z.ZodOptional<z.ZodString>;
91
+ }, z.core.$strip>]>>;
84
92
  }, z.core.$strip>>>;
85
93
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
86
94
  title: z.ZodOptional<z.ZodString>;
@@ -118,14 +126,6 @@ export declare const outputTransformSchema: z.ZodPipe<z.ZodCustom<unknown, unkno
118
126
  }, z.core.$strip>]>>>;
119
127
  }, z.core.$strip>>;
120
128
  }, z.core.$strip>>>]>>, unknown>>;
121
- /**
122
- * Type Definition: `OutputTransform`
123
- *
124
- * This type is derived from a Zod schema and represents
125
- * the validated structure of `OutputTransform` used within the application.
126
- *
127
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#outputtransform}
128
- */
129
129
  export type OutputTransform = z.infer<typeof outputTransformSchema>;
130
130
  export declare const runnerArgsSchema: z.ZodObject<{
131
131
  persist: z.ZodObject<{
@@ -138,14 +138,6 @@ export declare const runnerArgsSchema: z.ZodObject<{
138
138
  skipReports: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
139
139
  }, z.core.$strip>;
140
140
  }, z.core.$strip>;
141
- /**
142
- * Type Definition: `RunnerArgs`
143
- *
144
- * This type is derived from a Zod schema and represents
145
- * the validated structure of `RunnerArgs` used within the application.
146
- *
147
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#runnerargs}
148
- */
149
141
  export type RunnerArgs = z.infer<typeof runnerArgsSchema>;
150
142
  export declare const runnerConfigSchema: z.ZodObject<{
151
143
  command: z.ZodString;
@@ -165,7 +157,7 @@ export declare const runnerConfigSchema: z.ZodObject<{
165
157
  info: "info";
166
158
  warning: "warning";
167
159
  }>;
168
- source: z.ZodOptional<z.ZodObject<{
160
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
169
161
  file: z.ZodString;
170
162
  position: z.ZodOptional<z.ZodObject<{
171
163
  startLine: z.ZodNumber;
@@ -173,7 +165,11 @@ export declare const runnerConfigSchema: z.ZodObject<{
173
165
  endLine: z.ZodOptional<z.ZodNumber>;
174
166
  endColumn: z.ZodOptional<z.ZodNumber>;
175
167
  }, z.core.$strip>>;
176
- }, z.core.$strip>>;
168
+ }, z.core.$strip>, z.ZodObject<{
169
+ url: z.ZodURL;
170
+ snippet: z.ZodOptional<z.ZodString>;
171
+ selector: z.ZodOptional<z.ZodString>;
172
+ }, z.core.$strip>]>>;
177
173
  }, z.core.$strip>>>;
178
174
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
179
175
  title: z.ZodOptional<z.ZodString>;
@@ -224,7 +220,7 @@ export declare const runnerConfigSchema: z.ZodObject<{
224
220
  info: "info";
225
221
  warning: "warning";
226
222
  }>;
227
- source: z.ZodOptional<z.ZodObject<{
223
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
228
224
  file: z.ZodString;
229
225
  position: z.ZodOptional<z.ZodObject<{
230
226
  startLine: z.ZodNumber;
@@ -232,7 +228,11 @@ export declare const runnerConfigSchema: z.ZodObject<{
232
228
  endLine: z.ZodOptional<z.ZodNumber>;
233
229
  endColumn: z.ZodOptional<z.ZodNumber>;
234
230
  }, z.core.$strip>>;
235
- }, z.core.$strip>>;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ url: z.ZodURL;
233
+ snippet: z.ZodOptional<z.ZodString>;
234
+ selector: z.ZodOptional<z.ZodString>;
235
+ }, z.core.$strip>]>>;
236
236
  }, z.core.$strip>>>;
237
237
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
238
238
  title: z.ZodOptional<z.ZodString>;
@@ -272,14 +272,6 @@ export declare const runnerConfigSchema: z.ZodObject<{
272
272
  }, z.core.$strip>>>]>>, unknown>>>;
273
273
  configFile: z.ZodOptional<z.ZodString>;
274
274
  }, z.core.$strip>;
275
- /**
276
- * Type Definition: `RunnerConfig`
277
- *
278
- * This type is derived from a Zod schema and represents
279
- * the validated structure of `RunnerConfig` used within the application.
280
- *
281
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#runnerconfig}
282
- */
283
275
  export type RunnerConfig = z.infer<typeof runnerConfigSchema>;
284
276
  export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknown>, z.ZodTransform<z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<readonly [z.ZodObject<{
285
277
  persist: z.ZodObject<{
@@ -305,7 +297,7 @@ export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknow
305
297
  info: "info";
306
298
  warning: "warning";
307
299
  }>;
308
- source: z.ZodOptional<z.ZodObject<{
300
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
309
301
  file: z.ZodString;
310
302
  position: z.ZodOptional<z.ZodObject<{
311
303
  startLine: z.ZodNumber;
@@ -313,7 +305,11 @@ export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknow
313
305
  endLine: z.ZodOptional<z.ZodNumber>;
314
306
  endColumn: z.ZodOptional<z.ZodNumber>;
315
307
  }, z.core.$strip>>;
316
- }, z.core.$strip>>;
308
+ }, z.core.$strip>, z.ZodObject<{
309
+ url: z.ZodURL;
310
+ snippet: z.ZodOptional<z.ZodString>;
311
+ selector: z.ZodOptional<z.ZodString>;
312
+ }, z.core.$strip>]>>;
317
313
  }, z.core.$strip>>>;
318
314
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
319
315
  title: z.ZodOptional<z.ZodString>;
@@ -364,7 +360,7 @@ export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknow
364
360
  info: "info";
365
361
  warning: "warning";
366
362
  }>;
367
- source: z.ZodOptional<z.ZodObject<{
363
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
368
364
  file: z.ZodString;
369
365
  position: z.ZodOptional<z.ZodObject<{
370
366
  startLine: z.ZodNumber;
@@ -372,7 +368,11 @@ export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknow
372
368
  endLine: z.ZodOptional<z.ZodNumber>;
373
369
  endColumn: z.ZodOptional<z.ZodNumber>;
374
370
  }, z.core.$strip>>;
375
- }, z.core.$strip>>;
371
+ }, z.core.$strip>, z.ZodObject<{
372
+ url: z.ZodURL;
373
+ snippet: z.ZodOptional<z.ZodString>;
374
+ selector: z.ZodOptional<z.ZodString>;
375
+ }, z.core.$strip>]>>;
376
376
  }, z.core.$strip>>>;
377
377
  table: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
378
378
  title: z.ZodOptional<z.ZodString>;
@@ -410,25 +410,9 @@ export declare const runnerFunctionSchema: z.ZodPipe<z.ZodCustom<unknown, unknow
410
410
  }, z.core.$strip>]>>>;
411
411
  }, z.core.$strip>>;
412
412
  }, z.core.$strip>>>]>>, unknown>>;
413
- /**
414
- * Type Definition: `RunnerFunction`
415
- *
416
- * This type is derived from a Zod schema and represents
417
- * the validated structure of `RunnerFunction` used within the application.
418
- *
419
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#runnerfunction}
420
- */
421
413
  export type RunnerFunction = z.infer<typeof runnerFunctionSchema>;
422
414
  export declare const runnerFilesPathsSchema: z.ZodObject<{
423
415
  runnerConfigPath: z.ZodString;
424
416
  runnerOutputPath: z.ZodString;
425
417
  }, z.core.$strip>;
426
- /**
427
- * Type Definition: `RunnerFilesPaths`
428
- *
429
- * This type is derived from a Zod schema and represents
430
- * the validated structure of `RunnerFilesPaths` used within the application.
431
- *
432
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#runnerfilespaths}
433
- */
434
418
  export type RunnerFilesPaths = z.infer<typeof runnerFilesPathsSchema>;
@@ -8,12 +8,24 @@ export declare const sourceFileLocationSchema: z.ZodObject<{
8
8
  endColumn: z.ZodOptional<z.ZodNumber>;
9
9
  }, z.core.$strip>>;
10
10
  }, z.core.$strip>;
11
- /**
12
- * Type Definition: `SourceFileLocation`
13
- *
14
- * This type is derived from a Zod schema and represents
15
- * the validated structure of `SourceFileLocation` used within the application.
16
- *
17
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#sourcefilelocation}
18
- */
19
11
  export type SourceFileLocation = z.infer<typeof sourceFileLocationSchema>;
12
+ export declare const sourceUrlLocationSchema: z.ZodObject<{
13
+ url: z.ZodURL;
14
+ snippet: z.ZodOptional<z.ZodString>;
15
+ selector: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ export type SourceUrlLocation = z.infer<typeof sourceUrlLocationSchema>;
18
+ export declare const issueSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
19
+ file: z.ZodString;
20
+ position: z.ZodOptional<z.ZodObject<{
21
+ startLine: z.ZodNumber;
22
+ startColumn: z.ZodOptional<z.ZodNumber>;
23
+ endLine: z.ZodOptional<z.ZodNumber>;
24
+ endColumn: z.ZodOptional<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ url: z.ZodURL;
28
+ snippet: z.ZodOptional<z.ZodString>;
29
+ selector: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>]>;
31
+ export type IssueSource = z.infer<typeof issueSourceSchema>;
package/src/lib/source.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { filePathSchema, filePositionSchema, } from './implementation/schemas.js';
2
+ import { filePathSchema, filePositionSchema, urlSchema, } from './implementation/schemas.js';
3
3
  export const sourceFileLocationSchema = z
4
4
  .object({
5
5
  file: filePathSchema.meta({
@@ -11,4 +11,26 @@ export const sourceFileLocationSchema = z
11
11
  title: 'SourceFileLocation',
12
12
  description: 'Source file location',
13
13
  });
14
+ export const sourceUrlLocationSchema = z
15
+ .object({
16
+ url: urlSchema.meta({
17
+ description: 'URL of the web page where the issue was found',
18
+ }),
19
+ snippet: z.string().optional().meta({
20
+ description: 'HTML snippet of the element',
21
+ }),
22
+ selector: z.string().optional().meta({
23
+ description: 'CSS selector to locate the element',
24
+ }),
25
+ })
26
+ .meta({
27
+ title: 'SourceUrlLocation',
28
+ description: 'Location of a DOM element in a web page',
29
+ });
30
+ export const issueSourceSchema = z
31
+ .union([sourceFileLocationSchema, sourceUrlLocationSchema])
32
+ .meta({
33
+ title: 'IssueSource',
34
+ description: 'Source location of an issue (file path or URL)',
35
+ });
14
36
  //# sourceMappingURL=source.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/lib/source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;QACxB,WAAW,EAAE,0CAA0C;KACxD,CAAC;IACF,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,IAAI,CAAC;IACJ,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,sBAAsB;CACpC,CAAC,CAAC"}
1
+ {"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/lib/source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,SAAS,GACV,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;QACxB,WAAW,EAAE,0CAA0C;KACxD,CAAC;IACF,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,IAAI,CAAC;IACJ,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,sBAAsB;CACpC,CAAC,CAAC;AAIL,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC;QAClB,WAAW,EAAE,+CAA+C;KAC7D,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAClC,WAAW,EAAE,6BAA6B;KAC3C,CAAC;IACF,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QACnC,WAAW,EAAE,oCAAoC;KAClD,CAAC;CACH,CAAC;KACD,IAAI,CAAC;IACJ,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,yCAAyC;CACvD,CAAC,CAAC;AAIL,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,KAAK,CAAC,CAAC,wBAAwB,EAAE,uBAAuB,CAAC,CAAC;KAC1D,IAAI,CAAC;IACJ,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,gDAAgD;CAC9D,CAAC,CAAC"}
@@ -4,28 +4,12 @@ export declare const tableAlignmentSchema: z.ZodEnum<{
4
4
  center: "center";
5
5
  right: "right";
6
6
  }>;
7
- /**
8
- * Type Definition: `TableAlignment`
9
- *
10
- * This type is derived from a Zod schema and represents
11
- * the validated structure of `TableAlignment` used within the application.
12
- *
13
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablealignment}
14
- */
15
7
  export type TableAlignment = z.infer<typeof tableAlignmentSchema>;
16
8
  export declare const tableColumnPrimitiveSchema: z.ZodEnum<{
17
9
  left: "left";
18
10
  center: "center";
19
11
  right: "right";
20
12
  }>;
21
- /**
22
- * Type Definition: `TableColumnPrimitive`
23
- *
24
- * This type is derived from a Zod schema and represents
25
- * the validated structure of `TableColumnPrimitive` used within the application.
26
- *
27
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablecolumnprimitive}
28
- */
29
13
  export type TableColumnPrimitive = z.infer<typeof tableColumnPrimitiveSchema>;
30
14
  export declare const tableColumnObjectSchema: z.ZodObject<{
31
15
  key: z.ZodString;
@@ -36,34 +20,10 @@ export declare const tableColumnObjectSchema: z.ZodObject<{
36
20
  right: "right";
37
21
  }>>;
38
22
  }, z.core.$strip>;
39
- /**
40
- * Type Definition: `TableColumnObject`
41
- *
42
- * This type is derived from a Zod schema and represents
43
- * the validated structure of `TableColumnObject` used within the application.
44
- *
45
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablecolumnobject}
46
- */
47
23
  export type TableColumnObject = z.infer<typeof tableColumnObjectSchema>;
48
24
  export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
49
- /**
50
- * Type Definition: `TableRowObject`
51
- *
52
- * This type is derived from a Zod schema and represents
53
- * the validated structure of `TableRowObject` used within the application.
54
- *
55
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablerowobject}
56
- */
57
25
  export type TableRowObject = z.infer<typeof tableRowObjectSchema>;
58
26
  export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
59
- /**
60
- * Type Definition: `TableRowPrimitive`
61
- *
62
- * This type is derived from a Zod schema and represents
63
- * the validated structure of `TableRowPrimitive` used within the application.
64
- *
65
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablerowprimitive}
66
- */
67
27
  export type TableRowPrimitive = z.infer<typeof tableRowPrimitiveSchema>;
68
28
  export declare const tableSchema: (description?: string) => z.ZodUnion<readonly [z.ZodObject<{
69
29
  title: z.ZodOptional<z.ZodString>;
@@ -90,12 +50,4 @@ export declare const tableSchema: (description?: string) => z.ZodUnion<readonly
90
50
  }, z.core.$strip>>]>>;
91
51
  rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
92
52
  }, z.core.$strip>]>;
93
- /**
94
- * Type Definition: `Table`
95
- *
96
- * This type is derived from a Zod schema and represents
97
- * the validated structure of `Table` used within the application.
98
- *
99
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#table}
100
- */
101
53
  export type Table = z.infer<ReturnType<typeof tableSchema>>;
package/src/lib/tree.d.ts CHANGED
@@ -4,14 +4,6 @@ declare const basicTreeNodeDataSchema: z.ZodObject<{
4
4
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
5
5
  }, z.core.$strip>;
6
6
  export declare const basicTreeNodeSchema: z.ZodType<BasicTreeNode>;
7
- /**
8
- * Type Definition: `BasicTreeNode`
9
- *
10
- * This type is derived from a Zod schema and represents
11
- * the validated structure of `BasicTreeNode` used within the application.
12
- *
13
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#basictreenode}
14
- */
15
7
  export type BasicTreeNode = z.infer<typeof basicTreeNodeDataSchema> & {
16
8
  children?: BasicTreeNode[];
17
9
  };
@@ -23,14 +15,6 @@ export declare const coverageTreeMissingLOCSchema: z.ZodObject<{
23
15
  name: z.ZodOptional<z.ZodString>;
24
16
  kind: z.ZodOptional<z.ZodString>;
25
17
  }, z.core.$strip>;
26
- /**
27
- * Type Definition: `CoverageTreeMissingLOC`
28
- *
29
- * This type is derived from a Zod schema and represents
30
- * the validated structure of `CoverageTreeMissingLOC` used within the application.
31
- *
32
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#coveragetreemissingloc}
33
- */
34
18
  export type CoverageTreeMissingLOC = z.infer<typeof coverageTreeMissingLOCSchema>;
35
19
  declare const coverageTreeNodeDataSchema: z.ZodObject<{
36
20
  name: z.ZodString;
@@ -47,14 +31,6 @@ declare const coverageTreeNodeDataSchema: z.ZodObject<{
47
31
  }, z.core.$strip>;
48
32
  }, z.core.$strip>;
49
33
  export declare const coverageTreeNodeSchema: z.ZodType<CoverageTreeNode>;
50
- /**
51
- * Type Definition: `CoverageTreeNode`
52
- *
53
- * This type is derived from a Zod schema and represents
54
- * the validated structure of `CoverageTreeNode` used within the application.
55
- *
56
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#coveragetreenode}
57
- */
58
34
  export type CoverageTreeNode = z.infer<typeof coverageTreeNodeDataSchema> & {
59
35
  children?: CoverageTreeNode[];
60
36
  };
@@ -63,28 +39,12 @@ export declare const basicTreeSchema: z.ZodObject<{
63
39
  type: z.ZodOptional<z.ZodLiteral<"basic">>;
64
40
  root: z.ZodType<BasicTreeNode, unknown, z.core.$ZodTypeInternals<BasicTreeNode, unknown>>;
65
41
  }, z.core.$strip>;
66
- /**
67
- * Type Definition: `BasicTree`
68
- *
69
- * This type is derived from a Zod schema and represents
70
- * the validated structure of `BasicTree` used within the application.
71
- *
72
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#basictree}
73
- */
74
42
  export type BasicTree = z.infer<typeof basicTreeSchema>;
75
43
  export declare const coverageTreeSchema: z.ZodObject<{
76
44
  title: z.ZodOptional<z.ZodString>;
77
45
  type: z.ZodLiteral<"coverage">;
78
46
  root: z.ZodType<CoverageTreeNode, unknown, z.core.$ZodTypeInternals<CoverageTreeNode, unknown>>;
79
47
  }, z.core.$strip>;
80
- /**
81
- * Type Definition: `CoverageTree`
82
- *
83
- * This type is derived from a Zod schema and represents
84
- * the validated structure of `CoverageTree` used within the application.
85
- *
86
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#coveragetree}
87
- */
88
48
  export type CoverageTree = z.infer<typeof coverageTreeSchema>;
89
49
  export declare const treeSchema: z.ZodUnion<readonly [z.ZodObject<{
90
50
  title: z.ZodOptional<z.ZodString>;
@@ -95,13 +55,5 @@ export declare const treeSchema: z.ZodUnion<readonly [z.ZodObject<{
95
55
  type: z.ZodLiteral<"coverage">;
96
56
  root: z.ZodType<CoverageTreeNode, unknown, z.core.$ZodTypeInternals<CoverageTreeNode, unknown>>;
97
57
  }, z.core.$strip>]>;
98
- /**
99
- * Type Definition: `Tree`
100
- *
101
- * This type is derived from a Zod schema and represents
102
- * the validated structure of `Tree` used within the application.
103
- *
104
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tree}
105
- */
106
58
  export type Tree = z.infer<typeof treeSchema>;
107
59
  export {};
@@ -6,12 +6,4 @@ export declare const uploadConfigSchema: z.ZodObject<{
6
6
  project: z.ZodString;
7
7
  timeout: z.ZodOptional<z.ZodNumber>;
8
8
  }, z.core.$strip>;
9
- /**
10
- * Type Definition: `UploadConfig`
11
- *
12
- * This type is derived from a Zod schema and represents
13
- * the validated structure of `UploadConfig` used within the application.
14
- *
15
- * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#uploadconfig}
16
- */
17
9
  export type UploadConfig = z.infer<typeof uploadConfigSchema>;