@medplum/mock 5.2.0 → 5.2.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.
@@ -449,7 +449,8 @@ export declare interface MockClientOptions extends Pick<MedplumClientOptions, 'b
449
449
  readonly seedDefaultData?: boolean;
450
450
  }
451
451
 
452
- declare interface MockClientTestMethods {
452
+ /** Test-only helpers exposed on `MockClient.mock`. */
453
+ export declare interface MockClientTestMethods {
453
454
  withSeeding: <T>(fn: () => T | Promise<T>) => Promise<T>;
454
455
  setProfile: (profile: ProfileResource | undefined) => void;
455
456
  setProject: (project: Project | undefined) => void;
@@ -491,7 +492,8 @@ export declare class MockFetchClient {
491
492
  private mockFhirHandler;
492
493
  }
493
494
 
494
- declare interface MockFetchClientOptions {
495
+ /** Options for constructing a `MockFetchClient`. */
496
+ export declare interface MockFetchClientOptions {
495
497
  debug?: boolean;
496
498
  seedDefaultData?: boolean;
497
499
  }
@@ -449,7 +449,8 @@ export declare interface MockClientOptions extends Pick<MedplumClientOptions, 'b
449
449
  readonly seedDefaultData?: boolean;
450
450
  }
451
451
 
452
- declare interface MockClientTestMethods {
452
+ /** Test-only helpers exposed on `MockClient.mock`. */
453
+ export declare interface MockClientTestMethods {
453
454
  withSeeding: <T>(fn: () => T | Promise<T>) => Promise<T>;
454
455
  setProfile: (profile: ProfileResource | undefined) => void;
455
456
  setProject: (project: Project | undefined) => void;
@@ -491,7 +492,8 @@ export declare class MockFetchClient {
491
492
  private mockFhirHandler;
492
493
  }
493
494
 
494
- declare interface MockFetchClientOptions {
495
+ /** Options for constructing a `MockFetchClient`. */
496
+ export declare interface MockFetchClientOptions {
495
497
  debug?: boolean;
496
498
  seedDefaultData?: boolean;
497
499
  }