debian-mirror-gitlab/app/events/projects/project_deleted_event.rb

18 lines
430 B
Ruby
Raw Normal View History

2022-04-04 11:22:00 +05:30
# frozen_string_literal: true
module Projects
class ProjectDeletedEvent < ::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-04-04 11:22:00 +05:30
},
'required' => %w[project_id namespace_id]
}
end
end
end