Improve doc

This commit is contained in:
syuilo
2019-02-25 03:35:45 +09:00
parent 77676d18c8
commit 495aad6a2d
3 changed files with 34 additions and 1 deletions

View File

@@ -10,7 +10,14 @@ export const meta = {
requireCredential: true,
kind: 'account-read'
kind: 'account-read',
res: {
type: 'array',
items: {
type: 'UserList',
},
},
};
export default define(meta, async (ps, me) => {

View File

@@ -23,6 +23,10 @@ export const meta = {
},
},
res: {
type: 'UserList'
},
errors: {
noSuchList: {
message: 'No such list.',