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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
442 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
2021-12-11 22:18:48 +05:30
expose :pipeline_artifacts_size
2021-02-22 17:27:13 +05:30
expose :packages_size
2021-12-11 22:18:48 +05:30
expose :snippets_size
expose :uploads_size
2020-03-13 15:44:24 +05:30
end
end
end