Add API types for status and related objects (#29792)
This commit is contained in:
parent
07635228e2
commit
e47a3d00fe
7 changed files with 143 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::PollSerializer < ActiveModel::Serializer
|
||||
# Please update `app/javascript/mastodon/api_types/polls.ts` when making changes to the attributes
|
||||
|
||||
attributes :id, :expires_at, :expired,
|
||||
:multiple, :votes_count, :voters_count
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue