Improve doc

This commit is contained in:
syuilo 2019-02-24 18:13:11 +09:00
parent f4ae939124
commit fcc6a65e08
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
5 changed files with 50 additions and 3 deletions

View file

@ -54,7 +54,14 @@ export const meta = {
validator: $.optional.arr($.str.or(['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'poll_vote', 'receiveFollowRequest'])),
default: [] as string[]
}
}
},
res: {
type: 'array',
items: {
type: 'Notification',
},
},
};
export default define(meta, async (ps, user) => {