summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/pipeline_message_type.rb
blob: 35164b0894ad64f9c5139c26eed0348ad6da64b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    class PipelineMessageType < BaseObject
      graphql_name 'PipelineMessage'

      field :id, GraphQL::Types::ID, null: false,
                                     description: 'ID of the pipeline message.'

      field :content, GraphQL::Types::String, null: false,
                                              description: 'Content of the pipeline message.'
    end
  end
end