2018-12-26 21:02:16 +01:00
|
|
|
export interface IPost {
|
|
|
|
|
title: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-22 10:23:00 +01:00
|
|
|
export interface IConnData {
|
|
|
|
|
downloading_server: number
|
|
|
|
|
downloading_indexeddb: number
|
|
|
|
|
uploading_server: number
|
|
|
|
|
uploading_indexeddb: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ICfgServer {
|
|
|
|
|
chiave: string
|
|
|
|
|
valore: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-09 18:04:49 +01:00
|
|
|
export type StateConnection = 'online' | 'offline'
|
|
|
|
|
|
2018-11-26 00:53:05 +01:00
|
|
|
export interface IGlobalState {
|
2018-11-07 22:42:22 +01:00
|
|
|
conta: number
|
2019-02-13 18:48:30 +01:00
|
|
|
wasAlreadySubOnDb: boolean
|
|
|
|
|
wasAlreadySubscribed: boolean
|
2018-11-07 22:42:22 +01:00
|
|
|
isLoginPage: boolean
|
|
|
|
|
layoutNeeded: boolean
|
|
|
|
|
mobileMode: boolean
|
|
|
|
|
menuCollapse: boolean
|
2019-01-02 18:01:36 +01:00
|
|
|
leftDrawerOpen: boolean
|
2019-01-30 01:05:31 +01:00
|
|
|
category: string
|
2019-02-12 12:06:01 +01:00
|
|
|
stateConnection: string
|
2019-02-22 10:23:00 +01:00
|
|
|
networkDataReceived: boolean
|
|
|
|
|
cfgServer: ICfgServer[]
|
|
|
|
|
connData: IConnData
|
2018-12-26 21:02:16 +01:00
|
|
|
posts: IPost[]
|
2019-01-29 23:13:28 +01:00
|
|
|
listatodo: ITodoList[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface ITodoList {
|
|
|
|
|
namecat: string
|
|
|
|
|
description: string
|
2018-11-07 22:42:22 +01:00
|
|
|
}
|
2018-12-26 21:02:16 +01:00
|
|
|
|