@medplum/mock 0.9.2 → 0.9.3
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.
- package/dist/cjs/index.js +141 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +141 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/types/client.d.ts +1 -1
- package/dist/types/mocks/types.d.ts +20 -2
- package/package.json +6 -6
package/dist/types/client.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export declare class MockClient extends MedplumClient {
|
|
|
10
10
|
getProfile(): ProfileResource;
|
|
11
11
|
setActiveLoginOverride(activeLoginOverride: LoginState): void;
|
|
12
12
|
getActiveLogin(): LoginState | undefined;
|
|
13
|
-
createBinary(
|
|
13
|
+
createBinary(_data: any, filename: string, contentType: string): Promise<Binary>;
|
|
14
14
|
}
|
|
@@ -2,7 +2,7 @@ import { SearchParameter } from '@medplum/fhirtypes';
|
|
|
2
2
|
export declare const PatientSearchParameters: SearchParameter[];
|
|
3
3
|
export declare const GraphQLSchemaResponse: {
|
|
4
4
|
data: {
|
|
5
|
-
StructureDefinitionList: {
|
|
5
|
+
StructureDefinitionList: ({
|
|
6
6
|
resourceType: string;
|
|
7
7
|
id: string;
|
|
8
8
|
name: string;
|
|
@@ -57,7 +57,25 @@ export declare const GraphQLSchemaResponse: {
|
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
59
|
};
|
|
60
|
-
}
|
|
60
|
+
} | {
|
|
61
|
+
resourceType: string;
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
description: string;
|
|
65
|
+
snapshot: {
|
|
66
|
+
element: {
|
|
67
|
+
id: string;
|
|
68
|
+
path: string;
|
|
69
|
+
definition: string;
|
|
70
|
+
min: number;
|
|
71
|
+
max: string;
|
|
72
|
+
type: {
|
|
73
|
+
code: string;
|
|
74
|
+
}[];
|
|
75
|
+
}[];
|
|
76
|
+
};
|
|
77
|
+
type?: undefined;
|
|
78
|
+
})[];
|
|
61
79
|
SearchParameterList: SearchParameter[];
|
|
62
80
|
};
|
|
63
81
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/mock",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "Medplum Mock Client",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@medplum/core": "0.9.
|
|
21
|
-
"@medplum/fhirpath": "0.9.
|
|
22
|
-
"@medplum/fhirtypes": "0.9.
|
|
20
|
+
"@medplum/core": "0.9.3",
|
|
21
|
+
"@medplum/fhirpath": "0.9.3",
|
|
22
|
+
"@medplum/fhirtypes": "0.9.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@medplum/core": "0.9.
|
|
26
|
-
"@medplum/fhirpath": "0.9.
|
|
25
|
+
"@medplum/core": "0.9.3",
|
|
26
|
+
"@medplum/fhirpath": "0.9.3"
|
|
27
27
|
},
|
|
28
28
|
"main": "dist/cjs/index.js",
|
|
29
29
|
"module": "dist/esm/index.js",
|