summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql
blob: 7d9d658b1b615fe8c29b2590b49fc7b236cc46f8 (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
query getPipelineSchedulesQuery($projectPath: ID!) {
  project(fullPath: $projectPath) {
    id
    pipelineSchedules {
      nodes {
        id
        description
        forTag
        refPath
        refForDisplay
        lastPipeline {
          id
          detailedStatus {
            id
            group
            icon
            label
            text
            detailsPath
          }
        }
        active
        nextRunAt
        realNextRun
        owner {
          id
          avatarUrl
          name
          webPath
        }
        userPermissions {
          playPipelineSchedule
          takeOwnershipPipelineSchedule
          updatePipelineSchedule
          adminPipelineSchedule
        }
      }
    }
  }
}