Files
freeplanet/src/model/GlobalStore.ts

27 lines
450 B
TypeScript
Raw Normal View History

export interface IPost {
title: string
}
export type StateConnection = 'online' | 'offline'
export interface IGlobalState {
conta: number
isSubscribed: 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
}