clarion-shared-types 1.0.68 → 1.0.69

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.
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedisChannelName = void 0;
4
+ var RedisChannelName;
5
+ (function (RedisChannelName) {
6
+ RedisChannelName["INCIDENTS"] = "realtime:incidents";
7
+ RedisChannelName["WEB_NOTIFICATIONS"] = "realtime:web-notifications";
8
+ RedisChannelName["PUSH_NOTIFICATIONS"] = "realtime:push-notifications";
9
+ RedisChannelName["TASKS"] = "realtime:tasks";
10
+ })(RedisChannelName || (exports.RedisChannelName = RedisChannelName = {}));
11
+ //# sourceMappingURL=redis-channel-name.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis-channel-name.enum.js","sourceRoot":"","sources":["../../../../../src/modules/socket/enums/redis-channel-name.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAKX;AALD,WAAY,gBAAgB;IACxB,oDAAgC,CAAA;IAChC,oEAAgD,CAAA;IAChD,sEAAkD,CAAA;IAClD,4CAAwB,CAAA;AAC5B,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SocketEventName = void 0;
4
+ var SocketEventName;
5
+ (function (SocketEventName) {
6
+ SocketEventName["INCIDENT_EVENT"] = "incident.event";
7
+ SocketEventName["WEB_NOTIFICATION_EVENT"] = "webNotification.event";
8
+ SocketEventName["PUSH_NOTIFICATION_EVENT"] = "pushNotification.event";
9
+ SocketEventName["TASK_EVENT"] = "task.event";
10
+ })(SocketEventName || (exports.SocketEventName = SocketEventName = {}));
11
+ //# sourceMappingURL=socket-event-name.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket-event-name.enum.js","sourceRoot":"","sources":["../../../../../src/modules/socket/enums/socket-event-name.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,oDAAiC,CAAA;IACjC,mEAAgD,CAAA;IAChD,qEAAkD,CAAA;IAClD,4CAAyB,CAAA;AAC7B,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
@@ -20,4 +20,6 @@ __exportStar(require("./interfaces/online-user-data"), exports);
20
20
  __exportStar(require("./interfaces/event-envelope"), exports);
21
21
  __exportStar(require("./interfaces/client-safe-incident"), exports);
22
22
  __exportStar(require("./enums/room-type.enum"), exports);
23
+ __exportStar(require("./enums/redis-channel-name.enum"), exports);
24
+ __exportStar(require("./enums/socket-event-name.enum"), exports);
23
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/socket/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,8DAA4C;AAC5C,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAClD,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/socket/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,8DAA4C;AAC5C,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAElD,yDAAuC;AACvC,kEAAgD;AAChD,iEAA+C"}
@@ -0,0 +1,8 @@
1
+ export var RedisChannelName;
2
+ (function (RedisChannelName) {
3
+ RedisChannelName["INCIDENTS"] = "realtime:incidents";
4
+ RedisChannelName["WEB_NOTIFICATIONS"] = "realtime:web-notifications";
5
+ RedisChannelName["PUSH_NOTIFICATIONS"] = "realtime:push-notifications";
6
+ RedisChannelName["TASKS"] = "realtime:tasks";
7
+ })(RedisChannelName || (RedisChannelName = {}));
8
+ //# sourceMappingURL=redis-channel-name.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis-channel-name.enum.js","sourceRoot":"","sources":["../../../../../src/modules/socket/enums/redis-channel-name.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IACxB,oDAAgC,CAAA;IAChC,oEAAgD,CAAA;IAChD,sEAAkD,CAAA;IAClD,4CAAwB,CAAA;AAC5B,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B"}
@@ -0,0 +1,8 @@
1
+ export var SocketEventName;
2
+ (function (SocketEventName) {
3
+ SocketEventName["INCIDENT_EVENT"] = "incident.event";
4
+ SocketEventName["WEB_NOTIFICATION_EVENT"] = "webNotification.event";
5
+ SocketEventName["PUSH_NOTIFICATION_EVENT"] = "pushNotification.event";
6
+ SocketEventName["TASK_EVENT"] = "task.event";
7
+ })(SocketEventName || (SocketEventName = {}));
8
+ //# sourceMappingURL=socket-event-name.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket-event-name.enum.js","sourceRoot":"","sources":["../../../../../src/modules/socket/enums/socket-event-name.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,oDAAiC,CAAA;IACjC,mEAAgD,CAAA;IAChD,qEAAkD,CAAA;IAClD,4CAAyB,CAAA;AAC7B,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B"}
@@ -4,4 +4,6 @@ export * from './interfaces/online-user-data';
4
4
  export * from './interfaces/event-envelope';
5
5
  export * from './interfaces/client-safe-incident';
6
6
  export * from './enums/room-type.enum';
7
+ export * from './enums/redis-channel-name.enum';
8
+ export * from './enums/socket-event-name.enum';
7
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/socket/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/socket/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAElD,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare enum RedisChannelName {
2
+ INCIDENTS = "realtime:incidents",
3
+ WEB_NOTIFICATIONS = "realtime:web-notifications",
4
+ PUSH_NOTIFICATIONS = "realtime:push-notifications",
5
+ TASKS = "realtime:tasks"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum SocketEventName {
2
+ INCIDENT_EVENT = "incident.event",
3
+ WEB_NOTIFICATION_EVENT = "webNotification.event",
4
+ PUSH_NOTIFICATION_EVENT = "pushNotification.event",
5
+ TASK_EVENT = "task.event"
6
+ }
@@ -4,3 +4,5 @@ export * from './interfaces/online-user-data';
4
4
  export * from './interfaces/event-envelope';
5
5
  export * from './interfaces/client-safe-incident';
6
6
  export * from './enums/room-type.enum';
7
+ export * from './enums/redis-channel-name.enum';
8
+ export * from './enums/socket-event-name.enum';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",