@careevolution/mydatahelps-ui 2.20.1 → 2.21.0

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.
@@ -3,6 +3,7 @@ export interface AsthmaPostEnrollmentSurveyTriggerProps {
3
3
  previewState?: boolean;
4
4
  postEnrollmentSurveyName: string;
5
5
  postEnrollmentMobileSurveyName: string;
6
+ logTodayEntrySurveyName: string;
6
7
  innerRef?: React.Ref<HTMLDivElement>;
7
8
  }
8
9
  export default function (props: AsthmaPostEnrollmentSurveyTriggerProps): null;
@@ -22,6 +22,7 @@ export interface AsthmaDataService {
22
22
  loadAlertTakeover(): Promise<DeviceDataPoint | undefined>;
23
23
  updateAlertTakeover(dataPoint: DeviceDataPoint, status: string, comment?: string): Promise<void>;
24
24
  loadSurveyAnswers(surveyName: string | string[], fromDate?: Date): Promise<SurveyAnswer[]>;
25
+ checkSurveyAnswerExists(surveyName: string | string[]): Promise<boolean>;
25
26
  loadAsthmaActionPlan(): Promise<AsthmaActionPlan | undefined>;
26
27
  }
27
28
  declare const service: AsthmaDataService;
package/dist/index.d.ts CHANGED
@@ -165,6 +165,7 @@ interface AsthmaPostEnrollmentSurveyTriggerProps {
165
165
  previewState?: boolean;
166
166
  postEnrollmentSurveyName: string;
167
167
  postEnrollmentMobileSurveyName: string;
168
+ logTodayEntrySurveyName: string;
168
169
  innerRef?: React$1.Ref<HTMLDivElement>;
169
170
  }
170
171
  declare function export_default$2e(props: AsthmaPostEnrollmentSurveyTriggerProps): null;
@@ -773,6 +774,7 @@ interface AsthmaDataService {
773
774
  loadAlertTakeover(): Promise<DeviceDataPoint | undefined>;
774
775
  updateAlertTakeover(dataPoint: DeviceDataPoint, status: string, comment?: string): Promise<void>;
775
776
  loadSurveyAnswers(surveyName: string | string[], fromDate?: Date): Promise<SurveyAnswer[]>;
777
+ checkSurveyAnswerExists(surveyName: string | string[]): Promise<boolean>;
776
778
  loadAsthmaActionPlan(): Promise<AsthmaActionPlan | undefined>;
777
779
  }
778
780
  declare const service: AsthmaDataService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.20.1",
3
+ "version": "2.21.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",