Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/ci/pipeline_editor/graphql/typedefs.graphql')
-rw-r--r--app/assets/javascripts/ci/pipeline_editor/graphql/typedefs.graphql23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/pipeline_editor/graphql/typedefs.graphql b/app/assets/javascripts/ci/pipeline_editor/graphql/typedefs.graphql
new file mode 100644
index 00000000000..508ff22c46e
--- /dev/null
+++ b/app/assets/javascripts/ci/pipeline_editor/graphql/typedefs.graphql
@@ -0,0 +1,23 @@
+type PipelineEditorApp {
+ status: String!
+}
+
+type BranchList {
+ current: WorkBranch!
+ lastCommit: WorkBranch!
+}
+
+type EtagValues {
+ pipeline: String!
+}
+
+type WorkBranch {
+ name: String!
+ commit: String
+}
+
+extend type Query {
+ app: PipelineEditorApp
+ etags: EtagValues
+ workBranches: BranchList
+}