Sha256: fcfa7571b16b475743c2dba81bb4b549ff9d5db2479adf1af80ee21f9db56127

Contents?: true

Size: 936 Bytes

Versions: 6

Compression:

Stored size: 936 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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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