Sha256: 07bacd65ce1ea86b528f2b8be7c0baa4a78bd8d988d5f943ecf3676f25d2adb8
Contents?: true
Size: 1.17 KB
Versions: 10
Compression:
Stored size: 1.17 KB
Contents
# frozen_string_literal: true module Decidim module Meetings AgendaItemType = GraphQL::ObjectType.define do name "MeetingAgendaItem" description "A meeting agenda item" field :id, !types.ID, "The ID for this agenda item" field :title, Decidim::Core::TranslatedFieldType, "The title for this agenda item" field :description, Decidim::Core::TranslatedFieldType, "The description for this agenda item" field :items, !types[AgendaItemType], "Sub-items (children) of this agenda item", property: :agenda_item_children field :parent, AgendaItemType, "Parent agenda item, if available" field :agenda, AgendaType, "Belonging agenda" field :duration, !types.Int, "Duration in number of minutes for this item in this agenda" field :position, !types.Int, "Order position for this agenda item" field :createdAt, Decidim::Core::DateTimeType do description "The date and time this agenda item was created" property :created_at end field :updatedAt, Decidim::Core::DateTimeType do description "The date and time this agenda item was updated" property :updated_at end end end end
Version data entries
10 entries across 10 versions & 1 rubygems