@octokit/types 6.38.1 → 6.40.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-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 +10 -5
- package/dist-web/index.js +1 -1
- package/package.json +13 -13
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "6.
|
|
1
|
+
export const VERSION = "6.40.0";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.40.0";
|
|
@@ -899,8 +899,9 @@ export interface Endpoints {
|
|
|
899
899
|
"GET /organizations/{organization_id}/custom_roles": Operation<"/organizations/{organization_id}/custom_roles", "get">;
|
|
900
900
|
/**
|
|
901
901
|
* @see https://docs.github.com/rest/reference/codespaces#list-in-organization
|
|
902
|
+
* @deprecated "org_id" is now "org"
|
|
902
903
|
*/
|
|
903
|
-
"GET /orgs/{org_id}/codespaces": Operation<"/orgs/{
|
|
904
|
+
"GET /orgs/{org_id}/codespaces": Operation<"/orgs/{org}/codespaces", "get">;
|
|
904
905
|
/**
|
|
905
906
|
* @see https://docs.github.com/rest/reference/orgs#get-an-organization
|
|
906
907
|
*/
|
|
@@ -997,6 +998,10 @@ export interface Endpoints {
|
|
|
997
998
|
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization
|
|
998
999
|
*/
|
|
999
1000
|
"GET /orgs/{org}/code-scanning/alerts": Operation<"/orgs/{org}/code-scanning/alerts", "get">;
|
|
1001
|
+
/**
|
|
1002
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-in-organization
|
|
1003
|
+
*/
|
|
1004
|
+
"GET /orgs/{org}/codespaces": Operation<"/orgs/{org}/codespaces", "get">;
|
|
1000
1005
|
/**
|
|
1001
1006
|
* @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization
|
|
1002
1007
|
*/
|
|
@@ -1534,6 +1539,10 @@ export interface Endpoints {
|
|
|
1534
1539
|
* @see https://docs.github.com/rest/reference/codespaces#list-available-machine-types-for-a-repository
|
|
1535
1540
|
*/
|
|
1536
1541
|
"GET /repos/{owner}/{repo}/codespaces/machines": Operation<"/repos/{owner}/{repo}/codespaces/machines", "get">;
|
|
1542
|
+
/**
|
|
1543
|
+
* @see https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace
|
|
1544
|
+
*/
|
|
1545
|
+
"GET /repos/{owner}/{repo}/codespaces/new": Operation<"/repos/{owner}/{repo}/codespaces/new", "get">;
|
|
1537
1546
|
/**
|
|
1538
1547
|
* @see https://docs.github.com/rest/reference/codespaces#list-repository-secrets
|
|
1539
1548
|
*/
|
|
@@ -1606,10 +1615,6 @@ export interface Endpoints {
|
|
|
1606
1615
|
* @see https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference
|
|
1607
1616
|
*/
|
|
1608
1617
|
"GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation<"/repos/{owner}/{repo}/commits/{ref}/statuses", "get">;
|
|
1609
|
-
/**
|
|
1610
|
-
* @see https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository
|
|
1611
|
-
*/
|
|
1612
|
-
"GET /repos/{owner}/{repo}/community/code_of_conduct": Operation<"/repos/{owner}/{repo}/community/code_of_conduct", "get", "scarlet-witch">;
|
|
1613
1618
|
/**
|
|
1614
1619
|
* @see https://docs.github.com/rest/reference/repos#get-community-profile-metrics
|
|
1615
1620
|
*/
|
package/dist-web/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
3
|
"description": "Shared TypeScript definitions for Octokit projects",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.40.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-*/",
|
|
8
8
|
"bin/"
|
|
9
9
|
],
|
|
10
|
+
"source": "dist-src/index.js",
|
|
11
|
+
"types": "dist-types/index.d.ts",
|
|
12
|
+
"octokit": {
|
|
13
|
+
"openapi-version": "6.7.0"
|
|
14
|
+
},
|
|
15
|
+
"main": "dist-node/index.js",
|
|
16
|
+
"module": "dist-web/index.js",
|
|
10
17
|
"pika": true,
|
|
11
18
|
"sideEffects": false,
|
|
12
19
|
"keywords": [
|
|
@@ -18,17 +25,17 @@
|
|
|
18
25
|
],
|
|
19
26
|
"repository": "github:octokit/types.ts",
|
|
20
27
|
"dependencies": {
|
|
21
|
-
"@octokit/openapi-types": "^12.
|
|
28
|
+
"@octokit/openapi-types": "^12.10.0"
|
|
22
29
|
},
|
|
23
30
|
"devDependencies": {
|
|
24
|
-
"@pika/pack": "^0.
|
|
31
|
+
"@pika/pack": "^0.3.7",
|
|
25
32
|
"@pika/plugin-build-node": "^0.9.0",
|
|
26
33
|
"@pika/plugin-build-web": "^0.9.0",
|
|
27
34
|
"@pika/plugin-ts-standard-pkg": "^0.9.0",
|
|
28
35
|
"@types/node": ">= 8",
|
|
29
36
|
"github-openapi-graphql-query": "^2.0.0",
|
|
30
37
|
"handlebars": "^4.7.6",
|
|
31
|
-
"json-schema-to-typescript": "^
|
|
38
|
+
"json-schema-to-typescript": "^11.0.0",
|
|
32
39
|
"lodash.set": "^4.3.2",
|
|
33
40
|
"npm-run-all": "^4.1.5",
|
|
34
41
|
"pascal-case": "^3.1.1",
|
|
@@ -38,17 +45,10 @@
|
|
|
38
45
|
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
|
39
46
|
"sort-keys": "^4.2.0",
|
|
40
47
|
"string-to-jsdoc-comment": "^1.0.0",
|
|
41
|
-
"typedoc": "^0.
|
|
48
|
+
"typedoc": "^0.23.0",
|
|
42
49
|
"typescript": "^4.0.2"
|
|
43
50
|
},
|
|
44
51
|
"publishConfig": {
|
|
45
52
|
"access": "public"
|
|
46
|
-
}
|
|
47
|
-
"source": "dist-src/index.js",
|
|
48
|
-
"types": "dist-types/index.d.ts",
|
|
49
|
-
"octokit": {
|
|
50
|
-
"openapi-version": "6.2.1"
|
|
51
|
-
},
|
|
52
|
-
"main": "dist-node/index.js",
|
|
53
|
-
"module": "dist-web/index.js"
|
|
53
|
+
}
|
|
54
54
|
}
|