Sha256: 3a2454f3b480b8049d9ae3a34554a03c67de80e913f25a208ef3a9c32cecffcc

Contents?: true

Size: 359 Bytes

Versions: 10

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Core
    # This interface represents a scopable 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

10 entries across 10 versions & 1 rubygems

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