feat: new user badges, ui consistency pass (#6262)

* feat: new user badges, ui consistency pass

* prepr

* fix: align with backend

* fix: lint

---------

Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
This commit is contained in:
Prospector
2026-05-31 08:25:31 -07:00
committed by GitHub
parent cc8d556448
commit 34b87991bc
47 changed files with 947 additions and 142 deletions
+3 -1
View File
@@ -3,9 +3,11 @@ import type { Ref } from 'vue'
import { createContext } from './create-context'
export type AuthUser = Labrinth.Users.v2.User | Labrinth.Users.v3.User
export interface AuthProvider {
session_token: Ref<string | null>
user: Ref<Labrinth.Users.v2.User | null>
user: Ref<AuthUser | null>
/** True once the initial auth check has completed (regardless of result). */
isReady?: Ref<boolean>
requestSignIn: (redirectPath: string) => void | Promise<void>