Build notification template registry from backend code
This commit is contained in:
@@ -178,6 +178,21 @@ type NotificationHistoryItem {
|
||||
orderId: ID
|
||||
}
|
||||
|
||||
type NotificationTemplateChannel {
|
||||
channel: LoginChannel!
|
||||
implemented: Boolean!
|
||||
subject: String
|
||||
body: [String!]!
|
||||
buttonText: String
|
||||
buttonUrl: String
|
||||
}
|
||||
|
||||
type NotificationTemplate {
|
||||
id: ID!
|
||||
title: String!
|
||||
channels: [NotificationTemplateChannel!]!
|
||||
}
|
||||
|
||||
type Warehouse {
|
||||
id: ID!
|
||||
code: String!
|
||||
@@ -364,6 +379,7 @@ type Query {
|
||||
myDeliveryAddresses: [DeliveryAddress!]!
|
||||
myMessengerConnections: [MessengerConnection!]!
|
||||
myNotificationHistory(channel: MessengerType!, limit: Int = 50): [NotificationHistoryItem!]!
|
||||
notificationTemplates: [NotificationTemplate!]!
|
||||
managerNotificationHistory(userId: ID!, channel: MessengerType!, limit: Int = 50): [NotificationHistoryItem!]!
|
||||
clientProducts: [Product!]!
|
||||
order(id: ID!): Order
|
||||
|
||||
Reference in New Issue
Block a user