Sha256: cdfef4e40e44f96101996f2e54a33aca50b7aa8031da5f995ec8f273f861f0e7

Contents?: true

Size: 932 Bytes

Versions: 25

Compression:

Stored size: 932 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    # This type represents a ParticipatoryProcessType.
    class ParticipatoryProcessTypeType < Decidim::Api::Types::BaseObject
      description "A participatory process type"

      field :id, GraphQL::Types::ID, "Unique ID of this participatory process type", null: false
      field :title, Decidim::Core::TranslatedFieldType, "The title of this participatory process type", null: true
      field :created_at, Decidim::Core::DateTimeType, "The time this participatory process type was created", null: false
      field :updated_at, Decidim::Core::DateTimeType, "The time this participatory process type was updated", null: false
      field :processes, [Decidim::ParticipatoryProcesses::ParticipatoryProcessType, { null: true }],
            description: "Lists all the participatory processes belonging to this type", null: false
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.29.1 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.4 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.9 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.29.0 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.3 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.8 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.29.0.rc4 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.29.0.rc3 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.29.0.rc2 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.29.0.rc1 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.2 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.7 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.1 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.6 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.0 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.5 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.0.rc5 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.28.0.rc4 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.4 lib/decidim/api/participatory_process_type_type.rb
decidim-participatory_processes-0.27.3 lib/decidim/api/participatory_process_type_type.rb