@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.
@@ -21,11 +21,12 @@ export declare const tableRowObjectSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[
21
21
  export type TableRowObject = z.infer<typeof tableRowObjectSchema>;
22
22
  export declare const tableRowPrimitiveSchema: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "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
28
  rows: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">;
28
- }, "strip", z.ZodTypeAny, {
29
+ }>, "strip", z.ZodTypeAny, {
29
30
  rows: (string | number)[][];
30
31
  title?: string | undefined;
31
32
  columns?: ("left" | "center" | "right")[] | undefined;
@@ -33,8 +34,9 @@ export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObj
33
34
  rows: (string | number)[][];
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>;
@@ -49,7 +51,7 @@ export declare const tableSchema: (description?: string) => z.ZodUnion<[z.ZodObj
49
51
  align?: "left" | "center" | "right" | undefined;
50
52
  }>, "many">]>>;
51
53
  rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>, "many">;
52
- }, "strip", z.ZodTypeAny, {
54
+ }>, "strip", z.ZodTypeAny, {
53
55
  rows: Record<string, string | number>[];
54
56
  title?: string | undefined;
55
57
  columns?: ("left" | "center" | "right")[] | {