automation/medusa-upstream-review
| 1 | import { defineJoinerConfig, Modules } from "@medusajs/framework/utils" |
| 2 | import { StockLocation } from "./models" |
| 3 | import { default as schema } from "./schema" |
| 4 | |
| 5 | export const joinerConfig = defineJoinerConfig(Modules.STOCK_LOCATION, { |
| 6 | schema, |
| 7 | linkableKeys: { |
| 8 | stock_location_id: StockLocation.name, |
| 9 | location_id: StockLocation.name, |
| 10 | }, |
| 11 | }) |