debian-mirror-gitlab/app/events/pages/page_deleted_event.rb

18 lines
424 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# frozen_string_literal: true
module Pages
class PageDeletedEvent < ::Gitlab::EventStore::Event
def schema
{
'type' => 'object',
'properties' => {
'project_id' => { 'type' => 'integer' },
2022-08-13 15:12:31 +05:30
'namespace_id' => { 'type' => 'integer' },
'root_namespace_id' => { 'type' => 'integer' }
2022-07-23 23:45:48 +05:30
},
'required' => %w[project_id namespace_id]
}
end
end
end