Sha256: 365595590639835dbb2fbbf590a943d946d5a0776ca96ce91aafd743c6ba9ff2

Contents?: true

Size: 362 Bytes

Versions: 11

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

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

      field :scope, Decidim::Core::ScopeApiType, "The object's scope"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-core-0.20.1 lib/decidim/api/scopable_interface.rb
decidim-core-0.20.0 lib/decidim/api/scopable_interface.rb
decidim-core-0.19.1 lib/decidim/api/scopable_interface.rb
decidim-core-0.18.1 lib/decidim/api/scopable_interface.rb
decidim-core-0.19.0 lib/decidim/api/scopable_interface.rb
decidim-core-0.17.2 lib/decidim/api/scopable_interface.rb
decidim-core-0.18.0 lib/decidim/api/scopable_interface.rb
decidim-core-0.17.1 lib/decidim/api/scopable_interface.rb
decidim-core-0.16.1 lib/decidim/api/scopable_interface.rb
decidim-core-0.17.0 lib/decidim/api/scopable_interface.rb
decidim-core-0.16.0 lib/decidim/api/scopable_interface.rb