datasquirel/users/delete-user.d.ts

22 lines
710 B
TypeScript
Raw Normal View History

2024-12-08 08:58:57 +00:00
export = deleteUser;
/**
* # Update User
* @async
*
* @param {object} params - API Key
* @param {String} [params.key] - API Key
2024-12-09 11:45:39 +00:00
* @param {String} [params.database] - Target Database
2024-12-08 08:58:57 +00:00
* @param {String | number} params.deletedUserId - Target Database
* @param {boolean} [params.user_id] - User ID
* @param {boolean} [params.useLocal]
*
* @returns { Promise<import("../package-shared/types").UpdateUserFunctionReturn>}
*/
declare function deleteUser({ key, database, user_id, useLocal, deletedUserId }: {
key?: string;
2024-12-09 11:45:39 +00:00
database?: string;
2024-12-08 08:58:57 +00:00
deletedUserId: string | number;
user_id?: boolean;
useLocal?: boolean;
}): Promise<import("../package-shared/types").UpdateUserFunctionReturn>;