update API reports + fixes

Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-09 16:15:09 +02:00
parent 2a29d24519
commit 06ad1b16de
4 changed files with 77 additions and 39 deletions
@@ -28,3 +28,4 @@ export { permissionsServiceRef } from './permissionsServiceRef';
export { schedulerServiceRef } from './schedulerServiceRef';
export { rootLoggerServiceRef } from './rootLoggerServiceRef';
export { pluginMetadataServiceRef } from './pluginMetadataServiceRef';
export type { PluginMetadata } from './pluginMetadataServiceRef';
@@ -69,9 +69,7 @@ export type ServiceFactory<TService = unknown> =
>;
};
/**
* @public
*/
/** @public */
export function createServiceRef<T>(options: {
id: string;
scope?: 'plugin';
@@ -79,6 +77,7 @@ export function createServiceRef<T>(options: {
service: ServiceRef<T, 'plugin'>,
) => Promise<ServiceFactory<T> | (() => ServiceFactory<T>)>;
}): ServiceRef<T, 'plugin'>;
/** @public */
export function createServiceRef<T>(options: {
id: string;
scope: 'root';