Sha256: f3f2935a1fdd5356706ba8a6116bf1043b6c21805a4eccdef62fa76cae1b6399

Contents?: true

Size: 854 Bytes

Versions: 10

Compression:

Stored size: 854 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This type represents a conference.
    ConferenceMediaLinkType = GraphQL::ObjectType.define do
      name "ConferenceMediaLink"
      description "A conference media link"

      field :id, !types.ID, "Internal ID for this media link"
      field :title, Decidim::Core::TranslatedFieldType, "Title for this media link"
      field :link, types.String, "URL for this media link"
      field :date, Decidim::Core::DateType, "Relevant date for the media link"
      field :weight, types.Int, "Order of appearance in which it should be presented"
      field :createdAt, Decidim::Core::DateTimeType, "The time this entry was created", property: :created_at
      field :updatedAt, Decidim::Core::DateTimeType, "The time this entry was updated", property: :updated_at
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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