@medplum/core 4.1.10 → 4.1.12
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 +7 -7
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +10 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -558,6 +558,7 @@ export declare const ContentType: {
|
|
|
558
558
|
readonly JAVASCRIPT: "text/javascript";
|
|
559
559
|
readonly JSON: "application/json";
|
|
560
560
|
readonly JSON_PATCH: "application/json-patch+json";
|
|
561
|
+
readonly JWT: "application/jwt";
|
|
561
562
|
readonly MULTIPART_FORM_DATA: "multipart/form-data";
|
|
562
563
|
readonly PNG: "image/png";
|
|
563
564
|
readonly SCIM_JSON: "application/scim+json";
|
|
@@ -2470,6 +2471,15 @@ export declare function isDateTimeString(input: unknown): input is string;
|
|
|
2470
2471
|
*/
|
|
2471
2472
|
export declare function isEmpty(v: unknown): boolean;
|
|
2472
2473
|
|
|
2474
|
+
/**
|
|
2475
|
+
* Returns true if the input is an Error object.
|
|
2476
|
+
* This should be replaced with `Error.isError` when it is more widely supported.
|
|
2477
|
+
* See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/isError
|
|
2478
|
+
* @param value - The candidate value.
|
|
2479
|
+
* @returns True if the input is an Error object.
|
|
2480
|
+
*/
|
|
2481
|
+
export declare function isError(value: unknown): value is Error;
|
|
2482
|
+
|
|
2473
2483
|
/**
|
|
2474
2484
|
* Checks if a `ResourceType` can be used in a `FHIRcast` context.
|
|
2475
2485
|
*
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -558,6 +558,7 @@ export declare const ContentType: {
|
|
|
558
558
|
readonly JAVASCRIPT: "text/javascript";
|
|
559
559
|
readonly JSON: "application/json";
|
|
560
560
|
readonly JSON_PATCH: "application/json-patch+json";
|
|
561
|
+
readonly JWT: "application/jwt";
|
|
561
562
|
readonly MULTIPART_FORM_DATA: "multipart/form-data";
|
|
562
563
|
readonly PNG: "image/png";
|
|
563
564
|
readonly SCIM_JSON: "application/scim+json";
|
|
@@ -2470,6 +2471,15 @@ export declare function isDateTimeString(input: unknown): input is string;
|
|
|
2470
2471
|
*/
|
|
2471
2472
|
export declare function isEmpty(v: unknown): boolean;
|
|
2472
2473
|
|
|
2474
|
+
/**
|
|
2475
|
+
* Returns true if the input is an Error object.
|
|
2476
|
+
* This should be replaced with `Error.isError` when it is more widely supported.
|
|
2477
|
+
* See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/isError
|
|
2478
|
+
* @param value - The candidate value.
|
|
2479
|
+
* @returns True if the input is an Error object.
|
|
2480
|
+
*/
|
|
2481
|
+
export declare function isError(value: unknown): value is Error;
|
|
2482
|
+
|
|
2473
2483
|
/**
|
|
2474
2484
|
* Checks if a `ResourceType` can be used in a `FHIRcast` context.
|
|
2475
2485
|
*
|