2020-03-09 13:42:32 +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-09 13:42:32 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|