Sha256: 318571c41bb787f50ae906d2c8b7457dcfe17454e182f448638f1ecbfcc64339

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 KB

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This type represents a conference.
    class ConferenceSpeakerType < Decidim::Api::Types::BaseObject
      description "A conference speaker"

      field :id, GraphQL::Types::ID, "Internal ID of the speaker", null: false
      field :full_name, GraphQL::Types::String, "Full name of the speaker", null: true
      field :position, Decidim::Core::TranslatedFieldType, "Position of the speaker in the conference", null: true
      field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker", null: true
      field :twitter_handle, GraphQL::Types::String, "Twitter handle", null: true
      field :short_bio, Decidim::Core::TranslatedFieldType, "Short biography of the speaker", null: true
      field :personal_url, GraphQL::Types::String, "Personal URL of the speaker", null: true
      field :avatar, GraphQL::Types::String, "Avatar of the speaker", null: true
      field :user, Decidim::Core::UserType, "Decidim user corresponding to this speaker", null: true

      field :created_at, Decidim::Core::DateTimeType, "The time this member was created ", null: true
      field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-conferences-0.24.3 lib/decidim/api/conference_speaker_type.rb
decidim-conferences-0.24.2 lib/decidim/api/conference_speaker_type.rb
decidim-conferences-0.24.1 lib/decidim/api/conference_speaker_type.rb
decidim-conferences-0.24.0 lib/decidim/api/conference_speaker_type.rb
decidim-conferences-0.24.0.rc2 lib/decidim/api/conference_speaker_type.rb
decidim-conferences-0.24.0.rc1 lib/decidim/api/conference_speaker_type.rb