feat(*): Modules export entities and fields (#5242)
This commit is contained in:
1 parent
eeceec791c
commit
130cbc1f43
27 files changed
+801
-226
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { ModuleJoinerConfig } from "@medusajs/types"
|
||||
import { Modules } from "@medusajs/modules-sdk"
|
||||
import { StockLocation } from "./models"
|
||||
|
||||
export const joinerConfig: ModuleJoinerConfig = {
|
||||
serviceName: Modules.STOCK_LOCATION,
|
||||
primaryKeys: ["id"],
|
||||
linkableKeys: ["stock_location_id"],
|
||||
linkableKeys: { stock_location_id: StockLocation.name },
|
||||
alias: [
|
||||
{
|
||||
name: "stock_location",
|
||||
|
||||
Reference in new issue
Block a user