summaryrefslogtreecommitdiff
path: root/app/graphql/types/terraform
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/terraform')
-rw-r--r--app/graphql/types/terraform/state_type.rb14
-rw-r--r--app/graphql/types/terraform/state_version_type.rb14
2 files changed, 14 insertions, 14 deletions
diff --git a/app/graphql/types/terraform/state_type.rb b/app/graphql/types/terraform/state_type.rb
index d97e673bf31..9e2c47a9ece 100644
--- a/app/graphql/types/terraform/state_type.rb
+++ b/app/graphql/types/terraform/state_type.rb
@@ -11,32 +11,32 @@ module Types
field :id, GraphQL::ID_TYPE,
null: false,
- description: 'ID of the Terraform state'
+ description: 'ID of the Terraform state.'
field :name, GraphQL::STRING_TYPE,
null: false,
- description: 'Name of the Terraform state'
+ description: 'Name of the Terraform state.'
field :locked_by_user, Types::UserType,
null: true,
- description: 'The user currently holding a lock on the Terraform state'
+ description: 'The user currently holding a lock on the Terraform state.'
field :locked_at, Types::TimeType,
null: true,
- description: 'Timestamp the Terraform state was locked'
+ description: 'Timestamp the Terraform state was locked.'
field :latest_version, Types::Terraform::StateVersionType,
complexity: 3,
null: true,
- description: 'The latest version of the Terraform state'
+ description: 'The latest version of the Terraform state.'
field :created_at, Types::TimeType,
null: false,
- description: 'Timestamp the Terraform state was created'
+ description: 'Timestamp the Terraform state was created.'
field :updated_at, Types::TimeType,
null: false,
- description: 'Timestamp the Terraform state was updated'
+ description: 'Timestamp the Terraform state was updated.'
def locked_by_user
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.locked_by_user_id).find
diff --git a/app/graphql/types/terraform/state_version_type.rb b/app/graphql/types/terraform/state_version_type.rb
index a3af5c876ca..2cd2ec8dcda 100644
--- a/app/graphql/types/terraform/state_version_type.rb
+++ b/app/graphql/types/terraform/state_version_type.rb
@@ -11,32 +11,32 @@ module Types
field :id, GraphQL::ID_TYPE,
null: false,
- description: 'ID of the Terraform state version'
+ description: 'ID of the Terraform state version.'
field :created_by_user, Types::UserType,
null: true,
- description: 'The user that created this version'
+ description: 'The user that created this version.'
field :download_path, GraphQL::STRING_TYPE,
null: true,
- description: "URL for downloading the version's JSON file"
+ description: "URL for downloading the version's JSON file."
field :job, Types::Ci::JobType,
null: true,
- description: 'The job that created this version'
+ description: 'The job that created this version.'
field :serial, GraphQL::INT_TYPE,
null: true,
- description: 'Serial number of the version',
+ description: 'Serial number of the version.',
method: :version
field :created_at, Types::TimeType,
null: false,
- description: 'Timestamp the version was created'
+ description: 'Timestamp the version was created.'
field :updated_at, Types::TimeType,
null: false,
- description: 'Timestamp the version was updated'
+ description: 'Timestamp the version was updated.'
def created_by_user
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.created_by_user_id).find