@medplum/mock 3.1.0 → 3.1.1
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 +2 -1
- package/dist/esm/index.d.ts +2 -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
|
@@ -288,10 +288,11 @@ export declare interface MockClientOptions extends MedplumClientOptions {
|
|
|
288
288
|
export declare class MockFetchClient {
|
|
289
289
|
readonly router: FhirRouter;
|
|
290
290
|
readonly repo: MemoryRepository;
|
|
291
|
+
readonly baseUrl: string;
|
|
291
292
|
readonly debug: boolean;
|
|
292
293
|
initialized: boolean;
|
|
293
294
|
initPromise?: Promise<void>;
|
|
294
|
-
constructor(router: FhirRouter, repo: MemoryRepository, debug?: boolean);
|
|
295
|
+
constructor(router: FhirRouter, repo: MemoryRepository, baseUrl: string, debug?: boolean);
|
|
295
296
|
mockFetch(url: string, options: any): Promise<Partial<Response>>;
|
|
296
297
|
mockCreatePdf(docDefinition: TDocumentDefinitions, tableLayouts?: {
|
|
297
298
|
[name: string]: CustomTableLayout;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -288,10 +288,11 @@ export declare interface MockClientOptions extends MedplumClientOptions {
|
|
|
288
288
|
export declare class MockFetchClient {
|
|
289
289
|
readonly router: FhirRouter;
|
|
290
290
|
readonly repo: MemoryRepository;
|
|
291
|
+
readonly baseUrl: string;
|
|
291
292
|
readonly debug: boolean;
|
|
292
293
|
initialized: boolean;
|
|
293
294
|
initPromise?: Promise<void>;
|
|
294
|
-
constructor(router: FhirRouter, repo: MemoryRepository, debug?: boolean);
|
|
295
|
+
constructor(router: FhirRouter, repo: MemoryRepository, baseUrl: string, debug?: boolean);
|
|
295
296
|
mockFetch(url: string, options: any): Promise<Partial<Response>>;
|
|
296
297
|
mockCreatePdf(docDefinition: TDocumentDefinitions, tableLayouts?: {
|
|
297
298
|
[name: string]: CustomTableLayout;
|