summaryrefslogtreecommitdiff
path: root/app/graphql/types/packages/package_file_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
commitb76ae638462ab0f673e5915986070518dd3f9ad3 (patch)
treebdab0533383b52873be0ec0eb4d3c66598ff8b91 /app/graphql/types/packages/package_file_type.rb
parent434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff)
downloadgitlab-ce-b76ae638462ab0f673e5915986070518dd3f9ad3.tar.gz
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to 'app/graphql/types/packages/package_file_type.rb')
-rw-r--r--app/graphql/types/packages/package_file_type.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/graphql/types/packages/package_file_type.rb b/app/graphql/types/packages/package_file_type.rb
index e9e38559626..f77c40de8d8 100644
--- a/app/graphql/types/packages/package_file_type.rb
+++ b/app/graphql/types/packages/package_file_type.rb
@@ -10,12 +10,12 @@ module Types
field :id, ::Types::GlobalIDType[::Packages::PackageFile], null: false, description: 'ID of the file.'
field :created_at, Types::TimeType, null: false, description: 'The created date.'
field :updated_at, Types::TimeType, null: false, description: 'The updated date.'
- field :size, GraphQL::STRING_TYPE, null: false, description: 'Size of the package file.'
- field :file_name, GraphQL::STRING_TYPE, null: false, description: 'Name of the package file.'
- field :download_path, GraphQL::STRING_TYPE, null: false, description: 'Download path of the package file.'
- field :file_md5, GraphQL::STRING_TYPE, null: true, description: 'Md5 of the package file.'
- field :file_sha1, GraphQL::STRING_TYPE, null: true, description: 'Sha1 of the package file.'
- field :file_sha256, GraphQL::STRING_TYPE, null: true, description: 'Sha256 of the package file.'
+ field :size, GraphQL::Types::String, null: false, description: 'Size of the package file.'
+ field :file_name, GraphQL::Types::String, null: false, description: 'Name of the package file.'
+ field :download_path, GraphQL::Types::String, null: false, description: 'Download path of the package file.'
+ field :file_md5, GraphQL::Types::String, null: true, description: 'Md5 of the package file.'
+ field :file_sha1, GraphQL::Types::String, null: true, description: 'Sha1 of the package file.'
+ field :file_sha256, GraphQL::Types::String, null: true, description: 'Sha256 of the package file.'
field :file_metadata, Types::Packages::FileMetadataType, null: true,
description: 'File metadata.'