@code-pushup/models 0.57.0 → 0.58.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.57.0",
3
+ "version": "0.58.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
@@ -1,21 +1,21 @@
1
- export { type TableCellValue, tableCellValueSchema, } from './lib/implementation/schemas.js';
2
- export { type SourceFileLocation, sourceFileLocationSchema, } from './lib/source.js';
3
- export { type Audit, auditSchema } from './lib/audit.js';
4
- export { type AuditDetails, type AuditOutput, type AuditOutputs, auditDetailsSchema, auditOutputSchema, auditOutputsSchema, } from './lib/audit-output.js';
5
- export { type CategoryConfig, type CategoryRef, categoryConfigSchema, categoryRefSchema, } from './lib/category-config.js';
6
- export { type Commit, commitSchema } from './lib/commit.js';
7
- export { type CoreConfig, coreConfigSchema } from './lib/core-config.js';
8
- export { type Group, type GroupRef, type GroupMeta, groupRefSchema, groupSchema, } from './lib/group.js';
1
+ export { tableCellValueSchema, type TableCellValue, } from './lib/implementation/schemas.js';
2
+ export { sourceFileLocationSchema, type SourceFileLocation, } from './lib/source.js';
3
+ export { auditDetailsSchema, auditOutputSchema, auditOutputsSchema, type AuditDetails, type AuditOutput, type AuditOutputs, } from './lib/audit-output.js';
4
+ export { auditSchema, type Audit } from './lib/audit.js';
5
+ export { categoryConfigSchema, categoryRefSchema, type CategoryConfig, type CategoryRef, } from './lib/category-config.js';
6
+ export { commitSchema, type Commit } from './lib/commit.js';
7
+ export { coreConfigSchema, type CoreConfig } from './lib/core-config.js';
8
+ export { groupRefSchema, groupSchema, type Group, type GroupMeta, type GroupRef, } from './lib/group.js';
9
9
  export { CONFIG_FILE_NAME, SUPPORTED_CONFIG_FILE_FORMATS, } from './lib/implementation/configuration.js';
10
10
  export { DEFAULT_PERSIST_FILENAME, DEFAULT_PERSIST_FORMAT, DEFAULT_PERSIST_OUTPUT_DIR, } from './lib/implementation/constants.js';
11
11
  export { MAX_DESCRIPTION_LENGTH, MAX_ISSUE_MESSAGE_LENGTH, MAX_SLUG_LENGTH, MAX_TITLE_LENGTH, } from './lib/implementation/limits.js';
12
- export { type MaterialIcon, materialIconSchema, } from './lib/implementation/schemas.js';
12
+ export { fileNameSchema, filePathSchema, materialIconSchema, type MaterialIcon, } from './lib/implementation/schemas.js';
13
13
  export { exists } from './lib/implementation/utils.js';
14
- export { type TableAlignment, tableAlignmentSchema, type TableRowPrimitive, tableRowPrimitiveSchema, type TableRowObject, tableRowObjectSchema, type TableColumnPrimitive, tableColumnPrimitiveSchema, type TableColumnObject, tableColumnObjectSchema, type Table, tableSchema, } from './lib/table.js';
15
- export { type Issue, type IssueSeverity, issueSchema, issueSeveritySchema, } from './lib/issue.js';
16
- export { type Format, type PersistConfig, formatSchema, persistConfigSchema, } from './lib/persist-config.js';
17
- export { type PluginConfig, type PluginMeta, pluginConfigSchema, pluginMetaSchema, } from './lib/plugin-config.js';
18
- export { type AuditReport, type PluginReport, type Report, auditReportSchema, pluginReportSchema, reportSchema, } from './lib/report.js';
19
- export { type AuditDiff, type AuditResult, type CategoryDiff, type CategoryResult, type GroupDiff, type GroupResult, type ReportsDiff, auditDiffSchema, auditResultSchema, categoryDiffSchema, categoryResultSchema, groupDiffSchema, groupResultSchema, reportsDiffSchema, } from './lib/reports-diff.js';
20
- export { type OnProgress, type RunnerConfig, type RunnerFunction, onProgressSchema, runnerConfigSchema, runnerFunctionSchema, } from './lib/runner-config.js';
21
- export { type UploadConfig, uploadConfigSchema } from './lib/upload-config.js';
14
+ export { issueSchema, issueSeveritySchema, type Issue, type IssueSeverity, } from './lib/issue.js';
15
+ export { formatSchema, persistConfigSchema, type Format, type PersistConfig, } from './lib/persist-config.js';
16
+ export { pluginConfigSchema, pluginMetaSchema, type PluginConfig, type PluginMeta, } from './lib/plugin-config.js';
17
+ export { auditReportSchema, pluginReportSchema, reportSchema, type AuditReport, type PluginReport, type Report, } from './lib/report.js';
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';
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
+ export { uploadConfigSchema, type UploadConfig } from './lib/upload-config.js';
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { tableCellValueSchema, } from './lib/implementation/schemas.js';
2
2
  export { sourceFileLocationSchema, } from './lib/source.js';
