- add fields: typeproj and id_main_project

This commit is contained in:
Paolo Arena
2019-04-09 21:07:16 +02:00
parent 884d84e2df
commit fd20048934
10 changed files with 449 additions and 183 deletions

View File

@@ -6,6 +6,8 @@ export interface IProject {
_id?: any,
userId?: string
category?: string
typeproj?: number
id_main_project?: string
id_parent?: string
descr?: string
longdescr?: string
@@ -31,6 +33,8 @@ export interface IProject {
begin_test?: Date
totalphases?: number
actualphase?: number
privacyread?: string
privacywrite?: string
}
export interface IProjectsState {
@@ -39,3 +43,15 @@ export interface IProjectsState {
insidePending: boolean
visuLastCompleted: number
}
export const Privacy = {
all: 'all',
friends: 'friends',
mygroup: 'mygroup',
onlyme: 'onlyme'
}
export const TypeProj = {
TYPE_PROJECT: 1,
TYPE_SUBDIR: 2
}