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.rb26
1 files changed, 15 insertions, 11 deletions
diff --git a/app/graphql/types/project_statistics_type.rb b/app/graphql/types/project_statistics_type.rb
index 5ab3cc33e85..c43baf1280b 100644
--- a/app/graphql/types/project_statistics_type.rb
+++ b/app/graphql/types/project_statistics_type.rb
@@ -7,27 +7,31 @@ module Types
authorize :read_statistics
field :commit_count, GraphQL::Types::Float, null: false,
- description: 'Commit count of the project.'
+ description: 'Commit count of the project.'
field :build_artifacts_size, GraphQL::Types::Float, null: false,
- description: 'Build artifacts size of the project in bytes.'
- field :lfs_objects_size, GraphQL::Types::Float, null: false,
+ description: 'Build artifacts size of the project in bytes.'
+ field :lfs_objects_size,
+ GraphQL::Types::Float,
+ null: false,
description: 'Large File Storage (LFS) object size of the project in bytes.'
field :packages_size, GraphQL::Types::Float, null: false,
- description: 'Packages size of the project in bytes.'
+ description: 'Packages size of the project in bytes.'
field :pipeline_artifacts_size, GraphQL::Types::Float, null: true,
- description: 'CI Pipeline artifacts size in bytes.'
+ description: 'CI Pipeline artifacts size in bytes.'
field :repository_size, GraphQL::Types::Float, null: false,
- description: 'Repository size of the project in bytes.'
+ description: 'Repository size of the project in bytes.'
field :snippets_size, GraphQL::Types::Float, null: true,
- description: 'Snippets size of the project in bytes.'
+ description: 'Snippets size of the project in bytes.'
field :storage_size, GraphQL::Types::Float, null: false,
- description: 'Storage size of the project in bytes.'
+ description: 'Storage size of the project in bytes.'
field :uploads_size, GraphQL::Types::Float, null: true,
- description: 'Uploads size of the project in bytes.'
+ description: 'Uploads size of the project in bytes.'
field :wiki_size, GraphQL::Types::Float, null: true,
- description: 'Wiki size of the project in bytes.'
- field :container_registry_size, GraphQL::Types::Float, null: true,
+ description: 'Wiki size of the project in bytes.'
+ field :container_registry_size,
+ GraphQL::Types::Float,
+ null: true,
description: 'Container Registry size of the project in bytes.'
end
end