just some comment cleanup

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-02-01 13:48:51 +01:00
parent bcd8f0b2fe
commit d9c8720dd4
11 changed files with 25 additions and 23 deletions
@@ -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: {
@@ -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>,
) => {