Fix public/alpha statuses
This commit is contained in:
@@ -44,7 +44,6 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
|
|||||||
// @alpha
|
// @alpha
|
||||||
readonly extras: ExtrasApi;
|
readonly extras: ExtrasApi;
|
||||||
readonly i18n: I18nApi;
|
readonly i18n: I18nApi;
|
||||||
// Warning: (ae-incompatible-release-tags) The symbol "navigation" is marked as @public, but its signature references "NavigationApi" which is marked as @alpha
|
|
||||||
readonly navigation: NavigationApi;
|
readonly navigation: NavigationApi;
|
||||||
readonly rootNode: HTMLElement;
|
readonly rootNode: HTMLElement;
|
||||||
}
|
}
|
||||||
@@ -288,9 +287,9 @@ export class ModuleLoader {
|
|||||||
start(): Promise<void>;
|
start(): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @alpha
|
// @public
|
||||||
export interface NavigationApi {
|
export interface NavigationApi {
|
||||||
// (undocumented)
|
// @alpha
|
||||||
registerLocationRenderer(path: string, renderer: LocationRenderFunction): void;
|
registerLocationRenderer(path: string, renderer: LocationRenderFunction): void;
|
||||||
toMatrixToLink(link: string, join?: boolean): Promise<void>;
|
toMatrixToLink(link: string, join?: boolean): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export type LocationRenderFunction = () => JSX.Element;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* API methods to navigate the application.
|
* API methods to navigate the application.
|
||||||
* @alpha
|
* @public
|
||||||
*/
|
*/
|
||||||
export interface NavigationApi {
|
export interface NavigationApi {
|
||||||
/**
|
/**
|
||||||
@@ -26,5 +26,11 @@ export interface NavigationApi {
|
|||||||
*/
|
*/
|
||||||
toMatrixToLink(link: string, join?: boolean): Promise<void>;
|
toMatrixToLink(link: string, join?: boolean): Promise<void>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register a renderer for a given location path.
|
||||||
|
* @param path - The location path to register the renderer for.
|
||||||
|
* @param renderer - The function that will render the component for the location.
|
||||||
|
* @alpha
|
||||||
|
*/
|
||||||
registerLocationRenderer(path: string, renderer: LocationRenderFunction): void;
|
registerLocationRenderer(path: string, renderer: LocationRenderFunction): void;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user