Sha256: ba336e18e6b3b24ea7f0c8c4b59e0fa64367e00d03556fab144cb790e72ca9ae

Contents?: true

Size: 386 Bytes

Versions: 8

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

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

      field :category, !Decidim::Core::CategoryType, "The object's category"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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