Sha256: 9072b01aae54b26cd9e82d426c0b7fbf71c5e280c27ef36eafbc91ca39c89499

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 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

4 entries across 4 versions & 1 rubygems

Version Path
decidim-core-0.1.0 lib/decidim/core/api/process_step_type.rb
decidim-core-0.0.8.1 lib/decidim/core/api/process_step_type.rb
decidim-core-0.0.7 lib/decidim/core/api/process_step_type.rb
decidim-core-0.0.6 lib/decidim/core/api/process_step_type.rb