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

system_note_metadata_type.rb « notes « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3dd7e037f904e0adf64c7734e342ba47faad08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

module Types
  module Notes
    class SystemNoteMetadataType < BaseObject
      graphql_name 'SystemNoteMetadata'

      authorize :read_note

      field :id, ::Types::GlobalIDType[::SystemNoteMetadata],
        null: false,
        description: 'Global ID of the specific system note metadata.'

      field :action, GraphQL::Types::String,
        null: true,
        description: 'System note metadata action.'
      field :description_version, ::Types::DescriptionVersionType,
        null: true,
        description: 'Version of the changed description.'
    end
  end
end