Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/project_statistics_type.rb')
-rw-r--r--app/graphql/types/project_statistics_type.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/graphql/types/project_statistics_type.rb b/app/graphql/types/project_statistics_type.rb
index 60a3d5ce06b..ab2b9c2a3af 100644
--- a/app/graphql/types/project_statistics_type.rb
+++ b/app/graphql/types/project_statistics_type.rb
@@ -6,26 +6,26 @@ module Types
authorize :read_statistics
- field :commit_count, GraphQL::FLOAT_TYPE, null: false,
+ field :commit_count, GraphQL::Types::Float, null: false,
description: 'Commit count of the project.'
- field :storage_size, GraphQL::FLOAT_TYPE, null: false,
+ field :storage_size, GraphQL::Types::Float, null: false,
description: 'Storage size of the project in bytes.'
- field :repository_size, GraphQL::FLOAT_TYPE, null: false,
+ field :repository_size, GraphQL::Types::Float, null: false,
description: 'Repository size of the project in bytes.'
- field :lfs_objects_size, GraphQL::FLOAT_TYPE, null: false,
+ field :lfs_objects_size, GraphQL::Types::Float, null: false,
description: 'Large File Storage (LFS) object size of the project in bytes.'
- field :build_artifacts_size, GraphQL::FLOAT_TYPE, null: false,
+ field :build_artifacts_size, GraphQL::Types::Float, null: false,
description: 'Build artifacts size of the project in bytes.'
- field :packages_size, GraphQL::FLOAT_TYPE, null: false,
+ field :packages_size, GraphQL::Types::Float, null: false,
description: 'Packages size of the project in bytes.'
- field :wiki_size, GraphQL::FLOAT_TYPE, null: true,
+ field :wiki_size, GraphQL::Types::Float, null: true,
description: 'Wiki size of the project in bytes.'
- field :snippets_size, GraphQL::FLOAT_TYPE, null: true,
+ field :snippets_size, GraphQL::Types::Float, null: true,
description: 'Snippets size of the project in bytes.'
- field :pipeline_artifacts_size, GraphQL::FLOAT_TYPE, null: true,
+ field :pipeline_artifacts_size, GraphQL::Types::Float, null: true,
description: 'CI Pipeline artifacts size in bytes.'
- field :uploads_size, GraphQL::FLOAT_TYPE, null: true,
+ field :uploads_size, GraphQL::Types::Float, null: true,
description: 'Uploads size of the project in bytes.'
end
end