This commit is contained in:
syuilo 2018-07-06 00:04:40 +09:00
parent 10e9d3f32f
commit fcfd9239c1

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: {