2019-01-14 22:40:30 +01:00
|
|
|
export interface ITodo {
|
2019-02-03 03:44:25 +01:00
|
|
|
_id?: any,
|
2019-01-14 22:40:30 +01:00
|
|
|
userId: string
|
2019-01-29 03:12:18 +01:00
|
|
|
category?: string
|
2019-01-14 22:40:30 +01:00
|
|
|
descr?: string,
|
|
|
|
|
priority: number,
|
|
|
|
|
completed: boolean,
|
|
|
|
|
created_at: any,
|
|
|
|
|
modify_at: any,
|
2019-02-01 04:10:31 +01:00
|
|
|
completed_at: any,
|
2019-01-27 19:09:48 +01:00
|
|
|
expiring_at: any,
|
2019-01-28 03:13:04 +01:00
|
|
|
enableExpiring?: boolean,
|
2019-02-02 20:13:06 +01:00
|
|
|
id_prev?: string,
|
|
|
|
|
id_next?: string,
|
2019-01-27 19:09:48 +01:00
|
|
|
modified?: boolean,
|
2019-01-29 00:48:04 +01:00
|
|
|
pos?: number,
|
|
|
|
|
progress?: number
|
2019-01-14 22:40:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ITodosState {
|
|
|
|
|
visuOnlyUncompleted: boolean
|
2019-02-01 04:10:31 +01:00
|
|
|
networkDataReceived: boolean
|
|
|
|
|
todos: ITodo[]
|
2019-01-14 22:40:30 +01:00
|
|
|
}
|