debian-mirror-gitlab/lib/api/entities/project_statistics.rb

16 lines
349 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class ProjectStatistics < Grape::Entity
expose :commit_count
expose :storage_size
expose :repository_size
expose :wiki_size
expose :lfs_objects_size
expose :build_artifacts_size, as: :job_artifacts_size
2020-07-28 23:09:34 +05:30
expose :snippets_size
2020-03-13 15:44:24 +05:30
end
end
end