CodeTanzania / CodeTanzania/emis-plan
Proposed response structure for plan module
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
This is the initial proposed structure for plan
```js
{
plans: {
data: [{
incidentType,
jurisdictions,
dates,
activityCount,
colorCode,
}],
meta: {
total: 0,
page: 0,
},
selectedPlan: ObjectId,
},
activities: {
data: [{
description,
dates,
stakeholders,
phase,
taskCount,
incidentType
}],
phases: {
// phase name and corresponding activity count
phaseName: activityCount
}
meta: {
total: 0,
page: 0,
},
selectedActivity: ObjectId,
},
tasks: {
data: [{
description,
dates,
stakeholders,
}],
meta: {
total: 0,
page: 0
},
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.