diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-06 18:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-06 18:09:39 +0300 |
commit | d4806ad7dbd2d87ae09872709fef1aef35792e21 (patch) | |
tree | 91c7b62c3a493f3b922ed49e6d8d86d43e04a74c /app/events/projects | |
parent | 3e9c050126b34ac4f44ab9f5e4b9ffb48b902c01 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/events/projects')
-rw-r--r-- | app/events/projects/project_attributes_changed_event.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/events/projects/project_attributes_changed_event.rb b/app/events/projects/project_attributes_changed_event.rb new file mode 100644 index 00000000000..e00480782a0 --- /dev/null +++ b/app/events/projects/project_attributes_changed_event.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Projects + class ProjectAttributesChangedEvent < ::Gitlab::EventStore::Event + def schema + { + 'type' => 'object', + 'properties' => { + 'project_id' => { 'type' => 'integer' }, + 'namespace_id' => { 'type' => 'integer' }, + 'root_namespace_id' => { 'type' => 'integer' }, + 'attributes' => { 'type' => 'array' } + }, + 'required' => %w[project_id namespace_id root_namespace_id attributes] + } + end + end +end |