Sha256: 53acb54b1a725bee710503953e870aae941547b8017669aaa488a9fbdc8b7392

Contents?: true

Size: 1.25 KB

Versions: 10

Compression:

Stored size: 1.25 KB

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This type represents a conference.
    ConferenceSpeakerType = GraphQL::ObjectType.define do
      name "ConferenceSpeaker"
      description "A conference speaker"

      field :id, !types.ID, "Internal ID of the speaker"
      field :fullName, types.String, "Full name of the speaker", property: :full_name
      field :position, Decidim::Core::TranslatedFieldType, "Position of the speaker in the conference"
      field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker"
      field :twitterHandle, types.String, "Twitter handle", property: :twitter_handle
      field :shortBio, Decidim::Core::TranslatedFieldType, "Short biography of the speaker", property: :short_bio
      field :personalUrl, types.String, "Personal URL of the speaker", property: :personal_url
      field :avatar, types.String, "Avatar of the speaker"
      field :user, Decidim::Core::UserType, "Decidim user corresponding to this speaker", property: :user

      field :createdAt, Decidim::Core::DateTimeType, "The time this member was created ", property: :created_at
      field :updatedAt, Decidim::Core::DateTimeType, "The time this member 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_speaker_type.rb
decidim-conferences-0.23.5 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.4 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.3 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.2 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.1 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.1.rc1 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.23.0 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.22.0 app/types/decidim/conferences/conference_speaker_type.rb
decidim-conferences-0.21.0 app/types/decidim/conferences/conference_speaker_type.rb