@saihu/common 1.3.2 → 1.3.4

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.
@@ -75,20 +75,34 @@ export declare const RoutingKeys: {
75
75
  readonly SUPPLIER_ITEM_CATEGORIES_UPSERTED: "supplier.item.categories.upserted";
76
76
  readonly GENERIC_ITEM_UPSERTED: "generic.item.upserted";
77
77
  readonly GENERIC_ITEM_DELETED: "generic.item.deleted";
78
+ readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted";
79
+ readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted";
78
80
  readonly FOOD_ITEM_UPSERTED: "food.item.upserted";
79
81
  readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted";
80
82
  readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted";
81
83
  readonly IM_SHOP_UPSERTED: "im.shop.upserted";
82
84
  readonly IM_SHOP_DELETED: "im.shop.deleted";
85
+ readonly EMPLOYEE_UPSERTED: "employee.upserted";
86
+ readonly EMPLOYEE_DELETED: "employee.deleted";
87
+ readonly EMPLOYEE_BANK_ACCOUNT_UPSERTED: "employee.bank.account.upserted";
88
+ readonly EMPLOYEE_BANK_ACCOUNT_DELETED: "employee.bank.account.deleted";
83
89
  };
84
90
  readonly "im.data.dlx": {
85
91
  readonly SUPPLIER_ITEMS_UPSERTED: "supplier.items.upserted.dlq";
86
92
  readonly SUPPLIER_ITEM_CATEGORIES_UPSERTED: "supplier.item.categories.upserted.dlq";
87
93
  readonly GENERIC_ITEM_UPSERTED: "generic.item.upserted.dlq";
88
94
  readonly GENERIC_ITEM_DELETED: "generic.item.deleted.dlq";
95
+ readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted.dlq";
96
+ readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted.dlq";
89
97
  readonly FOOD_ITEM_UPSERTED: "food.item.upserted.dlq";
90
98
  readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted.dlq";
91
99
  readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted.dlq";
100
+ readonly IM_SHOP_UPSERTED: "im.shop.upserted.dlq";
101
+ readonly IM_SHOP_DELETED: "im.shop.deleted.dlq";
102
+ readonly EMPLOYEE_UPSERTED: "employee.upserted.dlq";
103
+ readonly EMPLOYEE_DELETED: "employee.deleted.dlq";
104
+ readonly EMPLOYEE_BANK_ACCOUNT_UPSERTED: "employee.bank.account.upserted.dlq";
105
+ readonly EMPLOYEE_BANK_ACCOUNT_DELETED: "employee.bank.account.deleted.dlq";
92
106
  };
93
107
  readonly "scm.data": {
94
108
  readonly SCM_GOOD_UPSERTED: "scm.good.upserted";
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Id,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"}
@@ -79,20 +79,34 @@ exports.RoutingKeys = {
79
79
  SUPPLIER_ITEM_CATEGORIES_UPSERTED: 'supplier.item.categories.upserted',
80
80
  GENERIC_ITEM_UPSERTED: 'generic.item.upserted',
81
81
  GENERIC_ITEM_DELETED: 'generic.item.deleted',
82
+ GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted',
83
+ GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted',
82
84
  FOOD_ITEM_UPSERTED: 'food.item.upserted',
83
85
  SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted',
84
86
  SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted',
85
87
  IM_SHOP_UPSERTED: 'im.shop.upserted',
86
88
  IM_SHOP_DELETED: 'im.shop.deleted',
89
+ EMPLOYEE_UPSERTED: 'employee.upserted',
90
+ EMPLOYEE_DELETED: 'employee.deleted',
91
+ EMPLOYEE_BANK_ACCOUNT_UPSERTED: 'employee.bank.account.upserted',
92
+ EMPLOYEE_BANK_ACCOUNT_DELETED: 'employee.bank.account.deleted',
87
93
  },
88
94
  [Exchanges.IM_DATA_DLX]: {
89
95
  SUPPLIER_ITEMS_UPSERTED: 'supplier.items.upserted.dlq',
90
96
  SUPPLIER_ITEM_CATEGORIES_UPSERTED: 'supplier.item.categories.upserted.dlq',
91
97
  GENERIC_ITEM_UPSERTED: 'generic.item.upserted.dlq',
92
98
  GENERIC_ITEM_DELETED: 'generic.item.deleted.dlq',
99
+ GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted.dlq',
100
+ GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted.dlq',
93
101
  FOOD_ITEM_UPSERTED: 'food.item.upserted.dlq',
94
102
  SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted.dlq',
95
103
  SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted.dlq',
104
+ IM_SHOP_UPSERTED: 'im.shop.upserted.dlq',
105
+ IM_SHOP_DELETED: 'im.shop.deleted.dlq',
106
+ EMPLOYEE_UPSERTED: 'employee.upserted.dlq',
107
+ EMPLOYEE_DELETED: 'employee.deleted.dlq',
108
+ EMPLOYEE_BANK_ACCOUNT_UPSERTED: 'employee.bank.account.upserted.dlq',
109
+ EMPLOYEE_BANK_ACCOUNT_DELETED: 'employee.bank.account.deleted.dlq',
96
110
  },
97
111
  [Exchanges.SCM_DATA]: {
98
112
  SCM_GOOD_UPSERTED: 'scm.good.upserted',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saihu/common",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Common utilities for NestJS applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",