mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-16 17:13:01 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
16
app/events/repositories/default_branch_changed_event.rb
Normal file
16
app/events/repositories/default_branch_changed_event.rb
Normal file
@ -0,0 +1,16 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Repositories
|
||||
class DefaultBranchChangedEvent < ::Gitlab::EventStore::Event
|
||||
def schema
|
||||
{
|
||||
'type' => 'object',
|
||||
'properties' => {
|
||||
'container_id' => { 'type' => 'integer' },
|
||||
'container_type' => { 'type' => 'string' }
|
||||
},
|
||||
'required' => %w[container_id container_type]
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user