Sha256: 672562ae41dbcd877a03d06d9983edf9f01f00411bd3a63b83b348af4deb6a1f

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true
module Decidim
  module Api
    # 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
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
decidim-0.0.4 decidim-api/lib/decidim/api/types/author_interface.rb
decidim-api-0.0.3 lib/decidim/api/types/author_interface.rb
decidim-0.0.3 decidim-api/lib/decidim/api/types/author_interface.rb