Sha256: 5df5990536bde77253118870b33069f8e1e0f7e3ee449a7571668a64939babea

Contents?: true

Size: 850 Bytes

Versions: 30

Compression:

Stored size: 850 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    # This type represents a step on a participatory process.
    ParticipatoryProcessStepType = GraphQL::ObjectType.define do
      name "ParticipatoryProcessStep"
      description "A participatory process step"

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

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

      field :title, !Decidim::Core::TranslatedFieldType, "The title of this step"

      field :startDate, Decidim::Core::DateType, "This step's start date.", property: :start_date

      field :endDate, Decidim::Core::DateType, "This step's end date.", property: :end_date
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.20.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.20.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.19.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.18.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.19.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.17.2 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.18.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.17.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.16.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.17.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.16.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.15.2 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.15.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.15.0 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.14.4 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.14.3 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.14.2 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.14.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.13.1 app/types/decidim/participatory_processes/participatory_process_step_type.rb
decidim-participatory_processes-0.12.2 app/types/decidim/participatory_processes/participatory_process_step_type.rb