@code-pushup/models 0.1.0 → 0.1.1

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
@@ -527,6 +527,7 @@ export {
527
527
  auditReportSchema,
528
528
  auditSchema,
529
529
  categoryConfigSchema,
530
+ categoryRefSchema,
530
531
  coreConfigSchema,
531
532
  formatSchema,
532
533
  materialIconSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/models",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "dependencies": {
5
5
  "zod": "^3.22.1",
6
6
  "@code-pushup/portal-client": "^0.1.2"
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { CategoryConfig, CategoryRef, categoryConfigSchema, } from './lib/category-config';
1
+ export { CategoryConfig, CategoryRef, categoryRefSchema, categoryConfigSchema, } from './lib/category-config';
2
2
  export { CoreConfig, coreConfigSchema, refineCoreConfig, unrefinedCoreConfigSchema, } from './lib/core-config';
3
3
  export { Format, PersistConfig, formatSchema, persistConfigSchema, } from './lib/persist-config';
4
4
  export { PluginConfig, pluginConfigSchema } from './lib/plugin-config';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- declare const categoryRefSchema: z.ZodObject<{
2
+ export declare const categoryRefSchema: z.ZodObject<{
3
3
  slug: z.ZodString;
4
4
  weight: z.ZodNumber;
5
5
  type: z.ZodEnum<["audit", "group"]>;
@@ -75,4 +75,3 @@ export declare const categoryConfigSchema: z.ZodObject<{
75
75
  }>;
76
76
  export type CategoryConfig = z.infer<typeof categoryConfigSchema>;
77
77
  export declare function duplicateRefsInCategoryMetricsErrorMsg(metrics: CategoryRef[]): string;
78
- export {};