mirror of
https://github.com/vercel/commerce.git
synced 2025-07-24 10:41:23 +00:00
46 lines
796 B
TypeScript
46 lines
796 B
TypeScript
export const newNotificationsQuery = /* GraphQL */ `
|
|
query newNotifications($customOption: CustomNotificationListOptions) {
|
|
newNotifications(customOption: $customOption) {
|
|
totalItems
|
|
items {
|
|
id
|
|
createdAt
|
|
type
|
|
data
|
|
description
|
|
isNew
|
|
order {
|
|
id
|
|
code
|
|
customFields {
|
|
lastedNotificationAt
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export const notificationsQuery = /* GraphQL */ `
|
|
query notifications($customOption: CustomNotificationListOptions) {
|
|
notifications(customOption: $customOption) {
|
|
totalItems
|
|
items {
|
|
id
|
|
createdAt
|
|
type
|
|
data
|
|
description
|
|
isNew
|
|
order {
|
|
id
|
|
code
|
|
customFields {
|
|
lastedNotificationAt
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|