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

shared.rb « type « audit « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 999b7de13e2b2e8e1e3bc2937d5ae0486ed5e26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

# This file can contain only simple constructs as it is shared between:
# 1. `Pure Ruby`: `bin/audit-event-type`
# 2. `GitLab Rails`: `lib/gitlab/audit/type/definition.rb`

module Gitlab
  module Audit
    module Type
      module Shared
        # The PARAMS in config/audit_events/types/type_schema.json
        PARAMS = %i[
          name
          description
          introduced_by_issue
          introduced_by_mr
          group
          milestone
          saved_to_database
          streamed
        ].freeze
      end
    end
  end
end