Add optional requestCallbacks options to getUser (#2186)

This commit is contained in:
Reynaldi Chernando
2025-12-23 12:34:41 -08:00
committed by GitHub
parent 91e12f6886
commit 99220b5b18
+3 -1
View File
@@ -1,3 +1,5 @@
import { RequestCallbacks } from "../shared";
export interface User {
uuid: string;
username: string;
@@ -55,7 +57,7 @@ export class Auth {
signIn (options?: { attempt_temp_user_creation?: boolean }): Promise<SignInResult>;
signOut (): void;
isSignedIn (): boolean;
getUser (): Promise<User>;
getUser (options:? RequestCallbacks<User>): Promise<User>;
whoami (): Promise<User>;
getMonthlyUsage (): Promise<MonthlyUsage>;
getDetailedAppUsage (appId: string): Promise<DetailedAppUsage>;