CodeTanzania / CodeTanzania/emis-plan

Proposed response structure for plan module

Open
#1 0 comments 1 reaction 1 assignee Claimed by @lykmapipo View on GitHub
enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.