Sha256: 48fa99d84351c770b5026cb8693a91fe31c7684786223c96a1b2bf94a0139386
Contents?: true
Size: 1.32 KB
Versions: 7
Compression:
Stored size: 1.32 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, "X 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 def avatar object.attached_uploader(:avatar).url end end end end
Version data entries
7 entries across 7 versions & 1 rubygems