Sha256: dcbba9fb4da1b0f289673142e221c0d6e96beb8ac97a4af119778b6d7df463bc

Contents?: true

Size: 396 Bytes

Versions: 28

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Core
    # This interface represents a commentable object.
    AttachableInterface = GraphQL::InterfaceType.define do
      name "AttachableInterface"
      description "An interface that can be used in objects with attachments"

      field :attachments, !types[Decidim::Core::AttachmentType], "This object's attachments"
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
decidim-core-0.20.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.20.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.19.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.18.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.19.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.17.2 lib/decidim/api/attachable_interface.rb
decidim-core-0.18.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.17.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.16.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.17.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.16.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.15.2 lib/decidim/api/attachable_interface.rb
decidim-core-0.15.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.15.0 lib/decidim/api/attachable_interface.rb
decidim-core-0.14.4 lib/decidim/api/attachable_interface.rb
decidim-core-0.14.3 lib/decidim/api/attachable_interface.rb
decidim-core-0.14.2 lib/decidim/api/attachable_interface.rb
decidim-core-0.14.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.13.1 lib/decidim/api/attachable_interface.rb
decidim-core-0.12.2 lib/decidim/api/attachable_interface.rb