Show Button, when Upgrade Version is available ! (check from the server, the version number
- for debug: added led button to see when is calling the server and the IndexedDb.
This commit is contained in:
@@ -2,6 +2,18 @@ export interface IPost {
|
||||
title: string
|
||||
}
|
||||
|
||||
export interface IConnData {
|
||||
downloading_server: number
|
||||
downloading_indexeddb: number
|
||||
uploading_server: number
|
||||
uploading_indexeddb: number
|
||||
}
|
||||
|
||||
export interface ICfgServer {
|
||||
chiave: string
|
||||
valore: string
|
||||
}
|
||||
|
||||
export type StateConnection = 'online' | 'offline'
|
||||
|
||||
export interface IGlobalState {
|
||||
@@ -15,6 +27,9 @@ export interface IGlobalState {
|
||||
leftDrawerOpen: boolean
|
||||
category: string
|
||||
stateConnection: string
|
||||
networkDataReceived: boolean
|
||||
cfgServer: ICfgServer[]
|
||||
connData: IConnData
|
||||
posts: IPost[]
|
||||
listatodo: ITodoList[]
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ export interface ITodo {
|
||||
|
||||
export interface ITodosState {
|
||||
visuOnlyUncompleted: boolean
|
||||
networkDataReceived: boolean
|
||||
todos: ITodo[]
|
||||
todos_changed: number
|
||||
reload_fromServer: number
|
||||
|
||||
@@ -28,4 +28,5 @@ export interface IUserState {
|
||||
resStatus?: number
|
||||
x_auth_token?: string
|
||||
isLogged?: boolean
|
||||
isAdmin?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user