diff options
Diffstat (limited to 'app/graphql/types/snippets/blob_viewer_type.rb')
-rw-r--r-- | app/graphql/types/snippets/blob_viewer_type.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/graphql/types/snippets/blob_viewer_type.rb b/app/graphql/types/snippets/blob_viewer_type.rb index a2ffa144066..9e77457c843 100644 --- a/app/graphql/types/snippets/blob_viewer_type.rb +++ b/app/graphql/types/snippets/blob_viewer_type.rb @@ -7,34 +7,34 @@ module Types description 'Represents how the blob content should be displayed' field :type, Types::BlobViewers::TypeEnum, - description: 'Type of blob viewer', + description: 'Type of blob viewer.', null: false field :load_async, GraphQL::BOOLEAN_TYPE, - description: 'Shows whether the blob content is loaded async', + description: 'Shows whether the blob content is loaded asynchronously.', null: false field :collapsed, GraphQL::BOOLEAN_TYPE, - description: 'Shows whether the blob should be displayed collapsed', + description: 'Shows whether the blob should be displayed collapsed.', method: :collapsed?, null: false field :too_large, GraphQL::BOOLEAN_TYPE, - description: 'Shows whether the blob too large to be displayed', + description: 'Shows whether the blob too large to be displayed.', method: :too_large?, null: false field :render_error, GraphQL::STRING_TYPE, - description: 'Error rendering the blob content', + description: 'Error rendering the blob content.', null: true field :file_type, GraphQL::STRING_TYPE, - description: 'Content file type', + description: 'Content file type.', method: :partial_name, null: false field :loading_partial_name, GraphQL::STRING_TYPE, - description: 'Loading partial name', + description: 'Loading partial name.', null: false def collapsed |