Sha256: 43de81743b7fe6f7f699a53778818e95933b29c31547786061715e591c15a6bc
Contents?: true
Size: 941 Bytes
Versions: 50
Compression:
Stored size: 941 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings class AgendaType < Decidim::Api::Types::BaseObject graphql_name "MeetingAgenda" description "A meeting agenda" field :id, GraphQL::Types::ID, "The ID for the agenda", null: false field :title, Decidim::Core::TranslatedFieldType, "The title for the agenda", null: true field :items, [Decidim::Meetings::AgendaItemType, { null: true }], "Items and sub-items of the agenda", method: :agenda_items, null: false # probably useful in the future, when handling user permissions # field :visible, !types.Boolean, "Whether this minutes is public or not", property: :visible field :created_at, Decidim::Core::DateTimeType, description: "The date and time this agenda was created", null: true field :updated_at, Decidim::Core::DateTimeType, description: "The date and time this agenda was updated", null: true end end end
Version data entries
50 entries across 50 versions & 1 rubygems