c2-clinical 1.0.169 → 1.0.172
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.
|
|
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,13 +119,14 @@ 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 {
|
|
125
126
|
method: string;
|
|
126
127
|
url: string;
|
|
127
128
|
body: any;
|
|
128
|
-
dataset: any
|
|
129
|
+
dataset: any;
|
|
129
130
|
}
|
|
130
131
|
export declare const RequestGraphicDataSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
131
132
|
_id: false;
|
package/package.json
CHANGED