blob: 4f1ec6436de0b4df35fc45928bf3dcb20f64d171 (
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 TemplateType < BaseObject
graphql_name 'CiTemplate'
description 'GitLab CI/CD configuration template.'
field :content, GraphQL::Types::String, null: false,
description: 'Contents of the CI template.'
field :name, GraphQL::Types::String, null: false,
description: 'Name of the CI template.'
end
end
end
|