@code-pushup/models 0.45.1 → 0.47.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.
@@ -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
- }, "strip", z.ZodTypeAny, {
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
- }, "strip", z.ZodTypeAny, {
103
+ }>, "strip", z.ZodTypeAny, {
102
104
  slug: string;
103
105
  refs: {
104
106
  slug: string;
@@ -1,6 +1,6 @@
1
1
  import { ZodObject, ZodOptional, ZodString, z } from 'zod';
2
- export declare const primitiveValueSchema: z.ZodUnion<[ZodString, z.ZodNumber]>;
3
- export type PrimitiveValue = z.infer<typeof primitiveValueSchema>;
2
+ export declare const tableCellValueSchema: z.ZodDefault<z.ZodUnion<[ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
3
+ export type TableCellValue = z.infer<typeof tableCellValueSchema>;
4
4
  /**
5
5
  * Schema for execution meta date
6
6
  */
@@ -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
- }>, (undefined extends (TRequired extends true ? ZodString : ZodOptional<ZodString>)["_output"] ? never : "packageName") | (undefined extends (TRequired extends true ? ZodString : ZodOptional<ZodString>)["_output"] ? never : "version")> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
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
- }>, (undefined extends (TRequired extends true ? ZodString : ZodOptional<ZodString>)["_output"] ? never : "packageName") | (undefined extends (TRequired extends true ? ZodString : ZodOptional<ZodString>)["_output"] ? never : "version")>[k]; } : never, z.baseObjectInputType<{
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<{
@@ -41,7 +41,7 @@ export declare const issueSchema: z.ZodObject<{
41
41
  }>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  message: string;
44
- severity: "error" | "info" | "warning";
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: "error" | "info" | "warning";
56
+ severity: "info" | "warning" | "error";
57
57
  source?: {
58
58
  file: string;
59
59
  position?: {