This commit is contained in:
tamaina 2023-07-03 06:15:35 +00:00
parent 726fdb9e93
commit 535e778033

View file

@ -4244,7 +4244,7 @@ export const endpoints = {
$ref: 'https://misskey-hub.net/api/schemas/Following',
},
}
}]
}],
},
'federation/followings': {
tags: ['federation'],
@ -4268,7 +4268,7 @@ export const endpoints = {
$ref: 'https://misskey-hub.net/api/schemas/Following',
},
}
}]
}],
},
'federation/instances': {
tags: ['federation'],
@ -4449,7 +4449,7 @@ export const endpoints = {
res: {
$ref: 'https://misskey-hub.net/api/schemas/Flash',
},
}]
}],
},
'flash/delete': {
tags: ['flashs'],
@ -4535,7 +4535,7 @@ export const endpoints = {
required: ['flashId'],
},
res: undefined,
}]
}],
},
'flash/my-likes': {
tags: ['account', 'flash'],
@ -4620,7 +4620,7 @@ export const endpoints = {
res: {
$ref: 'https://misskey-hub.net/api/schemas/Flash',
},
}]
}],
},
'flash/unlike': {
tags: ['flash'],
@ -4654,7 +4654,7 @@ export const endpoints = {
required: ['flashId'],
},
res: undefined,
}]
}],
},
'flash/update': {
tags: ['flash'],
@ -4692,14 +4692,16 @@ export const endpoints = {
title: { type: 'string' },
summary: { type: 'string' },
script: { type: 'string' },
permissions: { type: 'array', items: {
permissions: {
type: 'array', items: {
type: 'string',
} },
}
},
},
required: ['flashId', 'title', 'summary', 'script', 'permissions'],
},
res: undefined,
}]
}],
},
//#endregion
@ -4733,7 +4735,7 @@ export const endpoints = {
required: ['userId'],
},
res: undefined,
}]
}],
},
'following/requests/cancel': {
tags: ['following', 'account'],
@ -4766,8 +4768,8 @@ export const endpoints = {
},
res: {
$ref: 'https://misskey-hub.net/api/schemas/UserLite',
}
}]
},
}],
},
'following/requests/list': {
tags: ['following', 'account'],
@ -4791,8 +4793,8 @@ export const endpoints = {
items: {
$ref: 'https://misskey-hub.net/api/schemas/FollowRequest',
},
}
}]
},
}],
},
'following/requests/reject': {
tags: ['following', 'account'],
@ -4818,7 +4820,7 @@ export const endpoints = {
required: ['userId'],
},
res: undefined,
}]
}],
},
//#endregion
} as const satisfies { [x: string]: IEndpointMeta; };