@medplum/core 5.2.8 → 5.2.9
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 +12 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.mjs +6 -6
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1633,6 +1633,18 @@ export { ErrorEvent_2 as ErrorEvent }
|
|
|
1633
1633
|
*/
|
|
1634
1634
|
export declare function escapeHtml(unsafe: string): string;
|
|
1635
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* Escapes a literal string for use as a single FHIR search value.
|
|
1638
|
+
* Backslash-escapes commas and backslashes, so that the value is not split into multiple "or" values.
|
|
1639
|
+
* This is the inverse of `splitSearchOnComma`.
|
|
1640
|
+
*
|
|
1641
|
+
* See: https://hl7.org/fhir/r4/search.html#escaping
|
|
1642
|
+
*
|
|
1643
|
+
* @param input - The literal string to search for.
|
|
1644
|
+
* @returns The escaped FHIR search value.
|
|
1645
|
+
*/
|
|
1646
|
+
export declare function escapeSearchValue(input: string): string;
|
|
1647
|
+
|
|
1636
1648
|
/**
|
|
1637
1649
|
* Escape token part of a JSON Pointer string
|
|
1638
1650
|
*
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1633,6 +1633,18 @@ export { ErrorEvent_2 as ErrorEvent }
|
|
|
1633
1633
|
*/
|
|
1634
1634
|
export declare function escapeHtml(unsafe: string): string;
|
|
1635
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* Escapes a literal string for use as a single FHIR search value.
|
|
1638
|
+
* Backslash-escapes commas and backslashes, so that the value is not split into multiple "or" values.
|
|
1639
|
+
* This is the inverse of `splitSearchOnComma`.
|
|
1640
|
+
*
|
|
1641
|
+
* See: https://hl7.org/fhir/r4/search.html#escaping
|
|
1642
|
+
*
|
|
1643
|
+
* @param input - The literal string to search for.
|
|
1644
|
+
* @returns The escaped FHIR search value.
|
|
1645
|
+
*/
|
|
1646
|
+
export declare function escapeSearchValue(input: string): string;
|
|
1647
|
+
|
|
1636
1648
|
/**
|
|
1637
1649
|
* Escape token part of a JSON Pointer string
|
|
1638
1650
|
*
|