Sha256: 3cfe4661f7deb0b33928c8adeed037a4ba61b315c43a7fbf8987ccc025bf0501

Contents?: true

Size: 384 Bytes

Versions: 28

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

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

28 entries across 28 versions & 1 rubygems

Version Path
decidim-core-0.13.0 lib/decidim/api/categorizable_interface.rb
decidim-core-0.12.1 lib/decidim/api/categorizable_interface.rb
decidim-core-0.13.0.pre1 lib/decidim/api/categorizable_interface.rb
decidim-core-0.12.0 lib/decidim/api/categorizable_interface.rb
decidim-core-0.11.2 lib/decidim/api/categorizable_interface.rb
decidim-core-0.12.0.pre lib/decidim/api/categorizable_interface.rb
decidim-core-0.11.1 lib/decidim/api/categorizable_interface.rb
decidim-core-0.11.0.pre1 lib/decidim/api/categorizable_interface.rb