@medplum/core 2.0.0 → 2.0.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/client.d.ts +16 -0
- package/dist/cjs/index.cjs +317 -697
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.min.cjs +1 -1
- package/dist/cjs/types.d.ts +6 -0
- package/dist/esm/base-schema.json.mjs +219 -690
- package/dist/esm/base-schema.json.mjs.map +1 -1
- package/dist/esm/client.d.ts +16 -0
- package/dist/esm/client.mjs +86 -7
- package/dist/esm/client.mjs.map +1 -1
- package/dist/esm/index.min.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/node_modules/tslib/tslib.es6.mjs.map +1 -1
- package/dist/esm/types.d.ts +6 -0
- package/dist/esm/types.mjs +12 -1
- package/dist/esm/types.mjs.map +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +0 -103
package/dist/cjs/client.d.ts
CHANGED
|
@@ -71,6 +71,14 @@ export interface MedplumClientOptions {
|
|
|
71
71
|
* See: https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
|
|
72
72
|
*/
|
|
73
73
|
cacheTime?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The length of time in milliseconds to delay requests for auto batching.
|
|
76
|
+
*
|
|
77
|
+
* Auto batching attempts to group multiple requests together into a single batch request.
|
|
78
|
+
*
|
|
79
|
+
* Default value is 0, which disables auto batching.
|
|
80
|
+
*/
|
|
81
|
+
autoBatchTime?: number;
|
|
74
82
|
/**
|
|
75
83
|
* Fetch implementation.
|
|
76
84
|
*
|
|
@@ -503,6 +511,14 @@ export declare class MedplumClient extends EventTarget {
|
|
|
503
511
|
* @category Authentication
|
|
504
512
|
*/
|
|
505
513
|
signOutWithRedirect(): void;
|
|
514
|
+
/**
|
|
515
|
+
* Initiates sign in with an external identity provider.
|
|
516
|
+
* @param authorizeUrl The external authorization URL.
|
|
517
|
+
* @param clientId The external client ID.
|
|
518
|
+
* @param redirectUri The external identity provider redirect URI.
|
|
519
|
+
* @param baseLogin The Medplum login request.
|
|
520
|
+
*/
|
|
521
|
+
signInWithExternalAuth(authorizeUrl: string, clientId: string, redirectUri: string, baseLogin: BaseLoginRequest): Promise<void>;
|
|
506
522
|
/**
|
|
507
523
|
* Builds a FHIR URL from a collection of URL path components.
|
|
508
524
|
* For example, `buildUrl('/Patient', '123')` returns `fhir/R4/Patient/123`.
|