Sha256: 1d9db1e22f08b32e513b3d868d089969f95f0ac73e1ea8c5c123936b5573ccdc

Contents?: true

Size: 871 Bytes

Versions: 10

Compression:

Stored size: 871 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This type represents a conference.
    ConferencePartnerType = GraphQL::ObjectType.define do
      name "ConferencePartner"
      description "A conference partner"

      field :id, !types.ID, "ID of the resource"
      field :name, types.String, "Partner name"
      field :partnerType, types.String, "Partner type", property: :partner_type
      field :weight, types.Int, "Order of appearance in which it should be presented"
      field :link, types.String, "Relevant URL for this partner"
      field :logo, types.String, "Link to the partner's logo"
      field :createdAt, Decidim::Core::DateTimeType, "The time this partner was created", property: :created_at
      field :updatedAt, Decidim::Core::DateTimeType, "The time this partner was updated", property: :updated_at
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-conferences-0.23.6 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.5 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.4 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.3 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.2 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.1 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.1.rc1 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.23.0 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.22.0 app/types/decidim/conferences/conference_partner_type.rb
decidim-conferences-0.21.0 app/types/decidim/conferences/conference_partner_type.rb