diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /app/graphql/types/snippets/blob_type.rb | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'app/graphql/types/snippets/blob_type.rb')
-rw-r--r-- | app/graphql/types/snippets/blob_type.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/graphql/types/snippets/blob_type.rb b/app/graphql/types/snippets/blob_type.rb index dcde1e5a73b..fb0c1d9409b 100644 --- a/app/graphql/types/snippets/blob_type.rb +++ b/app/graphql/types/snippets/blob_type.rb @@ -9,53 +9,53 @@ module Types present_using SnippetBlobPresenter field :rich_data, GraphQL::STRING_TYPE, - description: 'Blob highlighted data', + description: 'Blob highlighted data.', null: true field :plain_data, GraphQL::STRING_TYPE, - description: 'Blob plain highlighted data', + description: 'Blob plain highlighted data.', calls_gitaly: true, null: true field :raw_path, GraphQL::STRING_TYPE, - description: 'Blob raw content endpoint path', + description: 'Blob raw content endpoint path.', null: false field :size, GraphQL::INT_TYPE, - description: 'Blob size', + description: 'Blob size.', null: false field :binary, GraphQL::BOOLEAN_TYPE, - description: 'Shows whether the blob is binary', + description: 'Shows whether the blob is binary.', method: :binary?, null: false field :name, GraphQL::STRING_TYPE, - description: 'Blob name', + description: 'Blob name.', null: true field :path, GraphQL::STRING_TYPE, - description: 'Blob path', + description: 'Blob path.', null: true field :simple_viewer, type: Types::Snippets::BlobViewerType, - description: 'Blob content simple viewer', + description: 'Blob content simple viewer.', null: false field :rich_viewer, type: Types::Snippets::BlobViewerType, - description: 'Blob content rich viewer', + description: 'Blob content rich viewer.', null: true field :mode, type: GraphQL::STRING_TYPE, - description: 'Blob mode', + description: 'Blob mode.', null: true field :external_storage, type: GraphQL::STRING_TYPE, - description: 'Blob external storage', + description: 'Blob external storage.', null: true field :rendered_as_text, type: GraphQL::BOOLEAN_TYPE, - description: 'Shows whether the blob is rendered as text', + description: 'Shows whether the blob is rendered as text.', method: :rendered_as_text?, null: false end |