feat: dispose cache on Misskey itself

This commit is contained in:
무라쿠모 2024-07-20 23:00:15 +09:00
parent 4064dabc30
commit 831cfa1f03
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
6 changed files with 108 additions and 0 deletions

View file

@ -278,6 +278,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*
*/
request<E extends 'admin/dispose-cache', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*