- todo: added priority, expired, pos fields.
- todo: delete item. - sorted by fields.
This commit is contained in:
15
src/model/Todos.ts
Normal file
15
src/model/Todos.ts
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user