UNPKG

togezr

Version:

Better together_

36 lines 1.02 kB
export interface IAccount { login: string; name?: string; avatarUrl?: string; url: string; } interface IGHPRGithubIssue { id: string; number: number; html_url: string; author: IAccount; } declare type TKnownEvents = 'start-working-on-issue' | 'stop-working-on-issue'; interface IEventBase { type: TKnownEvents; } interface IStartWorkingOnIssueEvent extends IEventBase { type: 'start-working-on-issue'; issue: IGHPRGithubIssue; } interface IStopWorkingOnIssueEvent extends IEventBase { type: 'stop-working-on-issue'; issue: IGHPRGithubIssue; } export declare type TGithubPrExtensionEvents = IStartWorkingOnIssueEvent | IStopWorkingOnIssueEvent; export declare class GithubPRIntegration { private githubPrExtension?; private account?; private ensureAccount; init: () => Promise<void>; private setupListeners; private onStartWorkingOnIssue; private onStopWorkingOnIssue; } export {}; //# sourceMappingURL=githubPullRequestIntegration.d.ts.map