1 import { defineJoinerConfig, Modules } from "@medusajs/framework/utils"
2
3 /**
4 * Nothing here is queryable or linkable — `SearchIndex` and `SearchIndexSync` are
5 * the module's own bookkeeping. `models: []` has to be explicit: otherwise
6 * `defineJoinerConfig` discovers `src/models` from disk and makes it all linkable,
7 * whether or not the models were passed to `MedusaService`.
8 */
9 export const joinerConfig = defineJoinerConfig(Modules.SEARCH, { models: [] })