diff options
Diffstat (limited to 'app/events/groups/group_deleted_event.rb')
-rw-r--r-- | app/events/groups/group_deleted_event.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/events/groups/group_deleted_event.rb b/app/events/groups/group_deleted_event.rb new file mode 100644 index 00000000000..d89cce17be9 --- /dev/null +++ b/app/events/groups/group_deleted_event.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Groups + class GroupDeletedEvent < ::Gitlab::EventStore::Event + def schema + { + 'type' => 'object', + 'properties' => { + 'group_id' => { 'type' => 'integer' }, + 'root_namespace_id' => { 'type' => 'integer' } + }, + 'required' => %w[group_id root_namespace_id] + } + end + end +end |