resolve mentioned user handles on the backend

This commit is contained in:
Hazelnoot 2025-05-04 10:08:41 -04:00
parent 17a9b08f54
commit 6c9dcb84ab
3 changed files with 69 additions and 2 deletions

View file

@ -85,6 +85,16 @@ export const packedNoteSchema = {
format: 'id',
},
},
mentionHandles: {
type: 'object',
optional: true, nullable: false,
additionalProperties: {
anyOf: [{
type: 'string',
}],
optional: true, nullable: false,
},
},
visibleUserIds: {
type: 'array',
optional: true, nullable: false,