grm-shared-library 1.0.7 → 1.0.8

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.d.ts CHANGED
@@ -1,11 +1,27 @@
1
+ /**
2
+ * DTOs
3
+ */
1
4
  export * from './dtos/user/create-user.dto';
2
5
  export * from './dtos/user/update-user.dto';
3
6
  export * from './dtos/organization/create-organization.dto';
4
7
  export * from './dtos/organization/update-organization.dto';
5
8
  export * from './dtos/location/map-location.dto';
6
9
  export * from './dtos/location/map-address.dto';
10
+ /**
11
+ * Interfaces
12
+ */
7
13
  export * from './interfaces/organization';
14
+ /**
15
+ * Enums
16
+ */
8
17
  export * from './enums/user-role.enum';
9
18
  export * from './enums/org-status.enum';
10
- export * from './topics';
19
+ /**
20
+ * Kafka
21
+ */
22
+ export * from './kafka/topics';
23
+ export * from './kafka/group-ids';
24
+ /**
25
+ * Utilities
26
+ */
11
27
  export * from './utilities/decorators';
package/dist/index.js CHANGED
@@ -14,14 +14,30 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ /**
18
+ * DTOs
19
+ */
17
20
  __exportStar(require("./dtos/user/create-user.dto"), exports);
18
21
  __exportStar(require("./dtos/user/update-user.dto"), exports);
19
22
  __exportStar(require("./dtos/organization/create-organization.dto"), exports);
20
23
  __exportStar(require("./dtos/organization/update-organization.dto"), exports);
21
24
  __exportStar(require("./dtos/location/map-location.dto"), exports);
22
25
  __exportStar(require("./dtos/location/map-address.dto"), exports);
26
+ /**
27
+ * Interfaces
28
+ */
23
29
  __exportStar(require("./interfaces/organization"), exports);
30
+ /**
31
+ * Enums
32
+ */
24
33
  __exportStar(require("./enums/user-role.enum"), exports);
25
34
  __exportStar(require("./enums/org-status.enum"), exports);
26
- __exportStar(require("./topics"), exports);
35
+ /**
36
+ * Kafka
37
+ */
38
+ __exportStar(require("./kafka/topics"), exports);
39
+ __exportStar(require("./kafka/group-ids"), exports);
40
+ /**
41
+ * Utilities
42
+ */
27
43
  __exportStar(require("./utilities/decorators"), exports);
@@ -0,0 +1,4 @@
1
+ export declare const KAFKA_GROUP_IDS: {
2
+ API_CONSUMER: string;
3
+ ORGANIZATION_CONSUMER: string;
4
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KAFKA_GROUP_IDS = void 0;
4
+ exports.KAFKA_GROUP_IDS = {
5
+ API_CONSUMER: 'api-consumer',
6
+ ORGANIZATION_CONSUMER: 'organization-consumer',
7
+ };
@@ -0,0 +1,3 @@
1
+ export declare const KAFKA_TOPICS: {
2
+ CREATE_ORG: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KAFKA_TOPICS = void 0;
4
+ exports.KAFKA_TOPICS = {
5
+ CREATE_ORG: 'create.org'
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [