@saihu/common 1.4.9 → 1.5.2

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.
@@ -88,6 +88,8 @@ export declare const RoutingKeys: {
88
88
  readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted";
89
89
  readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted";
90
90
  readonly FOOD_ITEM_UPSERTED: "food.item.upserted";
91
+ readonly FOOD_CATEGORY_UPSERTED: "food.category.upserted";
92
+ readonly SALES_PLAN_UPSERTED: "sales.plan.upserted";
91
93
  readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted";
92
94
  readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted";
93
95
  readonly IM_SHOP_UPSERTED: "im.shop.upserted";
@@ -117,6 +119,8 @@ export declare const RoutingKeys: {
117
119
  readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted.dlq";
118
120
  readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted.dlq";
119
121
  readonly FOOD_ITEM_UPSERTED: "food.item.upserted.dlq";
122
+ readonly FOOD_CATEGORY_UPSERTED: "food.category.upserted.dlq";
123
+ readonly SALES_PLAN_UPSERTED: "sales.plan.upserted.dlq";
120
124
  readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted.dlq";
121
125
  readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted.dlq";
122
126
  readonly IM_SHOP_UPSERTED: "im.shop.upserted.dlq";
@@ -133,7 +137,9 @@ export declare const RoutingKeys: {
133
137
  readonly "scm.data": {
134
138
  readonly SCM_GOOD_UPSERTED: "scm.good.upserted";
135
139
  readonly SCM_GOOD_DELETED: "scm.good.deleted";
140
+ readonly ORGANIZATION_UPSERTED: "organization.upserted";
136
141
  readonly CLIENT_ORGANIZATION_UPSERTED: "client.organization.upserted";
142
+ readonly CLIENT_TIER_UPSERTED: "client.tier.upserted";
137
143
  readonly GOOD_UPSERTED: "good.upserted";
138
144
  readonly GOOD_DELETED: "good.deleted";
139
145
  readonly GOOD_CATEGORY_UPSERTED: "good.category.upserted";
@@ -151,6 +157,8 @@ export declare const RoutingKeys: {
151
157
  readonly SCM_GOOD_UPSERTED: "scm.good.upserted.dlq";
152
158
  readonly SCM_GOOD_DELETED: "scm.good.deleted.dlq";
153
159
  readonly CLIENT_ORGANIZATION_UPSERTED: "client.organization.upserted.dlq";
160
+ readonly CLIENT_TIER_UPSERTED: "client.tier.upserted.dlq";
161
+ readonly ORGANIZATION_UPSERTED: "organization.upserted.dlq";
154
162
  readonly GOOD_UPSERTED: "good.upserted.dlq";
155
163
  readonly GOOD_DELETED: "good.deleted.dlq";
156
164
  readonly GOOD_CATEGORY_UPSERTED: "good.category.upserted.dlq";
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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IACvD,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiLd,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,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAsBF,CAAC;AAEF,eAAO,MAAM,CAAC,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,WAAyB,CAAC"}
@@ -92,6 +92,8 @@ exports.RoutingKeys = {
92
92
  GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted',
93
93
  GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted',
94
94
  FOOD_ITEM_UPSERTED: 'food.item.upserted',
95
+ FOOD_CATEGORY_UPSERTED: 'food.category.upserted',
96
+ SALES_PLAN_UPSERTED: 'sales.plan.upserted',
95
97
  SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted',
96
98
  SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted',
97
99
  IM_SHOP_UPSERTED: 'im.shop.upserted',
@@ -121,6 +123,8 @@ exports.RoutingKeys = {
121
123
  GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted.dlq',
122
124
  GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted.dlq',
123
125
  FOOD_ITEM_UPSERTED: 'food.item.upserted.dlq',
126
+ FOOD_CATEGORY_UPSERTED: 'food.category.upserted.dlq',
127
+ SALES_PLAN_UPSERTED: 'sales.plan.upserted.dlq',
124
128
  SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted.dlq',
125
129
  SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted.dlq',
126
130
  IM_SHOP_UPSERTED: 'im.shop.upserted.dlq',
@@ -137,7 +141,9 @@ exports.RoutingKeys = {
137
141
  [Exchanges.SCM_DATA]: {
138
142
  SCM_GOOD_UPSERTED: 'scm.good.upserted',
139
143
  SCM_GOOD_DELETED: 'scm.good.deleted',
144
+ ORGANIZATION_UPSERTED: 'organization.upserted',
140
145
  CLIENT_ORGANIZATION_UPSERTED: 'client.organization.upserted',
146
+ CLIENT_TIER_UPSERTED: 'client.tier.upserted',
141
147
  GOOD_UPSERTED: 'good.upserted',
142
148
  GOOD_DELETED: 'good.deleted',
143
149
  GOOD_CATEGORY_UPSERTED: 'good.category.upserted',
@@ -155,6 +161,8 @@ exports.RoutingKeys = {
155
161
  SCM_GOOD_UPSERTED: 'scm.good.upserted.dlq',
156
162
  SCM_GOOD_DELETED: 'scm.good.deleted.dlq',
157
163
  CLIENT_ORGANIZATION_UPSERTED: 'client.organization.upserted.dlq',
164
+ CLIENT_TIER_UPSERTED: 'client.tier.upserted.dlq',
165
+ ORGANIZATION_UPSERTED: 'organization.upserted.dlq',
158
166
  GOOD_UPSERTED: 'good.upserted.dlq',
159
167
  GOOD_DELETED: 'good.deleted.dlq',
160
168
  GOOD_CATEGORY_UPSERTED: 'good.category.upserted.dlq',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saihu/common",
3
- "version": "1.4.9",
3
+ "version": "1.5.2",
4
4
  "description": "Common utilities for NestJS applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",