You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
909 B
21 lines
909 B
import * as Context from './context'; |
|
import { Octokit } from '@octokit/core'; |
|
import { OctokitOptions } from '@octokit/core/dist-types/types'; |
|
export declare const context: Context.Context; |
|
export declare const GitHub: (new (...args: any[]) => { |
|
[x: string]: any; |
|
}) & { |
|
new (...args: any[]): { |
|
[x: string]: any; |
|
}; |
|
plugins: any[]; |
|
} & typeof Octokit & import("@octokit/core/dist-types/types").Constructor<import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods & { |
|
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; |
|
}>; |
|
/** |
|
* Convience function to correctly format Octokit Options to pass into the constructor. |
|
* |
|
* @param token the repo PAT or GITHUB_TOKEN |
|
* @param options other options to set |
|
*/ |
|
export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions;
|
|
|