@medplum/fhir-router 5.2.12 → 5.2.14

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.
@@ -295,10 +295,8 @@ export declare interface FhirOptions {
295
295
  export declare abstract class FhirRepository {
296
296
  /**
297
297
  * Sets the repository mode.
298
- * In general, it is assumed that repositories will start in "reader" mode,
299
- * and that the mode will be changed to "writer" as needed.
300
- * It is recommended that the repository use "reader" opportunistically,
301
- * but after using "writer" once it should use "writer" exclusively.
298
+ * Repositories start in "writer" mode. Callers may opt in to "reader" for read-only work;
299
+ * any writer operation promotes the repository back to "writer" for the rest of its life.
302
300
  * @param mode - The repository mode.
303
301
  */
304
302
  abstract setMode(mode: RepositoryMode): void;
@@ -295,10 +295,8 @@ export declare interface FhirOptions {
295
295
  export declare abstract class FhirRepository {
296
296
  /**
297
297
  * Sets the repository mode.
298
- * In general, it is assumed that repositories will start in "reader" mode,
299
- * and that the mode will be changed to "writer" as needed.
300
- * It is recommended that the repository use "reader" opportunistically,
301
- * but after using "writer" once it should use "writer" exclusively.
298
+ * Repositories start in "writer" mode. Callers may opt in to "reader" for read-only work;
299
+ * any writer operation promotes the repository back to "writer" for the rest of its life.
302
300
  * @param mode - The repository mode.
303
301
  */
304
302
  abstract setMode(mode: RepositoryMode): void;