resolve mentioned user handles on the backend
This commit is contained in:
parent
17a9b08f54
commit
6c9dcb84ab
3 changed files with 69 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue