discourse/app/serializers/reviewable_queued_post_serializer.rb
Robin Ward b58867b6e9 FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.

Co-Authored-By: romanrizzi <romanalejandro@gmail.com>
Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
2019-03-28 12:45:10 -04:00

20 lines
334 B
Ruby

class ReviewableQueuedPostSerializer < ReviewableSerializer
payload_attributes(
:raw,
:title,
:archetype,
:category,
:visible,
:is_warning,
:first_post_checks,
:featured_link,
:reply_to_post_number,
:is_poll,
:typing_duration_msecs,
:composer_open_duration_msecs,
:tags
)
end