Files
freeplanet/src/model/GlobalStore.ts

28 lines
487 B
TypeScript
Raw Normal View History

export interface IPost {
title: string
}
export type StateConnection = 'online' | 'offline'
export interface IGlobalState {
conta: number
2019-02-13 18:48:30 +01:00
wasAlreadySubOnDb: boolean
wasAlreadySubscribed: boolean
isLoginPage: boolean
layoutNeeded: boolean
mobileMode: boolean
menuCollapse: boolean
leftDrawerOpen: boolean
category: string
stateConnection: string
posts: IPost[]
listatodo: ITodoList[]
}
export interface ITodoList {
namecat: string
description: string
}