Sha256: 4a48d00a27155b6c13e058571750d0a8164eb81fbfbdf10e14585a08528abeb2
Contents?: true
Size: 1.3 KB
Versions: 50
Compression:
Stored size: 1.3 KB
Contents
# frozen_string_literal: true module Decidim module Meetings class AgendaItemType < Decidim::Api::Types::BaseObject graphql_name "MeetingAgendaItem" description "A meeting agenda item" field :id, GraphQL::Types::ID, "The ID for this agenda item", null: false field :title, Decidim::Core::TranslatedFieldType, "The title for this agenda item", null: true field :description, Decidim::Core::TranslatedFieldType, "The description for this agenda item", null: true field :items, [Decidim::Meetings::AgendaItemType, { null: true }], "Sub-items (children) of this agenda item", method: :agenda_item_children, null: false field :parent, Decidim::Meetings::AgendaItemType, "Parent agenda item, if available", null: true field :agenda, Decidim::Meetings::AgendaType, "Belonging agenda", null: true field :duration, GraphQL::Types::Int, "Duration in number of minutes for this item in this agenda", null: false field :position, GraphQL::Types::Int, "Order position for this agenda item", null: false field :created_at, Decidim::Core::DateTimeType, description: "The date and time this agenda item was created", null: true field :updated_at, Decidim::Core::DateTimeType, description: "The date and time this agenda item was updated", null: true end end end
Version data entries
50 entries across 50 versions & 1 rubygems