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

template_type.rb « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e7ee44025fd832f2d660c4d86e65d67b05ca0f9 (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 :name, GraphQL::Types::String, null: false,
        description: 'Name of the CI template.'
      field :content, GraphQL::Types::String, null: false,
        description: 'Contents of the CI template.'
    end
  end
end