Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3245599
D10889.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10889.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10889: [web] Rename `NavigationChatMode` to `WebNavigationChatMode`
Attached
Detach File
Event Timeline
Log In to Comment