@schemastore/codecov 0.0.4 → 0.0.10

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.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/index.d.ts +126 -11
  4. package/package.json +3 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Florian Keller. All rights reserved.
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -8,5 +8,5 @@ This package contains type definitions for codecov.
8
8
  Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/codecov.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Sat, Jul 04, 2020, 11:00:05 GMT
11
+ * Last updated: Mon, Jan 23, 2023, 19:39:42 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -8,6 +8,96 @@
8
8
  export type Layout =
9
9
  | unknown
10
10
  | ("header" | "footer" | "diff" | "file" | "files" | "flag" | "flags" | "reach" | "sunburst" | "uncovered");
11
+ export type Default = {
12
+ target?: string | number;
13
+ threshold?: string;
14
+ base?: string;
15
+ flags?: unknown[];
16
+ paths?: unknown[] | string;
17
+ branches?: unknown[];
18
+ if_not_found?: "failure" | "success";
19
+ informational?: boolean;
20
+ only_pulls?: boolean;
21
+ if_ci_failed?: "error" | "success";
22
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
23
+ [k: string]: unknown;
24
+ } & (
25
+ | {
26
+ target?: string | number;
27
+ threshold?: string;
28
+ base?: string;
29
+ flags?: unknown[];
30
+ paths?: unknown[] | string;
31
+ branches?: unknown[];
32
+ if_not_found?: "failure" | "success";
33
+ informational?: boolean;
34
+ only_pulls?: boolean;
35
+ if_ci_failed?: "error" | "success";
36
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
37
+ [k: string]: unknown;
38
+ }
39
+ | boolean
40
+ );
41
+ export type Default1 = {
42
+ target?: string | number;
43
+ threshold?: string;
44
+ base?: string;
45
+ flags?: unknown[];
46
+ paths?: unknown[] | string;
47
+ branches?: unknown[];
48
+ if_not_found?: "failure" | "success";
49
+ informational?: boolean;
50
+ only_pulls?: boolean;
51
+ if_ci_failed?: "error" | "success";
52
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
53
+ [k: string]: unknown;
54
+ } & (
55
+ | {
56
+ target?: string | number;
57
+ threshold?: string;
58
+ base?: string;
59
+ flags?: unknown[];
60
+ paths?: unknown[] | string;
61
+ branches?: unknown[];
62
+ if_not_found?: "failure" | "success";
63
+ informational?: boolean;
64
+ only_pulls?: boolean;
65
+ if_ci_failed?: "error" | "success";
66
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
67
+ [k: string]: unknown;
68
+ }
69
+ | boolean
70
+ );
71
+ export type Default3 = {
72
+ target?: string | number;
73
+ threshold?: string;
74
+ base?: string;
75
+ flags?: unknown[];
76
+ paths?: unknown[] | string;
77
+ branches?: unknown[];
78
+ if_not_found?: "failure" | "success";
79
+ informational?: boolean;
80
+ only_pulls?: boolean;
81
+ if_ci_failed?: "error" | "success";
82
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
83
+ [k: string]: unknown;
84
+ } & (
85
+ | {
86
+ target?: string | number;
87
+ threshold?: string;
88
+ base?: string;
89
+ flags?: unknown[];
90
+ paths?: unknown[] | string;
91
+ branches?: unknown[];
92
+ if_not_found?: "failure" | "success";
93
+ informational?: boolean;
94
+ only_pulls?: boolean;
95
+ if_ci_failed?: "error" | "success";
96
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
97
+ [k: string]: unknown;
98
+ }
99
+ | boolean
100
+ );
11
101
 
12
102
  /**
13
103
  * Schema for codecov.yml files.
@@ -46,8 +136,8 @@ export interface JSONSchemaForCodecovConfigurationFiles {
46
136
  [k: string]: unknown;
47
137
  };
48
138
  ui?: {
49
- hide_density?: string[];
50
- hide_complexity?: string[];
139
+ hide_density?: boolean | string[];
140
+ hide_complexity?: boolean | string[];
51
141
  hide_contextual?: boolean;
52
142
  hide_sunburst?: boolean;
53
143
  hide_search?: boolean;
@@ -158,12 +248,15 @@ export interface JSONSchemaForCodecovConfigurationFiles {
158
248
  status?:
159
249
  | boolean
160
250
  | {
161
- project?:
162
- | boolean
163
- | {
164
- [k: string]: unknown;
165
- };
166
- [k: string]: unknown;
251
+ default_rules?: {
252
+ [k: string]: unknown;
253
+ };
254
+ project?: {
255
+ default?: Default;
256
+ [k: string]: Default1;
257
+ };
258
+ patch?: Default2 | "off" | boolean;
259
+ changes?: Default3;
167
260
  };
168
261
  [k: string]: unknown;
169
262
  };
@@ -198,9 +291,31 @@ export interface JSONSchemaForCodecovConfigurationFiles {
198
291
  paths?: string[];
199
292
  [k: string]: unknown;
200
293
  }
294
+ | false;
295
+ /**
296
+ * GitHub Checks. See https://docs.codecov.com/docs/github-checks for details.
297
+ */
298
+ github_checks?:
201
299
  | {
300
+ annotations?: boolean;
202
301
  [k: string]: unknown;
203
- };
302
+ }
303
+ | boolean
304
+ | "off";
305
+ [k: string]: unknown;
306
+ }
307
+ export interface Default2 {
308
+ target?: string | number;
309
+ threshold?: string;
310
+ base?: string;
311
+ flags?: unknown[];
312
+ paths?: unknown[] | string;
313
+ branches?: unknown[];
314
+ if_not_found?: "failure" | "success";
315
+ informational?: boolean;
316
+ only_pulls?: boolean;
317
+ if_ci_failed?: "error" | "success";
318
+ flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
204
319
  [k: string]: unknown;
205
320
  }
206
321
  export interface Flag {
@@ -208,6 +323,6 @@ export interface Flag {
208
323
  required?: boolean;
209
324
  ignore?: string[];
210
325
  paths?: string[];
211
- assume?: string[];
326
+ assume?: boolean | string[];
212
327
  [k: string]: unknown;
213
328
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for codecov.",
5
5
  "license": "MIT",
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/codecov",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/codecov",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "2b3ad1e138d30addc19062fff8aa6260394dd698fd7a35acf4ae1e1f159c5650",
10
+ "typesPublisherContentHash": "0c28ff27a22bfaef39d6d4b99931efd7f8880b377a360c19ba4958c5462def2b",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.4",
12
+ "version": "0.0.10",
13
13
  "typeScriptVersion": "2.2"
14
14
  }