3
- export { auditSchema } from './lib/audit.js';
4
3
  export { auditDetailsSchema, auditOutputSchema, auditOutputsSchema, } from './lib/audit-output.js';
4
+ export { auditSchema } from './lib/audit.js';
5
5
  export { categoryConfigSchema, categoryRefSchema, } from './lib/category-config.js';
6
6
  export { commitSchema } from './lib/commit.js';
7
7
  export { coreConfigSchema } from './lib/core-config.js';
@@ -9,14 +9,14 @@ export { groupRefSchema, groupSchema, } from './lib/group.js';
9
9
  export { CONFIG_FILE_NAME, SUPPORTED_CONFIG_FILE_FORMATS, } from './lib/implementation/configuration.js';
10
10
  export { DEFAULT_PERSIST_FILENAME, DEFAULT_PERSIST_FORMAT, DEFAULT_PERSIST_OUTPUT_DIR, } from './lib/implementation/constants.js';
11
11
  export { MAX_DESCRIPTION_LENGTH, MAX_ISSUE_MESSAGE_LENGTH, MAX_SLUG_LENGTH, MAX_TITLE_LENGTH, } from './lib/implementation/limits.js';
12
- export { materialIconSchema, } from './lib/implementation/schemas.js';
12
+ export { fileNameSchema, filePathSchema, materialIconSchema, } from './lib/implementation/schemas.js';
13
13
  export { exists } from './lib/implementation/utils.js';
14
- export { tableAlignmentSchema, tableRowPrimitiveSchema, tableRowObjectSchema, tableColumnPrimitiveSchema, tableColumnObjectSchema, tableSchema, } from './lib/table.js';
15
14
  export { issueSchema, issueSeveritySchema, } from './lib/issue.js';
16
15
  export { formatSchema, persistConfigSchema, } from './lib/persist-config.js';
17
16
  export { pluginConfigSchema, pluginMetaSchema, } from './lib/plugin-config.js';
18
17
  export { auditReportSchema, pluginReportSchema, reportSchema, } from './lib/report.js';
19
18
  export { auditDiffSchema, auditResultSchema, categoryDiffSchema, categoryResultSchema, groupDiffSchema, groupResultSchema, reportsDiffSchema, } from './lib/reports-diff.js';
20
- export { onProgressSchema, runnerConfigSchema, runnerFunctionSchema, } from './lib/runner-config.js';
19
+ export { onProgressSchema, runnerConfigSchema, runnerFunctionSchema, runnerFilesPathsSchema, } from './lib/runner-config.js';
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,EAEL,oBAAoB,GACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAIL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,o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C"}
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"}
@@ -167,6 +167,14 @@ export declare const auditDetailsSchema: z.ZodObject<{
167
167
  }[] | undefined;
168
168
  } | undefined;
169
169
  }>;
170
+ /**
171
+ * Type Definition: `AuditDetails`
172
+ *
173
+ * This type is derived from a Zod schema and represents
174
+ * the validated structure of `AuditDetails` used within the application.
175
+ *
176
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#auditdetails}
177
+ */
170
178
  export type AuditDetails = z.infer<typeof auditDetailsSchema>;
171
179
  export declare const auditOutputSchema: z.ZodObject<{
172
180
  slug: z.ZodString;
@@ -406,6 +414,14 @@ export declare const auditOutputSchema: z.ZodObject<{
406
414
  } | undefined;
407
415
  } | undefined;
408
416
  }>;
417
+ /**
418
+ * Type Definition: `AuditOutput`
419
+ *
420
+ * This type is derived from a Zod schema and represents
421
+ * the validated structure of `AuditOutput` used within the application.
422
+ *
423
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#auditoutput}
424
+ */
409
425
  export type AuditOutput = z.infer<typeof auditOutputSchema>;
410
426
  export declare const auditOutputsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
411
427
  slug: z.ZodString;
@@ -711,4 +727,12 @@ export declare const auditOutputsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
711
727
  } | undefined;
712
728
  } | undefined;
713
729
  }[]>;
