mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
All Clients - Route data typing clean up (#11265)
This commit is contained in:
@@ -15,9 +15,15 @@ import {
|
||||
/**
|
||||
* Data properties acceptable for use in route objects (see usage in oss-routing.module.ts for example)
|
||||
*/
|
||||
export interface DataProperties {
|
||||
titleId?: string; // sets the title of the current HTML document (shows in browser tab)
|
||||
doNotSaveUrl?: boolean; // choose to not keep track of the previous URL in memory
|
||||
export interface RouteDataProperties {
|
||||
/**
|
||||
* Title of the current HTML document (shows in browser tab)
|
||||
*/
|
||||
titleId?: string;
|
||||
/**
|
||||
* doNotSaveUrl - choose to not keep track of the previous URL in memory in the RouterService
|
||||
*/
|
||||
doNotSaveUrl?: boolean;
|
||||
}
|
||||
|
||||
const DEEP_LINK_REDIRECT_URL = new KeyDefinition(ROUTER_DISK, "deepLinkRedirectUrl", {
|
||||
|
||||
Reference in New Issue
Block a user