Sha256: 7851d8ef0da80d3c584510afe4b62486dcd50e08f7c49a9d3e9b911e9c1e72ee
Contents?: true
Size: 938 Bytes
Versions: 10
Compression:
Stored size: 938 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This type represents a ParticipatoryProcess. ParticipatoryProcessGroupType = GraphQL::ObjectType.define do name "ParticipatoryProcessGroup" description "A participatory process group" field :id, !types.ID, "ID of this participatory process group" field :name, Decidim::Core::TranslatedFieldType, "The name of this participatory process group" field :description, Decidim::Core::TranslatedFieldType, "The description of this participatory process group", property: :description field :participatoryProcesses, !types[ParticipatoryProcessType] do description "Lists all the participatory processes belonging to this group" property :participatory_processes end field :heroImage, types.String, "The hero image for this participatory process group", property: :hero_image end end end
Version data entries
10 entries across 10 versions & 1 rubygems