Page MenuHomePhabricator

D10889.diff
No OneTemporary

D10889.diff

diff --git a/web/types/nav-types.js b/web/types/nav-types.js
--- a/web/types/nav-types.js
+++ b/web/types/nav-types.js
@@ -31,8 +31,8 @@
'danger-zone',
]);
-export type NavigationChatMode = 'view' | 'create';
-const navigationChatModeValidator = t.enums.of(['view', 'create']);
+export type WebNavigationChatMode = 'view' | 'create';
+const webNavigationChatModeValidator = t.enums.of(['view', 'create']);
export type NavInfo = {
...$Exact<BaseNavInfo>,
@@ -41,7 +41,7 @@
+pendingThread?: ThreadInfo,
+settingsSection?: WebNavigationSettingsSection,
+selectedUserList?: $ReadOnlyArray<AccountUserInfo>,
- +chatMode?: NavigationChatMode,
+ +chatMode?: WebNavigationChatMode,
+inviteSecret?: ?string,
+loginMethod?: WebLoginMethod,
};
@@ -54,7 +54,7 @@
pendingThread: t.maybe(threadInfoValidator),
settingsSection: t.maybe(webNavigationSettingsSectionValidator),
selectedUserList: t.maybe(t.list(accountUserInfoValidator)),
- chatMode: t.maybe(navigationChatModeValidator),
+ chatMode: t.maybe(webNavigationChatModeValidator),
inviteSecret: t.maybe(t.String),
loginMethod: t.maybe(webLoginMethodValidator),
});

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 7:36 PM (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495192
Default Alt Text
D10889.diff (1 KB)

Event Timeline