@saihu/common 1.5.0 → 1.5.3
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.
|
@@ -77,6 +77,7 @@ export declare const RoutingKeys: {
|
|
|
77
77
|
readonly APPROVAL_REQUESTED: "approval.requested";
|
|
78
78
|
readonly APPROVAL_REJECTED: "approval.rejected";
|
|
79
79
|
readonly CITY_UPSERTED: "city.upserted";
|
|
80
|
+
readonly SUPPLIER_UPSERTED: "supplier.upserted";
|
|
80
81
|
readonly SUPPLIER_ITEMS_UPSERTED: "supplier.items.upserted";
|
|
81
82
|
readonly SUPPLIER_ITEM_CATEGORIES_UPSERTED: "supplier.item.categories.upserted";
|
|
82
83
|
readonly STANDARD_UNITS_UPSERTED: "standard.units.upserted";
|
|
@@ -88,6 +89,8 @@ export declare const RoutingKeys: {
|
|
|
88
89
|
readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted";
|
|
89
90
|
readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted";
|
|
90
91
|
readonly FOOD_ITEM_UPSERTED: "food.item.upserted";
|
|
92
|
+
readonly FOOD_CATEGORY_UPSERTED: "food.category.upserted";
|
|
93
|
+
readonly SALES_PLAN_UPSERTED: "sales.plan.upserted";
|
|
91
94
|
readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted";
|
|
92
95
|
readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted";
|
|
93
96
|
readonly IM_SHOP_UPSERTED: "im.shop.upserted";
|
|
@@ -106,6 +109,7 @@ export declare const RoutingKeys: {
|
|
|
106
109
|
readonly APPROVAL_REQUESTED: "approval.requested.dlq";
|
|
107
110
|
readonly APPROVAL_REJECTED: "approval.rejected.dlq";
|
|
108
111
|
readonly CITY_UPSERTED: "city.upserted.dlq";
|
|
112
|
+
readonly SUPPLIER_UPSERTED: "supplier.upserted.dlq";
|
|
109
113
|
readonly SUPPLIER_ITEMS_UPSERTED: "supplier.items.upserted.dlq";
|
|
110
114
|
readonly SUPPLIER_ITEM_CATEGORIES_UPSERTED: "supplier.item.categories.upserted.dlq";
|
|
111
115
|
readonly STANDARD_UNITS_UPSERTED: "standard.units.upserted.dlq";
|
|
@@ -117,6 +121,8 @@ export declare const RoutingKeys: {
|
|
|
117
121
|
readonly GENERIC_ITEM_CATEGORY_UPSERTED: "generic.item.category.upserted.dlq";
|
|
118
122
|
readonly GENERIC_ITEM_CATEGORY_DELETED: "generic.item.category.deleted.dlq";
|
|
119
123
|
readonly FOOD_ITEM_UPSERTED: "food.item.upserted.dlq";
|
|
124
|
+
readonly FOOD_CATEGORY_UPSERTED: "food.category.upserted.dlq";
|
|
125
|
+
readonly SALES_PLAN_UPSERTED: "sales.plan.upserted.dlq";
|
|
120
126
|
readonly SHOP_SPECIALTY_ITEM_UPSERTED: "shop.specialty.item.upserted.dlq";
|
|
121
127
|
readonly SHOP_SPECIALTY_ITEM_DELETED: "shop.specialty.item.deleted.dlq";
|
|
122
128
|
readonly IM_SHOP_UPSERTED: "im.shop.upserted.dlq";
|
|
@@ -133,6 +139,7 @@ export declare const RoutingKeys: {
|
|
|
133
139
|
readonly "scm.data": {
|
|
134
140
|
readonly SCM_GOOD_UPSERTED: "scm.good.upserted";
|
|
135
141
|
readonly SCM_GOOD_DELETED: "scm.good.deleted";
|
|
142
|
+
readonly ORGANIZATION_UPSERTED: "organization.upserted";
|
|
136
143
|
readonly CLIENT_ORGANIZATION_UPSERTED: "client.organization.upserted";
|
|
137
144
|
readonly CLIENT_TIER_UPSERTED: "client.tier.upserted";
|
|
138
145
|
readonly GOOD_UPSERTED: "good.upserted";
|
|
@@ -153,6 +160,7 @@ export declare const RoutingKeys: {
|
|
|
153
160
|
readonly SCM_GOOD_DELETED: "scm.good.deleted.dlq";
|
|
154
161
|
readonly CLIENT_ORGANIZATION_UPSERTED: "client.organization.upserted.dlq";
|
|
155
162
|
readonly CLIENT_TIER_UPSERTED: "client.tier.upserted.dlq";
|
|
163
|
+
readonly ORGANIZATION_UPSERTED: "organization.upserted.dlq";
|
|
156
164
|
readonly GOOD_UPSERTED: "good.upserted.dlq";
|
|
157
165
|
readonly GOOD_DELETED: "good.deleted.dlq";
|
|
158
166
|
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
|
|
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;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85
|
SUPPLIER_ITEMS_UPSERTED: 'supplier.items.upserted',
|
|
85
86
|
SUPPLIER_ITEM_CATEGORIES_UPSERTED: 'supplier.item.categories.upserted',
|
|
86
87
|
STANDARD_UNITS_UPSERTED: 'standard.units.upserted',
|
|
@@ -92,6 +93,8 @@ exports.RoutingKeys = {
|
|
|
92
93
|
GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted',
|
|
93
94
|
GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted',
|
|
94
95
|
FOOD_ITEM_UPSERTED: 'food.item.upserted',
|
|
96
|
+
FOOD_CATEGORY_UPSERTED: 'food.category.upserted',
|
|
97
|
+
SALES_PLAN_UPSERTED: 'sales.plan.upserted',
|
|
95
98
|
SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted',
|
|
96
99
|
SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted',
|
|
97
100
|
IM_SHOP_UPSERTED: 'im.shop.upserted',
|
|
@@ -110,6 +113,7 @@ exports.RoutingKeys = {
|
|
|
110
113
|
APPROVAL_REQUESTED: 'approval.requested.dlq',
|
|
111
114
|
APPROVAL_REJECTED: 'approval.rejected.dlq',
|
|
112
115
|
CITY_UPSERTED: 'city.upserted.dlq',
|
|
116
|
+
SUPPLIER_UPSERTED: 'supplier.upserted.dlq',
|
|
113
117
|
SUPPLIER_ITEMS_UPSERTED: 'supplier.items.upserted.dlq',
|
|
114
118
|
SUPPLIER_ITEM_CATEGORIES_UPSERTED: 'supplier.item.categories.upserted.dlq',
|
|
115
119
|
STANDARD_UNITS_UPSERTED: 'standard.units.upserted.dlq',
|
|
@@ -121,6 +125,8 @@ exports.RoutingKeys = {
|
|
|
121
125
|
GENERIC_ITEM_CATEGORY_UPSERTED: 'generic.item.category.upserted.dlq',
|
|
122
126
|
GENERIC_ITEM_CATEGORY_DELETED: 'generic.item.category.deleted.dlq',
|
|
123
127
|
FOOD_ITEM_UPSERTED: 'food.item.upserted.dlq',
|
|
128
|
+
FOOD_CATEGORY_UPSERTED: 'food.category.upserted.dlq',
|
|
129
|
+
SALES_PLAN_UPSERTED: 'sales.plan.upserted.dlq',
|
|
124
130
|
SHOP_SPECIALTY_ITEM_UPSERTED: 'shop.specialty.item.upserted.dlq',
|
|
125
131
|
SHOP_SPECIALTY_ITEM_DELETED: 'shop.specialty.item.deleted.dlq',
|
|
126
132
|
IM_SHOP_UPSERTED: 'im.shop.upserted.dlq',
|
|
@@ -137,6 +143,7 @@ exports.RoutingKeys = {
|
|
|
137
143
|
[Exchanges.SCM_DATA]: {
|
|
138
144
|
SCM_GOOD_UPSERTED: 'scm.good.upserted',
|
|
139
145
|
SCM_GOOD_DELETED: 'scm.good.deleted',
|
|
146
|
+
ORGANIZATION_UPSERTED: 'organization.upserted',
|
|
140
147
|
CLIENT_ORGANIZATION_UPSERTED: 'client.organization.upserted',
|
|
141
148
|
CLIENT_TIER_UPSERTED: 'client.tier.upserted',
|
|
142
149
|
GOOD_UPSERTED: 'good.upserted',
|
|
@@ -157,6 +164,7 @@ exports.RoutingKeys = {
|
|
|
157
164
|
SCM_GOOD_DELETED: 'scm.good.deleted.dlq',
|
|
158
165
|
CLIENT_ORGANIZATION_UPSERTED: 'client.organization.upserted.dlq',
|
|
159
166
|
CLIENT_TIER_UPSERTED: 'client.tier.upserted.dlq',
|
|
167
|
+
ORGANIZATION_UPSERTED: 'organization.upserted.dlq',
|
|
160
168
|
GOOD_UPSERTED: 'good.upserted.dlq',
|
|
161
169
|
GOOD_DELETED: 'good.deleted.dlq',
|
|
162
170
|
GOOD_CATEGORY_UPSERTED: 'good.category.upserted.dlq',
|