@schemastore/codecov 0.0.9 → 0.0.11
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/README.md +22 -6
- package/index.d.ts +81 -53
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for codecov
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/codecov
|
|
7
|
+
yarn add @schemastore/codecov
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for codecov.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as codecov from '@schemastore/codecov';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/codecov)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
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,
|
|
@@ -11,6 +11,9 @@ export type Layout =
|
|
|
11
11
|
export type Default = {
|
|
12
12
|
target?: string | number;
|
|
13
13
|
threshold?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated
|
|
16
|
+
*/
|
|
14
17
|
base?: string;
|
|
15
18
|
flags?: unknown[];
|
|
16
19
|
paths?: unknown[] | string;
|
|
@@ -20,41 +23,14 @@ export type Default = {
|
|
|
20
23
|
only_pulls?: boolean;
|
|
21
24
|
if_ci_failed?: "error" | "success";
|
|
22
25
|
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;
|
|
26
|
+
[k: string]: unknown | undefined;
|
|
54
27
|
} & (
|
|
55
28
|
| {
|
|
56
29
|
target?: string | number;
|
|
57
30
|
threshold?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
58
34
|
base?: string;
|
|
59
35
|
flags?: unknown[];
|
|
60
36
|
paths?: unknown[] | string;
|
|
@@ -64,13 +40,59 @@ export type Default1 = {
|
|
|
64
40
|
only_pulls?: boolean;
|
|
65
41
|
if_ci_failed?: "error" | "success";
|
|
66
42
|
flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
|
|
67
|
-
[k: string]: unknown;
|
|
43
|
+
[k: string]: unknown | undefined;
|
|
68
44
|
}
|
|
69
45
|
| boolean
|
|
70
46
|
);
|
|
47
|
+
export type Default1 =
|
|
48
|
+
| (
|
|
49
|
+
| {
|
|
50
|
+
target?: string | number;
|
|
51
|
+
threshold?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated
|
|
54
|
+
*/
|
|
55
|
+
base?: string;
|
|
56
|
+
flags?: unknown[];
|
|
57
|
+
paths?: unknown[] | string;
|
|
58
|
+
branches?: unknown[];
|
|
59
|
+
if_not_found?: "failure" | "success";
|
|
60
|
+
informational?: boolean;
|
|
61
|
+
only_pulls?: boolean;
|
|
62
|
+
if_ci_failed?: "error" | "success";
|
|
63
|
+
flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
|
|
64
|
+
[k: string]: unknown | undefined;
|
|
65
|
+
}
|
|
66
|
+
| (undefined &
|
|
67
|
+
(
|
|
68
|
+
| {
|
|
69
|
+
target?: string | number;
|
|
70
|
+
threshold?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated
|
|
73
|
+
*/
|
|
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 | undefined;
|
|
84
|
+
}
|
|
85
|
+
| boolean
|
|
86
|
+
))
|
|
87
|
+
| undefined
|
|
88
|
+
)
|
|
89
|
+
| undefined;
|
|
71
90
|
export type Default3 = {
|
|
72
91
|
target?: string | number;
|
|
73
92
|
threshold?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @deprecated
|
|
95
|
+
*/
|
|
74
96
|
base?: string;
|
|
75
97
|
flags?: unknown[];
|
|
76
98
|
paths?: unknown[] | string;
|
|
@@ -80,11 +102,14 @@ export type Default3 = {
|
|
|
80
102
|
only_pulls?: boolean;
|
|
81
103
|
if_ci_failed?: "error" | "success";
|
|
82
104
|
flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
|
|
83
|
-
[k: string]: unknown;
|
|
105
|
+
[k: string]: unknown | undefined;
|
|
84
106
|
} & (
|
|
85
107
|
| {
|
|
86
108
|
target?: string | number;
|
|
87
109
|
threshold?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @deprecated
|
|
112
|
+
*/
|
|
88
113
|
base?: string;
|
|
89
114
|
flags?: unknown[];
|
|
90
115
|
paths?: unknown[] | string;
|
|
@@ -94,7 +119,7 @@ export type Default3 = {
|
|
|
94
119
|
only_pulls?: boolean;
|
|
95
120
|
if_ci_failed?: "error" | "success";
|
|
96
121
|
flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
|
|
97
|
-
[k: string]: unknown;
|
|
122
|
+
[k: string]: unknown | undefined;
|
|
98
123
|
}
|
|
99
124
|
| boolean
|
|
100
125
|
);
|
|
@@ -126,14 +151,14 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
126
151
|
allow_pseudo_compare?: boolean;
|
|
127
152
|
archive?: {
|
|
128
153
|
uploads?: boolean;
|
|
129
|
-
[k: string]: unknown;
|
|
154
|
+
[k: string]: unknown | undefined;
|
|
130
155
|
};
|
|
131
156
|
notify?: {
|
|
132
157
|
after_n_builds?: number;
|
|
133
158
|
countdown?: number;
|
|
134
159
|
delay?: number;
|
|
135
160
|
wait_for_ci?: boolean;
|
|
136
|
-
[k: string]: unknown;
|
|
161
|
+
[k: string]: unknown | undefined;
|
|
137
162
|
};
|
|
138
163
|
ui?: {
|
|
139
164
|
hide_density?: boolean | string[];
|
|
@@ -141,9 +166,9 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
141
166
|
hide_contextual?: boolean;
|
|
142
167
|
hide_sunburst?: boolean;
|
|
143
168
|
hide_search?: boolean;
|
|
144
|
-
[k: string]: unknown;
|
|
169
|
+
[k: string]: unknown | undefined;
|
|
145
170
|
};
|
|
146
|
-
[k: string]: unknown;
|
|
171
|
+
[k: string]: unknown | undefined;
|
|
147
172
|
};
|
|
148
173
|
/**
|
|
149
174
|
* Coverage configuration. See https://docs.codecov.io/docs/coverage-configuration for details.
|
|
@@ -169,7 +194,7 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
169
194
|
password?: string;
|
|
170
195
|
nickserv_password?: string;
|
|
171
196
|
notice?: boolean;
|
|
172
|
-
[k: string]: unknown;
|
|
197
|
+
[k: string]: unknown | undefined;
|
|
173
198
|
};
|
|
174
199
|
/**
|
|
175
200
|
* Slack. See https://docs.codecov.io/docs/notifications#section-slack for details.
|
|
@@ -184,7 +209,7 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
184
209
|
only_pulls?: boolean;
|
|
185
210
|
paths?: string[];
|
|
186
211
|
attachments?: unknown;
|
|
187
|
-
[k: string]: unknown;
|
|
212
|
+
[k: string]: unknown | undefined;
|
|
188
213
|
};
|
|
189
214
|
/**
|
|
190
215
|
* Gitter. See https://docs.codecov.io/docs/notifications#section-gitter for details.
|
|
@@ -198,7 +223,7 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
198
223
|
base?: "parent" | "pr" | "auto";
|
|
199
224
|
only_pulls?: boolean;
|
|
200
225
|
paths?: string[];
|
|
201
|
-
[k: string]: unknown;
|
|
226
|
+
[k: string]: unknown | undefined;
|
|
202
227
|
};
|
|
203
228
|
/**
|
|
204
229
|
* Hipchat. See https://docs.codecov.io/docs/notifications#section-hipchat for details.
|
|
@@ -214,7 +239,7 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
214
239
|
paths?: string[];
|
|
215
240
|
card?: boolean;
|
|
216
241
|
notify?: boolean;
|
|
217
|
-
[k: string]: unknown;
|
|
242
|
+
[k: string]: unknown | undefined;
|
|
218
243
|
};
|
|
219
244
|
webhook?: {
|
|
220
245
|
url?: string;
|
|
@@ -225,7 +250,7 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
225
250
|
base?: "parent" | "pr" | "auto";
|
|
226
251
|
only_pulls?: boolean;
|
|
227
252
|
paths?: string[];
|
|
228
|
-
[k: string]: unknown;
|
|
253
|
+
[k: string]: unknown | undefined;
|
|
229
254
|
};
|
|
230
255
|
email?: {
|
|
231
256
|
url?: string;
|
|
@@ -238,9 +263,9 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
238
263
|
paths?: string[];
|
|
239
264
|
layout?: Layout;
|
|
240
265
|
"+to"?: string[];
|
|
241
|
-
[k: string]: unknown;
|
|
266
|
+
[k: string]: unknown | undefined;
|
|
242
267
|
};
|
|
243
|
-
[k: string]: unknown;
|
|
268
|
+
[k: string]: unknown | undefined;
|
|
244
269
|
};
|
|
245
270
|
/**
|
|
246
271
|
* Commit status. See https://docs.codecov.io/docs/commit-status for details.
|
|
@@ -249,16 +274,16 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
249
274
|
| boolean
|
|
250
275
|
| {
|
|
251
276
|
default_rules?: {
|
|
252
|
-
[k: string]: unknown;
|
|
277
|
+
[k: string]: unknown | undefined;
|
|
253
278
|
};
|
|
254
279
|
project?: {
|
|
255
280
|
default?: Default;
|
|
256
|
-
[k: string]: Default1;
|
|
281
|
+
[k: string]: Default1 | undefined;
|
|
257
282
|
};
|
|
258
283
|
patch?: Default2 | "off";
|
|
259
284
|
changes?: Default3;
|
|
260
285
|
};
|
|
261
|
-
[k: string]: unknown;
|
|
286
|
+
[k: string]: unknown | undefined;
|
|
262
287
|
};
|
|
263
288
|
/**
|
|
264
289
|
* Ignoring paths. see https://docs.codecov.io/docs/ignoring-paths for details.
|
|
@@ -289,14 +314,17 @@ export interface JSONSchemaForCodecovConfigurationFiles {
|
|
|
289
314
|
behavior?: "default" | "once" | "new" | "spammy";
|
|
290
315
|
flags?: Flag[];
|
|
291
316
|
paths?: string[];
|
|
292
|
-
[k: string]: unknown;
|
|
317
|
+
[k: string]: unknown | undefined;
|
|
293
318
|
}
|
|
294
319
|
| false;
|
|
295
|
-
[k: string]: unknown;
|
|
320
|
+
[k: string]: unknown | undefined;
|
|
296
321
|
}
|
|
297
322
|
export interface Default2 {
|
|
298
323
|
target?: string | number;
|
|
299
324
|
threshold?: string;
|
|
325
|
+
/**
|
|
326
|
+
* @deprecated
|
|
327
|
+
*/
|
|
300
328
|
base?: string;
|
|
301
329
|
flags?: unknown[];
|
|
302
330
|
paths?: unknown[] | string;
|
|
@@ -306,7 +334,7 @@ export interface Default2 {
|
|
|
306
334
|
only_pulls?: boolean;
|
|
307
335
|
if_ci_failed?: "error" | "success";
|
|
308
336
|
flag_coverage_not_uploaded_behavior?: "include" | "exclude" | "pass";
|
|
309
|
-
[k: string]: unknown;
|
|
337
|
+
[k: string]: unknown | undefined;
|
|
310
338
|
}
|
|
311
339
|
export interface Flag {
|
|
312
340
|
joined?: boolean;
|
|
@@ -314,5 +342,5 @@ export interface Flag {
|
|
|
314
342
|
ignore?: string[];
|
|
315
343
|
paths?: string[];
|
|
316
344
|
assume?: boolean | string[];
|
|
317
|
-
[k: string]: unknown;
|
|
345
|
+
[k: string]: unknown | undefined;
|
|
318
346
|
}
|
package/package.json
CHANGED
|
@@ -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
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "5b4fb50c4c836b2bea2d14a1488829e0f6ae8b659d4d3bf77c75576a2d280e67",
|
|
13
|
+
"version": "0.0.11"
|
|
14
|
+
}
|