Sha256: 44b0d4c6c4a0c485837257808642c138d48fab4db3bbfee5499b39915f6f6916

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 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, TranslatedFieldType, "The title of this step"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-core-0.4.2 lib/decidim/core/api/process_step_type.rb
decidim-core-0.4.1 lib/decidim/core/api/process_step_type.rb
decidim-core-0.4.3 lib/decidim/core/api/process_step_type.rb
decidim-core-0.4.0 lib/decidim/core/api/process_step_type.rb
decidim-core-0.3.2 lib/decidim/core/api/process_step_type.rb
decidim-core-0.3.1 lib/decidim/core/api/process_step_type.rb
decidim-core-0.3.0 lib/decidim/core/api/process_step_type.rb
decidim-core-0.2.0 lib/decidim/core/api/process_step_type.rb