- todo: added priority, expired, pos fields.

- todo: delete item.
- sorted by fields.
This commit is contained in:
Paolo Arena
2019-01-14 22:40:30 +01:00
parent 3613560c97
commit 2984f20b58
29 changed files with 1025 additions and 26 deletions

15
src/model/Todos.ts Normal file
View File

@@ -0,0 +1,15 @@
export interface ITodo {
id?: number,
userId: string
pos: number,
descr?: string,
priority: number,
completed: boolean,
created_at: any,
modify_at: any,
expiring_at: any
}
export interface ITodosState {
visuOnlyUncompleted: boolean
}