UNPKG

3.31 kBTypeScriptView Raw
1import { ChannelLinkListener } from "../../api/listener/ChannelLinkListenerInvocation";
2import { ClosedIssueListener } from "../../api/listener/ClosedIssueListener";
3import { GoalCompletionListener } from "../../api/listener/GoalCompletionListener";
4import { GoalsSetListener } from "../../api/listener/GoalsSetListener";
5import { GoalExecutionListener } from "../../api/listener/GoalStatusListener";
6import { NewIssueListener } from "../../api/listener/NewIssueListener";
7import { ProjectListener } from "../../api/listener/ProjectListener";
8import { PullRequestListener } from "../../api/listener/PullRequestListener";
9import { PushListener } from "../../api/listener/PushListener";
10import { RepoCreationListener } from "../../api/listener/RepoCreationListener";
11import { StartupListener } from "../../api/listener/StartupListener";
12import { TagListener } from "../../api/listener/TagListener";
13import { UpdatedIssueListener } from "../../api/listener/UpdatedIssueListener";
14import { UserJoiningChannelListener } from "../../api/listener/UserJoiningChannelListener";
15import { ListenerRegistrationManager } from "../../api/machine/ListenerRegistrationManager";
16import { TriggeredListenerRegistration } from "../../api/registration/TriggeredListenerRegistration";
17/**
18 * Listener management offering a fluent builder pattern for registrations.
19 * This class is purely a registration store, and has no other behavior.
20 */
21export declare class ListenerRegistrationManagerSupport implements ListenerRegistrationManager {
22 readonly startupListeners: StartupListener[];
23 readonly triggeredListeners: TriggeredListenerRegistration[];
24 readonly userJoiningChannelListeners: UserJoiningChannelListener[];
25 readonly tagListeners: TagListener[];
26 readonly newIssueListeners: NewIssueListener[];
27 readonly updatedIssueListeners: UpdatedIssueListener[];
28 readonly closedIssueListeners: ClosedIssueListener[];
29 readonly repoCreationListeners: RepoCreationListener[];
30 readonly repoOnboardingListeners: ProjectListener[];
31 readonly pullRequestListeners: PullRequestListener[];
32 readonly firstPushListeners: PushListener[];
33 readonly channelLinkListeners: ChannelLinkListener[];
34 readonly goalsSetListeners: GoalsSetListener[];
35 readonly goalCompletionListeners: GoalCompletionListener[];
36 readonly goalExecutionListeners: GoalExecutionListener[];
37 addStartupListener(l: StartupListener): this;
38 addTriggeredListener(t: TriggeredListenerRegistration): this;
39 addNewIssueListener(e: NewIssueListener): this;
40 addUpdatedIssueListener(e: UpdatedIssueListener): this;
41 addGoalExecutionListener(e: GoalExecutionListener): this;
42 addClosedIssueListener(e: ClosedIssueListener): this;
43 addTagListener(e: TagListener): this;
44 addChannelLinkListener(e: ChannelLinkListener): this;
45 addRepoCreationListener(rcls: RepoCreationListener): this;
46 addRepoOnboardingListener(rols: ProjectListener): this;
47 addFirstPushListener(pls: PushListener): this;
48 addPullRequestListener(pls: PullRequestListener): this;
49 addGoalsSetListener(l: GoalsSetListener): this;
50 addGoalCompletionListener(l: GoalCompletionListener): this;
51 addUserJoiningChannelListener(l: UserJoiningChannelListener): this;
52}
53//# sourceMappingURL=ListenerRegistrationManagerSupport.d.ts.map
\No newline at end of file