summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/access_tokens/graphql/queries/get_projects.query.graphql
blob: cdc8a952ead39be346eced43e4df58a9faf07a17 (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
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql"

query accessTokensGetProjects(
  $search: String = ""
  $after: String = ""
  $first: Int = null
  $ids: [ID!] = null
) {
  projects(
    search: $search
    after: $after
    first: $first
    ids: $ids
    membership: true
    searchNamespaces: true
    sort: "UPDATED_ASC"
  ) {
    nodes {
      id
      name
      nameWithNamespace
      avatarUrl
    }
    pageInfo {
      __typename
      ...PageInfo
    }
  }
}