- Manage multiple login, in different browsers... Multi Token...
- visualization of the Connection State (Online, Offline) using fetch.
This commit is contained in:
@@ -2,6 +2,8 @@ export interface IPost {
|
||||
title: string
|
||||
}
|
||||
|
||||
export type StateConnection = 'online' | 'offline'
|
||||
|
||||
export interface IGlobalState {
|
||||
conta: number
|
||||
isSubscribed: boolean
|
||||
@@ -11,6 +13,7 @@ export interface IGlobalState {
|
||||
menuCollapse: boolean
|
||||
leftDrawerOpen: boolean
|
||||
category: string
|
||||
stateConnection: StateConnection
|
||||
posts: IPost[]
|
||||
listatodo: ITodoList[]
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@ export interface IUserState {
|
||||
tokenforgot?: string
|
||||
|
||||
servercode?: number
|
||||
resStatus?: number
|
||||
x_auth_token?: string
|
||||
isLogged?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user