diff options
Diffstat (limited to 'app/graphql/types/root_storage_statistics_type.rb')
-rw-r--r-- | app/graphql/types/root_storage_statistics_type.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/graphql/types/root_storage_statistics_type.rb b/app/graphql/types/root_storage_statistics_type.rb index 47ca195cc4b..88dc6036bfd 100644 --- a/app/graphql/types/root_storage_statistics_type.rb +++ b/app/graphql/types/root_storage_statistics_type.rb @@ -6,14 +6,14 @@ module Types authorize :read_statistics - field :storage_size, GraphQL::FLOAT_TYPE, null: false, description: 'Total storage in bytes.' - field :repository_size, GraphQL::FLOAT_TYPE, null: false, description: 'Git repository size in bytes.' - field :lfs_objects_size, GraphQL::FLOAT_TYPE, null: false, description: 'LFS objects size in bytes.' - field :build_artifacts_size, GraphQL::FLOAT_TYPE, null: false, description: 'CI artifacts size in bytes.' - field :packages_size, GraphQL::FLOAT_TYPE, null: false, description: 'Packages size in bytes.' - field :wiki_size, GraphQL::FLOAT_TYPE, null: false, description: 'Wiki size in bytes.' - field :snippets_size, GraphQL::FLOAT_TYPE, null: false, description: 'Snippets size in bytes.' - field :pipeline_artifacts_size, GraphQL::FLOAT_TYPE, null: false, description: 'CI pipeline artifacts size in bytes.' - field :uploads_size, GraphQL::FLOAT_TYPE, null: false, description: 'Uploads size in bytes.' + field :storage_size, GraphQL::Types::Float, null: false, description: 'Total storage in bytes.' + field :repository_size, GraphQL::Types::Float, null: false, description: 'Git repository size in bytes.' + field :lfs_objects_size, GraphQL::Types::Float, null: false, description: 'LFS objects size in bytes.' + field :build_artifacts_size, GraphQL::Types::Float, null: false, description: 'CI artifacts size in bytes.' + field :packages_size, GraphQL::Types::Float, null: false, description: 'Packages size in bytes.' + field :wiki_size, GraphQL::Types::Float, null: false, description: 'Wiki size in bytes.' + field :snippets_size, GraphQL::Types::Float, null: false, description: 'Snippets size in bytes.' + field :pipeline_artifacts_size, GraphQL::Types::Float, null: false, description: 'CI pipeline artifacts size in bytes.' + field :uploads_size, GraphQL::Types::Float, null: false, description: 'Uploads size in bytes.' end end |