debian-mirror-gitlab/app/events/groups/group_transfered_event.rb
2022-08-27 11:52:29 +05:30

17 lines
469 B
Ruby

# frozen_string_literal: true
module Groups
class GroupTransferedEvent < ::Gitlab::EventStore::Event
def schema
{
'type' => 'object',
'properties' => {
'group_id' => { 'type' => 'integer' },
'old_root_namespace_id' => { 'type' => 'integer' },
'new_root_namespace_id' => { 'type' => 'integer' }
},
'required' => %w[group_id old_root_namespace_id new_root_namespace_id]
}
end
end
end