Skip to content

Commit

Permalink
add ListNotificationSinks
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Mar 4, 2024
1 parent 419517f commit 352a6b0
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
111 changes: 111 additions & 0 deletions client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions graph/notification.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ query GetNotificationSinkByName($name: String) {
}
}

query ListNotificationSinks($after: String, $first: Int, $before: String, $last: Int) {
notificationSinks(after: $after, first: $first, before: $before, last: $last) {
pageInfo { ...PageInfoFragment }
edges { ...NotificationSinkEdgeFragment }
}
}

fragment NotificationSinkEdgeFragment on NotificationSinkEdge {
cursor
node { ...NotificationSinkFragment }
}

fragment NotificationSinkFragment on NotificationSink {
id
name
Expand Down

0 comments on commit 352a6b0

Please sign in to comment.