autogen: api docs & type hints

This commit is contained in:
무라쿠모 2024-09-06 17:09:34 +09:00
parent bfeb2ef2a9
commit 2a7bacc47e
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
3 changed files with 68 additions and 0 deletions

View file

@ -710,6 +710,18 @@ declare module '../api.js' {
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *Yes* / **Permission**: *write:admin:search*
*/
request<E extends 'admin/reindex-search', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*