Sha256: 7d23d88e4bbee7634575c6d185bb604f76ab52732784f2e010ef6a19e9ebcb28

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true
module Decidim
  # This interface represents an author who owns a resource.
  AuthorInterface = GraphQL::InterfaceType.define do
    name "Author"
    description "An author"

    field :name, !types.String, "The author's name"
    field :avatarUrl, !types.String, "The author's avatar url"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.1.0 lib/decidim/core/api/author_interface.rb
decidim-core-0.0.8.1 lib/decidim/core/api/author_interface.rb
decidim-core-0.0.7 lib/decidim/core/api/author_interface.rb
decidim-core-0.0.6 lib/decidim/core/api/author_interface.rb
decidim-core-0.0.5 lib/decidim/core/api/author_interface.rb