summaryrefslogtreecommitdiff
path: root/app/graphql/types/environment_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/environment_type.rb')
-rw-r--r--app/graphql/types/environment_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/graphql/types/environment_type.rb b/app/graphql/types/environment_type.rb
index ad65caa24a6..c165c0ddc61 100644
--- a/app/graphql/types/environment_type.rb
+++ b/app/graphql/types/environment_type.rb
@@ -12,5 +12,8 @@ module Types
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the environment'
+
+ field :state, GraphQL::STRING_TYPE, null: false,
+ description: 'State of the environment, for example: available/stopped'
end
end