diff options
Diffstat (limited to 'app/graphql/types/project_statistics_type.rb')
-rw-r--r-- | app/graphql/types/project_statistics_type.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/app/graphql/types/project_statistics_type.rb b/app/graphql/types/project_statistics_type.rb index b3916e42e92..26cb5ab59b5 100644 --- a/app/graphql/types/project_statistics_type.rb +++ b/app/graphql/types/project_statistics_type.rb @@ -10,18 +10,20 @@ module Types description: 'Commit count of the project' field :storage_size, GraphQL::FLOAT_TYPE, null: false, - description: 'Storage size of the project' + description: 'Storage size of the project in bytes' field :repository_size, GraphQL::FLOAT_TYPE, null: false, - description: 'Repository size of the project' + description: 'Repository size of the project in bytes' field :lfs_objects_size, GraphQL::FLOAT_TYPE, null: false, - description: 'Large File Storage (LFS) object size of the project' + description: 'Large File Storage (LFS) object size of the project in bytes' field :build_artifacts_size, GraphQL::FLOAT_TYPE, null: false, - description: 'Build artifacts size of the project' + description: 'Build artifacts size of the project in bytes' field :packages_size, GraphQL::FLOAT_TYPE, null: false, - description: 'Packages size of the project' + description: 'Packages size of the project in bytes' field :wiki_size, GraphQL::FLOAT_TYPE, null: true, - description: 'Wiki size of the project' + description: 'Wiki size of the project in bytes' field :snippets_size, GraphQL::FLOAT_TYPE, null: true, - description: 'Snippets size of the project' + description: 'Snippets size of the project in bytes' + field :uploads_size, GraphQL::FLOAT_TYPE, null: true, + description: 'Uploads size of the project in bytes' end end |