Sha256: b02250e88ed95520a78e5280d1443cea29cac09a19a9e067fb5818bc4de456b7

Contents?: true

Size: 993 Bytes

Versions: 6

Compression:

Stored size: 993 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    class MinutesType < Decidim::Api::Types::BaseObject
      description "A meeting minutes"

      field :id, GraphQL::Types::ID, "The ID for the minutes", null: false
      field :description, Decidim::Core::TranslatedFieldType, "The description for the minutes", null: true
      field :video_url, GraphQL::Types::String, "URL for the video of the session, if any", null: true
      field :audio_url, GraphQL::Types::String, "URL for the audio of the session, if any", null: true

      # 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 minutes was created", null: true
      field :updated_at, Decidim::Core::DateTimeType, description: "The date and time this minutes was updated", null: true
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-meetings-0.24.3 lib/decidim/api/minutes_type.rb
decidim-meetings-0.24.2 lib/decidim/api/minutes_type.rb
decidim-meetings-0.24.1 lib/decidim/api/minutes_type.rb
decidim-meetings-0.24.0 lib/decidim/api/minutes_type.rb
decidim-meetings-0.24.0.rc2 lib/decidim/api/minutes_type.rb
decidim-meetings-0.24.0.rc1 lib/decidim/api/minutes_type.rb