@code-pushup/models 0.45.1 → 0.46.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 +1 -1
- package/src/lib/audit-output.d.ts +36 -30
- package/src/lib/audit.d.ts +6 -4
- package/src/lib/category-config.d.ts +19 -12
- package/src/lib/core-config.d.ts +2681 -5099
- package/src/lib/group.d.ts +6 -4
- package/src/lib/implementation/schemas.d.ts +2 -2
- package/src/lib/issue.d.ts +2 -2
- package/src/lib/plugin-config.d.ts +588 -1385
- package/src/lib/report.d.ts +107 -77
- package/src/lib/reports-diff.d.ts +1174 -424
- package/src/lib/runner-config.d.ts +88 -76
- package/src/lib/table.d.ts +6 -4
package/src/lib/group.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const groupMetaSchema: z.ZodObject<{
|
|
|
24
24
|
docsUrl?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type GroupMeta = z.infer<typeof groupMetaSchema>;
|
|
27
|
-
export declare const groupSchema: z.ZodObject<{
|
|
27
|
+
export declare const groupSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
28
28
|
slug: z.ZodString;
|
|
29
29
|
refs: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
30
30
|
slug: z.ZodString;
|
|
@@ -48,10 +48,11 @@ export declare const groupSchema: z.ZodObject<{
|
|
|
48
48
|
slug: string;
|
|
49
49
|
weight: number;
|
|
50
50
|
}[]>;
|
|
51
|
+
}, {
|
|
51
52
|
title: z.ZodString;
|
|
52
53
|
description: z.ZodOptional<z.ZodString>;
|
|
53
54
|
docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
54
|
-
}
|
|
55
|
+
}>, "strip", z.ZodTypeAny, {
|
|
55
56
|
slug: string;
|
|
56
57
|
refs: {
|
|
57
58
|
slug: string;
|
|
@@ -71,7 +72,7 @@ export declare const groupSchema: z.ZodObject<{
|
|
|
71
72
|
docsUrl?: string | undefined;
|
|
72
73
|
}>;
|
|
73
74
|
export type Group = z.infer<typeof groupSchema>;
|
|
74
|
-
export declare const groupsSchema: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
|
+
export declare const groupsSchema: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
75
76
|
slug: z.ZodString;
|
|
76
77
|
refs: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
77
78
|
slug: z.ZodString;
|
|
@@ -95,10 +96,11 @@ export declare const groupsSchema: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodOb
|
|
|
95
96
|
slug: string;
|
|
96
97
|
weight: number;
|
|
97
98
|
}[]>;
|
|
99
|
+
}, {
|
|
98
100
|
title: z.ZodString;
|
|
99
101
|
description: z.ZodOptional<z.ZodString>;
|
|
100
102
|
docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
101
|
-
}
|
|
103
|
+
}>, "strip", z.ZodTypeAny, {
|
|
102
104
|
slug: string;
|
|
103
105
|
refs: {
|
|
104
106
|
slug: string;
|
|
@@ -67,10 +67,10 @@ export declare function packageVersionSchema<TRequired extends boolean>(options?
|
|
|
67
67
|
}, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
68
68
|
packageName: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
69
69
|
version: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
70
|
-
}>,
|
|
70
|
+
}>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
71
71
|
packageName: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
72
72
|
version: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
73
|
-
}>,
|
|
73
|
+
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
74
74
|
packageName: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
75
75
|
version: TRequired extends true ? ZodString : ZodOptional<ZodString>;
|
|
76
76
|
}> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{
|
package/src/lib/issue.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const issueSchema: z.ZodObject<{
|
|
|
41
41
|
}>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
message: string;
|
|
44
|
-
severity: "
|
|
44
|
+
severity: "info" | "warning" | "error";
|
|
45
45
|
source?: {
|
|
46
46
|
file: string;
|
|
47
47
|
position?: {
|
|
@@ -53,7 +53,7 @@ export declare const issueSchema: z.ZodObject<{
|
|
|
53
53
|
} | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
message: string;
|
|
56
|
-
severity: "
|
|
56
|
+
severity: "info" | "warning" | "error";
|
|
57
57
|
source?: {
|
|
58
58
|
file: string;
|
|
59
59
|
position?: {
|