mirror of
https://github.com/arnaucube/openworktime.git
synced 2026-02-07 11:46:40 +01:00
work and stopwork system done, project time data structure runs ok
This commit is contained in:
@@ -6,7 +6,10 @@ var projectSchema = new Schema({
|
||||
title: { type: String },
|
||||
description: { type: String },
|
||||
icon: { type: String },
|
||||
users: [{ type: String }],
|
||||
users: [{
|
||||
username: { type: String },
|
||||
time: { type: Number }
|
||||
}],
|
||||
chart: [{
|
||||
labels: [{ type: String }],
|
||||
series: [{ type: String }],
|
||||
@@ -15,7 +18,8 @@ var projectSchema = new Schema({
|
||||
workStrikes: [{
|
||||
username: { type: String },
|
||||
start: { type: Date },
|
||||
end: { type: Date }
|
||||
end: { type: Date },
|
||||
time: { type: Number }
|
||||
}],
|
||||
dateCreation: { type: Date },
|
||||
github: { type: String },
|
||||
|
||||
Reference in New Issue
Block a user