@saihu/common 1.2.6 → 1.2.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.
@@ -93,22 +93,30 @@ export declare const RoutingKeys: {
93
93
  readonly "scm.data": {
94
94
  readonly SCM_GOOD_UPSERTED: "scm.good.upserted";
95
95
  readonly SCM_GOOD_DELETED: "scm.good.deleted";
96
+ readonly GOOD_UPSERTED: "good.upserted";
97
+ readonly GOOD_DELETED: "good.deleted";
96
98
  readonly SCM_SHOP_UPSERTED: "scm.shop.upserted";
97
99
  readonly SCM_SHOP_DELETED: "scm.shop.deleted";
98
100
  readonly SCM_REGION_UPSERTED: "scm.region.upserted";
99
101
  readonly SCM_REGION_DELETED: "scm.region.deleted";
100
102
  readonly SCM_CITY_UPSERTED: "scm.city.upserted";
101
103
  readonly SCM_CITY_DELETED: "scm.city.deleted";
104
+ readonly SCM_LOCATION_UPSERTED: "scm.location.upserted";
105
+ readonly SCM_LOCATION_DELETED: "scm.location.deleted";
102
106
  };
103
107
  readonly "scm.data.dlx": {
104
108
  readonly SCM_GOOD_UPSERTED: "scm.good.upserted.dlq";
105
109
  readonly SCM_GOOD_DELETED: "scm.good.deleted.dlq";
110
+ readonly GOOD_UPSERTED: "good.upserted.dlq";
111
+ readonly GOOD_DELETED: "good.deleted.dlq";
106
112
  readonly SCM_SHOP_UPSERTED: "scm.shop.upserted.dlq";
107
113
  readonly SCM_SHOP_DELETED: "scm.shop.deleted.dlq";
108
114
  readonly SCM_REGION_UPSERTED: "scm.region.upserted.dlq";
109
115
  readonly SCM_REGION_DELETED: "scm.region.deleted.dlq";
110
116
  readonly SCM_CITY_UPSERTED: "scm.city.upserted.dlq";
111
117
  readonly SCM_CITY_DELETED: "scm.city.deleted.dlq";
118
+ readonly SCM_LOCATION_UPSERTED: "scm.location.upserted.dlq";
119
+ readonly SCM_LOCATION_DELETED: "scm.location.deleted.dlq";
112
120
  };
113
121
  readonly "scm.procurement.order": {
114
122
  readonly SCM_PROCUREMENT_ORDER_CREATED: "scm.procurement.order.created";
@@ -1 +1 @@
1
- {"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../../src/messaging/topology.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErE,oBAAY,SAAS;IACnB,oBAAoB,yBAAyB;IAC7C,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,iBAAiB,sBAAsB;IACvC,QAAQ,aAAa;IACrB,qBAAqB,0BAA0B;IAC/C,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IAGjB,wBAAwB,6BAA6B;IACrD,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,WAAW,gBAAgB;IAC3B,qBAAqB,0BAA0B;IAC/C,YAAY,iBAAiB;IAC7B,yBAAyB,8BAA8B;IACvD,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHd,CAAC;AAEX,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,SAAS,IACpD,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY,CAsBzD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,SAAS,EACT;IACE,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CA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AAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAsBF,CAAC;AAEF,eAAO,MAAM,CAAC,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,WAAyB,CAAC"}
@@ -97,22 +97,30 @@ exports.RoutingKeys = {
97
97
  [Exchanges.SCM_DATA]: {
98
98
  SCM_GOOD_UPSERTED: 'scm.good.upserted',
99
99
  SCM_GOOD_DELETED: 'scm.good.deleted',
100
+ GOOD_UPSERTED: 'good.upserted',
101
+ GOOD_DELETED: 'good.deleted',
100
102
  SCM_SHOP_UPSERTED: 'scm.shop.upserted',
101
103
  SCM_SHOP_DELETED: 'scm.shop.deleted',
102
104
  SCM_REGION_UPSERTED: 'scm.region.upserted',
103
105
  SCM_REGION_DELETED: 'scm.region.deleted',
104
106
  SCM_CITY_UPSERTED: 'scm.city.upserted',
105
107
  SCM_CITY_DELETED: 'scm.city.deleted',
108
+ SCM_LOCATION_UPSERTED: 'scm.location.upserted',
109
+ SCM_LOCATION_DELETED: 'scm.location.deleted',
106
110
  },
107
111
  [Exchanges.SCM_DATA_DLX]: {
108
112
  SCM_GOOD_UPSERTED: 'scm.good.upserted.dlq',
109
113
  SCM_GOOD_DELETED: 'scm.good.deleted.dlq',
114
+ GOOD_UPSERTED: 'good.upserted.dlq',
115
+ GOOD_DELETED: 'good.deleted.dlq',
110
116
  SCM_SHOP_UPSERTED: 'scm.shop.upserted.dlq',
111
117
  SCM_SHOP_DELETED: 'scm.shop.deleted.dlq',
112
118
  SCM_REGION_UPSERTED: 'scm.region.upserted.dlq',
113
119
  SCM_REGION_DELETED: 'scm.region.deleted.dlq',
114
120
  SCM_CITY_UPSERTED: 'scm.city.upserted.dlq',
115
121
  SCM_CITY_DELETED: 'scm.city.deleted.dlq',
122
+ SCM_LOCATION_UPSERTED: 'scm.location.upserted.dlq',
123
+ SCM_LOCATION_DELETED: 'scm.location.deleted.dlq',
116
124
  },
117
125
  [Exchanges.SCM_PROCUREMENT_ORDER]: {
118
126
  SCM_PROCUREMENT_ORDER_CREATED: 'scm.procurement.order.created',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saihu/common",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "Common utilities for NestJS applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",