@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 +6 -2
- package/package.json +1 -1
- package/src/lib/reports-diff.d.ts +194 -12
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({
|
|
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(
|