@octokit-next/types
Advanced tools
Comparing version 1.13.2 to 1.14.0
@@ -0,1 +1,3 @@ | ||
import { EndpointInterface } from "./endpoint"; | ||
export { EndpointInterface } from "./endpoint"; | ||
import { RequestInterface } from "./request"; | ||
@@ -63,2 +65,4 @@ export { RequestInterface } from "./request"; | ||
type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; | ||
interface RequestOptions< | ||
@@ -103,9 +107,10 @@ TVersion extends keyof Octokit.ApiVersions = "github.com" | ||
/** | ||
* `user-agent` is set do a default and can be overwritten as needed. | ||
*/ | ||
"user-agent"?: string; | ||
/** | ||
* Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` | ||
*/ | ||
authorization?: string; | ||
/** | ||
* `user-agent` is set do a default and can be overwritten as needed. | ||
*/ | ||
"user-agent"?: string; | ||
[header: string]: string | number | undefined; | ||
@@ -232,2 +237,3 @@ } | ||
ResponseHeaders: Octokit.ResponseHeaders; | ||
RequestHeaders: Octokit.RequestHeaders; | ||
Endpoints: Octokit.Endpoints; | ||
@@ -362,2 +368,3 @@ }; | ||
request: RequestInterface<TVersion>; | ||
endpoint: EndpointInterface<TVersion>; | ||
} | ||
@@ -364,0 +371,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"type": "module", | ||
"version": "1.13.2", | ||
"version": "1.14.0", | ||
"description": "Shared TypeScript definitions for upcoming Octokit SDK", | ||
@@ -10,0 +10,0 @@ "types": "./index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28617
5
875