@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.
@@ -17,24 +17,26 @@ export declare const tableColumnObjectSchema: z.ZodObject<{
17
17
  align?: "left" | "center" | "right" | undefined;
18
18
  }>;
19
19
  export type TableColumnObject = z.infer<typeof tableColumnObjectSchema>;
20
- export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
20
+ export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
21
21
  export type TableRowObject = z.infer<typeof tableRowObjectSchema>;
22
- export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">;
22
+ export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, "many">;
23
23
  export type TableRowPrimitive = z.infer<typeof tableRowPrimitiveSchema>;
24
- export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObject<{
24
+ export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
25
25
  title: z.ZodOptional<z.ZodString>;
26
+ }, {
26
27
  columns: z.ZodOptional<z.ZodArray<z.ZodEnum<["left", "center", "right"]>, "many">>;
27
- rows: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">;
28
- }, "strip", z.ZodTypeAny, {
29
- rows: (string | number)[][];
28
+ rows: z.ZodArray<z.ZodArray<z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, "many">, "many">;
29
+ }>, "strip", z.ZodTypeAny, {
30
+ rows: (string | number | boolean | null)[][];
30
31
  title?: string | undefined;
31
32
  columns?: ("left" | "center" | "right")[] | undefined;
32
33
  }, {
33
- rows: (string | number)[][];
34
+ rows: (string | number | boolean | null | undefined)[][];
34
35
  title?: string | undefined;
35
36
  columns?: ("left" | "center" | "right")[] | undefined;
36
- }>, z.ZodObject<{
37
+ }>, z.ZodObject<z.objectUtil.extendShape<{
37
38
  title: z.ZodOptional<z.ZodString>;
39
+ }, {
38
40
  columns: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["left", "center", "right"]>, "many">, z.ZodArray<z.ZodObject<{
39
41
  key: z.ZodString;
40
42
  label: z.ZodOptional<z.ZodString>;
@@ -48,9 +50,9 @@ export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObj
48
50
  label?: string | undefined;
49
51
  align?: "left" | "center" | "right" | undefined;
50
52
  }>, "many">]>>;
51
- rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>, "many">;
52
- }, "strip", z.ZodTypeAny, {
53
- rows: Record<string, string | number>[];
53
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>, "many">;
54
+ }>, "strip", z.ZodTypeAny, {
55
+ rows: Record<string, string | number | boolean | null>[];
54
56
  title?: string | undefined;
55
57
  columns?: ("left" | "center" | "right")[] | {
56
58
  key: string;
@@ -58,7 +60,7 @@ export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObj
58
60
  align?: "left" | "center" | "right" | undefined;
59
61
  }[] | undefined;
60
62
  }, {
61
- rows: Record<string, string | number>[];
63
+ rows: Record<string, string | number | boolean | null | undefined>[];
62
64
  title?: string | undefined;
63
65
  columns?: ("left" | "center" | "right")[] | {
64
66
  key: string;