mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 16:00:50 +00:00
20 lines
364 B
Ruby
20 lines
364 B
Ruby
# frozen_string_literal: true
|
|
module API
|
|
class NpmInstancePackages < ::API::Base
|
|
helpers ::API::Helpers::Packages::Npm
|
|
|
|
feature_category :package_registry
|
|
urgency :low
|
|
|
|
helpers do
|
|
def endpoint_scope
|
|
:instance
|
|
end
|
|
end
|
|
|
|
namespace 'packages/npm' do
|
|
include ::API::Concerns::Packages::NpmEndpoints
|
|
end
|
|
end
|
|
end
|