@bahmni/registration-app 0.0.1-dev.113 → 0.0.1-dev.116

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ap as s, an as p, ao as E } from "./index-CU8YA9Qh.js";
1
+ import { ap as s, an as p, ao as E } from "./index-DkBxSA4U.js";
2
2
  export {
3
3
  s as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  p as RegistrationApp,
@@ -0,0 +1,15 @@
1
+ import { RelationshipType } from '../components/forms/patientRelationships/RelationshipRow';
2
+ /**
3
+ * Saves relationship types to localStorage with timestamp and version
4
+ */
5
+ export declare const saveRelationshipTypesToCache: (data: RelationshipType[]) => void;
6
+ /**
7
+ * Retrieves relationship types from localStorage if valid
8
+ * Returns null if cache is expired, invalid, or doesn't exist
9
+ */
10
+ export declare const getRelationshipTypesFromCache: () => RelationshipType[] | null;
11
+ /**
12
+ * Clears the relationship types cache
13
+ */
14
+ export declare const clearRelationshipTypesCache: () => void;
15
+ //# sourceMappingURL=relationshipTypesCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relationshipTypesCache.d.ts","sourceRoot":"","sources":["../../src/utils/relationshipTypesCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAYjG;;GAEG;AACH,eAAO,MAAM,4BAA4B,GACvC,MAAM,gBAAgB,EAAE,KACvB,IAWF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAO,gBAAgB,EAAE,GAAG,IAgDrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,QAAO,IAM9C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.113",
3
+ "version": "0.0.1-dev.116",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",