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

get_group_organizations.query.graphql « graphql « components « organizations « crm « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1bdcd9ba35220f2f5af950a860152ee637319b39 (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
#import "./crm_organization_fields.fragment.graphql"

query organizations(
  $groupFullPath: ID!
  $state: CustomerRelationsOrganizationState
  $searchTerm: String
  $sort: OrganizationSort
  $firstPageSize: Int
  $lastPageSize: Int
  $prevPageCursor: String = ""
  $nextPageCursor: String = ""
  $ids: [CustomerRelationsOrganizationID!]
) {
  group(fullPath: $groupFullPath) {
    id
    organizations(
      state: $state
      search: $searchTerm
      sort: $sort
      first: $firstPageSize
      last: $lastPageSize
      after: $nextPageCursor
      before: $prevPageCursor
      ids: $ids
    ) {
      nodes {
        ...OrganizationFragment
      }
      pageInfo {
        hasNextPage
        endCursor
        hasPreviousPage
        startCursor
      }
    }
  }
}