2019-06-21 22:01:34 +00:00
|
|
|
/*
|
|
|
|
* Project Model
|
|
|
|
* -------------------------------------------------------------
|
|
|
|
* Put some description here!
|
|
|
|
*/
|
|
|
|
const uuid = require('uuid/v4')
|
|
|
|
const Project = {
|
|
|
|
name: String,
|
|
|
|
user_id: String,
|
|
|
|
archived: { type: Boolean, default: false },
|
|
|
|
data: String,
|
|
|
|
shared_user_ids: [String],
|
2019-07-10 19:10:36 +00:00
|
|
|
edit_user_ids: [String],
|
2019-06-21 22:01:34 +00:00
|
|
|
uuid: { type: String, default: uuid }
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = exports = Project
|