- starting project list...
- ordering some functions
- fix error TS2339
quasar.extensions.json was the problem !
inside had:
{
"@quasar/typescript": {
"webpack": "plugin",
"rename": true
}
}
This commit is contained in:
49
src/model/Projects.ts
Normal file
49
src/model/Projects.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
export interface IProject {
|
||||
_id?: any,
|
||||
userId?: string
|
||||
category?: string
|
||||
descr?: string,
|
||||
priority?: number,
|
||||
completed?: boolean,
|
||||
created_at?: Date,
|
||||
modify_at?: Date,
|
||||
completed_at?: Date,
|
||||
expiring_at?: Date,
|
||||
enableExpiring?: boolean,
|
||||
id_prev?: string,
|
||||
modified?: boolean,
|
||||
pos?: number,
|
||||
order?: number,
|
||||
progress?: number
|
||||
}
|
||||
|
||||
export interface IParamProject {
|
||||
categorySel?: string
|
||||
checkPending?: boolean
|
||||
id?: string
|
||||
objtodo?: IProject
|
||||
atfirst?: boolean
|
||||
}
|
||||
|
||||
/*
|
||||
export interface IDrag {
|
||||
field?: string
|
||||
idelemtochange?: string
|
||||
prioritychosen?: number
|
||||
oldIndex?: number
|
||||
newIndex?: number
|
||||
category: string
|
||||
atfirst?: boolean
|
||||
}
|
||||
*/
|
||||
|
||||
export interface IProjectState {
|
||||
showtype: number
|
||||
todos: {}
|
||||
categories: string[]
|
||||
// todos_changed: number
|
||||
reload_fromServer: number
|
||||
testpao: string
|
||||
insidePending: boolean
|
||||
visuLastCompleted: number
|
||||
}
|
||||
@@ -41,7 +41,7 @@ export interface ITodosState {
|
||||
categories: string[]
|
||||
// todos_changed: number
|
||||
reload_fromServer: number
|
||||
testpao: String
|
||||
testpao: string
|
||||
insidePending: boolean
|
||||
visuLastCompleted: number
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ import { IToken } from 'model/other'
|
||||
export const DefaultUser = <IUserState>{
|
||||
email: '',
|
||||
username: '',
|
||||
idapp: process.env.APP_ID,
|
||||
password: '',
|
||||
lang: 'it'
|
||||
}
|
||||
@@ -12,7 +11,6 @@ export interface IUserState {
|
||||
userId?: string
|
||||
email?: string
|
||||
username?: string
|
||||
idapp?: any
|
||||
password?: string
|
||||
lang?: string
|
||||
repeatPassword?: string
|
||||
|
||||
Reference in New Issue
Block a user