Sha256: b5955b4aab57bb4eac30b2601cea40f41d7772c1a73aae88d04ace05f98bf7a6

Contents?: true

Size: 405 Bytes

Versions: 7

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

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

      field :author, !Decidim::Core::AuthorInterface, "The comment's author", property: :normalized_author
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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