Show poll and attachments in edit history

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2022-05-03 21:38:38 +02:00
parent f6f8ef99d9
commit 236a76e4ef
3 changed files with 47 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ import {
NotificationRecord,
PollRecord,
PollOptionRecord,
StatusEditRecord,
StatusRecord,
} from 'soapbox/normalizers';
@@ -27,6 +28,7 @@ type Mention = ReturnType<typeof MentionRecord>;
type Notification = ReturnType<typeof NotificationRecord>;
type Poll = ReturnType<typeof PollRecord>;
type PollOption = ReturnType<typeof PollOptionRecord>;
type StatusEdit = ReturnType<typeof StatusEditRecord>;
interface Account extends ReturnType<typeof AccountRecord> {
// HACK: we can't do a circular reference in the Record definition itself,
@@ -58,6 +60,7 @@ export {
Poll,
PollOption,
Status,
StatusEdit,
// Utility types
APIEntity,