Refactor: Typing statuses (#39374)

This commit is contained in:
Echo
2026-06-12 11:33:47 +02:00
committed by GitHub
parent b902c82505
commit a7e80c6261
6 changed files with 388 additions and 20 deletions

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,
});