mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(federation): ⬆️ Upgrade to Versia 0.5
This commit is contained in:
parent
e6c7e8a597
commit
ed9ffe34f4
10 changed files with 34 additions and 28 deletions
|
|
@ -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(),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue