@medplum/mock 3.0.11 → 3.0.13
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 +4 -4
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +3 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +5 -5
package/dist/cjs/index.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import { AccessPolicy } from '@medplum/fhirtypes';
|
|
|
2
2
|
import { Agent } from '@medplum/fhirtypes';
|
|
3
3
|
import { AuditEvent } from '@medplum/fhirtypes';
|
|
4
4
|
import { Binary } from '@medplum/fhirtypes';
|
|
5
|
+
import { BinarySource } from '@medplum/core';
|
|
5
6
|
import { Bot } from '@medplum/fhirtypes';
|
|
6
7
|
import { ClientApplication } from '@medplum/fhirtypes';
|
|
7
8
|
import { Communication } from '@medplum/fhirtypes';
|
|
9
|
+
import { CreateBinaryOptions } from '@medplum/core';
|
|
8
10
|
import type { CustomTableLayout } from 'pdfmake/interfaces';
|
|
9
11
|
import { Device } from '@medplum/fhirtypes';
|
|
10
12
|
import { DiagnosticReport } from '@medplum/fhirtypes';
|
|
@@ -165,7 +167,7 @@ export declare class MockClient extends MedplumClient {
|
|
|
165
167
|
setProfile(profile: ProfileResource | undefined): void;
|
|
166
168
|
getActiveLogin(): LoginState | undefined;
|
|
167
169
|
getLogins(): LoginState[];
|
|
168
|
-
createBinary(
|
|
170
|
+
createBinary(arg1: BinarySource | CreateBinaryOptions, arg2: string | undefined | MedplumRequestOptions, arg3?: string, arg4?: (e: ProgressEvent) => void): Promise<Binary>;
|
|
169
171
|
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?: MedplumRequestOptions | undefined): Promise<any>;
|
|
170
172
|
setAgentAvailable(value: boolean): void;
|
|
171
173
|
getSubscriptionManager(): MockSubscriptionManager;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import { AccessPolicy } from '@medplum/fhirtypes';
|
|
|
2
2
|
import { Agent } from '@medplum/fhirtypes';
|
|
3
3
|
import { AuditEvent } from '@medplum/fhirtypes';
|
|
4
4
|
import { Binary } from '@medplum/fhirtypes';
|
|
5
|
+
import { BinarySource } from '@medplum/core';
|
|
5
6
|
import { Bot } from '@medplum/fhirtypes';
|
|
6
7
|
import { ClientApplication } from '@medplum/fhirtypes';
|
|
7
8
|
import { Communication } from '@medplum/fhirtypes';
|
|
9
|
+
import { CreateBinaryOptions } from '@medplum/core';
|
|
8
10
|
import type { CustomTableLayout } from 'pdfmake/interfaces';
|
|
9
11
|
import { Device } from '@medplum/fhirtypes';
|
|
10
12
|
import { DiagnosticReport } from '@medplum/fhirtypes';
|
|
@@ -165,7 +167,7 @@ export declare class MockClient extends MedplumClient {
|
|
|
165
167
|
setProfile(profile: ProfileResource | undefined): void;
|
|
166
168
|
getActiveLogin(): LoginState | undefined;
|
|
167
169
|
getLogins(): LoginState[];
|
|
168
|
-
createBinary(
|
|
170
|
+
createBinary(arg1: BinarySource | CreateBinaryOptions, arg2: string | undefined | MedplumRequestOptions, arg3?: string, arg4?: (e: ProgressEvent) => void): Promise<Binary>;
|
|
169
171
|
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?: MedplumRequestOptions | undefined): Promise<any>;
|
|
170
172
|
setAgentAvailable(value: boolean): void;
|
|
171
173
|
getSubscriptionManager(): MockSubscriptionManager;
|