- 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:
Paolo Arena
2019-03-21 20:43:15 +01:00
parent 1fd56419a4
commit eda9a8514f
53 changed files with 28076 additions and 726 deletions

49
src/model/Projects.ts Normal file
View 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
}

View File

@@ -41,7 +41,7 @@ export interface ITodosState {
categories: string[]
// todos_changed: number
reload_fromServer: number
testpao: String
testpao: string
insidePending: boolean
visuLastCompleted: number
}

View File

@@ -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