@awell-health/awell-extensions 2.0.177 → 2.0.178

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.
@@ -7,7 +7,20 @@ export declare const simpleFormMockResponse: {
7
7
  release_id: string;
8
8
  key: string;
9
9
  metadata: string;
10
- questions: {
10
+ questions: ({
11
+ id: string;
12
+ definition_id: string;
13
+ title: string;
14
+ key: string;
15
+ dataPointValueType: null;
16
+ questionType: "NO_INPUT";
17
+ userQuestionType: "DESCRIPTION";
18
+ metadata: null;
19
+ options: never[];
20
+ rule: null;
21
+ questionConfig: null;
22
+ __typename: "Question";
23
+ } | {
11
24
  id: string;
12
25
  definition_id: string;
13
26
  title: string;
@@ -22,7 +35,11 @@ export declare const simpleFormMockResponse: {
22
35
  label: string;
23
36
  __typename: "Option";
24
37
  }[];
25
- }[];
38
+ metadata?: undefined;
39
+ rule?: undefined;
40
+ questionConfig?: undefined;
41
+ __typename?: undefined;
42
+ })[];
26
43
  };
27
44
  };
28
45
  export declare const simpleFormResponseMockResponse: {
@@ -11,6 +11,20 @@ exports.simpleFormMockResponse = {
11
11
  key: 'simple-form',
12
12
  metadata: '{"form": "metadata"}',
13
13
  questions: [
14
+ {
15
+ id: 'description-question-id',
16
+ definition_id: 'description-question-definition-id',
17
+ title: '<p class="slate-p">Description content</p>',
18
+ key: 'description',
19
+ dataPointValueType: null,
20
+ questionType: 'NO_INPUT',
21
+ userQuestionType: 'DESCRIPTION',
22
+ metadata: null,
23
+ options: [],
24
+ rule: null,
25
+ questionConfig: null,
26
+ __typename: 'Question',
27
+ },
14
28
  {
15
29
  id: 'question-id',
16
30
  definition_id: 'question-definition-id',
@@ -1 +1 @@
1
- {"version":3,"file":"submitQuestionnaireResponse.mocks.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/submitQuestionnaireResponse/__testdata__/submitQuestionnaireResponse.mocks.ts"],"names":[],"mappings":";;;AAMa,QAAA,sBAAsB,GAAG;IACpC,OAAO,EAAE,IAAI;IACb,IAAI,EAAE;QACJ,EAAE,EAAE,mBAAmB;QACvB,aAAa,EAAE,oBAAoB;QACnC,KAAK,EAAE,aAAa;QACpB,UAAU,EAAE,iBAAiB;QAC7B,GAAG,EAAE,aAAa;QAClB,QAAQ,EAAE,sBAAsB;QAChC,SAAS,EAAE;YACT;gBACE,EAAE,EAAE,aAAa;gBACjB,aAAa,EAAE,wBAAwB;gBACvC,KAAK,EAAE,wBAAwB;gBAC/B,GAAG,EAAE,oBAAoB;gBACzB,kBAAkB,EAAE,QAAQ;gBAC5B,YAAY,EAAE,iBAAiB;gBAC/B,gBAAgB,EAAE,iBAAiB;gBACnC,OAAO,EAAE;oBACP;wBACE,EAAE,EAAE,cAAc;wBAClB,KAAK,EAAE,CAAC;wBACR,YAAY,EAAE,GAAG;wBACjB,KAAK,EAAE,UAAU;wBACjB,UAAU,EAAE,QAAQ;qBACrB;oBACD;wBACE,EAAE,EAAE,cAAc;wBAClB,KAAK,EAAE,CAAC;wBACR,YAAY,EAAE,GAAG;wBACjB,KAAK,EAAE,UAAU;wBACjB,UAAU,EAAE,QAAQ;qBACrB;oBACD;wBACE,EAAE,EAAE,cAAc;wBAClB,KAAK,EAAE,CAAC;wBACR,YAAY,EAAE,GAAG;wBACjB,KAAK,EAAE,UAAU;wBACjB,UAAU,EAAE,QAAQ;qBACrB;iBACF;aACF;SACF;KACF;CACiC,CAAA;AAEvB,QAAA,8BAA8B,GAAG;IAC5C,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE;QACR,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,aAAa;gBAC1B,KAAK,EAAE,GAAG;gBACV,KAAK,EAAE,UAAU;gBACjB,UAAU,EAAE,QAAQ;aACrB;SACF;KACF;CACyC,CAAA"}
1
+ {"version":3,"file":"submitQuestionnaireResponse.mocks.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/submitQuestionnaireResponse/__testdata__/submitQuestionnaireResponse.mocks.ts"],"names":[],"mapp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iC,CAAA;AAEvB,QAAA,8BAA8B,GAAG;IAC5C,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE;QACR,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,aAAa;gBAC1B,KAAK,EAAE,GAAG;gBACV,KAAK,EAAE,UAAU;gBACjB,UAAU,EAAE,QAAQ;aACrB;SACF;KACF;CACyC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "2.0.177",
3
+ "version": "2.0.178",
4
4
  "packageManager": "yarn@4.5.3",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "typescript": "5.7.2"
79
79
  },
80
80
  "dependencies": {
81
- "@awell-health/awell-sdk": "^0.1.20",
81
+ "@awell-health/awell-sdk": "^0.1.21",
82
82
  "@awell-health/extensions-core": "1.0.18",
83
83
  "@awell-health/healthie-sdk": "^0.1.1",
84
84
  "@dropbox/sign": "^1.8.0",