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/graphql/types/milestone_wildcard_id_enum.rb')
-rw-r--r--app/graphql/types/milestone_wildcard_id_enum.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/graphql/types/milestone_wildcard_id_enum.rb b/app/graphql/types/milestone_wildcard_id_enum.rb
new file mode 100644
index 00000000000..b5b339b1e5b
--- /dev/null
+++ b/app/graphql/types/milestone_wildcard_id_enum.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Types
+ class MilestoneWildcardIdEnum < BaseEnum
+ graphql_name 'MilestoneWildcardId'
+ description 'Milestone ID wildcard values'
+
+ value 'NONE', 'No milestone is assigned.'
+ value 'ANY', 'A milestone is assigned.'
+ value 'STARTED', 'An open, started milestone (start date <= today).'
+ value 'UPCOMING', 'An open milestone due in the future (due date >= today).'
+ end
+end