summaryrefslogtreecommitdiff
path: root/app/graphql/queries/container_registry/get_container_repositories.query.graphql
blob: 264878ccaa23048c95e5845d4566d6d5ca45b660 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
query getProjectContainerRepositories(
  $fullPath: ID!
  $name: String
  $first: Int
  $last: Int
  $after: String
  $before: String
  $isGroupPage: Boolean!
  $sort: ContainerRepositorySort
) {
  project(fullPath: $fullPath) @skip(if: $isGroupPage) {
    __typename
    id
    containerRepositoriesCount
    containerRepositories(
      name: $name
      after: $after
      before: $before
      first: $first
      last: $last
      sort: $sort
    ) {
      __typename
      nodes {
        id
        migrationState
        name
        path
        status
        location
        canDelete
        createdAt
        expirationPolicyStartedAt
        expirationPolicyCleanupStatus
        __typename
      }
      pageInfo {
        __typename
        hasNextPage
        hasPreviousPage
        startCursor
        endCursor
      }
    }
  }
  group(fullPath: $fullPath) @include(if: $isGroupPage) {
    __typename
    id
    containerRepositoriesCount
    containerRepositories(
      name: $name
      after: $after
      before: $before
      first: $first
      last: $last
      sort: $sort
    ) {
      __typename
      nodes {
        id
        migrationState
        name
        path
        status
        location
        canDelete
        createdAt
        expirationPolicyStartedAt
        expirationPolicyCleanupStatus
        __typename
      }
      pageInfo {
        __typename
        hasNextPage
        hasPreviousPage
        startCursor
        endCursor
      }
    }
  }
}