2019-03-11 19:16:39 +01:00
|
|
|
import { costanti } from "@src/store/Modules/costanti"
|
|
|
|
|
import { UserStore } from "@store"
|
|
|
|
|
|
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
|
2019-03-04 17:28:29 +01:00
|
|
|
userId: string
|
2019-02-22 10:23:00 +01:00
|
|
|
valore: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-11 19:16:39 +01:00
|
|
|
export interface ICfgData {
|
|
|
|
|
_id?: string
|
|
|
|
|
lang?: string
|
|
|
|
|
token?: string
|
|
|
|
|
userId?: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-27 02:58:41 +01:00
|
|
|
export interface ITestp1 {
|
|
|
|
|
contatore: number
|
|
|
|
|
mioarray: ICfgServer[]
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-09 18:04:49 +01:00
|
|
|
export type StateConnection = 'online' | 'offline'
|
|
|
|
|
|
2019-03-04 17:28:29 +01:00
|
|
|
export interface IConfig {
|
|
|
|
|
_id: string,
|
|
|
|
|
key?: string,
|
|
|
|
|
value: string
|
|
|
|
|
}
|
|
|
|
|
|
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[]
|
2019-02-27 02:58:41 +01:00
|
|
|
testp1: ITestp1
|
2019-02-22 10:23:00 +01:00
|
|
|
connData: IConnData
|
2018-12-26 21:02:16 +01:00
|
|
|
posts: IPost[]
|
2019-01-29 23:13:28 +01:00
|
|
|
listatodo: ITodoList[]
|
2019-03-04 17:28:29 +01:00
|
|
|
arrConfig: IConfig[]
|
2019-01-29 23:13:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface ITodoList {
|
|
|
|
|
namecat: string
|
|
|
|
|
description: string
|
2018-11-07 22:42:22 +01:00
|
|
|
}
|
2018-12-26 21:02:16 +01:00
|
|
|
|