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/commit_type.rb')
-rw-r--r--app/graphql/types/commit_type.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/graphql/types/commit_type.rb b/app/graphql/types/commit_type.rb
index d137901380b..dc1bf6a3101 100644
--- a/app/graphql/types/commit_type.rb
+++ b/app/graphql/types/commit_type.rb
@@ -8,31 +8,31 @@ module Types
present_using CommitPresenter
- field :id, type: GraphQL::ID_TYPE, null: false,
+ field :id, type: GraphQL::Types::ID, null: false,
description: 'ID (global ID) of the commit.'
- field :sha, type: GraphQL::STRING_TYPE, null: false,
+ field :sha, type: GraphQL::Types::String, null: false,
description: 'SHA1 ID of the commit.'
- field :short_id, type: GraphQL::STRING_TYPE, null: false,
+ field :short_id, type: GraphQL::Types::String, null: false,
description: 'Short SHA1 ID of the commit.'
- field :title, type: GraphQL::STRING_TYPE, null: true, calls_gitaly: true,
+ field :title, type: GraphQL::Types::String, null: true, calls_gitaly: true,
description: 'Title of the commit message.'
markdown_field :title_html, null: true
- field :description, type: GraphQL::STRING_TYPE, null: true,
+ field :description, type: GraphQL::Types::String, null: true,
description: 'Description of the commit message.'
markdown_field :description_html, null: true
- field :message, type: GraphQL::STRING_TYPE, null: true,
+ field :message, type: GraphQL::Types::String, null: true,
description: 'Raw commit message.'
field :authored_date, type: Types::TimeType, null: true,
description: 'Timestamp of when the commit was authored.'
- field :web_url, type: GraphQL::STRING_TYPE, null: false,
+ field :web_url, type: GraphQL::Types::String, null: false,
description: 'Web URL of the commit.'
- field :web_path, type: GraphQL::STRING_TYPE, null: false,
+ field :web_path, type: GraphQL::Types::String, null: false,
description: 'Web path of the commit.'
- field :signature_html, type: GraphQL::STRING_TYPE, null: true, calls_gitaly: true,
+ field :signature_html, type: GraphQL::Types::String, null: true, calls_gitaly: true,
description: 'Rendered HTML of the commit signature.'
- field :author_name, type: GraphQL::STRING_TYPE, null: true,
+ field :author_name, type: GraphQL::Types::String, null: true,
description: 'Commit authors name.'
- field :author_gravatar, type: GraphQL::STRING_TYPE, null: true,
+ field :author_gravatar, type: GraphQL::Types::String, null: true,
description: 'Commit authors gravatar.'
# models/commit lazy loads the author by email