Sha256: 38e705295495dbc439bda1f4b3b25c68e3593692e231a35b84616dba91fa364a
Contents?: true
Size: 1.32 KB
Versions: 13
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).path end end end end
Version data entries
13 entries across 13 versions & 1 rubygems