Sha256: 694aa9f512e3e7d53e99526411e4ad0f2d7dae48a31c90f2f0f70159033b8919

Contents?: true

Size: 1.16 KB

Versions: 10

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

require "decidim/comments/admin"
require "decidim/comments/engine"
require "decidim/comments/admin_engine"

module Decidim
  # This module contains all the logic related to the comments component.
  # It exposes a single entry point as a rails helper method to render
  # a React component which handle all the comments render and logic.
  module Comments
    autoload :CommentsHelper, "decidim/comments/comments_helper"
    autoload :AddCommentType, "decidim/comments/api/add_comment_type"
    autoload :CommentMutationType, "decidim/comments/api/comment_mutation_type"
    autoload :CommentType, "decidim/comments/api/comment_type"
    autoload :Commentable, "decidim/comments/commentable"
    autoload :CommentSerializer, "decidim/comments/comment_serializer"
    autoload :CommentVoteSerializer, "decidim/comments/comment_vote_serializer"
    autoload :Export, "decidim/comments/export"
    autoload :Markdown, "decidim/comments/markdown"

    def self.data_portable_entities
      ["Decidim::Comments::Comment", "Decidim::Comments::CommentVote"]
    end

    def self.newsletter_participant_entities
      ["Decidim::Comments::Comment"]
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-comments-0.23.6 lib/decidim/comments.rb
decidim-comments-0.23.5 lib/decidim/comments.rb
decidim-comments-0.23.4 lib/decidim/comments.rb
decidim-comments-0.23.3 lib/decidim/comments.rb
decidim-comments-0.23.2 lib/decidim/comments.rb
decidim-comments-0.23.1 lib/decidim/comments.rb
decidim-comments-0.23.1.rc1 lib/decidim/comments.rb
decidim-comments-0.23.0 lib/decidim/comments.rb
decidim-comments-0.22.0 lib/decidim/comments.rb
decidim-comments-0.21.0 lib/decidim/comments.rb