Sha256: 015f26e75b2b2dd55c38fd7ba0d7cdaa715bb6655bfebbd4a27dbf358fc941e3

Contents?: true

Size: 450 Bytes

Versions: 5

Compression:

Stored size: 450 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, 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

5 entries across 5 versions & 1 rubygems

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