Welcome to mirror list, hosted at ThFree Co, Russian Federation.

get_alerts.query.graphql « queries « graphql_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a676e67f1b4911d732dcba46decadc883649892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#import "~/graphql_shared/fragments/alert.fragment.graphql"

query getAlerts(
  $projectPath: ID!
  $statuses: [AlertManagementStatus!]
  $sort: AlertManagementAlertSort
  $firstPageSize: Int
  $lastPageSize: Int
  $prevPageCursor: String = ""
  $nextPageCursor: String = ""
  $searchTerm: String = ""
  $assigneeUsername: String = ""
  $domain: AlertManagementDomainFilter = operations
) {
  project(fullPath: $projectPath) {
    alertManagementAlerts(
      search: $searchTerm
      assigneeUsername: $assigneeUsername
      statuses: $statuses
      sort: $sort
      first: $firstPageSize
      last: $lastPageSize
      after: $nextPageCursor
      before: $prevPageCursor
      domain: $domain
    ) {
      nodes {
        ...AlertListItem
      }
      pageInfo {
        hasNextPage
        endCursor
        hasPreviousPage
        startCursor
      }
    }
  }
}