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