@code-pushup/models 0.61.0 → 0.63.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 +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/index.js.map +1 -1
- package/src/lib/core-config.d.ts +25 -25
- package/src/lib/plugin-config.d.ts +8 -8
- package/src/lib/runner-config.d.ts +1 -11
- package/src/lib/runner-config.js +0 -5
- package/src/lib/runner-config.js.map +1 -1
package/package.json
CHANGED
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 {
|
|
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 {
|
|
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,
|
|
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,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GAIvB,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"}
|
package/src/lib/core-config.d.ts
CHANGED
|
@@ -768,7 +768,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
768
768
|
} | undefined;
|
|
769
769
|
}[]>) | undefined;
|
|
770
770
|
configFile?: string | undefined;
|
|
771
|
-
}>, z.ZodFunction<z.ZodTuple<[
|
|
771
|
+
}>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
772
772
|
slug: z.ZodString;
|
|
773
773
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
774
774
|
value: z.ZodNumber;
|
|
@@ -1553,7 +1553,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
1553
1553
|
} | undefined;
|
|
1554
1554
|
}[]>) | undefined;
|
|
1555
1555
|
configFile?: string | undefined;
|
|
1556
|
-
} | ((
|
|
1556
|
+
} | ((...args: unknown[]) => {
|
|
1557
1557
|
slug: string;
|
|
1558
1558
|
value: number;
|
|
1559
1559
|
score: number;
|
|
@@ -1719,7 +1719,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
1719
1719
|
} | undefined;
|
|
1720
1720
|
}[]>) | undefined;
|
|
1721
1721
|
configFile?: string | undefined;
|
|
1722
|
-
} | ((
|
|
1722
|
+
} | ((...args: unknown[]) => {
|
|
1723
1723
|
slug: string;
|
|
1724
1724
|
value: number;
|
|
1725
1725
|
score: number;
|
|
@@ -1885,7 +1885,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
1885
1885
|
} | undefined;
|
|
1886
1886
|
}[]>) | undefined;
|
|
1887
1887
|
configFile?: string | undefined;
|
|
1888
|
-
} | ((
|
|
1888
|
+
} | ((...args: unknown[]) => {
|
|
1889
1889
|
slug: string;
|
|
1890
1890
|
value: number;
|
|
1891
1891
|
score: number;
|
|
@@ -2051,7 +2051,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
2051
2051
|
} | undefined;
|
|
2052
2052
|
}[]>) | undefined;
|
|
2053
2053
|
configFile?: string | undefined;
|
|
2054
|
-
} | ((
|
|
2054
|
+
} | ((...args: unknown[]) => {
|
|
2055
2055
|
slug: string;
|
|
2056
2056
|
value: number;
|
|
2057
2057
|
score: number;
|
|
@@ -2352,7 +2352,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
2352
2352
|
} | undefined;
|
|
2353
2353
|
}[]>) | undefined;
|
|
2354
2354
|
configFile?: string | undefined;
|
|
2355
|
-
} | ((
|
|
2355
|
+
} | ((...args: unknown[]) => {
|
|
2356
2356
|
slug: string;
|
|
2357
2357
|
value: number;
|
|
2358
2358
|
score: number;
|
|
@@ -2546,7 +2546,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
2546
2546
|
} | undefined;
|
|
2547
2547
|
}[]>) | undefined;
|
|
2548
2548
|
configFile?: string | undefined;
|
|
2549
|
-
} | ((
|
|
2549
|
+
} | ((...args: unknown[]) => {
|
|
2550
2550
|
slug: string;
|
|
2551
2551
|
value: number;
|
|
2552
2552
|
score: number;
|
|
@@ -3433,7 +3433,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3433
3433
|
} | undefined;
|
|
3434
3434
|
}[]>) | undefined;
|
|
3435
3435
|
configFile?: string | undefined;
|
|
3436
|
-
}>, z.ZodFunction<z.ZodTuple<[
|
|
3436
|
+
}>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3437
3437
|
slug: z.ZodString;
|
|
3438
3438
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
3439
3439
|
value: z.ZodNumber;
|
|
@@ -4218,7 +4218,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4218
4218
|
} | undefined;
|
|
4219
4219
|
}[]>) | undefined;
|
|
4220
4220
|
configFile?: string | undefined;
|
|
4221
|
-
} | ((
|
|
4221
|
+
} | ((...args: unknown[]) => {
|
|
4222
4222
|
slug: string;
|
|
4223
4223
|
value: number;
|
|
4224
4224
|
score: number;
|
|
@@ -4384,7 +4384,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4384
4384
|
} | undefined;
|
|
4385
4385
|
}[]>) | undefined;
|
|
4386
4386
|
configFile?: string | undefined;
|
|
4387
|
-
} | ((
|
|
4387
|
+
} | ((...args: unknown[]) => {
|
|
4388
4388
|
slug: string;
|
|
4389
4389
|
value: number;
|
|
4390
4390
|
score: number;
|
|
@@ -4550,7 +4550,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4550
4550
|
} | undefined;
|
|
4551
4551
|
}[]>) | undefined;
|
|
4552
4552
|
configFile?: string | undefined;
|
|
4553
|
-
} | ((
|
|
4553
|
+
} | ((...args: unknown[]) => {
|
|
4554
4554
|
slug: string;
|
|
4555
4555
|
value: number;
|
|
4556
4556
|
score: number;
|
|
@@ -4716,7 +4716,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4716
4716
|
} | undefined;
|
|
4717
4717
|
}[]>) | undefined;
|
|
4718
4718
|
configFile?: string | undefined;
|
|
4719
|
-
} | ((
|
|
4719
|
+
} | ((...args: unknown[]) => {
|
|
4720
4720
|
slug: string;
|
|
4721
4721
|
value: number;
|
|
4722
4722
|
score: number;
|
|
@@ -5017,7 +5017,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5017
5017
|
} | undefined;
|
|
5018
5018
|
}[]>) | undefined;
|
|
5019
5019
|
configFile?: string | undefined;
|
|
5020
|
-
} | ((
|
|
5020
|
+
} | ((...args: unknown[]) => {
|
|
5021
5021
|
slug: string;
|
|
5022
5022
|
value: number;
|
|
5023
5023
|
score: number;
|
|
@@ -5211,7 +5211,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5211
5211
|
} | undefined;
|
|
5212
5212
|
}[]>) | undefined;
|
|
5213
5213
|
configFile?: string | undefined;
|
|
5214
|
-
} | ((
|
|
5214
|
+
} | ((...args: unknown[]) => {
|
|
5215
5215
|
slug: string;
|
|
5216
5216
|
value: number;
|
|
5217
5217
|
score: number;
|
|
@@ -5405,7 +5405,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5405
5405
|
} | undefined;
|
|
5406
5406
|
}[]>) | undefined;
|
|
5407
5407
|
configFile?: string | undefined;
|
|
5408
|
-
} | ((
|
|
5408
|
+
} | ((...args: unknown[]) => {
|
|
5409
5409
|
slug: string;
|
|
5410
5410
|
value: number;
|
|
5411
5411
|
score: number;
|
|
@@ -5599,7 +5599,7 @@ export declare const coreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5599
5599
|
} | undefined;
|
|
5600
5600
|
}[]>) | undefined;
|
|
5601
5601
|
configFile?: string | undefined;
|
|
5602
|
-
} | ((
|
|
5602
|
+
} | ((...args: unknown[]) => {
|
|
5603
5603
|
slug: string;
|
|
5604
5604
|
value: number;
|
|
5605
5605
|
score: number;
|
|
@@ -6491,7 +6491,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
6491
6491
|
} | undefined;
|
|
6492
6492
|
}[]>) | undefined;
|
|
6493
6493
|
configFile?: string | undefined;
|
|
6494
|
-
}>, z.ZodFunction<z.ZodTuple<[
|
|
6494
|
+
}>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6495
6495
|
slug: z.ZodString;
|
|
6496
6496
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
6497
6497
|
value: z.ZodNumber;
|
|
@@ -7276,7 +7276,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
7276
7276
|
} | undefined;
|
|
7277
7277
|
}[]>) | undefined;
|
|
7278
7278
|
configFile?: string | undefined;
|
|
7279
|
-
} | ((
|
|
7279
|
+
} | ((...args: unknown[]) => {
|
|
7280
7280
|
slug: string;
|
|
7281
7281
|
value: number;
|
|
7282
7282
|
score: number;
|
|
@@ -7442,7 +7442,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
7442
7442
|
} | undefined;
|
|
7443
7443
|
}[]>) | undefined;
|
|
7444
7444
|
configFile?: string | undefined;
|
|
7445
|
-
} | ((
|
|
7445
|
+
} | ((...args: unknown[]) => {
|
|
7446
7446
|
slug: string;
|
|
7447
7447
|
value: number;
|
|
7448
7448
|
score: number;
|
|
@@ -7608,7 +7608,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
7608
7608
|
} | undefined;
|
|
7609
7609
|
}[]>) | undefined;
|
|
7610
7610
|
configFile?: string | undefined;
|
|
7611
|
-
} | ((
|
|
7611
|
+
} | ((...args: unknown[]) => {
|
|
7612
7612
|
slug: string;
|
|
7613
7613
|
value: number;
|
|
7614
7614
|
score: number;
|
|
@@ -7774,7 +7774,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
7774
7774
|
} | undefined;
|
|
7775
7775
|
}[]>) | undefined;
|
|
7776
7776
|
configFile?: string | undefined;
|
|
7777
|
-
} | ((
|
|
7777
|
+
} | ((...args: unknown[]) => {
|
|
7778
7778
|
slug: string;
|
|
7779
7779
|
value: number;
|
|
7780
7780
|
score: number;
|
|
@@ -8075,7 +8075,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
8075
8075
|
} | undefined;
|
|
8076
8076
|
}[]>) | undefined;
|
|
8077
8077
|
configFile?: string | undefined;
|
|
8078
|
-
} | ((
|
|
8078
|
+
} | ((...args: unknown[]) => {
|
|
8079
8079
|
slug: string;
|
|
8080
8080
|
value: number;
|
|
8081
8081
|
score: number;
|
|
@@ -8269,7 +8269,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
8269
8269
|
} | undefined;
|
|
8270
8270
|
}[]>) | undefined;
|
|
8271
8271
|
configFile?: string | undefined;
|
|
8272
|
-
} | ((
|
|
8272
|
+
} | ((...args: unknown[]) => {
|
|
8273
8273
|
slug: string;
|
|
8274
8274
|
value: number;
|
|
8275
8275
|
score: number;
|
|
@@ -8463,7 +8463,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
8463
8463
|
} | undefined;
|
|
8464
8464
|
}[]>) | undefined;
|
|
8465
8465
|
configFile?: string | undefined;
|
|
8466
|
-
} | ((
|
|
8466
|
+
} | ((...args: unknown[]) => {
|
|
8467
8467
|
slug: string;
|
|
8468
8468
|
value: number;
|
|
8469
8469
|
score: number;
|
|
@@ -8657,7 +8657,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
8657
8657
|
} | undefined;
|
|
8658
8658
|
}[]>) | undefined;
|
|
8659
8659
|
configFile?: string | undefined;
|
|
8660
|
-
} | ((
|
|
8660
|
+
} | ((...args: unknown[]) => {
|
|
8661
8661
|
slug: string;
|
|
8662
8662
|
value: number;
|
|
8663
8663
|
score: number;
|
|
@@ -795,7 +795,7 @@ export declare const pluginDataSchema: z.ZodObject<{
|
|
|
795
795
|
} | undefined;
|
|
796
796
|
}[]>) | undefined;
|
|
797
797
|
configFile?: string | undefined;
|
|
798
|
-
}>, z.ZodFunction<z.ZodTuple<[
|
|
798
|
+
}>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
799
799
|
slug: z.ZodString;
|
|
800
800
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
801
801
|
value: z.ZodNumber;
|
|
@@ -1577,7 +1577,7 @@ export declare const pluginDataSchema: z.ZodObject<{
|
|
|
1577
1577
|
} | undefined;
|
|
1578
1578
|
}[]>) | undefined;
|
|
1579
1579
|
configFile?: string | undefined;
|
|
1580
|
-
} | ((
|
|
1580
|
+
} | ((...args: unknown[]) => {
|
|
1581
1581
|
slug: string;
|
|
1582
1582
|
value: number;
|
|
1583
1583
|
score: number;
|
|
@@ -1735,7 +1735,7 @@ export declare const pluginDataSchema: z.ZodObject<{
|
|
|
1735
1735
|
} | undefined;
|
|
1736
1736
|
}[]>) | undefined;
|
|
1737
1737
|
configFile?: string | undefined;
|
|
1738
|
-
} | ((
|
|
1738
|
+
} | ((...args: unknown[]) => {
|
|
1739
1739
|
slug: string;
|
|
1740
1740
|
value: number;
|
|
1741
1741
|
score: number;
|
|
@@ -2589,7 +2589,7 @@ export declare const pluginConfigSchema: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
2589
2589
|
} | undefined;
|
|
2590
2590
|
}[]>) | undefined;
|
|
2591
2591
|
configFile?: string | undefined;
|
|
2592
|
-
}>, z.ZodFunction<z.ZodTuple<[
|
|
2592
|
+
}>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2593
2593
|
slug: z.ZodString;
|
|
2594
2594
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
2595
2595
|
value: z.ZodNumber;
|
|
@@ -3374,7 +3374,7 @@ export declare const pluginConfigSchema: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
3374
3374
|
} | undefined;
|
|
3375
3375
|
}[]>) | undefined;
|
|
3376
3376
|
configFile?: string | undefined;
|
|
3377
|
-
} | ((
|
|
3377
|
+
} | ((...args: unknown[]) => {
|
|
3378
3378
|
slug: string;
|
|
3379
3379
|
value: number;
|
|
3380
3380
|
score: number;
|
|
@@ -3540,7 +3540,7 @@ export declare const pluginConfigSchema: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
3540
3540
|
} | undefined;
|
|
3541
3541
|
}[]>) | undefined;
|
|
3542
3542
|
configFile?: string | undefined;
|
|
3543
|
-
} | ((
|
|
3543
|
+
} | ((...args: unknown[]) => {
|
|
3544
3544
|
slug: string;
|
|
3545
3545
|
value: number;
|
|
3546
3546
|
score: number;
|
|
@@ -3706,7 +3706,7 @@ export declare const pluginConfigSchema: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
3706
3706
|
} | undefined;
|
|
3707
3707
|
}[]>) | undefined;
|
|
3708
3708
|
configFile?: string | undefined;
|
|
3709
|
-
} | ((
|
|
3709
|
+
} | ((...args: unknown[]) => {
|
|
3710
3710
|
slug: string;
|
|
3711
3711
|
value: number;
|
|
3712
3712
|
score: number;
|
|
@@ -3872,7 +3872,7 @@ export declare const pluginConfigSchema: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
3872
3872
|
} | undefined;
|
|
3873
3873
|
}[]>) | undefined;
|
|
3874
3874
|
configFile?: string | undefined;
|
|
3875
|
-
} | ((
|
|
3875
|
+
} | ((...args: unknown[]) => {
|
|
3876
3876
|
slug: string;
|
|
3877
3877
|
value: number;
|
|
3878
3878
|
score: number;
|
|
@@ -1381,17 +1381,7 @@ export declare const runnerConfigSchema: z.ZodObject<{
|
|
|
1381
1381
|
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#runnerconfig}
|
|
1382
1382
|
*/
|
|
1383
1383
|
export type RunnerConfig = z.infer<typeof runnerConfigSchema>;
|
|
1384
|
-
export declare const
|
|
1385
|
-
/**
|
|
1386
|
-
* Type Definition: `OnProgress`
|
|
1387
|
-
*
|
|
1388
|
-
* This type is derived from a Zod schema and represents
|
|
1389
|
-
* the validated structure of `OnProgress` used within the application.
|
|
1390
|
-
*
|
|
1391
|
-
* @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#onprogress}
|
|
1392
|
-
*/
|
|
1393
|
-
export type OnProgress = z.infer<typeof onProgressSchema>;
|
|
1394
|
-
export declare const runnerFunctionSchema: z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodUnknown], z.ZodUnknown>, z.ZodVoid>>], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1384
|
+
export declare const runnerFunctionSchema: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1395
1385
|
slug: z.ZodString;
|
|
1396
1386
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
1397
1387
|
value: z.ZodNumber;
|
package/src/lib/runner-config.js
CHANGED
|
@@ -16,13 +16,8 @@ export const runnerConfigSchema = z.object({
|
|
|
16
16
|
}, {
|
|
17
17
|
description: 'How to execute runner',
|
|
18
18
|
});
|
|
19
|
-
export const onProgressSchema = z
|
|
20
|
-
.function()
|
|
21
|
-
.args(z.unknown())
|
|
22
|
-
.returns(z.void());
|
|
23
19
|
export const runnerFunctionSchema = z
|
|
24
20
|
.function()
|
|
25
|
-
.args(onProgressSchema.optional())
|
|
26
21
|
.returns(z.union([auditOutputsSchema, z.promise(auditOutputsSchema)]));
|
|
27
22
|
export const runnerFilesPathsSchema = z.object({
|
|
28
23
|
runnerConfigPath: filePathSchema.describe('Runner config path'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner-config.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/runner-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,QAAQ,EAAE;KACV,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KACjB,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAIzE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CACxC;IACE,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,0BAA0B;KACxC,CAAC;IACF,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxE,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACzD,eAAe,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;CACrE,EACD;IACE,WAAW,EAAE,uBAAuB;CACrC,CACF,CAAC;AAIF,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"runner-config.js","sourceRoot":"","sources":["../../../../../packages/models/src/lib/runner-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,QAAQ,EAAE;KACV,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KACjB,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAIzE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CACxC;IACE,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,0BAA0B;KACxC,CAAC;IACF,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxE,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACzD,eAAe,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;CACrE,EACD;IACE,WAAW,EAAE,uBAAuB;CACrC,CACF,CAAC;AAIF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,QAAQ,EAAE;KACV,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAIzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,gBAAgB,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/D,gBAAgB,EAAE,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC;CAChE,CAAC,CAAC"}
|