Sha256: 00542399bd29293b50bba1980b6d56e8b85a8fdbddac7a55b2f5878f5291311c

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

# frozen_string_literal: true
module Decidim
  # This type represents a step on a participatory process.
  ProcessStepType = GraphQL::ObjectType.define do
    name "ProcessStep"
    description "A participatory process step"

    field :id, !types.ID, "The unique ID of this step."

    field :process do
      type ProcessType
      description "The participatory process in which this step belongs to."
      property :participatory_process
    end

    field :title, Api::TranslatedFieldType, "The title of this step"

    field :shortDescription do
      type Api::TranslatedFieldType
      description "A short description of the step."
      property :short_description
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.0.3 app/types/decidim/process_step_type.rb
decidim-core-0.0.2 app/types/decidim/process_step_type.rb
decidim-core-0.0.1 app/types/decidim/process_step_type.rb