Introduce external repository token
This commit is contained in:
parent
a0c4707dcc
commit
90d1a31dd4
22 changed files with 72 additions and 41 deletions
|
|
@ -11,11 +11,19 @@ export enum DisallowedAPIVersionReason {
|
|||
ACTION_TOO_NEW,
|
||||
}
|
||||
|
||||
export type GitHubApiCombinedDetails = GitHubApiDetails &
|
||||
GitHubApiExternalRepoDetails;
|
||||
|
||||
export interface GitHubApiDetails {
|
||||
auth: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface GitHubApiExternalRepoDetails {
|
||||
externalRepoAuth: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export const getApiClient = function (
|
||||
apiDetails: GitHubApiDetails,
|
||||
allowLocalRun = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue