@octokit/types 6.28.1 → 6.31.1
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 +68 -56
- package/dist-web/index.js +1 -1
- package/package.json +4 -4
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "6.
|
|
1
|
+
export const VERSION = "6.31.1";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.31.1";
|
|
@@ -180,11 +180,11 @@ export interface Endpoints {
|
|
|
180
180
|
/**
|
|
181
181
|
* @see https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive
|
|
182
182
|
*/
|
|
183
|
-
"DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "delete"
|
|
183
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "delete">;
|
|
184
184
|
/**
|
|
185
185
|
* @see https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository
|
|
186
186
|
*/
|
|
187
|
-
"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete"
|
|
187
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete">;
|
|
188
188
|
/**
|
|
189
189
|
* @see https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization
|
|
190
190
|
*/
|
|
@@ -236,19 +236,19 @@ export interface Endpoints {
|
|
|
236
236
|
/**
|
|
237
237
|
* @see https://docs.github.com/rest/reference/projects#delete-a-project-card
|
|
238
238
|
*/
|
|
239
|
-
"DELETE /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "delete"
|
|
239
|
+
"DELETE /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "delete">;
|
|
240
240
|
/**
|
|
241
241
|
* @see https://docs.github.com/rest/reference/projects#delete-a-project-column
|
|
242
242
|
*/
|
|
243
|
-
"DELETE /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "delete"
|
|
243
|
+
"DELETE /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "delete">;
|
|
244
244
|
/**
|
|
245
245
|
* @see https://docs.github.com/rest/reference/projects#delete-a-project
|
|
246
246
|
*/
|
|
247
|
-
"DELETE /projects/{project_id}": Operation<"/projects/{project_id}", "delete"
|
|
247
|
+
"DELETE /projects/{project_id}": Operation<"/projects/{project_id}", "delete">;
|
|
248
248
|
/**
|
|
249
249
|
* @see https://docs.github.com/rest/reference/projects#remove-project-collaborator
|
|
250
250
|
*/
|
|
251
|
-
"DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete"
|
|
251
|
+
"DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete">;
|
|
252
252
|
/**
|
|
253
253
|
* @see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy
|
|
254
254
|
*/
|
|
@@ -284,7 +284,7 @@ export interface Endpoints {
|
|
|
284
284
|
/**
|
|
285
285
|
* @see https://docs.github.com/rest/reference/repos#disable-automated-security-fixes
|
|
286
286
|
*/
|
|
287
|
-
"DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete"
|
|
287
|
+
"DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete">;
|
|
288
288
|
/**
|
|
289
289
|
* @see https://docs.github.com/rest/reference/repos#delete-branch-protection
|
|
290
290
|
*/
|
|
@@ -409,6 +409,10 @@ export interface Endpoints {
|
|
|
409
409
|
* @see https://docs.github.com/rest/reference/issues#delete-a-label
|
|
410
410
|
*/
|
|
411
411
|
"DELETE /repos/{owner}/{repo}/labels/{name}": Operation<"/repos/{owner}/{repo}/labels/{name}", "delete">;
|
|
412
|
+
/**
|
|
413
|
+
* @see https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository
|
|
414
|
+
*/
|
|
415
|
+
"DELETE /repos/{owner}/{repo}/lfs": Operation<"/repos/{owner}/{repo}/lfs", "delete">;
|
|
412
416
|
/**
|
|
413
417
|
* @see https://docs.github.com/rest/reference/issues#delete-a-milestone
|
|
414
418
|
*/
|
|
@@ -448,7 +452,7 @@ export interface Endpoints {
|
|
|
448
452
|
/**
|
|
449
453
|
* @see https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts
|
|
450
454
|
*/
|
|
451
|
-
"DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete"
|
|
455
|
+
"DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete">;
|
|
452
456
|
/**
|
|
453
457
|
* @see https://docs.github.com/rest/reference/actions#delete-an-environment-secret
|
|
454
458
|
*/
|
|
@@ -524,11 +528,11 @@ export interface Endpoints {
|
|
|
524
528
|
/**
|
|
525
529
|
* @see https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive
|
|
526
530
|
*/
|
|
527
|
-
"DELETE /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "delete"
|
|
531
|
+
"DELETE /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "delete">;
|
|
528
532
|
/**
|
|
529
533
|
* @see https://docs.github.com/rest/reference/migrations#unlock-a-user-repository
|
|
530
534
|
*/
|
|
531
|
-
"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/user/migrations/{migration_id}/repos/{repo_name}/lock", "delete"
|
|
535
|
+
"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/user/migrations/{migration_id}/repos/{repo_name}/lock", "delete">;
|
|
532
536
|
/**
|
|
533
537
|
* @see https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user
|
|
534
538
|
*/
|
|
@@ -936,19 +940,19 @@ export interface Endpoints {
|
|
|
936
940
|
/**
|
|
937
941
|
* @see https://docs.github.com/rest/reference/migrations#list-organization-migrations
|
|
938
942
|
*/
|
|
939
|
-
"GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get"
|
|
943
|
+
"GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get">;
|
|
940
944
|
/**
|
|
941
945
|
* @see https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status
|
|
942
946
|
*/
|
|
943
|
-
"GET /orgs/{org}/migrations/{migration_id}": Operation<"/orgs/{org}/migrations/{migration_id}", "get"
|
|
947
|
+
"GET /orgs/{org}/migrations/{migration_id}": Operation<"/orgs/{org}/migrations/{migration_id}", "get">;
|
|
944
948
|
/**
|
|
945
949
|
* @see https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive
|
|
946
950
|
*/
|
|
947
|
-
"GET /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "get"
|
|
951
|
+
"GET /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "get">;
|
|
948
952
|
/**
|
|
949
953
|
* @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration
|
|
950
954
|
*/
|
|
951
|
-
"GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get"
|
|
955
|
+
"GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get">;
|
|
952
956
|
/**
|
|
953
957
|
* @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization
|
|
954
958
|
*/
|
|
@@ -972,7 +976,7 @@ export interface Endpoints {
|
|
|
972
976
|
/**
|
|
973
977
|
* @see https://docs.github.com/rest/reference/projects#list-organization-projects
|
|
974
978
|
*/
|
|
975
|
-
"GET /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "get"
|
|
979
|
+
"GET /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "get">;
|
|
976
980
|
/**
|
|
977
981
|
* @see https://docs.github.com/rest/reference/orgs#list-public-organization-members
|
|
978
982
|
*/
|
|
@@ -1052,11 +1056,11 @@ export interface Endpoints {
|
|
|
1052
1056
|
/**
|
|
1053
1057
|
* @see https://docs.github.com/rest/reference/teams#list-team-projects
|
|
1054
1058
|
*/
|
|
1055
|
-
"GET /orgs/{org}/teams/{team_slug}/projects": Operation<"/orgs/{org}/teams/{team_slug}/projects", "get"
|
|
1059
|
+
"GET /orgs/{org}/teams/{team_slug}/projects": Operation<"/orgs/{org}/teams/{team_slug}/projects", "get">;
|
|
1056
1060
|
/**
|
|
1057
1061
|
* @see https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project
|
|
1058
1062
|
*/
|
|
1059
|
-
"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "get"
|
|
1063
|
+
"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "get">;
|
|
1060
1064
|
/**
|
|
1061
1065
|
* @see https://docs.github.com/rest/reference/teams#list-team-repositories
|
|
1062
1066
|
*/
|
|
@@ -1076,31 +1080,31 @@ export interface Endpoints {
|
|
|
1076
1080
|
/**
|
|
1077
1081
|
* @see https://docs.github.com/rest/reference/projects#get-a-project-card
|
|
1078
1082
|
*/
|
|
1079
|
-
"GET /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "get"
|
|
1083
|
+
"GET /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "get">;
|
|
1080
1084
|
/**
|
|
1081
1085
|
* @see https://docs.github.com/rest/reference/projects#get-a-project-column
|
|
1082
1086
|
*/
|
|
1083
|
-
"GET /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "get"
|
|
1087
|
+
"GET /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "get">;
|
|
1084
1088
|
/**
|
|
1085
1089
|
* @see https://docs.github.com/rest/reference/projects#list-project-cards
|
|
1086
1090
|
*/
|
|
1087
|
-
"GET /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "get"
|
|
1091
|
+
"GET /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "get">;
|
|
1088
1092
|
/**
|
|
1089
1093
|
* @see https://docs.github.com/rest/reference/projects#get-a-project
|
|
1090
1094
|
*/
|
|
1091
|
-
"GET /projects/{project_id}": Operation<"/projects/{project_id}", "get"
|
|
1095
|
+
"GET /projects/{project_id}": Operation<"/projects/{project_id}", "get">;
|
|
1092
1096
|
/**
|
|
1093
1097
|
* @see https://docs.github.com/rest/reference/projects#list-project-collaborators
|
|
1094
1098
|
*/
|
|
1095
|
-
"GET /projects/{project_id}/collaborators": Operation<"/projects/{project_id}/collaborators", "get"
|
|
1099
|
+
"GET /projects/{project_id}/collaborators": Operation<"/projects/{project_id}/collaborators", "get">;
|
|
1096
1100
|
/**
|
|
1097
1101
|
* @see https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user
|
|
1098
1102
|
*/
|
|
1099
|
-
"GET /projects/{project_id}/collaborators/{username}/permission": Operation<"/projects/{project_id}/collaborators/{username}/permission", "get"
|
|
1103
|
+
"GET /projects/{project_id}/collaborators/{username}/permission": Operation<"/projects/{project_id}/collaborators/{username}/permission", "get">;
|
|
1100
1104
|
/**
|
|
1101
1105
|
* @see https://docs.github.com/rest/reference/projects#list-project-columns
|
|
1102
1106
|
*/
|
|
1103
|
-
"GET /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "get"
|
|
1107
|
+
"GET /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "get">;
|
|
1104
1108
|
/**
|
|
1105
1109
|
* @see https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user
|
|
1106
1110
|
*/
|
|
@@ -1349,7 +1353,7 @@ export interface Endpoints {
|
|
|
1349
1353
|
/**
|
|
1350
1354
|
* @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit
|
|
1351
1355
|
*/
|
|
1352
|
-
"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get"
|
|
1356
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get">;
|
|
1353
1357
|
/**
|
|
1354
1358
|
* @see https://docs.github.com/rest/reference/repos#list-commit-comments
|
|
1355
1359
|
*/
|
|
@@ -1357,7 +1361,7 @@ export interface Endpoints {
|
|
|
1357
1361
|
/**
|
|
1358
1362
|
* @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit
|
|
1359
1363
|
*/
|
|
1360
|
-
"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get"
|
|
1364
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get">;
|
|
1361
1365
|
/**
|
|
1362
1366
|
* @see https://docs.github.com/rest/reference/repos#get-a-commit
|
|
1363
1367
|
*/
|
|
@@ -1549,7 +1553,7 @@ export interface Endpoints {
|
|
|
1549
1553
|
/**
|
|
1550
1554
|
* @see https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue
|
|
1551
1555
|
*/
|
|
1552
|
-
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get"
|
|
1556
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get">;
|
|
1553
1557
|
/**
|
|
1554
1558
|
* @see https://docs.github.com/rest/reference/repos#list-deploy-keys
|
|
1555
1559
|
*/
|
|
@@ -1613,7 +1617,7 @@ export interface Endpoints {
|
|
|
1613
1617
|
/**
|
|
1614
1618
|
* @see https://docs.github.com/rest/reference/projects#list-repository-projects
|
|
1615
1619
|
*/
|
|
1616
|
-
"GET /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "get"
|
|
1620
|
+
"GET /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "get">;
|
|
1617
1621
|
/**
|
|
1618
1622
|
* @see https://docs.github.com/rest/reference/pulls#list-pull-requests
|
|
1619
1623
|
*/
|
|
@@ -1773,7 +1777,7 @@ export interface Endpoints {
|
|
|
1773
1777
|
/**
|
|
1774
1778
|
* @see https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository
|
|
1775
1779
|
*/
|
|
1776
|
-
"GET /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "get"
|
|
1780
|
+
"GET /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "get">;
|
|
1777
1781
|
/**
|
|
1778
1782
|
* @see https://docs.github.com/rest/reference/repos#download-a-repository-archive
|
|
1779
1783
|
*/
|
|
@@ -1893,11 +1897,11 @@ export interface Endpoints {
|
|
|
1893
1897
|
/**
|
|
1894
1898
|
* @see https://docs.github.com/rest/reference/teams/#list-team-projects-legacy
|
|
1895
1899
|
*/
|
|
1896
|
-
"GET /teams/{team_id}/projects": Operation<"/teams/{team_id}/projects", "get"
|
|
1900
|
+
"GET /teams/{team_id}/projects": Operation<"/teams/{team_id}/projects", "get">;
|
|
1897
1901
|
/**
|
|
1898
1902
|
* @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy
|
|
1899
1903
|
*/
|
|
1900
|
-
"GET /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "get"
|
|
1904
|
+
"GET /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "get">;
|
|
1901
1905
|
/**
|
|
1902
1906
|
* @see https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy
|
|
1903
1907
|
*/
|
|
@@ -1993,19 +1997,19 @@ export interface Endpoints {
|
|
|
1993
1997
|
/**
|
|
1994
1998
|
* @see https://docs.github.com/rest/reference/migrations#list-user-migrations
|
|
1995
1999
|
*/
|
|
1996
|
-
"GET /user/migrations": Operation<"/user/migrations", "get"
|
|
2000
|
+
"GET /user/migrations": Operation<"/user/migrations", "get">;
|
|
1997
2001
|
/**
|
|
1998
2002
|
* @see https://docs.github.com/rest/reference/migrations#get-a-user-migration-status
|
|
1999
2003
|
*/
|
|
2000
|
-
"GET /user/migrations/{migration_id}": Operation<"/user/migrations/{migration_id}", "get"
|
|
2004
|
+
"GET /user/migrations/{migration_id}": Operation<"/user/migrations/{migration_id}", "get">;
|
|
2001
2005
|
/**
|
|
2002
2006
|
* @see https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive
|
|
2003
2007
|
*/
|
|
2004
|
-
"GET /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "get"
|
|
2008
|
+
"GET /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "get">;
|
|
2005
2009
|
/**
|
|
2006
2010
|
* @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration
|
|
2007
2011
|
*/
|
|
2008
|
-
"GET /user/migrations/{migration_id}/repositories": Operation<"/user/migrations/{migration_id}/repositories", "get"
|
|
2012
|
+
"GET /user/migrations/{migration_id}/repositories": Operation<"/user/migrations/{migration_id}/repositories", "get">;
|
|
2009
2013
|
/**
|
|
2010
2014
|
* @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user
|
|
2011
2015
|
*/
|
|
@@ -2054,10 +2058,6 @@ export interface Endpoints {
|
|
|
2054
2058
|
* @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user
|
|
2055
2059
|
*/
|
|
2056
2060
|
"GET /user/teams": Operation<"/user/teams", "get">;
|
|
2057
|
-
/**
|
|
2058
|
-
* @see https://docs.github.com/rest/reference/packages#list-packages-for-user
|
|
2059
|
-
*/
|
|
2060
|
-
"GET /user/{username}/packages": Operation<"/user/{username}/packages", "get">;
|
|
2061
2061
|
/**
|
|
2062
2062
|
* @see https://docs.github.com/rest/reference/users#list-users
|
|
2063
2063
|
*/
|
|
@@ -2114,6 +2114,10 @@ export interface Endpoints {
|
|
|
2114
2114
|
* @see https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user
|
|
2115
2115
|
*/
|
|
2116
2116
|
"GET /users/{username}/orgs": Operation<"/users/{username}/orgs", "get">;
|
|
2117
|
+
/**
|
|
2118
|
+
* @see https://docs.github.com/rest/reference/packages#list-packages-for-user
|
|
2119
|
+
*/
|
|
2120
|
+
"GET /users/{username}/packages": Operation<"/users/{username}/packages", "get">;
|
|
2117
2121
|
/**
|
|
2118
2122
|
* @see https://docs.github.com/rest/reference/packages#get-a-package-for-a-user
|
|
2119
2123
|
*/
|
|
@@ -2129,7 +2133,7 @@ export interface Endpoints {
|
|
|
2129
2133
|
/**
|
|
2130
2134
|
* @see https://docs.github.com/rest/reference/projects#list-user-projects
|
|
2131
2135
|
*/
|
|
2132
|
-
"GET /users/{username}/projects": Operation<"/users/{username}/projects", "get"
|
|
2136
|
+
"GET /users/{username}/projects": Operation<"/users/{username}/projects", "get">;
|
|
2133
2137
|
/**
|
|
2134
2138
|
* @see https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user
|
|
2135
2139
|
*/
|
|
@@ -2229,15 +2233,15 @@ export interface Endpoints {
|
|
|
2229
2233
|
/**
|
|
2230
2234
|
* @see https://docs.github.com/rest/reference/projects#update-a-project-card
|
|
2231
2235
|
*/
|
|
2232
|
-
"PATCH /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "patch"
|
|
2236
|
+
"PATCH /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "patch">;
|
|
2233
2237
|
/**
|
|
2234
2238
|
* @see https://docs.github.com/rest/reference/projects#update-a-project-column
|
|
2235
2239
|
*/
|
|
2236
|
-
"PATCH /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "patch"
|
|
2240
|
+
"PATCH /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "patch">;
|
|
2237
2241
|
/**
|
|
2238
2242
|
* @see https://docs.github.com/rest/reference/projects#update-a-project
|
|
2239
2243
|
*/
|
|
2240
|
-
"PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch"
|
|
2244
|
+
"PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">;
|
|
2241
2245
|
/**
|
|
2242
2246
|
* @see https://docs.github.com/rest/reference/repos/#update-a-repository
|
|
2243
2247
|
*/
|
|
@@ -2477,7 +2481,7 @@ export interface Endpoints {
|
|
|
2477
2481
|
/**
|
|
2478
2482
|
* @see https://docs.github.com/rest/reference/projects#create-an-organization-project
|
|
2479
2483
|
*/
|
|
2480
|
-
"POST /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "post"
|
|
2484
|
+
"POST /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "post">;
|
|
2481
2485
|
/**
|
|
2482
2486
|
* @see https://docs.github.com/rest/reference/repos#create-an-organization-repository
|
|
2483
2487
|
*/
|
|
@@ -2505,19 +2509,19 @@ export interface Endpoints {
|
|
|
2505
2509
|
/**
|
|
2506
2510
|
* @see https://docs.github.com/rest/reference/projects#move-a-project-card
|
|
2507
2511
|
*/
|
|
2508
|
-
"POST /projects/columns/cards/{card_id}/moves": Operation<"/projects/columns/cards/{card_id}/moves", "post"
|
|
2512
|
+
"POST /projects/columns/cards/{card_id}/moves": Operation<"/projects/columns/cards/{card_id}/moves", "post">;
|
|
2509
2513
|
/**
|
|
2510
2514
|
* @see https://docs.github.com/rest/reference/projects#create-a-project-card
|
|
2511
2515
|
*/
|
|
2512
|
-
"POST /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "post"
|
|
2516
|
+
"POST /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "post">;
|
|
2513
2517
|
/**
|
|
2514
2518
|
* @see https://docs.github.com/rest/reference/projects#move-a-project-column
|
|
2515
2519
|
*/
|
|
2516
|
-
"POST /projects/columns/{column_id}/moves": Operation<"/projects/columns/{column_id}/moves", "post"
|
|
2520
|
+
"POST /projects/columns/{column_id}/moves": Operation<"/projects/columns/{column_id}/moves", "post">;
|
|
2517
2521
|
/**
|
|
2518
2522
|
* @see https://docs.github.com/rest/reference/projects#create-a-project-column
|
|
2519
2523
|
*/
|
|
2520
|
-
"POST /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "post"
|
|
2524
|
+
"POST /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "post">;
|
|
2521
2525
|
/**
|
|
2522
2526
|
* @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository
|
|
2523
2527
|
*/
|
|
@@ -2542,6 +2546,10 @@ export interface Endpoints {
|
|
|
2542
2546
|
* @see https://docs.github.com/rest/reference/actions#re-run-a-workflow
|
|
2543
2547
|
*/
|
|
2544
2548
|
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", "post">;
|
|
2549
|
+
/**
|
|
2550
|
+
* @see https://docs.github.com/rest/reference/actions#retry-a-workflow
|
|
2551
|
+
*/
|
|
2552
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/retry": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/retry", "post">;
|
|
2545
2553
|
/**
|
|
2546
2554
|
* @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event
|
|
2547
2555
|
*/
|
|
@@ -2713,7 +2721,7 @@ export interface Endpoints {
|
|
|
2713
2721
|
/**
|
|
2714
2722
|
* @see https://docs.github.com/rest/reference/projects#create-a-repository-project
|
|
2715
2723
|
*/
|
|
2716
|
-
"POST /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "post"
|
|
2724
|
+
"POST /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "post">;
|
|
2717
2725
|
/**
|
|
2718
2726
|
* @see https://docs.github.com/rest/reference/pulls#create-a-pull-request
|
|
2719
2727
|
*/
|
|
@@ -2817,7 +2825,7 @@ export interface Endpoints {
|
|
|
2817
2825
|
/**
|
|
2818
2826
|
* @see https://docs.github.com/rest/reference/projects#create-a-user-project
|
|
2819
2827
|
*/
|
|
2820
|
-
"POST /user/projects": Operation<"/user/projects", "post"
|
|
2828
|
+
"POST /user/projects": Operation<"/user/projects", "post">;
|
|
2821
2829
|
/**
|
|
2822
2830
|
* @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user
|
|
2823
2831
|
*/
|
|
@@ -2961,7 +2969,7 @@ export interface Endpoints {
|
|
|
2961
2969
|
/**
|
|
2962
2970
|
* @see https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions
|
|
2963
2971
|
*/
|
|
2964
|
-
"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "put"
|
|
2972
|
+
"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "put">;
|
|
2965
2973
|
/**
|
|
2966
2974
|
* @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions
|
|
2967
2975
|
*/
|
|
@@ -2969,7 +2977,7 @@ export interface Endpoints {
|
|
|
2969
2977
|
/**
|
|
2970
2978
|
* @see https://docs.github.com/rest/reference/projects#add-project-collaborator
|
|
2971
2979
|
*/
|
|
2972
|
-
"PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put"
|
|
2980
|
+
"PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put">;
|
|
2973
2981
|
/**
|
|
2974
2982
|
* @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository
|
|
2975
2983
|
*/
|
|
@@ -2993,7 +3001,7 @@ export interface Endpoints {
|
|
|
2993
3001
|
/**
|
|
2994
3002
|
* @see https://docs.github.com/rest/reference/repos#enable-automated-security-fixes
|
|
2995
3003
|
*/
|
|
2996
|
-
"PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put"
|
|
3004
|
+
"PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put">;
|
|
2997
3005
|
/**
|
|
2998
3006
|
* @see https://docs.github.com/rest/reference/repos#update-branch-protection
|
|
2999
3007
|
*/
|
|
@@ -3042,6 +3050,10 @@ export interface Endpoints {
|
|
|
3042
3050
|
* @see https://docs.github.com/rest/reference/issues#lock-an-issue
|
|
3043
3051
|
*/
|
|
3044
3052
|
"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/lock", "put">;
|
|
3053
|
+
/**
|
|
3054
|
+
* @see https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository
|
|
3055
|
+
*/
|
|
3056
|
+
"PUT /repos/{owner}/{repo}/lfs": Operation<"/repos/{owner}/{repo}/lfs", "put">;
|
|
3045
3057
|
/**
|
|
3046
3058
|
* @see https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read
|
|
3047
3059
|
*/
|
|
@@ -3065,7 +3077,7 @@ export interface Endpoints {
|
|
|
3065
3077
|
/**
|
|
3066
3078
|
* @see https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch
|
|
3067
3079
|
*/
|
|
3068
|
-
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put"
|
|
3080
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put">;
|
|
3069
3081
|
/**
|
|
3070
3082
|
* @see https://docs.github.com/rest/reference/activity#set-a-repository-subscription
|
|
3071
3083
|
*/
|
|
@@ -3077,7 +3089,7 @@ export interface Endpoints {
|
|
|
3077
3089
|
/**
|
|
3078
3090
|
* @see https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts
|
|
3079
3091
|
*/
|
|
3080
|
-
"PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put"
|
|
3092
|
+
"PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put">;
|
|
3081
3093
|
/**
|
|
3082
3094
|
* @see https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret
|
|
3083
3095
|
*/
|
|
@@ -3105,7 +3117,7 @@ export interface Endpoints {
|
|
|
3105
3117
|
/**
|
|
3106
3118
|
* @see https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy
|
|
3107
3119
|
*/
|
|
3108
|
-
"PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put"
|
|
3120
|
+
"PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put">;
|
|
3109
3121
|
/**
|
|
3110
3122
|
* @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy
|
|
3111
3123
|
*/
|
package/dist-web/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
3
|
"description": "Shared TypeScript definitions for Octokit projects",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.31.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-*/",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": "github:octokit/types.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@octokit/openapi-types": "^10.
|
|
21
|
+
"@octokit/openapi-types": "^10.6.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@pika/pack": "^0.5.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"pascal-case": "^3.1.1",
|
|
35
35
|
"pika-plugin-merge-properties": "^1.0.6",
|
|
36
36
|
"prettier": "^2.0.0",
|
|
37
|
-
"semantic-release": "^
|
|
37
|
+
"semantic-release": "^18.0.0",
|
|
38
38
|
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
|
39
39
|
"sort-keys": "^4.2.0",
|
|
40
40
|
"string-to-jsdoc-comment": "^1.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"source": "dist-src/index.js",
|
|
48
48
|
"types": "dist-types/index.d.ts",
|
|
49
49
|
"octokit": {
|
|
50
|
-
"openapi-version": "5.
|
|
50
|
+
"openapi-version": "5.6.1"
|
|
51
51
|
},
|
|
52
52
|
"main": "dist-node/index.js",
|
|
53
53
|
"module": "dist-web/index.js"
|