Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/util/github/ghub"

Index

Type aliases

State

State: "error" | "failure" | "pending" | "success"

Functions

authHeaders

  • authHeaders(token: string): AxiosRequestConfig

createRelease

  • createRelease(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef, release: Release): AxiosPromise

createStatus

  • createStatus(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef, inputStatus: Status): AxiosPromise

createTag

  • createTag(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef, tag: Tag): AxiosPromise

createTagReference

  • createTagReference(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef, tag: Tag): AxiosPromise

deleteRepository

  • deleteRepository(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef): AxiosPromise

ensureValidUrl

isPublicRepo

  • isPublicRepo(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef): Promise<boolean>

listCommitsBetween

  • listCommitsBetween(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef, startSha: string, endSha: string): Promise<GitHubCommitsBetween>

listTopics

  • listTopics(creds: string | ProjectOperationCredentials, rr: RemoteRepoRef): Promise<string[]>

tipOfDefaultBranch

  • tipOfDefaultBranch(creds: string | ProjectOperationCredentials, rr: GitHubRepoRef): Promise<string>

updateIssue

  • updateIssue(creds: string | ProjectOperationCredentials, rr: RemoteRepoRef, issueNumber: number, issue: Issue): AxiosPromise
  • Parameters

    • creds: string | ProjectOperationCredentials
    • rr: RemoteRepoRef
    • issueNumber: number
    • issue: Issue

    Returns AxiosPromise

Generated using TypeDoc