summaryrefslogtreecommitdiff
path: root/app/graphql/types/snippets/blob_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/snippets/blob_type.rb')
-rw-r--r--app/graphql/types/snippets/blob_type.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/graphql/types/snippets/blob_type.rb b/app/graphql/types/snippets/blob_type.rb
index fb9ee380705..1335838935e 100644
--- a/app/graphql/types/snippets/blob_type.rb
+++ b/app/graphql/types/snippets/blob_type.rb
@@ -16,6 +16,10 @@ module Types
description: 'Blob plain highlighted data.',
null: true
+ field :raw_plain_data, GraphQL::STRING_TYPE,
+ description: 'The raw content of the blob, if the blob is text data.',
+ null: true
+
field :raw_path, GraphQL::STRING_TYPE,
description: 'Blob raw content endpoint path.',
null: false