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

Version Path
decidim-meetings-0.29.1 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.4 lib/decidim/api/agenda_type.rb
decidim-meetings-0.27.9 lib/decidim/api/agenda_type.rb
decidim-meetings-0.29.0 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.3 lib/decidim/api/agenda_type.rb
decidim-meetings-0.27.8 lib/decidim/api/agenda_type.rb
decidim-meetings-0.29.0.rc4 lib/decidim/api/agenda_type.rb
decidim-meetings-0.29.0.rc3 lib/decidim/api/agenda_type.rb
decidim-meetings-0.29.0.rc2 lib/decidim/api/agenda_type.rb
decidim-meetings-0.29.0.rc1 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.2 lib/decidim/api/agenda_type.rb
decidim-meetings-0.27.7 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.1 lib/decidim/api/agenda_type.rb
decidim-meetings-0.27.6 lib/decidim/api/agenda_type.rb
decidim-meetings-0.26.10 lib/decidim/api/agenda_type.rb
decidim-meetings-0.26.9 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.0 lib/decidim/api/agenda_type.rb
decidim-meetings-0.27.5 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.0.rc5 lib/decidim/api/agenda_type.rb
decidim-meetings-0.28.0.rc4 lib/decidim/api/agenda_type.rb