2019-01-24 16:23:57 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
class MetadataType < ::Types::BaseObject
|
|
|
|
graphql_name 'Metadata'
|
|
|
|
|
2019-06-18 16:31:06 +00:00
|
|
|
authorize :read_instance_metadata
|
|
|
|
|
2021-05-05 15:10:05 +00:00
|
|
|
field :kas, ::Types::Metadata::KasType, null: false,
|
|
|
|
description: 'Metadata about KAS.'
|
2022-03-02 15:16:07 +00:00
|
|
|
field :revision, GraphQL::Types::String, null: false,
|
|
|
|
description: 'Revision.'
|
|
|
|
field :version, GraphQL::Types::String, null: false,
|
|
|
|
description: 'Version.'
|
2019-01-24 16:23:57 +00:00
|
|
|
end
|
|
|
|
end
|