mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
♻️ refactor: dedupe utils, lift CardGrid/IconLabel primitives
This commit is contained in:
@@ -5,19 +5,16 @@ export type AuthStatus =
|
||||
| { state: "awaiting2fa"; methods: TwoFactorMethod[] }
|
||||
| { state: "authenticated"; user: CurrentUserSummary };
|
||||
|
||||
export interface CurrentUserSummary {
|
||||
id: string;
|
||||
displayName: string;
|
||||
userIcon: string;
|
||||
currentAvatarThumbnailImageUrl: string;
|
||||
}
|
||||
|
||||
export interface Account {
|
||||
id: string;
|
||||
displayName: string;
|
||||
userIcon: string;
|
||||
}
|
||||
|
||||
export interface CurrentUserSummary extends Account {
|
||||
currentAvatarThumbnailImageUrl: string;
|
||||
}
|
||||
|
||||
export interface AccountsState {
|
||||
accounts: Account[];
|
||||
activeId: string | null;
|
||||
|
||||
Reference in New Issue
Block a user