@be-link/ecommerce-client-backend-service-node-sdk 0.1.21 → 0.1.22

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.
Files changed (3) hide show
  1. package/enum.d.ts +6 -4
  2. package/enum.js +3 -1
  3. package/package.json +1 -1
package/enum.d.ts CHANGED
@@ -214,20 +214,22 @@ export declare namespace ENUM {
214
214
  enum TOPIC {
215
215
  UserReport = "user-report",
216
216
  TaskDuration = "task-duration",
217
- TotalDuration = "total-duration"
217
+ TotalDuration = "total-duration",
218
+ /** 任务时长生产者 */
219
+ TaskDurationPublish = "task-duration-publish"
218
220
  }
219
221
  /**
220
222
  * 路由键
221
223
  */
222
224
  enum ROUTING_KEY {
223
- UserReport = "user.report"
225
+ UserReport = "user.report",
226
+ TaskDuration = "task.duration"
224
227
  }
225
228
  /**
226
229
  * 队列
227
230
  */
228
231
  enum QUEUE {
229
- TotalDuration = "total-duration",
230
- TaskDuration = "task-duration"
232
+ TotalDuration = "total-duration"
231
233
  }
232
234
  }
233
235
  /**
package/enum.js CHANGED
@@ -244,6 +244,8 @@ var ENUM;
244
244
  TOPIC["UserReport"] = "user-report";
245
245
  TOPIC["TaskDuration"] = "task-duration";
246
246
  TOPIC["TotalDuration"] = "total-duration";
247
+ /** 任务时长生产者 */
248
+ TOPIC["TaskDurationPublish"] = "task-duration-publish";
247
249
  })(TOPIC = MQ.TOPIC || (MQ.TOPIC = {}));
248
250
  /**
249
251
  * 路由键
@@ -251,6 +253,7 @@ var ENUM;
251
253
  let ROUTING_KEY;
252
254
  (function (ROUTING_KEY) {
253
255
  ROUTING_KEY["UserReport"] = "user.report";
256
+ ROUTING_KEY["TaskDuration"] = "task.duration";
254
257
  })(ROUTING_KEY = MQ.ROUTING_KEY || (MQ.ROUTING_KEY = {}));
255
258
  /**
256
259
  * 队列
@@ -258,7 +261,6 @@ var ENUM;
258
261
  let QUEUE;
259
262
  (function (QUEUE) {
260
263
  QUEUE["TotalDuration"] = "total-duration";
261
- QUEUE["TaskDuration"] = "task-duration";
262
264
  })(QUEUE = MQ.QUEUE || (MQ.QUEUE = {}));
263
265
  })(MQ = ENUM.MQ || (ENUM.MQ = {}));
264
266
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-client-backend-service-node-sdk",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",