Welcome to mirror list, hosted at ThFree Co, Russian Federation.

default_branch_changed_event.rb « repositories « events « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3519fb4be86b94cac13c97687552f5ae4cc74071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Repositories
  class DefaultBranchChangedEvent < ::Gitlab::EventStore::Event
    def schema
      {
        'type' => 'object',
        'properties' => {
          'container_id' => { 'type' => 'integer' },
          'container_type' => { 'type' => 'string' }
        },
        'required' => %w[container_id container_type]
      }
    end
  end
end