@code-pushup/models 0.60.2 → 0.62.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/models",
3
- "version": "0.60.2",
3
+ "version": "0.62.0",
4
4
  "license": "MIT",
5
5
  "description": "Model definitions and validators for the Code PushUp CLI",
6
6
  "homepage": "https://github.com/code-pushup/cli/tree/main/packages/models#readme",
package/src/index.d.ts CHANGED
@@ -16,6 +16,6 @@ export { formatSchema, persistConfigSchema, type Format, type PersistConfig, } f
16
16
  export { pluginConfigSchema, pluginMetaSchema, type PluginConfig, type PluginMeta, } from './lib/plugin-config.js';
17
17
  export { auditReportSchema, pluginReportSchema, reportSchema, type AuditReport, type PluginReport, type Report, } from './lib/report.js';
18
18
  export { auditDiffSchema, auditResultSchema, categoryDiffSchema, categoryResultSchema, groupDiffSchema, groupResultSchema, reportsDiffSchema, type AuditDiff, type AuditResult, type CategoryDiff, type CategoryResult, type GroupDiff, type GroupResult, type ReportsDiff, } from './lib/reports-diff.js';
19
- export { onProgressSchema, runnerConfigSchema, runnerFunctionSchema, runnerFilesPathsSchema, type OnProgress, type RunnerConfig, type RunnerFunction, type RunnerFilesPaths, } from './lib/runner-config.js';
19
+ export { runnerConfigSchema, runnerFunctionSchema, runnerFilesPathsSchema, type RunnerConfig, type RunnerFunction, type RunnerFilesPaths, } from './lib/runner-config.js';
20
20
  export { tableAlignmentSchema, tableColumnObjectSchema, tableColumnPrimitiveSchema, tableRowObjectSchema, tableRowPrimitiveSchema, tableSchema, type Table, type TableAlignment, type TableColumnObject, type TableColumnPrimitive, type TableRowObject, type TableRowPrimitive, } from './lib/table.js';
21
21
  export { uploadConfigSchema, type UploadConfig } from './lib/upload-config.js';
package/src/index.js CHANGED
@@ -16,7 +16,7 @@ export { formatSchema, persistConfigSchema, } from './lib/persist-config.js';
16
16
  export { pluginConfigSchema, pluginMetaSchema, } from './lib/plugin-config.js';
17
17
  export { auditReportSchema, pluginReportSchema, reportSchema, } from './lib/report.js';
18
18
  export { auditDiffSchema, auditResultSchema, categoryDiffSchema, categoryResultSchema, groupDiffSchema, groupResultSchema, reportsDiffSchema, } from './lib/reports-diff.js';
19
- export { onProgressSchema, runnerConfigSchema, runnerFunctionSchema, runnerFilesPathsSchema, } from './lib/runner-config.js';
19
+ export { runnerConfigSchema, runnerFunctionSchema, runnerFilesPathsSchema, } from './lib/runner-config.js';
20
20
  export { tableAlignmentSchema, tableColumnObjectSchema, tableColumnPrimitiveSchema, tableRowObjectSchema, tableRowPrimitiveSchema, tableSchema, } from './lib/table.js';
21
21
  export { uploadConfigSchema } from './lib/upload-config.js';
