backend-plugin-api: add initialization to api-report
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -439,6 +439,8 @@ export interface PluginServiceFactoryConfig<
|
||||
context: TContext,
|
||||
): TImpl | Promise<TImpl>;
|
||||
// (undocumented)
|
||||
initialization?: 'always' | 'lazy';
|
||||
// (undocumented)
|
||||
service: ServiceRef<TService, 'plugin'>;
|
||||
}
|
||||
|
||||
@@ -518,6 +520,8 @@ export interface RootServiceFactoryConfig<
|
||||
// (undocumented)
|
||||
factory(deps: ServiceRefsToInstances<TDeps, 'root'>): TImpl | Promise<TImpl>;
|
||||
// (undocumented)
|
||||
initialization?: 'always' | 'lazy';
|
||||
// (undocumented)
|
||||
service: ServiceRef<TService, 'root'>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user