Sha256: 6b98430b39bbd6c81c743cc52e97c75c480d4d9e0573f747e7bba05de5398be7

Contents?: true

Size: 431 Bytes

Versions: 10

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Initiatives
    # This interface represents a commentable object.
    InitiativeTypeInterface = GraphQL::InterfaceType.define do
      name "InitiativeTypeInterface"
      description "An interface that can be used in Initiative objects."

      field :initiativeType, Decidim::Initiatives::InitiativeApiType, "The object's initiative type", property: :type
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-initiatives-0.23.6 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.5 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.4 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.3 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.2 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.1 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.1.rc1 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.23.0 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.22.0 lib/decidim/api/initiative_type_interface.rb
decidim-initiatives-0.21.0 lib/decidim/api/initiative_type_interface.rb