diff options
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql new file mode 100644 index 00000000000..359b4a846c7 --- /dev/null +++ b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql @@ -0,0 +1,13 @@ +query getAvailableBranches( + $limit: Int! + $offset: Int! + $projectFullPath: ID! + $searchPattern: String! +) { + project(fullPath: $projectFullPath) { + id + repository { + branchNames(limit: $limit, offset: $offset, searchPattern: $searchPattern) + } + } +} |