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

19 lines
417 B
Ruby

# frozen_string_literal: true
module MergeRequests
class ApprovedEvent < Gitlab::EventStore::Event
def schema
{
'type' => 'object',
'required' => %w[
current_user_id
merge_request_id
],
'properties' => {
'current_user_id' => { 'type' => 'integer' },
'merge_request_id' => { 'type' => 'integer' }
}
}
end
end
end