feat(modules-sdk): Module provider plugin loader (#6286)
This commit is contained in:
1 parent
45134e4d11
commit
3a103f0c36
13 files changed
+255
-6
No files matched your search
@@ -290,3 +290,13 @@ export interface IModuleService {
|
||||
onApplicationStart?: () => Promise<void>
|
||||
}
|
||||
}
|
||||
|
||||
export type ModuleProviderExports = {
|
||||
services: Constructor<any>[]
|
||||
}
|
||||
|
||||
export type ModuleProvider = {
|
||||
resolve: string | ModuleProviderExports
|
||||
provider_name?: string
|
||||
options: Record<string, unknown>
|
||||
}
|
||||
Reference in new issue
Block a user