@medplum/core 5.1.18 → 5.1.22
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 +11 -11
- package/dist/cjs/index.cjs.map +4 -4
- package/dist/cjs/index.d.ts +26 -2
- package/dist/esm/index.d.ts +26 -2
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/index.mjs.map +4 -4
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1825,6 +1825,32 @@ export declare function fhirPathIs(typedValue: TypedValue, desiredType: string):
|
|
|
1825
1825
|
*/
|
|
1826
1826
|
export declare function fhirPathNot(input: TypedValue[]): TypedValue[];
|
|
1827
1827
|
|
|
1828
|
+
export declare type FhirPathPatch = {
|
|
1829
|
+
type: 'add';
|
|
1830
|
+
path: string;
|
|
1831
|
+
name: string;
|
|
1832
|
+
value: TypedValue;
|
|
1833
|
+
} | {
|
|
1834
|
+
type: 'insert';
|
|
1835
|
+
path: string;
|
|
1836
|
+
value: TypedValue;
|
|
1837
|
+
index: number;
|
|
1838
|
+
} | {
|
|
1839
|
+
type: 'delete';
|
|
1840
|
+
path: string;
|
|
1841
|
+
} | {
|
|
1842
|
+
type: 'replace';
|
|
1843
|
+
path: string;
|
|
1844
|
+
value: TypedValue;
|
|
1845
|
+
} | {
|
|
1846
|
+
type: 'move';
|
|
1847
|
+
path: string;
|
|
1848
|
+
source: number;
|
|
1849
|
+
destination: number;
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
export declare function fhirpathPatchTypedValue(original: TypedValue, patch: FhirPathPatch[]): void;
|
|
1853
|
+
|
|
1828
1854
|
export declare const fhirTypeToJsType: {
|
|
1829
1855
|
readonly base64Binary: "string";
|
|
1830
1856
|
readonly boolean: "boolean";
|
|
@@ -5812,8 +5838,6 @@ export declare interface MedplumClientOptions {
|
|
|
5812
5838
|
* Fetch implementation.
|
|
5813
5839
|
*
|
|
5814
5840
|
* Default is `window.fetch` (if available).
|
|
5815
|
-
*
|
|
5816
|
-
* For Node.js applications, consider the 'node-fetch' package.
|
|
5817
5841
|
*/
|
|
5818
5842
|
fetch?: FetchLike;
|
|
5819
5843
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1825,6 +1825,32 @@ export declare function fhirPathIs(typedValue: TypedValue, desiredType: string):
|
|
|
1825
1825
|
*/
|
|
1826
1826
|
export declare function fhirPathNot(input: TypedValue[]): TypedValue[];
|
|
1827
1827
|
|
|
1828
|
+
export declare type FhirPathPatch = {
|
|
1829
|
+
type: 'add';
|
|
1830
|
+
path: string;
|
|
1831
|
+
name: string;
|
|
1832
|
+
value: TypedValue;
|
|
1833
|
+
} | {
|
|
1834
|
+
type: 'insert';
|
|
1835
|
+
path: string;
|
|
1836
|
+
value: TypedValue;
|
|
1837
|
+
index: number;
|
|
1838
|
+
} | {
|
|
1839
|
+
type: 'delete';
|
|
1840
|
+
path: string;
|
|
1841
|
+
} | {
|
|
1842
|
+
type: 'replace';
|
|
1843
|
+
path: string;
|
|
1844
|
+
value: TypedValue;
|
|
1845
|
+
} | {
|
|
1846
|
+
type: 'move';
|
|
1847
|
+
path: string;
|
|
1848
|
+
source: number;
|
|
1849
|
+
destination: number;
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
export declare function fhirpathPatchTypedValue(original: TypedValue, patch: FhirPathPatch[]): void;
|
|
1853
|
+
|
|
1828
1854
|
export declare const fhirTypeToJsType: {
|
|
1829
1855
|
readonly base64Binary: "string";
|
|
1830
1856
|
readonly boolean: "boolean";
|
|
@@ -5812,8 +5838,6 @@ export declare interface MedplumClientOptions {
|
|
|
5812
5838
|
* Fetch implementation.
|
|
5813
5839
|
*
|
|
5814
5840
|
* Default is `window.fetch` (if available).
|
|
5815
|
-
*
|
|
5816
|
-
* For Node.js applications, consider the 'node-fetch' package.
|
|
5817
5841
|
*/
|
|
5818
5842
|
fetch?: FetchLike;
|
|
5819
5843
|
/**
|