mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
27 lines
725 B
GraphQL
27 lines
725 B
GraphQL
subscription userUpdates(
|
|
$userId: ID!
|
|
$secondaryOrganizationsCount: Int
|
|
$after: String
|
|
$hasOrganizationCounts: Boolean! = false
|
|
$initial: Boolean = false
|
|
) {
|
|
userUpdates(userId: $userId, initial: $initial) {
|
|
user {
|
|
...userDetailAttributes
|
|
hasSecondaryOrganizations
|
|
ticketsCount {
|
|
open
|
|
openSearchQuery
|
|
closed
|
|
closedSearchQuery
|
|
organizationOpen @include(if: $hasOrganizationCounts)
|
|
organizationOpenSearchQuery @include(if: $hasOrganizationCounts)
|
|
organizationClosed @include(if: $hasOrganizationCounts)
|
|
organizationClosedSearchQuery @include(if: $hasOrganizationCounts)
|
|
}
|
|
policy {
|
|
update
|
|
}
|
|
}
|
|
}
|
|
}
|