feat(medusa, modules-sdk, types, utils): Re work modules loading and remove legacy functions (#5496)

This commit is contained in:
Adrien de Peretti
2023-11-02 17:59:13 +01:00
committed by GitHub
parent ca411e54eb
commit 154c9b43bd
39 changed files with 616 additions and 393 deletions

View File

@@ -53,9 +53,7 @@ export type ConfigModule = {
featureFlags: Record<string, boolean | string>
modules?: Record<
string,
| false
| string
| Partial<InternalModuleDeclaration | ExternalModuleDeclaration>
boolean | Partial<InternalModuleDeclaration | ExternalModuleDeclaration>
>
plugins: (
| {

View File

@@ -23,7 +23,7 @@ export type JoinerRelationship = {
}
export interface JoinerServiceConfigAlias {
name: string
name: string | string[]
/**
* Extra arguments to pass to the remoteFetchData callback
*/