* chore: make module loaders DML aware and auto generate joiner config * fixes and cleanup * improve dml entity check * add unit tests on load resources * cleanup deps * cleanup deps * cleanup Modules * finalise * fix modules-sdk jest * fix modules-sdk jest * fix import * fix import
14 lines
329 B
TypeScript
14 lines
329 B
TypeScript
import {
|
|
buildEntitiesNameToLinkableKeysMap,
|
|
defineJoinerConfig,
|
|
MapToConfig,
|
|
Modules,
|
|
} from "@medusajs/utils"
|
|
|
|
export const joinerConfig = defineJoinerConfig(Modules.FILE, {
|
|
entityQueryingConfig: [{ name: "File" }],
|
|
})
|
|
|
|
export const entityNameToLinkableKeysMap: MapToConfig =
|
|
buildEntitiesNameToLinkableKeysMap({})
|