@medplum/mock 2.1.14 → 2.1.15
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.cjs +1 -1
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +3 -3
- package/dist/types.d.ts +10 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3,12 +3,14 @@ import { AuditEvent } from '@medplum/fhirtypes';
|
|
|
3
3
|
import { Binary } from '@medplum/fhirtypes';
|
|
4
4
|
import { Bot } from '@medplum/fhirtypes';
|
|
5
5
|
import { ClientApplication } from '@medplum/fhirtypes';
|
|
6
|
+
import { ClientStorage } from '@medplum/core';
|
|
6
7
|
import { Communication } from '@medplum/fhirtypes';
|
|
7
8
|
import type { CustomTableLayout } from 'pdfmake/interfaces';
|
|
8
9
|
import { DiagnosticReport } from '@medplum/fhirtypes';
|
|
9
10
|
import { Encounter } from '@medplum/fhirtypes';
|
|
10
11
|
import { FhirRouter } from '@medplum/fhir-router';
|
|
11
12
|
import { Group } from '@medplum/fhirtypes';
|
|
13
|
+
import { IClientStorage } from '@medplum/core';
|
|
12
14
|
import { LoginState } from '@medplum/core';
|
|
13
15
|
import { Media } from '@medplum/fhirtypes';
|
|
14
16
|
import { MedplumClient } from '@medplum/core';
|
|
@@ -127,6 +129,14 @@ export declare const LisaSimpson: Patient;
|
|
|
127
129
|
|
|
128
130
|
export declare const MargeSimpson: Patient;
|
|
129
131
|
|
|
132
|
+
export declare class MockAsyncClientStorage extends ClientStorage implements IClientStorage {
|
|
133
|
+
#private;
|
|
134
|
+
constructor();
|
|
135
|
+
setInitialized(): void;
|
|
136
|
+
getInitPromise(): Promise<void>;
|
|
137
|
+
get isInitialized(): boolean;
|
|
138
|
+
}
|
|
139
|
+
|
|
130
140
|
export declare class MockClient extends MedplumClient {
|
|
131
141
|
readonly router: FhirRouter;
|
|
132
142
|
readonly repo: MemoryRepository;
|