feat(modules-sdk): Module provider plugin loader (#6286)

This commit is contained in:
Oli Juhl authored and GitHub committed 2024-02-01 17:03:31 +01:00
1 parent 45134e4d11
commit 3a103f0c36
13 files changed
+255 -6

No files matched your search

+10
View File
@@ -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>
}