@medplum/core 3.2.30 → 3.2.32

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.
@@ -2376,6 +2376,8 @@ export declare function isQuantity(input: unknown): input is Quantity;
2376
2376
 
2377
2377
  export declare function isQuantityEquivalent(x: Quantity, y: Quantity): boolean;
2378
2378
 
2379
+ export declare function isRedirect(outcome: OperationOutcome): boolean;
2380
+
2379
2381
  /**
2380
2382
  * Typeguard to validate that an object is a FHIR resource
2381
2383
  * @param value - The object to check
@@ -3064,8 +3066,8 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3064
3066
  */
3065
3067
  ensureCodeChallenge<T extends BaseLoginRequest>(loginRequest: T): Promise<T>;
3066
3068
  /**
3067
- * Signs out locally.
3068
- * Does not invalidate tokens with the server.
3069
+ * Signs out the client.
3070
+ * This revokes the current token and clears token from the local cache.
3069
3071
  * @category Authentication
3070
3072
  */
3071
3073
  signOut(): Promise<void>;
@@ -5548,6 +5550,8 @@ export declare class ReconnectingWebSocket<WS extends IWebSocket = WebSocket> ex
5548
5550
  private _clearTimeouts;
5549
5551
  }
5550
5552
 
5553
+ export declare function redirect(url: URL): OperationOutcome;
5554
+
5551
5555
  export declare type ReleaseManifest = {
5552
5556
  tag_name: string;
5553
5557
  assets: {
@@ -2376,6 +2376,8 @@ export declare function isQuantity(input: unknown): input is Quantity;
2376
2376
 
2377
2377
  export declare function isQuantityEquivalent(x: Quantity, y: Quantity): boolean;
2378
2378
 
2379
+ export declare function isRedirect(outcome: OperationOutcome): boolean;
2380
+
2379
2381
  /**
2380
2382
  * Typeguard to validate that an object is a FHIR resource
2381
2383
  * @param value - The object to check
@@ -3064,8 +3066,8 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3064
3066
  */
3065
3067
  ensureCodeChallenge<T extends BaseLoginRequest>(loginRequest: T): Promise<T>;
3066
3068
  /**
3067
- * Signs out locally.
3068
- * Does not invalidate tokens with the server.
3069
+ * Signs out the client.
3070
+ * This revokes the current token and clears token from the local cache.
3069
3071
  * @category Authentication
3070
3072
  */
3071
3073
  signOut(): Promise<void>;
@@ -5548,6 +5550,8 @@ export declare class ReconnectingWebSocket<WS extends IWebSocket = WebSocket> ex
5548
5550
  private _clearTimeouts;
5549
5551
  }
5550
5552
 
5553
+ export declare function redirect(url: URL): OperationOutcome;
5554
+
5551
5555
  export declare type ReleaseManifest = {
5552
5556
  tag_name: string;
5553
5557
  assets: {