diff options
Diffstat (limited to 'app/graphql/types/commit_action_mode_enum.rb')
-rw-r--r-- | app/graphql/types/commit_action_mode_enum.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/graphql/types/commit_action_mode_enum.rb b/app/graphql/types/commit_action_mode_enum.rb new file mode 100644 index 00000000000..77658a85b51 --- /dev/null +++ b/app/graphql/types/commit_action_mode_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Types + class CommitActionModeEnum < BaseEnum + graphql_name 'CommitActionMode' + description 'Mode of a commit action' + + value 'CREATE', description: 'Create command', value: :create + value 'DELETE', description: 'Delete command', value: :delete + value 'MOVE', description: 'Move command', value: :move + value 'UPDATE', description: 'Update command', value: :update + value 'CHMOD', description: 'Chmod command', value: :chmod + end +end |