Sha256: 9c9b040914c7c558992976eb5eeb9494c21fb4a10934493ebdbdcf966b7ee1de
Contents?: true
Size: 1007 Bytes
Versions: 39
Compression:
Stored size: 1007 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This type represents a conference. class ConferencePartnerType < Decidim::Api::Types::BaseObject description "A conference partner" field :id, GraphQL::Types::ID, "ID of the resource", null: false field :name, GraphQL::Types::String, "Partner name", null: true field :partner_type, GraphQL::Types::String, "Partner type", null: true field :weight, GraphQL::Types::Int, "Order of appearance in which it should be presented", null: true field :link, GraphQL::Types::String, "Relevant URL for this partner", null: true field :logo, GraphQL::Types::String, "Link to the partner's logo", null: true field :created_at, Decidim::Core::DateTimeType, "The time this partner was created", null: true field :updated_at, Decidim::Core::DateTimeType, "The time this partner was updated", null: true def logo object.attached_uploader(:logo).path end end end end
Version data entries
39 entries across 39 versions & 1 rubygems