Class: WorkItems::BulkUpdatedEvent

Inherits:
Gitlab::EventStore::Event show all
Defined in:
app/events/work_items/bulk_updated_event.rb

Instance Attribute Summary

Attributes inherited from Gitlab::EventStore::Event

#data

Instance Method Summary collapse

Methods inherited from Gitlab::EventStore::Event

#initialize

Constructor Details

This class inherits a constructor from Gitlab::EventStore::Event

Instance Method Details

#schemaObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'app/events/work_items/bulk_updated_event.rb', line 5

def schema
  {
    'type' => 'object',
    'required' => %w[work_item_ids],
    'properties' => {
      'work_item_ids' => {
        'type' => 'array',
        'items' => { 'type' => 'integer' }
      },
      'root_namespace_id' => { 'type' => 'integer' }
    },
    'updated_attributes' => {
      'type' => 'array',
      'items' => {
        'type' => 'string'
      }
    },
    'updated_widgets' => {
      'type' => 'array',
      'items' => {
        'type' => 'string'
      }
    }
  }
end