diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /app/events/members | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'app/events/members')
-rw-r--r-- | app/events/members/members_added_event.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/events/members/members_added_event.rb b/app/events/members/members_added_event.rb new file mode 100644 index 00000000000..c174ffebab6 --- /dev/null +++ b/app/events/members/members_added_event.rb @@ -0,0 +1,16 @@ +# 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 |