@octokit/types 4.1.0 → 4.1.4
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/dist-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +32 -28
- package/dist-web/index.js +1 -1
- package/package.json +1 -1
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "4.1.
|
|
1
|
+
export const VERSION = "4.1.4";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.1.
|
|
1
|
+
export declare const VERSION = "4.1.4";
|
|
@@ -80,7 +80,7 @@ export interface Endpoints {
|
|
|
80
80
|
response: OctokitResponse<any>;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
|
-
* @see https://developer.github.com/v3/gists/comments/#delete-a-comment
|
|
83
|
+
* @see https://developer.github.com/v3/gists/comments/#delete-a-gist-comment
|
|
84
84
|
*/
|
|
85
85
|
"DELETE /gists/:gist_id/comments/:comment_id": {
|
|
86
86
|
parameters: GistsDeleteCommentEndpoint;
|
|
@@ -960,7 +960,7 @@ export interface Endpoints {
|
|
|
960
960
|
response: OctokitResponse<GistsGetResponseData>;
|
|
961
961
|
};
|
|
962
962
|
/**
|
|
963
|
-
* @see https://developer.github.com/v3/gists/#get-a-
|
|
963
|
+
* @see https://developer.github.com/v3/gists/#get-a-gist-revision
|
|
964
964
|
*/
|
|
965
965
|
"GET /gists/:gist_id/:sha": {
|
|
966
966
|
parameters: GistsGetRevisionEndpoint;
|
|
@@ -968,7 +968,7 @@ export interface Endpoints {
|
|
|
968
968
|
response: OctokitResponse<GistsGetRevisionResponseData>;
|
|
969
969
|
};
|
|
970
970
|
/**
|
|
971
|
-
* @see https://developer.github.com/v3/gists/comments/#list-comments
|
|
971
|
+
* @see https://developer.github.com/v3/gists/comments/#list-gist-comments
|
|
972
972
|
*/
|
|
973
973
|
"GET /gists/:gist_id/comments": {
|
|
974
974
|
parameters: GistsListCommentsEndpoint;
|
|
@@ -976,7 +976,7 @@ export interface Endpoints {
|
|
|
976
976
|
response: OctokitResponse<GistsListCommentsResponseData>;
|
|
977
977
|
};
|
|
978
978
|
/**
|
|
979
|
-
* @see https://developer.github.com/v3/gists/comments/#get-a-
|
|
979
|
+
* @see https://developer.github.com/v3/gists/comments/#get-a-gist-comment
|
|
980
980
|
*/
|
|
981
981
|
"GET /gists/:gist_id/comments/:comment_id": {
|
|
982
982
|
parameters: GistsGetCommentEndpoint;
|
|
@@ -3456,7 +3456,7 @@ export interface Endpoints {
|
|
|
3456
3456
|
response: OctokitResponse<GistsUpdateResponseData>;
|
|
3457
3457
|
};
|
|
3458
3458
|
/**
|
|
3459
|
-
* @see https://developer.github.com/v3/gists/comments/#
|
|
3459
|
+
* @see https://developer.github.com/v3/gists/comments/#update-a-gist-comment
|
|
3460
3460
|
*/
|
|
3461
3461
|
"PATCH /gists/:gist_id/comments/:comment_id": {
|
|
3462
3462
|
parameters: GistsUpdateCommentEndpoint;
|
|
@@ -3832,7 +3832,7 @@ export interface Endpoints {
|
|
|
3832
3832
|
response: OctokitResponse<GistsCreateResponseData>;
|
|
3833
3833
|
};
|
|
3834
3834
|
/**
|
|
3835
|
-
* @see https://developer.github.com/v3/gists/comments/#create-a-comment
|
|
3835
|
+
* @see https://developer.github.com/v3/gists/comments/#create-a-gist-comment
|
|
3836
3836
|
*/
|
|
3837
3837
|
"POST /gists/:gist_id/comments": {
|
|
3838
3838
|
parameters: GistsCreateCommentEndpoint;
|
|
@@ -5018,14 +5018,13 @@ export declare type AppsListInstallationsResponseData = {
|
|
|
5018
5018
|
target_id: number;
|
|
5019
5019
|
target_type: string;
|
|
5020
5020
|
permissions: {
|
|
5021
|
+
checks: string;
|
|
5021
5022
|
metadata: string;
|
|
5022
5023
|
contents: string;
|
|
5023
|
-
issues: string;
|
|
5024
|
-
single_file: string;
|
|
5025
5024
|
};
|
|
5026
5025
|
events: string[];
|
|
5027
5026
|
single_file_name: string;
|
|
5028
|
-
repository_selection:
|
|
5027
|
+
repository_selection: "all" | "selected";
|
|
5029
5028
|
}[];
|
|
5030
5029
|
declare type AppsGetInstallationEndpoint = {
|
|
5031
5030
|
installation_id: number;
|
|
@@ -5059,14 +5058,13 @@ export interface AppsGetInstallationResponseData {
|
|
|
5059
5058
|
target_id: number;
|
|
5060
5059
|
target_type: string;
|
|
5061
5060
|
permissions: {
|
|
5061
|
+
checks: string;
|
|
5062
5062
|
metadata: string;
|
|
5063
5063
|
contents: string;
|
|
5064
|
-
issues: string;
|
|
5065
|
-
single_file: string;
|
|
5066
5064
|
};
|
|
5067
5065
|
events: string[];
|
|
5068
5066
|
single_file_name: string;
|
|
5069
|
-
repository_selection:
|
|
5067
|
+
repository_selection: "all" | "selected";
|
|
5070
5068
|
}
|
|
5071
5069
|
declare type AppsDeleteInstallationEndpoint = {
|
|
5072
5070
|
installation_id: number;
|
|
@@ -5101,6 +5099,7 @@ export interface AppsCreateInstallationTokenResponseData {
|
|
|
5101
5099
|
issues: string;
|
|
5102
5100
|
contents: string;
|
|
5103
5101
|
};
|
|
5102
|
+
repository_selection: "all" | "selected";
|
|
5104
5103
|
repositories: {
|
|
5105
5104
|
id: number;
|
|
5106
5105
|
node_id: string;
|
|
@@ -8978,6 +8977,7 @@ export interface AppsGetOrgInstallationResponseData {
|
|
|
8978
8977
|
account: {
|
|
8979
8978
|
login: string;
|
|
8980
8979
|
id: number;
|
|
8980
|
+
node_id: string;
|
|
8981
8981
|
avatar_url: string;
|
|
8982
8982
|
gravatar_id: string;
|
|
8983
8983
|
url: string;
|
|
@@ -8994,7 +8994,7 @@ export interface AppsGetOrgInstallationResponseData {
|
|
|
8994
8994
|
type: string;
|
|
8995
8995
|
site_admin: boolean;
|
|
8996
8996
|
};
|
|
8997
|
-
repository_selection:
|
|
8997
|
+
repository_selection: "all" | "selected";
|
|
8998
8998
|
access_tokens_url: string;
|
|
8999
8999
|
repositories_url: string;
|
|
9000
9000
|
html_url: string;
|
|
@@ -9052,7 +9052,7 @@ export interface OrgsListInstallationsResponseData {
|
|
|
9052
9052
|
type: string;
|
|
9053
9053
|
site_admin: boolean;
|
|
9054
9054
|
};
|
|
9055
|
-
repository_selection:
|
|
9055
|
+
repository_selection: "all" | "selected";
|
|
9056
9056
|
access_tokens_url: string;
|
|
9057
9057
|
repositories_url: string;
|
|
9058
9058
|
html_url: string;
|
|
@@ -20848,6 +20848,7 @@ declare type GitGetCommitRequestOptions = {
|
|
|
20848
20848
|
};
|
|
20849
20849
|
export interface GitGetCommitResponseData {
|
|
20850
20850
|
sha: string;
|
|
20851
|
+
node_id: string;
|
|
20851
20852
|
url: string;
|
|
20852
20853
|
author: {
|
|
20853
20854
|
date: string;
|
|
@@ -21575,6 +21576,7 @@ export interface AppsGetRepoInstallationResponseData {
|
|
|
21575
21576
|
account: {
|
|
21576
21577
|
login: string;
|
|
21577
21578
|
id: number;
|
|
21579
|
+
node_id: string;
|
|
21578
21580
|
avatar_url: string;
|
|
21579
21581
|
gravatar_id: string;
|
|
21580
21582
|
url: string;
|
|
@@ -21591,7 +21593,7 @@ export interface AppsGetRepoInstallationResponseData {
|
|
|
21591
21593
|
type: string;
|
|
21592
21594
|
site_admin: boolean;
|
|
21593
21595
|
};
|
|
21594
|
-
repository_selection:
|
|
21596
|
+
repository_selection: "all" | "selected";
|
|
21595
21597
|
access_tokens_url: string;
|
|
21596
21598
|
repositories_url: string;
|
|
21597
21599
|
html_url: string;
|
|
@@ -28459,8 +28461,6 @@ export declare type PullsListReviewsResponseData = {
|
|
|
28459
28461
|
site_admin: boolean;
|
|
28460
28462
|
};
|
|
28461
28463
|
body: string;
|
|
28462
|
-
submitted_at: string;
|
|
28463
|
-
commit_id: string;
|
|
28464
28464
|
state: string;
|
|
28465
28465
|
html_url: string;
|
|
28466
28466
|
pull_request_url: string;
|
|
@@ -28472,6 +28472,8 @@ export declare type PullsListReviewsResponseData = {
|
|
|
28472
28472
|
href: string;
|
|
28473
28473
|
};
|
|
28474
28474
|
};
|
|
28475
|
+
submitted_at: string;
|
|
28476
|
+
commit_id: string;
|
|
28475
28477
|
}[];
|
|
28476
28478
|
declare type PullsCreateReviewEndpoint = {
|
|
28477
28479
|
owner: string;
|
|
@@ -28524,7 +28526,6 @@ export interface PullsCreateReviewResponseData {
|
|
|
28524
28526
|
site_admin: boolean;
|
|
28525
28527
|
};
|
|
28526
28528
|
body: string;
|
|
28527
|
-
commit_id: string;
|
|
28528
28529
|
state: string;
|
|
28529
28530
|
html_url: string;
|
|
28530
28531
|
pull_request_url: string;
|
|
@@ -28536,6 +28537,8 @@ export interface PullsCreateReviewResponseData {
|
|
|
28536
28537
|
href: string;
|
|
28537
28538
|
};
|
|
28538
28539
|
};
|
|
28540
|
+
submitted_at: string;
|
|
28541
|
+
commit_id: string;
|
|
28539
28542
|
}
|
|
28540
28543
|
declare type PullsGetReviewEndpoint = {
|
|
28541
28544
|
owner: string;
|
|
@@ -28573,8 +28576,6 @@ export interface PullsGetReviewResponseData {
|
|
|
28573
28576
|
site_admin: boolean;
|
|
28574
28577
|
};
|
|
28575
28578
|
body: string;
|
|
28576
|
-
submitted_at: string;
|
|
28577
|
-
commit_id: string;
|
|
28578
28579
|
state: string;
|
|
28579
28580
|
html_url: string;
|
|
28580
28581
|
pull_request_url: string;
|
|
@@ -28586,6 +28587,8 @@ export interface PullsGetReviewResponseData {
|
|
|
28586
28587
|
href: string;
|
|
28587
28588
|
};
|
|
28588
28589
|
};
|
|
28590
|
+
submitted_at: string;
|
|
28591
|
+
commit_id: string;
|
|
28589
28592
|
}
|
|
28590
28593
|
declare type PullsDeletePendingReviewEndpoint = {
|
|
28591
28594
|
owner: string;
|
|
@@ -28623,7 +28626,6 @@ export interface PullsDeletePendingReviewResponseData {
|
|
|
28623
28626
|
site_admin: boolean;
|
|
28624
28627
|
};
|
|
28625
28628
|
body: string;
|
|
28626
|
-
commit_id: string;
|
|
28627
28629
|
state: string;
|
|
28628
28630
|
html_url: string;
|
|
28629
28631
|
pull_request_url: string;
|
|
@@ -28635,6 +28637,7 @@ export interface PullsDeletePendingReviewResponseData {
|
|
|
28635
28637
|
href: string;
|
|
28636
28638
|
};
|
|
28637
28639
|
};
|
|
28640
|
+
commit_id: string;
|
|
28638
28641
|
}
|
|
28639
28642
|
declare type PullsUpdateReviewEndpoint = {
|
|
28640
28643
|
owner: string;
|
|
@@ -28676,7 +28679,6 @@ export interface PullsUpdateReviewResponseData {
|
|
|
28676
28679
|
site_admin: boolean;
|
|
28677
28680
|
};
|
|
28678
28681
|
body: string;
|
|
28679
|
-
commit_id: string;
|
|
28680
28682
|
state: string;
|
|
28681
28683
|
html_url: string;
|
|
28682
28684
|
pull_request_url: string;
|
|
@@ -28688,6 +28690,8 @@ export interface PullsUpdateReviewResponseData {
|
|
|
28688
28690
|
href: string;
|
|
28689
28691
|
};
|
|
28690
28692
|
};
|
|
28693
|
+
submitted_at: string;
|
|
28694
|
+
commit_id: string;
|
|
28691
28695
|
}
|
|
28692
28696
|
declare type PullsGetCommentsForReviewEndpoint = {
|
|
28693
28697
|
owner: string;
|
|
@@ -28799,7 +28803,6 @@ export interface PullsDismissReviewResponseData {
|
|
|
28799
28803
|
site_admin: boolean;
|
|
28800
28804
|
};
|
|
28801
28805
|
body: string;
|
|
28802
|
-
commit_id: string;
|
|
28803
28806
|
state: string;
|
|
28804
28807
|
html_url: string;
|
|
28805
28808
|
pull_request_url: string;
|
|
@@ -28811,6 +28814,8 @@ export interface PullsDismissReviewResponseData {
|
|
|
28811
28814
|
href: string;
|
|
28812
28815
|
};
|
|
28813
28816
|
};
|
|
28817
|
+
submitted_at: string;
|
|
28818
|
+
commit_id: string;
|
|
28814
28819
|
}
|
|
28815
28820
|
declare type PullsSubmitReviewEndpoint = {
|
|
28816
28821
|
owner: string;
|
|
@@ -28856,8 +28861,6 @@ export interface PullsSubmitReviewResponseData {
|
|
|
28856
28861
|
site_admin: boolean;
|
|
28857
28862
|
};
|
|
28858
28863
|
body: string;
|
|
28859
|
-
submitted_at: string;
|
|
28860
|
-
commit_id: string;
|
|
28861
28864
|
state: string;
|
|
28862
28865
|
html_url: string;
|
|
28863
28866
|
pull_request_url: string;
|
|
@@ -28869,6 +28872,8 @@ export interface PullsSubmitReviewResponseData {
|
|
|
28869
28872
|
href: string;
|
|
28870
28873
|
};
|
|
28871
28874
|
};
|
|
28875
|
+
submitted_at: string;
|
|
28876
|
+
commit_id: string;
|
|
28872
28877
|
}
|
|
28873
28878
|
declare type PullsUpdateBranchEndpoint = {
|
|
28874
28879
|
owner: string;
|
|
@@ -33575,10 +33580,9 @@ export interface AppsListInstallationsForAuthenticatedUserResponseData {
|
|
|
33575
33580
|
target_id: number;
|
|
33576
33581
|
target_type: string;
|
|
33577
33582
|
permissions: {
|
|
33583
|
+
checks: string;
|
|
33578
33584
|
metadata: string;
|
|
33579
33585
|
contents: string;
|
|
33580
|
-
issues: string;
|
|
33581
|
-
single_file: string;
|
|
33582
33586
|
};
|
|
33583
33587
|
events: string[];
|
|
33584
33588
|
single_file_name: string;
|
|
@@ -36244,7 +36248,7 @@ export interface AppsGetUserInstallationResponseData {
|
|
|
36244
36248
|
type: string;
|
|
36245
36249
|
site_admin: boolean;
|
|
36246
36250
|
};
|
|
36247
|
-
repository_selection:
|
|
36251
|
+
repository_selection: "all" | "selected";
|
|
36248
36252
|
access_tokens_url: string;
|
|
36249
36253
|
repositories_url: string;
|
|
36250
36254
|
html_url: string;
|
package/dist-web/index.js
CHANGED