diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-30 09:07:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-30 09:07:58 +0000 |
commit | 45b4df3e57c949c88107840c44ccbfaf2eabdf26 (patch) | |
tree | f73c1533a75b03d2ceb1361644e0d8ab97568a8f /app/graphql/types | |
parent | 7421e6f9f2b5889b05738af7eba568af6ae3fcbc (diff) | |
download | gitlab-ce-45b4df3e57c949c88107840c44ccbfaf2eabdf26.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types')
-rw-r--r-- | app/graphql/types/project_statistics_type.rb | 14 | ||||
-rw-r--r-- | app/graphql/types/root_storage_statistics_type.rb | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/app/graphql/types/project_statistics_type.rb b/app/graphql/types/project_statistics_type.rb index c46410df6c0..e1546d31e89 100644 --- a/app/graphql/types/project_statistics_type.rb +++ b/app/graphql/types/project_statistics_type.rb @@ -6,20 +6,20 @@ module Types authorize :read_statistics - field :commit_count, GraphQL::INT_TYPE, null: false, + field :commit_count, GraphQL::FLOAT_TYPE, null: false, description: 'Commit count of the project' - field :storage_size, GraphQL::INT_TYPE, null: false, + field :storage_size, GraphQL::FLOAT_TYPE, null: false, description: 'Storage size of the project' - field :repository_size, GraphQL::INT_TYPE, null: false, + field :repository_size, GraphQL::FLOAT_TYPE, null: false, description: 'Repository size of the project' - field :lfs_objects_size, GraphQL::INT_TYPE, null: false, + field :lfs_objects_size, GraphQL::FLOAT_TYPE, null: false, description: 'Large File Storage (LFS) object size of the project' - field :build_artifacts_size, GraphQL::INT_TYPE, null: false, + field :build_artifacts_size, GraphQL::FLOAT_TYPE, null: false, description: 'Build artifacts size of the project' - field :packages_size, GraphQL::INT_TYPE, null: false, + field :packages_size, GraphQL::FLOAT_TYPE, null: false, description: 'Packages size of the project' - field :wiki_size, GraphQL::INT_TYPE, null: true, + field :wiki_size, GraphQL::FLOAT_TYPE, null: true, description: 'Wiki size of the project' end end diff --git a/app/graphql/types/root_storage_statistics_type.rb b/app/graphql/types/root_storage_statistics_type.rb index 3c471df072d..e2d85aebc48 100644 --- a/app/graphql/types/root_storage_statistics_type.rb +++ b/app/graphql/types/root_storage_statistics_type.rb @@ -6,11 +6,11 @@ module Types authorize :read_statistics - field :storage_size, GraphQL::INT_TYPE, null: false, description: 'The total storage in bytes' - field :repository_size, GraphQL::INT_TYPE, null: false, description: 'The Git repository size in bytes' - field :lfs_objects_size, GraphQL::INT_TYPE, null: false, description: 'The LFS objects size in bytes' - field :build_artifacts_size, GraphQL::INT_TYPE, null: false, description: 'The CI artifacts size in bytes' - field :packages_size, GraphQL::INT_TYPE, null: false, description: 'The packages size in bytes' - field :wiki_size, GraphQL::INT_TYPE, null: false, description: 'The wiki size in bytes' + field :storage_size, GraphQL::FLOAT_TYPE, null: false, description: 'The total storage in bytes' + field :repository_size, GraphQL::FLOAT_TYPE, null: false, description: 'The Git repository size in bytes' + field :lfs_objects_size, GraphQL::FLOAT_TYPE, null: false, description: 'The LFS objects size in bytes' + field :build_artifacts_size, GraphQL::FLOAT_TYPE, null: false, description: 'The CI artifacts size in bytes' + field :packages_size, GraphQL::FLOAT_TYPE, null: false, description: 'The packages size in bytes' + field :wiki_size, GraphQL::FLOAT_TYPE, null: false, description: 'The wiki size in bytes' end end |