@code-pushup/models 0.69.5 → 0.71.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/package.json +2 -2
- package/src/index.d.ts +2 -1
- package/src/index.js +2 -1
- package/src/index.js.map +1 -1
- package/src/lib/audit-output.d.ts +108 -1188
- package/src/lib/audit-output.js +18 -24
- package/src/lib/audit-output.js.map +1 -1
- package/src/lib/audit.d.ts +4 -42
- package/src/lib/audit.js +4 -17
- package/src/lib/audit.js.map +1 -1
- package/src/lib/category-config.d.ts +22 -169
- package/src/lib/category-config.js +21 -28
- package/src/lib/category-config.js.map +1 -1
- package/src/lib/commit.d.ts +2 -12
- package/src/lib/commit.js +10 -13
- package/src/lib/commit.js.map +1 -1
- package/src/lib/configuration.d.ts +24 -0
- package/src/lib/configuration.js +16 -0
- package/src/lib/configuration.js.map +1 -0
- package/src/lib/core-config.d.ts +3104 -14160
- package/src/lib/core-config.js +6 -8
- package/src/lib/core-config.js.map +1 -1
- package/src/lib/group.d.ts +10 -124
- package/src/lib/group.js +6 -27
- package/src/lib/group.js.map +1 -1
- package/src/lib/implementation/checks.d.ts +8 -0
- package/src/lib/implementation/checks.js +28 -0
- package/src/lib/implementation/checks.js.map +1 -0
- package/src/lib/implementation/function.d.ts +22 -0
- package/src/lib/implementation/function.js +53 -0
- package/src/lib/implementation/function.js.map +1 -0
- package/src/lib/implementation/schemas.d.ts +868 -47
- package/src/lib/implementation/schemas.js +48 -41
- package/src/lib/implementation/schemas.js.map +1 -1
- package/src/lib/implementation/utils.d.ts +13 -2
- package/src/lib/implementation/utils.js +15 -11
- package/src/lib/implementation/utils.js.map +1 -1
- package/src/lib/issue.d.ts +13 -55
- package/src/lib/issue.js +10 -7
- package/src/lib/issue.js.map +1 -1
- package/src/lib/persist-config.d.ts +9 -11
- package/src/lib/plugin-config.d.ts +2057 -6578
- package/src/lib/plugin-config.js +16 -11
- package/src/lib/plugin-config.js.map +1 -1
- package/src/lib/report.d.ts +1859 -2580
- package/src/lib/report.js +7 -17
- package/src/lib/report.js.map +1 -1
- package/src/lib/reports-diff.d.ts +105 -2641
- package/src/lib/reports-diff.js +4 -2
- package/src/lib/reports-diff.js.map +1 -1
- package/src/lib/runner-config.d.ts +223 -3393
- package/src/lib/runner-config.js +15 -16
- package/src/lib/runner-config.js.map +1 -1
- package/src/lib/source.d.ts +2 -28
- package/src/lib/source.js +4 -2
- package/src/lib/source.js.map +1 -1
- package/src/lib/table.d.ts +39 -57
- package/src/lib/table.js +18 -16
- package/src/lib/table.js.map +1 -1
- package/src/lib/tree.d.ts +17 -211
- package/src/lib/tree.js +13 -7
- package/src/lib/tree.js.map +1 -1
- package/src/lib/upload-config.d.ts +1 -13
- package/src/lib/upload-config.js +6 -5
- package/src/lib/upload-config.js.map +1 -1
package/src/lib/runner-config.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
2
|
import { auditOutputsSchema } from './audit-output.js';
|
|
3
|
+
import { convertAsyncZodFunctionToSchema } from './implementation/function.js';
|
|
3
4
|
import { filePathSchema } from './implementation/schemas.js';
|
|
4
|
-
export const outputTransformSchema = z
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
export const runnerConfigSchema = z
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
args: z.array(z.string({ description: 'Command arguments' })).optional(),
|
|
5
|
+
export const outputTransformSchema = convertAsyncZodFunctionToSchema(z.function({
|
|
6
|
+
input: [z.unknown()],
|
|
7
|
+
output: z.union([auditOutputsSchema, z.promise(auditOutputsSchema)]),
|
|
8
|
+
}));
|
|
9
|
+
export const runnerConfigSchema = z
|
|
10
|
+
.object({
|
|
11
|
+
command: z.string().describe('Shell command to execute'),
|
|
12
|
+
args: z.array(z.string()).describe('Command arguments').optional(),
|
|
13
13
|
outputFile: filePathSchema.describe('Runner output path'),
|
|
14
14
|
outputTransform: outputTransformSchema.optional(),
|
|
15
15
|
configFile: filePathSchema.describe('Runner config path').optional(),
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
.returns(z.union([auditOutputsSchema, z.promise(auditOutputsSchema)]));
|
|
16
|
+
})
|
|
17
|
+
.describe('How to execute runner');
|
|
18
|
+
export const runnerFunctionSchema = convertAsyncZodFunctionToSchema(z.function({
|
|
19
|
+
output: z.union([auditOutputsSchema, z.promise(auditOutputsSchema)]),
|
|
20
|
+
}));
|
|
22
21
|
export const runnerFilesPathsSchema = z.object({
|
|
23
22
|
runnerConfigPath: filePathSchema.describe('Runner config path'),
|
|
24
23
|
runnerOutputPath: filePathSchema.describe('Runner output path'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner-config.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/runner-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"runner-config.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/runner-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,+BAA+B,CAClE,CAAC,CAAC,QAAQ,CAAC;IACT,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACpB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;CACrE,CAAC,CACH,CAAC;AAGF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE;IAClE,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACzD,eAAe,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;CACrE,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAC;AAIrC,MAAM,CAAC,MAAM,oBAAoB,GAAG,+BAA+B,CACjE,CAAC,CAAC,QAAQ,CAAC;IACT,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;CACrE,CAAC,CACH,CAAC;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,gBAAgB,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/D,gBAAgB,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;CAChE,CAAC,CAAC"}
|
package/src/lib/source.d.ts
CHANGED
|
@@ -6,34 +6,8 @@ export declare const sourceFileLocationSchema: z.ZodObject<{
|
|
|
6
6
|
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
endLine: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
startColumn?: number | undefined;
|
|
12
|
-
endLine?: number | undefined;
|
|
13
|
-
endColumn?: number | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
startLine: number;
|
|
16
|
-
startColumn?: number | undefined;
|
|
17
|
-
endLine?: number | undefined;
|
|
18
|
-
endColumn?: number | undefined;
|
|
19
|
-
}>>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
file: string;
|
|
22
|
-
position?: {
|
|
23
|
-
startLine: number;
|
|
24
|
-
startColumn?: number | undefined;
|
|
25
|
-
endLine?: number | undefined;
|
|
26
|
-
endColumn?: number | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
file: string;
|
|
30
|
-
position?: {
|
|
31
|
-
startLine: number;
|
|
32
|
-
startColumn?: number | undefined;
|
|
33
|
-
endLine?: number | undefined;
|
|
34
|
-
endColumn?: number | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
}>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
37
11
|
/**
|
|
38
12
|
* Type Definition: `SourceFileLocation`
|
|
39
13
|
*
|
package/src/lib/source.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { filePathSchema, filePositionSchema, } from './implementation/schemas.js';
|
|
3
|
-
export const sourceFileLocationSchema = z
|
|
3
|
+
export const sourceFileLocationSchema = z
|
|
4
|
+
.object({
|
|
4
5
|
file: filePathSchema.describe('Relative path to source file in Git repo'),
|
|
5
6
|
position: filePositionSchema.optional(),
|
|
6
|
-
}
|
|
7
|
+
})
|
|
8
|
+
.describe('Source file location');
|
|
7
9
|
//# sourceMappingURL=source.js.map
|
package/src/lib/source.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../../../packages/models/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,
|
|
1
|
+
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../../../packages/models/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,QAAQ,CAAC,0CAA0C,CAAC;IACzE,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,QAAQ,CAAC,sBAAsB,CAAC,CAAC"}
|
package/src/lib/table.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const tableAlignmentSchema: z.ZodEnum<
|
|
2
|
+
export declare const tableAlignmentSchema: z.ZodEnum<{
|
|
3
|
+
left: "left";
|
|
4
|
+
center: "center";
|
|
5
|
+
right: "right";
|
|
6
|
+
}>;
|
|
3
7
|
/**
|
|
4
8
|
* Type Definition: `TableAlignment`
|
|
5
9
|
*
|
|
@@ -9,7 +13,11 @@ export declare const tableAlignmentSchema: z.ZodEnum<["left", "center", "right"]
|
|
|
9
13
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablealignment}
|
|
10
14
|
*/
|
|
11
15
|
export type TableAlignment = z.infer<typeof tableAlignmentSchema>;
|
|
12
|
-
export declare const tableColumnPrimitiveSchema: z.ZodEnum<
|
|
16
|
+
export declare const tableColumnPrimitiveSchema: z.ZodEnum<{
|
|
17
|
+
left: "left";
|
|
18
|
+
center: "center";
|
|
19
|
+
right: "right";
|
|
20
|
+
}>;
|
|
13
21
|
/**
|
|
14
22
|
* Type Definition: `TableColumnPrimitive`
|
|
15
23
|
*
|
|
@@ -22,16 +30,12 @@ export type TableColumnPrimitive = z.infer<typeof tableColumnPrimitiveSchema>;
|
|
|
22
30
|
export declare const tableColumnObjectSchema: z.ZodObject<{
|
|
23
31
|
key: z.ZodString;
|
|
24
32
|
label: z.ZodOptional<z.ZodString>;
|
|
25
|
-
align: z.ZodOptional<z.ZodEnum<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
key: string;
|
|
32
|
-
label?: string | undefined;
|
|
33
|
-
align?: "left" | "center" | "right" | undefined;
|
|
34
|
-
}>;
|
|
33
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
left: "left";
|
|
35
|
+
center: "center";
|
|
36
|
+
right: "right";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
35
39
|
/**
|
|
36
40
|
* Type Definition: `TableColumnObject`
|
|
37
41
|
*
|
|
@@ -41,7 +45,7 @@ export declare const tableColumnObjectSchema: z.ZodObject<{
|
|
|
41
45
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablecolumnobject}
|
|
42
46
|
*/
|
|
43
47
|
export type TableColumnObject = z.infer<typeof tableColumnObjectSchema>;
|
|
44
|
-
export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
48
|
+
export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
45
49
|
/**
|
|
46
50
|
* Type Definition: `TableRowObject`
|
|
47
51
|
*
|
|
@@ -51,7 +55,7 @@ export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodDefault
|
|
|
51
55
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablerowobject}
|
|
52
56
|
*/
|
|
53
57
|
export type TableRowObject = z.infer<typeof tableRowObjectSchema>;
|
|
54
|
-
export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]
|
|
58
|
+
export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
55
59
|
/**
|
|
56
60
|
* Type Definition: `TableRowPrimitive`
|
|
57
61
|
*
|
|
@@ -61,53 +65,31 @@ export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodDefault<z.ZodUnion
|
|
|
61
65
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#tablerowprimitive}
|
|
62
66
|
*/
|
|
63
67
|
export type TableRowPrimitive = z.infer<typeof tableRowPrimitiveSchema>;
|
|
64
|
-
export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObject<
|
|
68
|
+
export declare const tableSchema: (description?: string) => z.ZodUnion<readonly [z.ZodObject<{
|
|
65
69
|
title: z.ZodOptional<z.ZodString>;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}, {
|
|
74
|
-
rows: (string | number | boolean | null | undefined)[][];
|
|
75
|
-
title?: string | undefined;
|
|
76
|
-
columns?: ("left" | "center" | "right")[] | undefined;
|
|
77
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
70
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
71
|
+
left: "left";
|
|
72
|
+
center: "center";
|
|
73
|
+
right: "right";
|
|
74
|
+
}>>>;
|
|
75
|
+
rows: z.ZodArray<z.ZodArray<z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
77
|
title: z.ZodOptional<z.ZodString>;
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
79
|
+
left: "left";
|
|
80
|
+
center: "center";
|
|
81
|
+
right: "right";
|
|
82
|
+
}>>, z.ZodArray<z.ZodObject<{
|
|
81
83
|
key: z.ZodString;
|
|
82
84
|
label: z.ZodOptional<z.ZodString>;
|
|
83
|
-
align: z.ZodOptional<z.ZodEnum<
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
align?: "left" | "center" | "right" | undefined;
|
|
92
|
-
}>, "many">]>>;
|
|
93
|
-
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>, "many">;
|
|
94
|
-
}>, "strip", z.ZodTypeAny, {
|
|
95
|
-
rows: Record<string, string | number | boolean | null>[];
|
|
96
|
-
title?: string | undefined;
|
|
97
|
-
columns?: ("left" | "center" | "right")[] | {
|
|
98
|
-
key: string;
|
|
99
|
-
label?: string | undefined;
|
|
100
|
-
align?: "left" | "center" | "right" | undefined;
|
|
101
|
-
}[] | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
rows: Record<string, string | number | boolean | null | undefined>[];
|
|
104
|
-
title?: string | undefined;
|
|
105
|
-
columns?: ("left" | "center" | "right")[] | {
|
|
106
|
-
key: string;
|
|
107
|
-
label?: string | undefined;
|
|
108
|
-
align?: "left" | "center" | "right" | undefined;
|
|
109
|
-
}[] | undefined;
|
|
110
|
-
}>]>;
|
|
85
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
86
|
+
left: "left";
|
|
87
|
+
center: "center";
|
|
88
|
+
right: "right";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strip>>]>>;
|
|
91
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
92
|
+
}, z.core.$strip>]>;
|
|
111
93
|
/**
|
|
112
94
|
* Type Definition: `Table`
|
|
113
95
|
*
|
package/src/lib/table.js
CHANGED
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { tableCellValueSchema } from './implementation/schemas.js';
|
|
3
|
-
export const tableAlignmentSchema = z
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export const tableAlignmentSchema = z
|
|
4
|
+
.enum(['left', 'center', 'right'])
|
|
5
|
+
.describe('Cell alignment');
|
|
6
6
|
export const tableColumnPrimitiveSchema = tableAlignmentSchema;
|
|
7
7
|
export const tableColumnObjectSchema = z.object({
|
|
8
8
|
key: z.string(),
|
|
9
9
|
label: z.string().optional(),
|
|
10
10
|
align: tableAlignmentSchema.optional(),
|
|
11
11
|
});
|
|
12
|
-
export const tableRowObjectSchema = z
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export const tableRowPrimitiveSchema = z
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
export const tableRowObjectSchema = z
|
|
13
|
+
.record(z.string(), tableCellValueSchema)
|
|
14
|
+
.describe('Object row');
|
|
15
|
+
export const tableRowPrimitiveSchema = z
|
|
16
|
+
.array(tableCellValueSchema)
|
|
17
|
+
.describe('Primitive row');
|
|
18
18
|
const tableSharedSchema = z.object({
|
|
19
19
|
title: z.string().optional().describe('Display title for table'),
|
|
20
20
|
});
|
|
21
|
-
const tablePrimitiveSchema = tableSharedSchema
|
|
21
|
+
const tablePrimitiveSchema = tableSharedSchema
|
|
22
|
+
.merge(z.object({
|
|
22
23
|
columns: z.array(tableAlignmentSchema).optional(),
|
|
23
24
|
rows: z.array(tableRowPrimitiveSchema),
|
|
24
|
-
}
|
|
25
|
-
|
|
25
|
+
}))
|
|
26
|
+
.describe('Table with primitive rows and optional alignment columns');
|
|
27
|
+
const tableObjectSchema = tableSharedSchema
|
|
28
|
+
.merge(z.object({
|
|
26
29
|
columns: z
|
|
27
30
|
.union([
|
|
28
31
|
z.array(tableAlignmentSchema),
|
|
@@ -30,8 +33,7 @@ const tableObjectSchema = tableSharedSchema.merge(z.object({
|
|
|
30
33
|
])
|
|
31
34
|
.optional(),
|
|
32
35
|
rows: z.array(tableRowObjectSchema),
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export const tableSchema = (description = 'Table information') => z.union([tablePrimitiveSchema, tableObjectSchema], { description });
|
|
36
|
+
}))
|
|
37
|
+
.describe('Table with object rows and optional alignment or object columns');
|
|
38
|
+
export const tableSchema = (description = 'Table information') => z.union([tablePrimitiveSchema, tableObjectSchema]).describe(description);
|
|
37
39
|
//# sourceMappingURL=table.js.map
|
package/src/lib/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KACjC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAG9B,MAAM,CAAC,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAG/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IAC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E,CAC/D,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC"}
|
package/src/lib/tree.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const basicTreeNodeDataSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
5
|
-
},
|
|
6
|
-
name: string;
|
|
7
|
-
values?: Record<string, string | number> | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
name: string;
|
|
10
|
-
values?: Record<string, string | number> | undefined;
|
|
11
|
-
}>;
|
|
4
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
5
|
+
}, z.core.$strip>;
|
|
12
6
|
export declare const basicTreeNodeSchema: z.ZodType<BasicTreeNode>;
|
|
13
7
|
/**
|
|
14
8
|
* Type Definition: `BasicTreeNode`
|
|
@@ -21,29 +15,14 @@ export declare const basicTreeNodeSchema: z.ZodType<BasicTreeNode>;
|
|
|
21
15
|
export type BasicTreeNode = z.infer<typeof basicTreeNodeDataSchema> & {
|
|
22
16
|
children?: BasicTreeNode[];
|
|
23
17
|
};
|
|
24
|
-
export declare const coverageTreeMissingLOCSchema: z.ZodObject<
|
|
18
|
+
export declare const coverageTreeMissingLOCSchema: z.ZodObject<{
|
|
25
19
|
startLine: z.ZodNumber;
|
|
26
20
|
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
27
21
|
endLine: z.ZodOptional<z.ZodNumber>;
|
|
28
22
|
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
}, {
|
|
30
23
|
name: z.ZodOptional<z.ZodString>;
|
|
31
24
|
kind: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}
|
|
33
|
-
startLine: number;
|
|
34
|
-
startColumn?: number | undefined;
|
|
35
|
-
endLine?: number | undefined;
|
|
36
|
-
endColumn?: number | undefined;
|
|
37
|
-
name?: string | undefined;
|
|
38
|
-
kind?: string | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
startLine: number;
|
|
41
|
-
startColumn?: number | undefined;
|
|
42
|
-
endLine?: number | undefined;
|
|
43
|
-
endColumn?: number | undefined;
|
|
44
|
-
name?: string | undefined;
|
|
45
|
-
kind?: string | undefined;
|
|
46
|
-
}>;
|
|
25
|
+
}, z.core.$strip>;
|
|
47
26
|
/**
|
|
48
27
|
* Type Definition: `CoverageTreeMissingLOC`
|
|
49
28
|
*
|
|
@@ -57,77 +36,16 @@ declare const coverageTreeNodeDataSchema: z.ZodObject<{
|
|
|
57
36
|
name: z.ZodString;
|
|
58
37
|
values: z.ZodObject<{
|
|
59
38
|
coverage: z.ZodNumber;
|
|
60
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
39
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
40
|
startLine: z.ZodNumber;
|
|
62
41
|
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
63
42
|
endLine: z.ZodOptional<z.ZodNumber>;
|
|
64
43
|
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
65
|
-
}, {
|
|
66
44
|
name: z.ZodOptional<z.ZodString>;
|
|
67
45
|
kind: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
endLine?: number | undefined;
|
|
72
|
-
endColumn?: number | undefined;
|
|
73
|
-
name?: string | undefined;
|
|
74
|
-
kind?: string | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
startLine: number;
|
|
77
|
-
startColumn?: number | undefined;
|
|
78
|
-
endLine?: number | undefined;
|
|
79
|
-
endColumn?: number | undefined;
|
|
80
|
-
name?: string | undefined;
|
|
81
|
-
kind?: string | undefined;
|
|
82
|
-
}>, "many">>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
coverage: number;
|
|
85
|
-
missing?: {
|
|
86
|
-
startLine: number;
|
|
87
|
-
startColumn?: number | undefined;
|
|
88
|
-
endLine?: number | undefined;
|
|
89
|
-
endColumn?: number | undefined;
|
|
90
|
-
name?: string | undefined;
|
|
91
|
-
kind?: string | undefined;
|
|
92
|
-
}[] | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
coverage: number;
|
|
95
|
-
missing?: {
|
|
96
|
-
startLine: number;
|
|
97
|
-
startColumn?: number | undefined;
|
|
98
|
-
endLine?: number | undefined;
|
|
99
|
-
endColumn?: number | undefined;
|
|
100
|
-
name?: string | undefined;
|
|
101
|
-
kind?: string | undefined;
|
|
102
|
-
}[] | undefined;
|
|
103
|
-
}>;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
values: {
|
|
106
|
-
coverage: number;
|
|
107
|
-
missing?: {
|
|
108
|
-
startLine: number;
|
|
109
|
-
startColumn?: number | undefined;
|
|
110
|
-
endLine?: number | undefined;
|
|
111
|
-
endColumn?: number | undefined;
|
|
112
|
-
name?: string | undefined;
|
|
113
|
-
kind?: string | undefined;
|
|
114
|
-
}[] | undefined;
|
|
115
|
-
};
|
|
116
|
-
name: string;
|
|
117
|
-
}, {
|
|
118
|
-
values: {
|
|
119
|
-
coverage: number;
|
|
120
|
-
missing?: {
|
|
121
|
-
startLine: number;
|
|
122
|
-
startColumn?: number | undefined;
|
|
123
|
-
endLine?: number | undefined;
|
|
124
|
-
endColumn?: number | undefined;
|
|
125
|
-
name?: string | undefined;
|
|
126
|
-
kind?: string | undefined;
|
|
127
|
-
}[] | undefined;
|
|
128
|
-
};
|
|
129
|
-
name: string;
|
|
130
|
-
}>;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
}, z.core.$strip>;
|
|
131
49
|
export declare const coverageTreeNodeSchema: z.ZodType<CoverageTreeNode>;
|
|
132
50
|
/**
|
|
133
51
|
* Type Definition: `CoverageTreeNode`
|
|
@@ -143,26 +61,8 @@ export type CoverageTreeNode = z.infer<typeof coverageTreeNodeDataSchema> & {
|
|
|
143
61
|
export declare const basicTreeSchema: z.ZodObject<{
|
|
144
62
|
title: z.ZodOptional<z.ZodString>;
|
|
145
63
|
type: z.ZodOptional<z.ZodLiteral<"basic">>;
|
|
146
|
-
root: z.ZodType<BasicTreeNode, z.
|
|
147
|
-
},
|
|
148
|
-
root: {
|
|
149
|
-
name: string;
|
|
150
|
-
values?: Record<string, string | number> | undefined;
|
|
151
|
-
} & {
|
|
152
|
-
children?: BasicTreeNode[];
|
|
153
|
-
};
|
|
154
|
-
type?: "basic" | undefined;
|
|
155
|
-
title?: string | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
root: {
|
|
158
|
-
name: string;
|
|
159
|
-
values?: Record<string, string | number> | undefined;
|
|
160
|
-
} & {
|
|
161
|
-
children?: BasicTreeNode[];
|
|
162
|
-
};
|
|
163
|
-
type?: "basic" | undefined;
|
|
164
|
-
title?: string | undefined;
|
|
165
|
-
}>;
|
|
64
|
+
root: z.ZodType<BasicTreeNode, unknown, z.core.$ZodTypeInternals<BasicTreeNode, unknown>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
166
66
|
/**
|
|
167
67
|
* Type Definition: `BasicTree`
|
|
168
68
|
*
|
|
@@ -175,46 +75,8 @@ export type BasicTree = z.infer<typeof basicTreeSchema>;
|
|
|
175
75
|
export declare const coverageTreeSchema: z.ZodObject<{
|
|
176
76
|
title: z.ZodOptional<z.ZodString>;
|
|
177
77
|
type: z.ZodLiteral<"coverage">;
|
|
178
|
-
root: z.ZodType<CoverageTreeNode, z.
|
|
179
|
-
},
|
|
180
|
-
type: "coverage";
|
|
181
|
-
root: {
|
|
182
|
-
values: {
|
|
183
|
-
coverage: number;
|
|
184
|
-
missing?: {
|
|
185
|
-
startLine: number;
|
|
186
|
-
startColumn?: number | undefined;
|
|
187
|
-
endLine?: number | undefined;
|
|
188
|
-
endColumn?: number | undefined;
|
|
189
|
-
name?: string | undefined;
|
|
190
|
-
kind?: string | undefined;
|
|
191
|
-
}[] | undefined;
|
|
192
|
-
};
|
|
193
|
-
name: string;
|
|
194
|
-
} & {
|
|
195
|
-
children?: CoverageTreeNode[];
|
|
196
|
-
};
|
|
197
|
-
title?: string | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
type: "coverage";
|
|
200
|
-
root: {
|
|
201
|
-
values: {
|
|
202
|
-
coverage: number;
|
|
203
|
-
missing?: {
|
|
204
|
-
startLine: number;
|
|
205
|
-
startColumn?: number | undefined;
|
|
206
|
-
endLine?: number | undefined;
|
|
207
|
-
endColumn?: number | undefined;
|
|
208
|
-
name?: string | undefined;
|
|
209
|
-
kind?: string | undefined;
|
|
210
|
-
}[] | undefined;
|
|
211
|
-
};
|
|
212
|
-
name: string;
|
|
213
|
-
} & {
|
|
214
|
-
children?: CoverageTreeNode[];
|
|
215
|
-
};
|
|
216
|
-
title?: string | undefined;
|
|
217
|
-
}>;
|
|
78
|
+
root: z.ZodType<CoverageTreeNode, unknown, z.core.$ZodTypeInternals<CoverageTreeNode, unknown>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
218
80
|
/**
|
|
219
81
|
* Type Definition: `CoverageTree`
|
|
220
82
|
*
|
|
@@ -224,71 +86,15 @@ export declare const coverageTreeSchema: z.ZodObject<{
|
|
|
224
86
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#coveragetree}
|
|
225
87
|
*/
|
|
226
88
|
export type CoverageTree = z.infer<typeof coverageTreeSchema>;
|
|
227
|
-
export declare const treeSchema: z.ZodUnion<[z.ZodObject<{
|
|
89
|
+
export declare const treeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
228
90
|
title: z.ZodOptional<z.ZodString>;
|
|
229
91
|
type: z.ZodOptional<z.ZodLiteral<"basic">>;
|
|
230
|
-
root: z.ZodType<BasicTreeNode, z.
|
|
231
|
-
},
|
|
232
|
-
root: {
|
|
233
|
-
name: string;
|
|
234
|
-
values?: Record<string, string | number> | undefined;
|
|
235
|
-
} & {
|
|
236
|
-
children?: BasicTreeNode[];
|
|
237
|
-
};
|
|
238
|
-
type?: "basic" | undefined;
|
|
239
|
-
title?: string | undefined;
|
|
240
|
-
}, {
|
|
241
|
-
root: {
|
|
242
|
-
name: string;
|
|
243
|
-
values?: Record<string, string | number> | undefined;
|
|
244
|
-
} & {
|
|
245
|
-
children?: BasicTreeNode[];
|
|
246
|
-
};
|
|
247
|
-
type?: "basic" | undefined;
|
|
248
|
-
title?: string | undefined;
|
|
249
|
-
}>, z.ZodObject<{
|
|
92
|
+
root: z.ZodType<BasicTreeNode, unknown, z.core.$ZodTypeInternals<BasicTreeNode, unknown>>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
94
|
title: z.ZodOptional<z.ZodString>;
|
|
251
95
|
type: z.ZodLiteral<"coverage">;
|
|
252
|
-
root: z.ZodType<CoverageTreeNode, z.
|
|
253
|
-
},
|
|
254
|
-
type: "coverage";
|
|
255
|
-
root: {
|
|
256
|
-
values: {
|
|
257
|
-
coverage: number;
|
|
258
|
-
missing?: {
|
|
259
|
-
startLine: number;
|
|
260
|
-
startColumn?: number | undefined;
|
|
261
|
-
endLine?: number | undefined;
|
|
262
|
-
endColumn?: number | undefined;
|
|
263
|
-
name?: string | undefined;
|
|
264
|
-
kind?: string | undefined;
|
|
265
|
-
}[] | undefined;
|
|
266
|
-
};
|
|
267
|
-
name: string;
|
|
268
|
-
} & {
|
|
269
|
-
children?: CoverageTreeNode[];
|
|
270
|
-
};
|
|
271
|
-
title?: string | undefined;
|
|
272
|
-
}, {
|
|
273
|
-
type: "coverage";
|
|
274
|
-
root: {
|
|
275
|
-
values: {
|
|
276
|
-
coverage: number;
|
|
277
|
-
missing?: {
|
|
278
|
-
startLine: number;
|
|
279
|
-
startColumn?: number | undefined;
|
|
280
|
-
endLine?: number | undefined;
|
|
281
|
-
endColumn?: number | undefined;
|
|
282
|
-
name?: string | undefined;
|
|
283
|
-
kind?: string | undefined;
|
|
284
|
-
}[] | undefined;
|
|
285
|
-
};
|
|
286
|
-
name: string;
|
|
287
|
-
} & {
|
|
288
|
-
children?: CoverageTreeNode[];
|
|
289
|
-
};
|
|
290
|
-
title?: string | undefined;
|
|
291
|
-
}>]>;
|
|
96
|
+
root: z.ZodType<CoverageTreeNode, unknown, z.core.$ZodTypeInternals<CoverageTreeNode, unknown>>;
|
|
97
|
+
}, z.core.$strip>]>;
|
|
292
98
|
/**
|
|
293
99
|
* Type Definition: `Tree`
|
|
294
100
|
*
|
package/src/lib/tree.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { filePositionSchema } from './implementation/schemas.js';
|
|
3
|
-
const basicTreeNodeValuesSchema = z.record(z.union([z.number(), z.string()]));
|
|
3
|
+
const basicTreeNodeValuesSchema = z.record(z.string(), z.union([z.number(), z.string()]));
|
|
4
4
|
const basicTreeNodeDataSchema = z.object({
|
|
5
5
|
name: z.string().min(1).describe('Text label for node'),
|
|
6
6
|
values: basicTreeNodeValuesSchema
|
|
@@ -8,9 +8,12 @@ const basicTreeNodeDataSchema = z.object({
|
|
|
8
8
|
.describe('Additional values for node'),
|
|
9
9
|
});
|
|
10
10
|
export const basicTreeNodeSchema = basicTreeNodeDataSchema.extend({
|
|
11
|
-
children
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
get children() {
|
|
12
|
+
return z
|
|
13
|
+
.array(basicTreeNodeSchema)
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('Direct descendants of this node (omit if leaf)');
|
|
16
|
+
},
|
|
14
17
|
});
|
|
15
18
|
export const coverageTreeMissingLOCSchema = filePositionSchema
|
|
16
19
|
.extend({
|
|
@@ -30,9 +33,12 @@ const coverageTreeNodeDataSchema = z.object({
|
|
|
30
33
|
values: coverageTreeNodeValuesSchema.describe('Coverage metrics for file/folder'),
|
|
31
34
|
});
|
|
32
35
|
export const coverageTreeNodeSchema = coverageTreeNodeDataSchema.extend({
|
|
33
|
-
children
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
get children() {
|
|
37
|
+
return z
|
|
38
|
+
.array(coverageTreeNodeSchema)
|
|
39
|
+
.optional()
|
|
40
|
+
.describe('Files and folders contained in this folder (omit if file)');
|
|
41
|
+
},
|
|
36
42
|
});
|
|
37
43
|
export const basicTreeSchema = z
|
|
38
44
|
.object({
|
package/src/lib/tree.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CACxC,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAClC,CAAC;AACF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IACvD,MAAM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