1 | import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
|
2 | import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId";
|
3 | import { Issue } from "@atomist/automation-client/lib/util/gitHub";
|
4 | /**
|
5 | * Implemented by types that can raise issues
|
6 | */
|
7 | export interface IssueRouter {
|
8 | /**
|
9 | * Raise an issue with the given routing strategy.
|
10 | * @param {ProjectOperationCredentials} credentials
|
11 | * @param {RemoteRepoRef} id
|
12 | * @param {Issue} issue
|
13 | * @return {Promise<void>}
|
14 | */
|
15 | raiseIssue(credentials: ProjectOperationCredentials, id: RemoteRepoRef, issue: Issue): Promise<void>;
|
16 | }
|
17 | //# sourceMappingURL=IssueRouter.d.ts.map |
\ | No newline at end of file |