@octokit/types 10.0.0-beta.1 → 10.0.0-beta.2
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
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "10.0.0-beta.
|
|
1
|
+
export const VERSION = "10.0.0-beta.2";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "10.0.0-beta.
|
|
1
|
+
export declare const VERSION = "10.0.0-beta.2";
|
|
@@ -4,7 +4,7 @@ import { RequestHeaders } from "../RequestHeaders";
|
|
|
4
4
|
import { RequestRequestOptions } from "../RequestRequestOptions";
|
|
5
5
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
6
6
|
type ExtractParameters<T> = "parameters" extends keyof T ? UnionToIntersection<{
|
|
7
|
-
[K in keyof T["parameters"]]
|
|
7
|
+
[K in keyof T["parameters"]]-?: T["parameters"][K];
|
|
8
8
|
}[keyof T["parameters"]]> : {};
|
|
9
9
|
type ExtractRequestBody<T> = "requestBody" extends keyof T ? "content" extends keyof T["requestBody"] ? "application/json" extends keyof T["requestBody"]["content"] ? T["requestBody"]["content"]["application/json"] : {
|
|
10
10
|
data: {
|
|
@@ -2778,6 +2778,10 @@ export interface Endpoints {
|
|
|
2778
2778
|
* @see https://docs.github.com/rest/reference/actions#create-a-required-workflow
|
|
2779
2779
|
*/
|
|
2780
2780
|
"POST /orgs/{org}/actions/required_workflows": Operation<"/orgs/{org}/actions/required_workflows", "post">;
|
|
2781
|
+
/**
|
|
2782
|
+
* @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization
|
|
2783
|
+
*/
|
|
2784
|
+
"POST /orgs/{org}/actions/runners/generate-jitconfig": Operation<"/orgs/{org}/actions/runners/generate-jitconfig", "post">;
|
|
2781
2785
|
/**
|
|
2782
2786
|
* @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization
|
|
2783
2787
|
*/
|
|
@@ -2886,6 +2890,10 @@ export interface Endpoints {
|
|
|
2886
2890
|
* @see https://docs.github.com/rest/reference/actions#re-run-job-for-workflow-run
|
|
2887
2891
|
*/
|
|
2888
2892
|
"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun", "post">;
|
|
2893
|
+
/**
|
|
2894
|
+
* @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository
|
|
2895
|
+
*/
|
|
2896
|
+
"POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig": Operation<"/repos/{owner}/{repo}/actions/runners/generate-jitconfig", "post">;
|
|
2889
2897
|
/**
|
|
2890
2898
|
* @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository
|
|
2891
2899
|
*/
|
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": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-*/**",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"source": "dist-src/index.js",
|
|
11
11
|
"types": "dist-types/index.d.ts",
|
|
12
12
|
"octokit": {
|
|
13
|
-
"openapi-version": "
|
|
13
|
+
"openapi-version": "12.0.0"
|
|
14
14
|
},
|
|
15
15
|
"main": "dist-node/index.js",
|
|
16
16
|
"module": "dist-web/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"repository": "github:octokit/types.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@octokit/openapi-types": "^
|
|
28
|
+
"@octokit/openapi-types": "^18.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@pika/pack": "^0.3.7",
|