npm package diff

Package: @forge/bridge

Versions: 4.3.0 - 4.3.0-next.0-experimental-d6acbbd

File: package/out/router/types.d.ts

Index: package/out/router/types.d.ts
===================================================================
--- package/out/router/types.d.ts
+++ package/out/router/types.d.ts
@@ -0,0 +1,49 @@
+import { NAVIGATION_TARGET } from './targets';
+declare type ContentView = {
+    target: typeof NAVIGATION_TARGET.CONTENT_VIEW;
+    contentId: string;
+    version?: string;
+};
+declare type ContentEdit = {
+    target: typeof NAVIGATION_TARGET.CONTENT_EDIT;
+    contentId: string;
+};
+declare type SpaceView = {
+    target: typeof NAVIGATION_TARGET.SPACE_VIEW;
+    spaceKey: string;
+};
+declare type ContentList = {
+    target: typeof NAVIGATION_TARGET.CONTENT_LIST;
+    contentType: 'page' | 'blogpost' | 'customContent';
+} & ({
+    contentType: 'page' | 'blogpost';
+    spaceKey: string;
+} | {
+    contentType: 'customContent';
+    moduleKey: string;
+});
+declare type Module = {
+    target: typeof NAVIGATION_TARGET.MODULE;
+    moduleKey: string;
+    spaceKey?: string;
+    projectKey?: string;
+};
+declare type UserProfile = {
+    target: typeof NAVIGATION_TARGET.USER_PROFILE;
+    accountId: string;
+};
+declare type Dashboard = {
+    target: typeof NAVIGATION_TARGET.DASHBOARD;
+    dashboardId: string;
+};
+declare type Issue = {
+    target: typeof NAVIGATION_TARGET.ISSUE;
+    issueKey: string;
+};
+declare type ProjectSettingsDetails = {
+    target: typeof NAVIGATION_TARGET.PROJECT_SETTINGS_DETAILS;
+    projectKey: string;
+};
+export declare type NavigationLocation = ContentView | ContentEdit | SpaceView | UserProfile | ContentList | Module | Dashboard | Issue | ProjectSettingsDetails;
+export {};
+//# sourceMappingURL=types.d.ts.map
\ No newline at end of file