Sha256: 2100d04bf5cd0be02e323298ba58df69ff8ef8371cc16542afe592233746521d

Contents?: true

Size: 1.01 KB

Versions: 10

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    MinutesType = GraphQL::ObjectType.define do
      name "MeetingMinutes"
      description "A meeting minutes"

      field :id, !types.ID, "The ID for the minutes"
      field :description, Decidim::Core::TranslatedFieldType, "The description for the minutes"
      field :videoUrl, types.String, "URL for the video of the session, if any", property: :video_url
      field :audioUrl, types.String, "URL for the audio of the session, if any", property: :audio_url
      # probably useful in the future, when handling user permissions
      # field :visible, !types.Boolean, "Whether this minutes is public or not", property: :visible

      field :createdAt, Decidim::Core::DateTimeType do
        description "The date and time this minutes was created"
        property :created_at
      end
      field :updatedAt, Decidim::Core::DateTimeType do
        description "The date and time this minutes was updated"
        property :updated_at
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-meetings-0.23.6 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.5 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.4 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.3 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.2 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.1 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.1.rc1 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.23.0 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.22.0 app/types/decidim/meetings/minutes_type.rb
decidim-meetings-0.21.0 app/types/decidim/meetings/minutes_type.rb