UID refactor 2/n Split types into client and desktop types

Summary: This file was getting overwelhming, and this seemed like a reasonable way to split it

Reviewed By: elboman

Differential Revision: D47547532

fbshipit-source-id: ab2bfa22daabbed13ec1445da0cf8ba88bda12d7
This commit is contained in:
Luke De Feo
2023-07-21 07:17:31 -07:00
committed by Facebook GitHub Bot
parent 2cc0ca0167
commit f181551ce6
27 changed files with 149 additions and 137 deletions

View File

@@ -22,17 +22,19 @@ import {
Id,
Metadata,
MetadataId,
NodeSelection,
PerformanceStatsEvent,
SelectionSource,
SnapshotInfo,
UINode,
} from './ClientTypes';
import {
UIState,
NodeSelection,
SelectionSource,
StreamInterceptorError,
StreamState,
UIActions,
UINode,
UIState,
ViewMode,
} from './types';
} from './DesktopTypes';
import {Draft} from 'immer';
import {tracker} from './utils/tracker';
import {getStreamInterceptor} from './fb-stubs/StreamInterceptor';
@@ -531,4 +533,4 @@ function collapseinActiveChildren(node: UINode, expandedNodes: Draft<Set<Id>>) {
const HighlightTime = 300;
export {Component} from './components/main';
export * from './types';
export * from './ClientTypes';