730
+ /**
731
+ * Type Definition: `AuditOutputs`
732
+ *
733
+ * This type is derived from a Zod schema and represents
734
+ * the validated structure of `AuditOutputs` used within the application.
735
+ *
736
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#auditoutputs}
737
+ */
714
738
  export type AuditOutputs = z.infer<typeof auditOutputsSchema>;
@@ -5,17 +5,28 @@ export declare const auditSchema: z.ZodObject<z.objectUtil.extendShape<{
5
5
  title: z.ZodString;
6
6
  description: z.ZodOptional<z.ZodString>;
7
7
  docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
8
+ isSkipped: z.ZodOptional<z.ZodBoolean>;
8
9
  }>, "strip", z.ZodTypeAny, {
9
10
  slug: string;
10
11
  title: string;
11
12
  description?: string | undefined;
12
13
  docsUrl?: string | undefined;
14
+ isSkipped?: boolean | undefined;
13
15
  }, {
14
16
  slug: string;
15
17
  title: string;
16
18
  description?: string | undefined;
17
19
  docsUrl?: string | undefined;
20
+ isSkipped?: boolean | undefined;
18
21
  }>;
22
+ /**
23
+ * Type Definition: `Audit`
24
+ *
25
+ * This type is derived from a Zod schema and represents
26
+ * the validated structure of `Audit` used within the application.
27
+ *
28
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#audit}
29
+ */
19
30
  export type Audit = z.infer<typeof auditSchema>;
20
31
  export declare const pluginAuditsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
21
32
  slug: z.ZodString;
@@ -23,24 +34,29 @@ export declare const pluginAuditsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.o
23
34
  title: z.ZodString;
24
35
  description: z.ZodOptional<z.ZodString>;
25
36
  docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
37
+ isSkipped: z.ZodOptional<z.ZodBoolean>;
26
38
  }>, "strip", z.ZodTypeAny, {
27
39
  slug: string;
28
40
  title: string;
29
41
  description?: string | undefined;
30
42
  docsUrl?: string | undefined;
43
+ isSkipped?: boolean | undefined;
31
44
  }, {
32
45
  slug: string;
33
46
  title: string;
34
47
  description?: string | undefined;
35
48
  docsUrl?: string | undefined;
49
+ isSkipped?: boolean | undefined;
36
50
  }>, "many">, {
37
51
  slug: string;
38
52
  title: string;
39
53
  description?: string | undefined;
40
54
  docsUrl?: string | undefined;
55
+ isSkipped?: boolean | undefined;
41
56
  }[], {
42
57
  slug: string;
43
58
  title: string;
44
59
  description?: string | undefined;
45
60
  docsUrl?: string | undefined;
61
+ isSkipped?: boolean | undefined;
46
62
  }[]>;
package/src/lib/audit.js CHANGED
@@ -10,6 +10,7 @@ export const auditSchema = z
10
10
  descriptionDescription: 'Description (markdown)',
11
11
  docsUrlDescription: 'Link to documentation (rationale)',
12
12
  description: 'List of scorable metrics for the given plugin',
13
+ isSkippedDescription: 'Indicates whether the audit is skipped',
13
14
  }));
14
15
  export const pluginAuditsSchema = z
