feat: add new issue trigger in GitHub
This commit is contained in:
@@ -9,6 +9,7 @@ export default class NewNotification {
|
||||
connectionData?: IJSONObject;
|
||||
repoOwner?: string;
|
||||
repo?: string;
|
||||
hasRepo?: boolean;
|
||||
baseOptions = {
|
||||
all: true,
|
||||
participating: false,
|
||||
@@ -24,10 +25,6 @@ export default class NewNotification {
|
||||
assignOwnerAndRepo(this, parameters?.repo as string);
|
||||
}
|
||||
|
||||
get hasRepo() {
|
||||
return this.repoOwner && this.repo;
|
||||
}
|
||||
|
||||
async listRepoNotifications(options = {}, paginate = false) {
|
||||
const listRepoNotifications = this.client.rest.activity.listRepoNotificationsForAuthenticatedUser;
|
||||
|
||||
|
Reference in New Issue
Block a user