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

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

module Types
  class MetadataType < ::Types::BaseObject
    graphql_name 'Metadata'

    authorize :read_instance_metadata

    field :version, GraphQL::Types::String, null: false,
          description: 'Version.'
    field :revision, GraphQL::Types::String, null: false,
          description: 'Revision.'
    field :kas, ::Types::Metadata::KasType, null: false,
          description: 'Metadata about KAS.'
  end
end