22
22
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/models/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,GAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,wBAAwB,GAEzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GAInB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AACzD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,GAGlB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,YAAY,EAAe,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAmB,MAAM,sBAAsB,CAAC;AACzE,OAAO,EACL,cAAc,EACd,WAAW,GAIZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,6BAA6B,GAC9B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,gBAAgB,GACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,cAAc,EACd,cAAc,EACd,kBAAkB,GAEnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EACL,WAAW,EACX,mBAAmB,GAGpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,mBAAmB,GAGpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GAGjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,GAIb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,GAQlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GAKvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,uBAAuB,EACvB,WAAW,GAOZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAqB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/models/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,GAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,wBAAwB,GAEzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GAInB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AACzD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,GAGlB,MA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 +4,7 @@ export declare const auditSchema: z.ZodObject<z.objectUtil.extendShape<{
4
4
  }, {
5
5
  title: z.ZodString;
6
6
  description: z.ZodOptional<z.ZodString>;
7
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
7
+ docsUrl: z.ZodCatch<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
8
8
  isSkipped: z.ZodOptional<z.ZodBoolean>;
9
9
  }>, "strip", z.ZodTypeAny, {
10
10
  slug: string;
@@ -16,7 +16,7 @@ export declare const auditSchema: z.ZodObject<z.objectUtil.extendShape<{
16
16
  slug: string;
17
17
  title: string;
18
18
  description?: string | undefined;
19
- docsUrl?: string | undefined;
19
+ docsUrl?: unknown;
20
20
  isSkipped?: boolean | undefined;
21
21
  }>;
22
22
  /**
@@ -33,7 +33,7 @@ export declare const pluginAuditsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.o
33
33
  }, {
34
34
  title: z.ZodString;
35
35
  description: z.ZodOptional<z.ZodString>;
36
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
36
+ docsUrl: z.ZodCatch<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
37
37
  isSkipped: z.ZodOptional<z.ZodBoolean>;
38
38
  }>, "strip", z.ZodTypeAny, {
39
39
  slug: string;
@@ -45,7 +45,7 @@ export declare const pluginAuditsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.o
45
45
  slug: string;
46
46
  title: string;
47
47
  description?: string | undefined;
48
- docsUrl?: string | undefined;
48
+ docsUrl?: unknown;
49
49
  isSkipped?: boolean | undefined;
50
50
  }>, "many">, {
51
51
  slug: string;
@@ -57,6 +57,6 @@ export declare const pluginAuditsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.o
57
57
  slug: string;
58
58
  title: string;
59
59
  description?: string | undefined;
60
- docsUrl?: string | undefined;
60
+ docsUrl?: unknown;
61
61
  isSkipped?: boolean | undefined;
62
62
  }[]>;
@@ -67,7 +67,7 @@ export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<
67
67
  }, {
68
68
  title: z.ZodString;
69
69
  description: z.ZodOptional<z.ZodString>;
70
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
70
+ docsUrl: z.ZodCatch<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
71
71
  isSkipped: z.ZodOptional<z.ZodBoolean>;
72
72
  }>, {
73
73
  isBinary: z.ZodOptional<z.ZodBoolean>;
@@ -94,7 +94,7 @@ export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<
94
94
  }[];
95
95
  title: string;
96
96
  description?: string | undefined;
97
- docsUrl?: string | undefined;
97
+ docsUrl?: unknown;
98
98
  isSkipped?: boolean | undefined;
99
99
  isBinary?: boolean | undefined;
100
100
  }>;
@@ -150,7 +150,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
150
150
  }, {
151
151
  title: z.ZodString;
152
152
  description: z.ZodOptional<z.ZodString>;
153
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
153
+ docsUrl: z.ZodCatch<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
154
154
  isSkipped: z.ZodOptional<z.ZodBoolean>;
155
155
  }>, {
156
156
  isBinary: z.ZodOptional<z.ZodBoolean>;
@@ -177,7 +177,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
177
177
  }[];
178
178
  title: string;
179
179
  description?: string | undefined;
180
- docsUrl?: string | undefined;
180
+ docsUrl?: unknown;
181
181
  isSkipped?: boolean | undefined;
182
182
  isBinary?: boolean | undefined;
183
183
  }>, "many">, {
@@ -203,7 +203,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
203
203
  }[];
204
204
  title: string;
205
205
  description?: string | undefined;
206
- docsUrl?: string | undefined;
206
+ docsUrl?: unknown;
207
207
  isSkipped?: boolean | undefined;
208
208
  isBinary?: boolean | undefined;
209
209
  }[]>;