chore(): Allow to register modules through array (#9522)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-10-11 15:17:00 +02:00
1 parent 9c73503084
commit 1d8939df3a
35 files changed
+954 -349

No files matched your search

@@ -30,7 +30,7 @@ moduleIntegrationTestRunner<IStockLocationService>({
linkable: "stock_location_address_id",
entity: "StockLocationAddress",
primaryKey: "id",
serviceName: "StockLocation",
serviceName: "stock_location",
field: "stockLocationAddress",
},
},
@@ -40,13 +40,13 @@ moduleIntegrationTestRunner<IStockLocationService>({
entity: "StockLocation",
linkable: "stock_location_id",
primaryKey: "id",
serviceName: "StockLocation",
serviceName: "stock_location",
},
location_id: {
linkable: "location_id",
entity: "StockLocation",
primaryKey: "location_id",
serviceName: "StockLocation",
serviceName: "stock_location",
field: "stockLocation",
},
},