Sha256: 0fa36b2bb2a20539dacfe6c7d14ff76ff19df0e39c4ccb1b7a81bb3f50f91dd6

Contents?: true

Size: 320 Bytes

Versions: 94

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Comments
    # This type represents a mutation to create new comments.
    AddCommentType = GraphQL::ObjectType.define do
      name "Add comment"
      description "Add a new comment"

      field :comment, CommentType, "The new created comment"
    end
  end
end

Version data entries

94 entries across 94 versions & 2 rubygems

Version Path
decidim-comments-0.23.6 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.5 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.4 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.3 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.2 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.1.rc1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.23.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.22.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.21.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.20.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.20.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.19.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.18.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.19.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.17.2 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.18.0 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.17.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.16.1 lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.17.0 lib/decidim/comments/api/add_comment_type.rb