grm-shared-library 1.1.101 → 1.1.103

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.
@@ -27,5 +27,5 @@ __exportStar(require("./interfaces/user-context"), exports);
27
27
  __exportStar(require("./interfaces/access-scope"), exports);
28
28
  __exportStar(require("./interfaces/guardian"), exports);
29
29
  __exportStar(require("./interfaces/guardian-relation"), exports);
30
- __exportStar(require("./interfaces/add-guardian-response"), exports);
30
+ __exportStar(require("./interfaces/guardians-response"), exports);
31
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,sDAAoC;AACpC,sEAAoD;AACpD,6EAA2D;AAE3D,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AAEtD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,iEAA+C;AAC/C,qEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,sDAAoC;AACpC,sEAAoD;AACpD,6EAA2D;AAE3D,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AAEtD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,iEAA+C;AAC/C,kEAAgD"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=add-guardian-response.js.map
3
+ //# sourceMappingURL=guardians-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardians-response.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/guardians-response.ts"],"names":[],"mappings":""}
@@ -11,5 +11,5 @@ export * from './interfaces/user-context';
11
11
  export * from './interfaces/access-scope';
12
12
  export * from './interfaces/guardian';
13
13
  export * from './interfaces/guardian-relation';
14
- export * from './interfaces/add-guardian-response';
14
+ export * from './interfaces/guardians-response';
15
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=guardians-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardians-response.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/guardians-response.ts"],"names":[],"mappings":""}
@@ -11,4 +11,4 @@ export * from './interfaces/user-context';
11
11
  export * from './interfaces/access-scope';
12
12
  export * from './interfaces/guardian';
13
13
  export * from './interfaces/guardian-relation';
14
- export * from './interfaces/add-guardian-response';
14
+ export * from './interfaces/guardians-response';
@@ -7,6 +7,8 @@ export interface GuardianRelation {
7
7
  relationship?: GuardianRelationship;
8
8
  isPrimary?: boolean;
9
9
  status?: GuardianRelationStatus;
10
- createdAt?: string;
11
- updatedAt?: string;
10
+ createdAt?: string | Date;
11
+ updatedAt?: string | Date;
12
+ guardian?: any;
13
+ dependent?: any;
12
14
  }
@@ -0,0 +1,10 @@
1
+ import { Guardian } from "./guardian";
2
+ import { GuardianRelation } from "./guardian-relation";
3
+ /**
4
+ * Response structure for guardian-related operations.
5
+ * Contains both external guardian contacts and system guardian relationships.
6
+ */
7
+ export interface GuardiansResponse {
8
+ externalGuardians: Guardian[];
9
+ systemGuardians: GuardianRelation[];
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.101",
3
+ "version": "1.1.103",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -51,6 +51,7 @@
51
51
  "class-transformer": "^0.5.0",
52
52
  "class-validator": "^0.14.0",
53
53
  "express": "^5.1.0",
54
+ "grm-shared-library": "^1.1.101",
54
55
  "rxjs": "^7.8.2",
55
56
  "swagger-ui-express": "^5.0.1"
56
57
  },
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-guardian-response.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/add-guardian-response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=add-guardian-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-guardian-response.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/add-guardian-response.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { Guardian } from "./guardian";
2
- import { GuardianRelation } from "./guardian-relation";
3
- export interface AddGuardianResponse {
4
- externalGuardians: Guardian[];
5
- systemGuardians: GuardianRelation[];
6
- }