debian-mirror-gitlab/app/events/members/members_added_event.rb
2022-04-04 11:22:00 +05:30

16 lines
364 B
Ruby

# frozen_string_literal: true
module Members
class MembersAddedEvent < ::Gitlab::EventStore::Event
def schema
{
'type' => 'object',
'required' => %w[source_id source_type],
'properties' => {
'source_id' => { 'type' => 'integer' },
'source_type' => { 'type' => 'string' }
}
}
end
end
end