feat(federation): ⬆️ Upgrade to Versia 0.5

This commit is contained in:
Jesse Wierzbinski 2025-02-17 13:07:43 +01:00
parent e6c7e8a597
commit ed9ffe34f4
No known key found for this signature in database
10 changed files with 34 additions and 28 deletions

View file

@ -914,6 +914,10 @@ export class Note extends BaseInterface<typeof Notes, NoteTypeWithRelations> {
remote: false,
},
},
collections: {
replies: `/notes/${status.id}/replies`,
quotes: `/notes/${status.id}/quotes`,
},
attachments: (status.attachments ?? []).map((attachment) =>
new Media(attachment).toVersia(),
),