Refactor: Typing statuses (#39374)

This commit is contained in:
Echo authored and GitHub committed 2026-06-12 09:33:47 +00:00
1 parent b902c82505
commit a7e80c6261
6 files changed
+388 -20

No files matched your search

+2 -1
View File
@@ -80,12 +80,13 @@ export const statusFactory: FactoryFunction<ApiStatusJSON> = ({
replies_count: 0,
reblogs_count: 0,
quotes_count: 0,
favorites_count: 0,
favourites_count: 0,
account: accountFactory(),
media_attachments: [],
mentions: [],
tags: [],
emojis: [],
tagged_collections: [],
contentHtml: data.text ?? '<p>This is a test status.</p>',
...data,
});