Add sync dashboard and date filters
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
query IntegrationSyncDashboard {
|
||||
integrationSyncDashboard {
|
||||
generatedAt
|
||||
lastActivityAt
|
||||
totalOrders
|
||||
totalProducts
|
||||
totalClients
|
||||
items {
|
||||
id
|
||||
title
|
||||
description
|
||||
source
|
||||
syncedCount
|
||||
lastSyncedAt
|
||||
status
|
||||
note
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -193,6 +193,26 @@ type NotificationTemplate {
|
||||
channels: [NotificationTemplateChannel!]!
|
||||
}
|
||||
|
||||
type IntegrationSyncItem {
|
||||
id: ID!
|
||||
title: String!
|
||||
description: String!
|
||||
source: String!
|
||||
syncedCount: Int!
|
||||
lastSyncedAt: DateTime
|
||||
status: String!
|
||||
note: String!
|
||||
}
|
||||
|
||||
type IntegrationSyncDashboard {
|
||||
generatedAt: DateTime!
|
||||
lastActivityAt: DateTime
|
||||
totalOrders: Int!
|
||||
totalProducts: Int!
|
||||
totalClients: Int!
|
||||
items: [IntegrationSyncItem!]!
|
||||
}
|
||||
|
||||
type Warehouse {
|
||||
id: ID!
|
||||
code: String!
|
||||
@@ -380,6 +400,7 @@ type Query {
|
||||
myMessengerConnections: [MessengerConnection!]!
|
||||
myNotificationHistory(channel: MessengerType!, limit: Int = 50): [NotificationHistoryItem!]!
|
||||
notificationTemplates: [NotificationTemplate!]!
|
||||
integrationSyncDashboard: IntegrationSyncDashboard!
|
||||
managerNotificationHistory(userId: ID!, channel: MessengerType!, limit: Int = 50): [NotificationHistoryItem!]!
|
||||
clientProducts: [Product!]!
|
||||
order(id: ID!): Order
|
||||
|
||||
Reference in New Issue
Block a user