just some comment cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -21,7 +21,8 @@ import {
|
||||
|
||||
/**
|
||||
* Allows plugins to register shutdown hooks that are run when the process is about to exit.
|
||||
* @public */
|
||||
* @public
|
||||
*/
|
||||
export const lifecycleFactory = createServiceFactory({
|
||||
service: coreServices.lifecycle,
|
||||
deps: {
|
||||
|
||||
+3
-1
@@ -58,7 +58,9 @@ export class BackendLifecycleImpl implements RootLifecycleService {
|
||||
|
||||
/**
|
||||
* Allows plugins to register shutdown hooks that are run when the process is about to exit.
|
||||
* @public */
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export const rootLifecycleFactory = createServiceFactory({
|
||||
service: coreServices.rootLifecycle,
|
||||
deps: {
|
||||
|
||||
@@ -18,7 +18,7 @@ import { LoggerService } from './LoggerService';
|
||||
|
||||
/**
|
||||
* @public
|
||||
**/
|
||||
*/
|
||||
export type LifecycleServiceShutdownHook = {
|
||||
fn: () => void | Promise<void>;
|
||||
|
||||
@@ -30,7 +30,7 @@ export type LifecycleServiceShutdownHook = {
|
||||
|
||||
/**
|
||||
* @public
|
||||
**/
|
||||
*/
|
||||
export interface LifecycleService {
|
||||
/**
|
||||
* Register a function to be called when the backend is shutting down.
|
||||
|
||||
@@ -32,7 +32,7 @@ export type SubmenuOptions = {
|
||||
drawerWidthOpen?: number;
|
||||
};
|
||||
|
||||
/** @internal **/
|
||||
/** @internal */
|
||||
export type SidebarConfig = {
|
||||
drawerWidthClosed: number;
|
||||
drawerWidthOpen: number;
|
||||
@@ -78,7 +78,7 @@ export const makeSidebarConfig = (
|
||||
sidebarConfig.drawerWidthClosed - sidebarConfig.userBadgePadding * 2,
|
||||
});
|
||||
|
||||
/** @internal **/
|
||||
/** @internal */
|
||||
export type SubmenuConfig = {
|
||||
drawerWidthClosed: number;
|
||||
drawerWidthOpen: number;
|
||||
|
||||
@@ -119,7 +119,7 @@ export class TestApiRegistry implements ApiHolder {
|
||||
* implements a subset of the `IdentityApi`.
|
||||
*
|
||||
* @public
|
||||
**/
|
||||
*/
|
||||
export const TestApiProvider = <T extends any[]>(
|
||||
props: TestApiProviderProps<T>,
|
||||
) => {
|
||||
|
||||
Reference in New Issue
Block a user