@code-pushup/models 0.34.0 → 0.39.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/index.js CHANGED
@@ -583,10 +583,14 @@ function makeArraysComparisonSchema(diffSchema, resultSchema, description) {
583
583
  { description }
584
584
  );
585
585
  }
586
- var scorableMetaSchema = z14.object({ slug: slugSchema, title: titleSchema });
586
+ var scorableMetaSchema = z14.object({
587
+ slug: slugSchema,
588
+ title: titleSchema,
589
+ docsUrl: docsUrlSchema
590
+ });
587
591
  var scorableWithPluginMetaSchema = scorableMetaSchema.merge(
588
592
  z14.object({
589
- plugin: pluginMetaSchema.pick({ slug: true, title: true }).describe("Plugin which defines it")
593
+ plugin: pluginMetaSchema.pick({ slug: true, title: true, docsUrl: true }).describe("Plugin which defines it")
590
594
  })
591
595
  );
592
596
  var scorableDiffSchema = scorableMetaSchema.merge(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/models",
3
- "version": "0.34.0",
3
+ "version": "0.39.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "zod": "^3.22.1",