15
16
  .array(auditSchema, {
@@ -1 +1 @@
1
- {"version":3,"file":"audit.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/audit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAE5E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,MAAM,CAAC;IACN,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC;CACvD,CAAC;KACD,KAAK,CACJ,UAAU,CAAC;IACT,gBAAgB,EAAE,kBAAkB;IACpC,sBAAsB,EAAE,wBAAwB;IAChD,kBAAkB,EAAE,mCAAmC;IACvD,WAAW,EAAE,+CAA+C;CAC7D,CAAC,CACH,CAAC;AAGJ,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,KAAK,CAAC,WAAW,EAAE;IACl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AChC,KAAK,CAAC,WAAW,EAAE;IAClB,WAAW,EAAE,uCAAuC;CACrD,CAAC;KACD,GAAG,CAAC,CAAC,CAAC;IACP,yBAAyB;KACxB,MAAM,CACL,aAAa,CAAC,EAAE,CAAC,CAAC,yBAAyB,CAAC,aAAa,CAAC,EAC1D,aAAa,CAAC,EAAE,CAAC,CAAC;IAChB,OAAO,EAAE,8BAA8B,CAAC,aAAa,CAAC;CACvD,CAAC,CACH,CAAC;AAEJ,0BAA0B;AAE1B,+CAA+C;AAC/C,SAAS,8BAA8B,CAAC,MAAe;IACrD,MAAM,aAAa,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC;IACxD,OAAO,wDAAwD,UAAU,CACvE,aAAa,CACd,EAAE,CAAC;AACN,CAAC;AAED,SAAS,yBAAyB,CAAC,MAAe;IAChD,OAAO,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7D,CAAC"}
@@ -16,6 +16,14 @@ export declare const categoryRefSchema: z.ZodObject<z.objectUtil.extendShape<{
16
16
  type: "audit" | "group";
17
17
  plugin: string;
18
18
  }>;
19
+ /**
20
+ * Type Definition: `CategoryRef`
21
+ *
22
+ * This type is derived from a Zod schema and represents
23
+ * the validated structure of `CategoryRef` used within the application.
24
+ *
25
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#categoryref}
26
+ */
19
27
  export type CategoryRef = z.infer<typeof categoryRefSchema>;
20
28
  export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21
29
  slug: z.ZodString;
@@ -60,6 +68,7 @@ export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<
60
68
  title: z.ZodString;
61
69
  description: z.ZodOptional<z.ZodString>;
62
70
  docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
71
+ isSkipped: z.ZodOptional<z.ZodBoolean>;
63
72
  }>, {
64
73
  isBinary: z.ZodOptional<z.ZodBoolean>;
65
74
  }>, "strip", z.ZodTypeAny, {
@@ -73,6 +82,7 @@ export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<
73
82
  title: string;
74
83
  description?: string | undefined;
75
84
  docsUrl?: string | undefined;
85
+ isSkipped?: boolean | undefined;
76
86
  isBinary?: boolean | undefined;
77
87
  }, {
78
88
  slug: string;
@@ -85,8 +95,17 @@ export declare const categoryConfigSchema: z.ZodObject<z.objectUtil.extendShape<
85
95
  title: string;
86
96
  description?: string | undefined;
87
97
  docsUrl?: string | undefined;
98
+ isSkipped?: boolean | undefined;
88
99
  isBinary?: boolean | undefined;
89
100
  }>;
101
+ /**
102
+ * Type Definition: `CategoryConfig`
103
+ *
104
+ * This type is derived from a Zod schema and represents
105
+ * the validated structure of `CategoryConfig` used within the application.
106
+ *
107
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#categoryconfig}
108
+ */
90
109
  export type CategoryConfig = z.infer<typeof categoryConfigSchema>;
91
110
  export declare function duplicateRefsInCategoryMetricsErrorMsg(metrics: CategoryRef[]): string;
92
111
  export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -132,6 +151,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
132
151
  title: z.ZodString;
133
152
  description: z.ZodOptional<z.ZodString>;
134
153
  docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
154
+ isSkipped: z.ZodOptional<z.ZodBoolean>;
135
155
  }>, {
136
156
  isBinary: z.ZodOptional<z.ZodBoolean>;
137
157
  }>, "strip", z.ZodTypeAny, {
@@ -145,6 +165,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
145
165
  title: string;
146
166
  description?: string | undefined;
147
167
  docsUrl?: string | undefined;
168
+ isSkipped?: boolean | undefined;
148
169
  isBinary?: boolean | undefined;
149
170
  }, {
150
171
  slug: string;
@@ -157,6 +178,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
157
178
  title: string;
158
179
  description?: string | undefined;
159
180
  docsUrl?: string | undefined;
181
+ isSkipped?: boolean | undefined;
160
182
  isBinary?: boolean | undefined;
161
183
  }>, "many">, {
162
184
  slug: string;
@@ -169,6 +191,7 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
169
191
  title: string;
170
192
  description?: string | undefined;
171
193
  docsUrl?: string | undefined;
194
+ isSkipped?: boolean | undefined;
172
195
  isBinary?: boolean | undefined;
173
196
  }[], {
174
197
  slug: string;
@@ -181,5 +204,6 @@ export declare const categoriesSchema: z.ZodEffects<z.ZodArray<z.ZodObject<z.obj
181
204
  title: string;
182
205
  description?: string | undefined;
183
206
  docsUrl?: string | undefined;
207
+ isSkipped?: boolean | undefined;
184
208
  isBinary?: boolean | undefined;
185
209
  }[]>;
@@ -15,4 +15,12 @@ export declare const commitSchema: z.ZodObject<{
15
15
  hash: string;
16
16
  author: string;
17
17
  }>;
18
+ /**
19
+ * Type Definition: `Commit`
20
+ *
21
+ * This type is derived from a Zod schema and represents
22
+ * the validated structure of `Commit` used within the application.
23
+ *
24
+ * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#commit}
25
+ */
18
26
  export type Commit = z.infer<typeof commitSchema>;