Improve doc
This commit is contained in:
parent
61ac024127
commit
077bdbfdef
4 changed files with 60 additions and 2 deletions
|
|
@ -36,7 +36,14 @@ export const meta = {
|
|||
default: null as any,
|
||||
transform: transform,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'DriveFolder',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user) => {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,14 @@ export const meta = {
|
|||
'ja-JP': 'フォルダID'
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'DriveFolder',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user) => {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,10 @@ export const meta = {
|
|||
}
|
||||
},
|
||||
|
||||
res: {
|
||||
type: 'DriveFolder',
|
||||
},
|
||||
|
||||
errors: {
|
||||
noSuchFolder: {
|
||||
message: 'No such folder.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue