This commit is contained in:
syuilo 2018-07-06 00:04:40 +09:00
parent 4c972189cb
commit 11e368092e

View File

@ -10,6 +10,7 @@ export const meta = {
desc: { desc: {
ja: '投稿します。' ja: '投稿します。'
}, },
params: { params: {
visibility: $.str.optional.or(['public', 'home', 'followers', 'specified', 'private']).note({ visibility: $.str.optional.or(['public', 'home', 'followers', 'specified', 'private']).note({
default: 'public', default: 'public',
@ -82,8 +83,10 @@ export const meta = {
} }
}) })
}, },
res: { res: {
data: { type: 'object',
object: {
createdNote: { createdNote: {
type: 'entity(Note)', type: 'entity(Note)',
desc: { desc: {