mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: login with wargaming to generate url
This commit is contained in:
1 parent
7a8ad6c290
commit
71c9d1461f
4 files changed
+72
-11
No files matched your search
@@ -3,11 +3,17 @@ import { create } from 'zustand';
|
||||
import { persist, subscribeWithSelector } from 'zustand/middleware';
|
||||
import { createContextualStore } from '../../core/zustand/createContextualStore';
|
||||
|
||||
export interface WargamingLogin {
|
||||
token: string;
|
||||
id: number;
|
||||
expires: number;
|
||||
}
|
||||
|
||||
interface AppStore {
|
||||
developerMode: boolean;
|
||||
policiesAgreementIndex: number;
|
||||
logins: {
|
||||
wargaming?: { token: string; id: number; expires: number };
|
||||
wargaming?: WargamingLogin;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user