Cut/Paste project and todos

This commit is contained in:
Paolo Arena
2019-04-29 01:01:31 +02:00
parent 2ba3cd6b3f
commit d6d527e1a8
14 changed files with 218 additions and 71 deletions

View File

@@ -1,6 +1,7 @@
import { costanti } from "@src/store/Modules/costanti"
import { UserStore } from "@store"
import { tools } from '@src/store/Modules/tools'
import { IAction } from '@src/model/Projects'
export interface IPost {
title: string
@@ -58,6 +59,7 @@ export interface IGlobalState {
menulinks: {}
listatodo: IMenuList[]
arrConfig: IConfig[]
lastaction: IAction
}
export interface IMenuList {

View File

@@ -3,8 +3,10 @@ import { UserStore } from '@store'
import { tools } from '@src/store/Modules/tools'
export interface IAction {
table: string
type: number
_id: any
cat?: string
}
export interface IProject {
@@ -31,6 +33,7 @@ export interface IProject {
live_url?: string
test_url?: string
hoursplanned?: number
hoursleft?: number
hoursworked?: number
progressCalc?: number
begin_development?: Date
@@ -48,7 +51,6 @@ export interface IProjectsState {
projects: IProject[]
insidePending: boolean
visuLastCompleted: number
action: IAction
}
export const Privacy = {

View File

@@ -1,3 +1,5 @@
import { IAction } from '@src/model/Projects'
export interface ITodo {
_id?: any,
userId?: string