Sha256: 21fb2daae0c441faa1823d721c7ff3131d5c54271c7f401dc4ddbe9fb67e2e80

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true
module Decidim
  # This type represents a ParticipatoryProcess.
  ProcessType = GraphQL::ObjectType.define do
    name "Process"
    description "A participatory process"

    field :id, !types.ID, "The Process' unique ID"

    field :title, Api::TranslatedFieldType, "The title of this process."

    connection :steps, ProcessStepType.connection_type do
      description "All the steps of this process."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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