@octokit/types 12.6.0 → 13.1.0
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-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "13.1.0";
|
|
@@ -431,6 +431,14 @@ export interface Endpoints {
|
|
|
431
431
|
* @see https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment
|
|
432
432
|
*/
|
|
433
433
|
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "delete">;
|
|
434
|
+
/**
|
|
435
|
+
* @see https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
|
|
436
|
+
*/
|
|
437
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "delete">;
|
|
438
|
+
/**
|
|
439
|
+
* @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable
|
|
440
|
+
*/
|
|
441
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "delete">;
|
|
434
442
|
/**
|
|
435
443
|
* @see https://docs.github.com/rest/git/refs#delete-a-reference
|
|
436
444
|
*/
|
|
@@ -543,14 +551,6 @@ export interface Endpoints {
|
|
|
543
551
|
* @see https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
|
|
544
552
|
*/
|
|
545
553
|
"DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete">;
|
|
546
|
-
/**
|
|
547
|
-
* @see https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
|
|
548
|
-
*/
|
|
549
|
-
"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete">;
|
|
550
|
-
/**
|
|
551
|
-
* @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable
|
|
552
|
-
*/
|
|
553
|
-
"DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "delete">;
|
|
554
554
|
/**
|
|
555
555
|
* @see https://docs.github.com/rest/teams/teams#delete-a-team-legacy
|
|
556
556
|
*/
|
|
@@ -1797,6 +1797,26 @@ export interface Endpoints {
|
|
|
1797
1797
|
* @see https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule
|
|
1798
1798
|
*/
|
|
1799
1799
|
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "get">;
|
|
1800
|
+
/**
|
|
1801
|
+
* @see https://docs.github.com/rest/actions/secrets#list-environment-secrets
|
|
1802
|
+
*/
|
|
1803
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets", "get">;
|
|
1804
|
+
/**
|
|
1805
|
+
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
|
|
1806
|
+
*/
|
|
1807
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "get">;
|
|
1808
|
+
/**
|
|
1809
|
+
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-secret
|
|
1810
|
+
*/
|
|
1811
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "get">;
|
|
1812
|
+
/**
|
|
1813
|
+
* @see https://docs.github.com/rest/actions/variables#list-environment-variables
|
|
1814
|
+
*/
|
|
1815
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables", "get">;
|
|
1816
|
+
/**
|
|
1817
|
+
* @see https://docs.github.com/rest/actions/variables#get-an-environment-variable
|
|
1818
|
+
*/
|
|
1819
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "get">;
|
|
1800
1820
|
/**
|
|
1801
1821
|
* @see https://docs.github.com/rest/activity/events#list-repository-events
|
|
1802
1822
|
*/
|
|
@@ -1989,6 +2009,10 @@ export interface Endpoints {
|
|
|
1989
2009
|
* @see https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
|
|
1990
2010
|
*/
|
|
1991
2011
|
"GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">;
|
|
2012
|
+
/**
|
|
2013
|
+
* @see https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository
|
|
2014
|
+
*/
|
|
2015
|
+
"GET /repos/{owner}/{repo}/private-vulnerability-reporting": Operation<"/repos/{owner}/{repo}/private-vulnerability-reporting", "get">;
|
|
1992
2016
|
/**
|
|
1993
2017
|
* @see https://docs.github.com/rest/projects/projects#list-repository-projects
|
|
1994
2018
|
*/
|
|
@@ -2205,26 +2229,6 @@ export interface Endpoints {
|
|
|
2205
2229
|
* @see https://docs.github.com/rest/repos/repos#list-public-repositories
|
|
2206
2230
|
*/
|
|
2207
2231
|
"GET /repositories": Operation<"/repositories", "get">;
|
|
2208
|
-
/**
|
|
2209
|
-
* @see https://docs.github.com/rest/actions/secrets#list-environment-secrets
|
|
2210
|
-
*/
|
|
2211
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets", "get">;
|
|
2212
|
-
/**
|
|
2213
|
-
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
|
|
2214
|
-
*/
|
|
2215
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", "get">;
|
|
2216
|
-
/**
|
|
2217
|
-
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-secret
|
|
2218
|
-
*/
|
|
2219
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get">;
|
|
2220
|
-
/**
|
|
2221
|
-
* @see https://docs.github.com/rest/actions/variables#list-environment-variables
|
|
2222
|
-
*/
|
|
2223
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "get">;
|
|
2224
|
-
/**
|
|
2225
|
-
* @see https://docs.github.com/rest/actions/variables#get-an-environment-variable
|
|
2226
|
-
*/
|
|
2227
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "get">;
|
|
2228
2232
|
/**
|
|
2229
2233
|
* @see https://docs.github.com/rest/search/search#search-code
|
|
2230
2234
|
*/
|
|
@@ -2745,6 +2749,10 @@ export interface Endpoints {
|
|
|
2745
2749
|
* @see https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert
|
|
2746
2750
|
*/
|
|
2747
2751
|
"PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/dependabot/alerts/{alert_number}", "patch">;
|
|
2752
|
+
/**
|
|
2753
|
+
* @see https://docs.github.com/rest/actions/variables#update-an-environment-variable
|
|
2754
|
+
*/
|
|
2755
|
+
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "patch">;
|
|
2748
2756
|
/**
|
|
2749
2757
|
* @see https://docs.github.com/rest/git/refs#update-a-reference
|
|
2750
2758
|
*/
|
|
@@ -2817,10 +2825,6 @@ export interface Endpoints {
|
|
|
2817
2825
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
|
|
2818
2826
|
*/
|
|
2819
2827
|
"PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}", "patch">;
|
|
2820
|
-
/**
|
|
2821
|
-
* @see https://docs.github.com/rest/actions/variables#update-an-environment-variable
|
|
2822
|
-
*/
|
|
2823
|
-
"PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "patch">;
|
|
2824
2828
|
/**
|
|
2825
2829
|
* @see https://docs.github.com/rest/teams/teams#update-a-team-legacy
|
|
2826
2830
|
*/
|
|
@@ -3173,6 +3177,10 @@ export interface Endpoints {
|
|
|
3173
3177
|
* @see https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment
|
|
3174
3178
|
*/
|
|
3175
3179
|
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules", "post">;
|
|
3180
|
+
/**
|
|
3181
|
+
* @see https://docs.github.com/rest/actions/variables#create-an-environment-variable
|
|
3182
|
+
*/
|
|
3183
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables", "post">;
|
|
3176
3184
|
/**
|
|
3177
3185
|
* @see https://docs.github.com/rest/repos/forks#create-a-fork
|
|
3178
3186
|
*/
|
|
@@ -3357,10 +3365,6 @@ export interface Endpoints {
|
|
|
3357
3365
|
* @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
|
|
3358
3366
|
*/
|
|
3359
3367
|
"POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
|
|
3360
|
-
/**
|
|
3361
|
-
* @see https://docs.github.com/rest/actions/variables#create-an-environment-variable
|
|
3362
|
-
*/
|
|
3363
|
-
"POST /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "post">;
|
|
3364
3368
|
/**
|
|
3365
3369
|
* @see https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
|
|
3366
3370
|
*/
|
|
@@ -3681,6 +3685,10 @@ export interface Endpoints {
|
|
|
3681
3685
|
* @see https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy
|
|
3682
3686
|
*/
|
|
3683
3687
|
"PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "put">;
|
|
3688
|
+
/**
|
|
3689
|
+
* @see https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
|
|
3690
|
+
*/
|
|
3691
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "put">;
|
|
3684
3692
|
/**
|
|
3685
3693
|
* @see https://docs.github.com/rest/migrations/source-imports#start-an-import
|
|
3686
3694
|
*/
|
|
@@ -3741,10 +3749,6 @@ export interface Endpoints {
|
|
|
3741
3749
|
* @see https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts
|
|
3742
3750
|
*/
|
|
3743
3751
|
"PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put">;
|
|
3744
|
-
/**
|
|
3745
|
-
* @see https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
|
|
3746
|
-
*/
|
|
3747
|
-
"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "put">;
|
|
3748
3752
|
/**
|
|
3749
3753
|
* @see https://docs.github.com/rest/teams/members#add-team-member-legacy
|
|
3750
3754
|
*/
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
5
|
+
"access": "public",
|
|
6
|
+
"provenance": true
|
|
6
7
|
},
|
|
7
8
|
"description": "Shared TypeScript definitions for Octokit projects",
|
|
8
9
|
"dependencies": {
|
|
9
|
-
"@octokit/openapi-types": "^
|
|
10
|
+
"@octokit/openapi-types": "^21.0.0"
|
|
10
11
|
},
|
|
11
12
|
"repository": "github:octokit/types.ts",
|
|
12
13
|
"keywords": [
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"json-schema-to-typescript": "^13.0.0",
|
|
27
28
|
"lodash.set": "^4.3.2",
|
|
28
29
|
"npm-run-all2": "^6.0.0",
|
|
29
|
-
"pascal-case": "^
|
|
30
|
+
"pascal-case": "^4.0.0",
|
|
30
31
|
"prettier": "^3.0.0",
|
|
31
32
|
"semantic-release": "^23.0.0",
|
|
32
33
|
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"typescript": "^5.0.0"
|
|
37
38
|
},
|
|
38
39
|
"octokit": {
|
|
39
|
-
"openapi-version": "14.
|
|
40
|
+
"openapi-version": "14.1.0"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
43
|
"dist-types/**"
|