summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/access_tokens/graphql/queries/get_projects.query.graphql
blob: 09278e1776a16a515023dd792b87b76b09c6779c (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
#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 {
      ...PageInfo
    }
  }
}