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

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

module PagesDomains
  class PagesDomainUpdatedEvent < ::Gitlab::EventStore::Event
    def schema
      {
        'type' => 'object',
        'properties' => {
          'project_id' => { 'type' => 'integer' },
          'namespace_id' => { 'type' => 'integer' },
          'root_namespace_id' => { 'type' => 'integer' },
          'domain' => { 'type' => 'string' }
        },
        'required' => %w[project_id namespace_id root_namespace_id]
      }
    end
  end
end