@nsshunt/stsfhirclient 1.1.10 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsfhirclient",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "",
5
5
  "main": "./dist/stsfhirclient.umd.js",
6
6
  "module": "./dist/stsfhirclient.mjs",
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Normalize a URI for comparison by removing trailing slashes,
3
+ * query parameters, and fragments.
4
+ */
5
+ export declare function normalizeUri(uri: string): string;
6
+ export declare function isAbsoluteUrl(val: string): boolean;
7
+ export declare function getBaseResource(url: URL): string;
8
+ /**
9
+ * Return all hierarchical URI segments from most specific to least.
10
+ * For example:
11
+ * http://a/b/c → [http://a/b/c, http://a/b, http://a]
12
+ */
13
+ export declare function GetAboveHierarchy(uri: string): string[];
14
+ //# sourceMappingURL=uri.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/fhir-utils/uri.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAShD;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAOlD;AAOD,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAShD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAcvD"}
package/types/index.d.ts CHANGED
@@ -4,4 +4,5 @@ export * from './fhir-ts';
4
4
  export * from './primitiveTypes';
5
5
  export * from './fhir-searchTypes/fhirSearchTypes';
6
6
  export * from './stsfhirvalidator';
7
+ export * from './fhir-utils/uri';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA"}