Skip to content

Commit

Permalink
chore(deps): bump 'notifications' image to 'sha256:d6ad12c9cf7808828c…
Browse files Browse the repository at this point in the history
…23015fb6ee9edb6637f5365d88dfdefb512fbf2aee9e48'
  • Loading branch information
galoybot committed Apr 17, 2024
1 parent f3d6cbc commit 51b031f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 45 deletions.
61 changes: 17 additions & 44 deletions charts/galoy/apollo-router/notifications-schema.graphql
Original file line number Diff line number Diff line change
@@ -1,59 +1,32 @@
type Mutation {
userDisableNotificationChannel(input: UserDisableNotificationChannelInput!): UserUpdateNotificationSettingsPayload!
userEnableNotificationChannel(input: UserEnableNotificationChannelInput!): UserUpdateNotificationSettingsPayload!
userDisableNotificationCategory(input: UserDisableNotificationCategoryInput!): UserUpdateNotificationSettingsPayload!
userEnableNotificationCategory(input: UserEnableNotificationCategoryInput!): UserUpdateNotificationSettingsPayload!
}



extend type User @key(fields: "id") {
id: ID! @external
notificationSettings: UserNotificationSettings!
}

input UserDisableNotificationCategoryInput {
channel: UserNotificationChannel!
category: UserNotificationCategory!
type InAppNotification {
id: ID!
title: String!
body: String!
deepLink: String
createdAt: Timestamp!
readAt: Timestamp
}

input UserDisableNotificationChannelInput {
channel: UserNotificationChannel!
}

input UserEnableNotificationCategoryInput {
channel: UserNotificationChannel!
category: UserNotificationCategory!
type Mutation {
userInAppNotificationMarkAsRead(input: UserInAppNotificationMarkAsReadInput!): UserInAppNotificationMarkAsReadPayload!
}

input UserEnableNotificationChannelInput {
channel: UserNotificationChannel!
}

enum UserNotificationCategory {
CIRCLES
PAYMENTS
ADMIN_NOTIFICATION
MARKETING
PRICE
SECURITY
}

enum UserNotificationChannel {
PUSH
}
scalar Timestamp

type UserNotificationChannelSettings {
enabled: Boolean!
disabledCategories: [UserNotificationCategory!]!
extend type User @key(fields: "id") {
id: ID! @external
inAppNotifications(onlyUnread: Boolean): [InAppNotification!]!
}

type UserNotificationSettings {
push: UserNotificationChannelSettings!
input UserInAppNotificationMarkAsReadInput {
notificationId: ID!
}

type UserUpdateNotificationSettingsPayload {
notificationSettings: UserNotificationSettings!
type UserInAppNotificationMarkAsReadPayload {
notification: InAppNotification!
}

extend schema @link(
Expand Down
2 changes: 1 addition & 1 deletion charts/galoy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ galoy:
repository: us.gcr.io/galoy-org/galoy-notifications
## Digest of the image
##
digest: "sha256:6463fd024ba6de7c5f98745aeec8c2328fee909a3ae1cd18b1fde92473f43f2a" # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=b260709;app=notifications;monorepo_subdir=core/notifications;
digest: "sha256:d6ad12c9cf7808828c23015fb6ee9edb6637f5365d88dfdefb512fbf2aee9e48" # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=da49c22;app=notifications;monorepo_subdir=core/notifications;
## Galoy Application MongoDB Migration Image details
##
mongodbMigrate:
Expand Down

0 comments on commit 51b031f

Please sign in to comment.