Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "source/service"

Index

Variables

Const client

client: HTTPClient<Context> = new HTTPClient({baseURI: 'https://api.github.com/',responseType: 'json'})

Functions

getEvents

  • getEvents(__namedParameters: { organization: string; repository: string; user: string }): Promise<Response<Event[]>>
  • Parameters

    • __namedParameters: { organization: string; repository: string; user: string }
      • organization: string
      • repository: string
      • user: string

    Returns Promise<Response<Event[]>>

getIssue

  • getIssue(owner: string, repository: string, type: keyof typeof IssueType, code: number): Promise<{ comments: Comment[] }>

getOwner

  • getOwner(type: keyof typeof OwnerType, name: string): Promise<Owner>

getRepositories

getRepository

  • getRepository(owner: string, name: string): Promise<Repository>

Generated using TypeDoc