@schemastore/backportrc 0.0.6 → 0.0.7
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 +1 -1
- package/index.d.ts +34 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -8,5 +8,5 @@ This package contains type definitions for backportrc.
|
|
|
8
8
|
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/backportrc.
|
|
9
9
|
|
|
10
10
|
## Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, Apr 27, 2023, 09:50:34 GMT
|
|
12
12
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
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,
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* A Backport config schema
|
|
10
|
+
*/
|
|
11
|
+
export interface Backportrc {
|
|
12
|
+
/**
|
|
13
|
+
* A repo name for the current project
|
|
14
|
+
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#reponame-required
|
|
15
|
+
*/
|
|
16
|
+
repoName: string;
|
|
17
|
+
/**
|
|
18
|
+
* A repo owner for the current project
|
|
19
|
+
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#repoowner-required
|
|
20
|
+
*/
|
|
21
|
+
repoOwner: string;
|
|
22
|
+
/**
|
|
23
|
+
* Target branches for the current project
|
|
24
|
+
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
25
|
+
*/
|
|
26
|
+
targetBranchChoices: (string | TargetBranch)[];
|
|
9
27
|
/**
|
|
10
28
|
* Identifier for the GitHub project as `{owner}/{repoName}`
|
|
11
29
|
*/
|
|
@@ -13,12 +31,12 @@ export interface JSONSchemaForBackportConfigFile {
|
|
|
13
31
|
/**
|
|
14
32
|
* Branches to backport to
|
|
15
33
|
*/
|
|
16
|
-
branches
|
|
34
|
+
branches?: (
|
|
17
35
|
| string
|
|
18
36
|
| {
|
|
19
37
|
name: string;
|
|
20
38
|
checked: boolean;
|
|
21
|
-
[k: string]: unknown;
|
|
39
|
+
[k: string]: unknown | undefined;
|
|
22
40
|
}
|
|
23
41
|
)[];
|
|
24
42
|
/**
|
|
@@ -29,5 +47,16 @@ export interface JSONSchemaForBackportConfigFile {
|
|
|
29
47
|
* Whether to only show the current user's commits or commits from anyone
|
|
30
48
|
*/
|
|
31
49
|
all?: boolean;
|
|
32
|
-
|
|
50
|
+
}
|
|
51
|
+
export interface TargetBranch {
|
|
52
|
+
/**
|
|
53
|
+
* A target branch for the current project
|
|
54
|
+
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
/**
|
|
58
|
+
* Whether to pre-select a target branch for the current project
|
|
59
|
+
* https://github.com/sqren/backport/blob/main/docs/config-file-options.md#targetbranchchoices-required
|
|
60
|
+
*/
|
|
61
|
+
checked: boolean;
|
|
33
62
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/backportrc",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/backportrc",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "3333a67e87391a1f820d339072b1df49f4eb28aebe63ac8712277e33d5a3a0e6",
|
|
13
|
+
"version": "0.0.7"
|
|
14
|
+
}
|