enhance(credits): use instance meta instead of hard code

This commit is contained in:
オスカー、 2024-11-27 17:44:23 +09:00
parent 00729a9b8e
commit 06f160a2b4
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
19 changed files with 219 additions and 11 deletions

View file

@ -3918,6 +3918,17 @@ declare module '../api.js' {
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* List up the users of ending credits.
*
* **Credential required**: *No*
*/
request<E extends 'users/credits', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* Show everyone that follows this user.
*