forked from microsoft/vscode-pull-request-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstate.ts
More file actions
37 lines (36 loc) · 599 Bytes
/
Copy pathstate.ts
File metadata and controls
37 lines (36 loc) · 599 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
export type State = {
spec: {
title: string,
body: string,
localBranches: string[],
selectedLocalBranch: {
name: string,
upstream: {
branch: string,
remote: string,
}
},
gitHubRemotes: {
[name: string]: {
host: string,
name: string,
owner: string,
metadata: any,
}
},
parentIsBase: boolean,
},
willCreatePR: {
remote: string,
params: PullRequestsCreateParams,
} | null
};
type PullRequestsCreateParams = {
base: string;
body?: string;
head: string;
maintainer_can_modify?: boolean;
owner: string;
repo: string;
title: string;
};