npm package diff
Package: @forge/bridge
Versions: 4.3.0 - 4.3.0-next.0-experimental-d6acbbd
File: package/out/router/router.d.ts
Index: package/out/router/router.d.ts
===================================================================
--- package/out/router/router.d.ts
+++ package/out/router/router.d.ts
@@ -1,6 +1,20 @@
+import { NavigationLocation } from './types';
+declare type Navigate = (location: string | NavigationLocation) => Promise<void>;
export declare const router: {
- navigate: (url: string) => Promise<void>;
- open: (url: string) => Promise<void>;
+ navigate: Navigate;
+ open: Navigate;
reload: () => Promise<void>;
+ NAVIGATION_TARGET: {
+ readonly CONTENT_VIEW: "contentView";
+ readonly CONTENT_EDIT: "contentEdit";
+ readonly CONTENT_LIST: "contentList";
+ readonly SPACE_VIEW: "spaceView";
+ readonly MODULE: "module";
+ readonly USER_PROFILE: "userProfile";
+ readonly DASHBOARD: "dashboard";
+ readonly ISSUE: "issue";
+ readonly PROJECT_SETTINGS_DETAILS: "projectSettingsDetails";
+ };
};
+export {};
//# sourceMappingURL=router.d.ts.map
\ No newline at end of file