c2-clinical 1.0.169 → 1.0.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,10 +69,7 @@ class ProcessAnswerFlowTester {
69
69
  }
70
70
  // formulaToAddDataset para graphicData
71
71
  if (relationed?.graphicData?.formulaToAddDataset) {
72
- relationed.graphicData.datasets = [
73
- ...(relationed.graphicData?.datasets || []),
74
- ...ExecFormulaFlowTester_1.default.execute(relationed.graphicData.formulaToAddDataset, allQuestionsAnswereds, attendanceMetActivities)
75
- ];
72
+ relationed.graphicData.datasetsToAdd = ExecFormulaFlowTester_1.default.execute(relationed.graphicData.formulaToAddDataset, allQuestionsAnswereds, attendanceMetActivities);
76
73
  }
77
74
  });
78
75
  let questionsRelacionedsAnsweredsRet = [...autoAnswereds];
@@ -119,6 +119,7 @@ export interface IQuestionOption {
119
119
  export interface IGraphicData {
120
120
  [key: string]: any;
121
121
  datasets: any[];
122
+ datasetsToAdd: any[];
122
123
  formulaToAddDataset: string;
123
124
  }
124
125
  export interface IRequestGraphicData {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",