Skip to content

Commit

Permalink
Fix schema for notification routers
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Mar 7, 2024
1 parent b8b9488 commit f165b49
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
10 changes: 10 additions & 0 deletions models_gen.go

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

16 changes: 13 additions & 3 deletions schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ type RootQueryType {

notificationSinks(after: String, first: Int, before: String, last: Int): NotificationSinkConnection

notificationRouters(after: String, first: Int, before: String, last: Int): NotificationSinkConnection
notificationRouters(after: String, first: Int, before: String, last: Int): NotificationRouterConnection

deploymentSettings: DeploymentSettings
}
Expand Down Expand Up @@ -626,10 +626,10 @@ type RootMutationType {

upsertNotificationSink(attributes: NotificationSinkAttributes!): NotificationSink

upsertNotificationRouter(attributes: NotificationRouterAttributes!): NotificationRouter

deleteNotificationSink(id: ID!): NotificationSink

upsertNotificationRouter(attributes: NotificationRouterAttributes!): NotificationRouter

deleteNotificationRouter(id: ID!): NotificationRouter

"a reusable mutation for updating rbac settings on core services"
Expand Down Expand Up @@ -872,6 +872,11 @@ type NotificationSinkConnection {
edges: [NotificationSinkEdge]
}

type NotificationRouterConnection {
pageInfo: PageInfo!
edges: [NotificationRouterEdge]
}

enum RestoreStatus {
CREATED
PENDING
Expand Down Expand Up @@ -4967,6 +4972,11 @@ type ObjectStoreEdge {
cursor: String
}

type NotificationRouterEdge {
node: NotificationRouter
cursor: String
}

type NotificationSinkEdge {
node: NotificationSink
cursor: String
Expand Down

0 comments on commit f165b49

Please sign in to comment.