feat(*): Modules export entities and fields (#5242)
This commit is contained in:
committed by
GitHub
parent
eeceec791c
commit
130cbc1f43
@@ -16,11 +16,11 @@ export const InventoryModule = {
|
||||
__joinerConfig: {
|
||||
serviceName: "inventoryService",
|
||||
primaryKeys: ["id"],
|
||||
linkableKeys: [
|
||||
"inventory_item_id",
|
||||
"inventory_level_id",
|
||||
"reservation_item_id",
|
||||
],
|
||||
linkableKeys: {
|
||||
inventory_item_id: "InventoryItem",
|
||||
inventory_level_id: "InventoryLevel",
|
||||
reservation_item_id: "ReservationItem",
|
||||
},
|
||||
},
|
||||
|
||||
softDelete: jest.fn(() => {}),
|
||||
|
||||
@@ -16,7 +16,7 @@ export const ProductModule = {
|
||||
__joinerConfig: {
|
||||
serviceName: "productService",
|
||||
primaryKeys: ["id", "handle"],
|
||||
linkableKeys: ["product_id", "variant_id"],
|
||||
linkableKeys: { product_id: "Product", variant_id: "ProductVariant" },
|
||||
alias: [],
|
||||
},
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export const StockLocationModule = {
|
||||
__joinerConfig: {
|
||||
serviceName: "stockLocationService",
|
||||
primaryKeys: ["id"],
|
||||
linkableKeys: ["stock_location_id"],
|
||||
linkableKeys: { stock_location_id: "StockLocation" },
|
||||
alias: [],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user