diff --git a/web/types/nav-types.js b/web/types/nav-types.js index 9a67e1b8c..cfc78d5b0 100644 --- a/web/types/nav-types.js +++ b/web/types/nav-types.js @@ -1,14 +1,16 @@ // @flow import type { BaseNavInfo } from 'lib/types/nav-types'; import type { ThreadInfo } from 'lib/types/thread-types'; +export type NavigationTab = 'calendar' | 'chat' | 'apps' | 'settings'; + export type NavInfo = { ...$Exact, - +tab: 'calendar' | 'chat' | 'apps' | 'settings', + +tab: NavigationTab, +activeChatThreadID: ?string, +pendingThread?: ThreadInfo, +settingsSection?: 'account', }; export const updateNavInfoActionType = 'UPDATE_NAV_INFO';