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:
committed by
Facebook GitHub Bot
parent
2cc0ca0167
commit
f181551ce6
@@ -19,7 +19,7 @@ import {
|
||||
usePlugin,
|
||||
useValue,
|
||||
} from 'flipper-plugin';
|
||||
import {Id, Metadata, MetadataId, UINode} from '../../types';
|
||||
import {Id, Metadata, MetadataId, UINode} from '../../ClientTypes';
|
||||
import {IdentityInspector} from './inspector/IdentityInspector';
|
||||
import {AttributesInspector} from './inspector/AttributesInspector';
|
||||
import {Tooltip} from 'antd';
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
Metadata,
|
||||
MetadataId,
|
||||
UINode,
|
||||
} from '../../../types';
|
||||
} from '../../../ClientTypes';
|
||||
import {DataInspector, Panel, styled} from 'flipper-plugin';
|
||||
import {Col, Row} from 'antd';
|
||||
import {displayableName} from '../utilities/displayableName';
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {Bounds} from '../../../types';
|
||||
import {Bounds} from '../../../ClientTypes';
|
||||
import {InspectorStyle} from './Styles';
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import {Col, Popover, Row} from 'antd';
|
||||
import {Color} from '../../../types';
|
||||
import {Color} from '../../../ClientTypes';
|
||||
import {SketchPicker, ColorResult} from 'react-color';
|
||||
import {styled} from 'flipper-plugin';
|
||||
import {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {Coordinate3D} from '../../../types';
|
||||
import {Coordinate3D} from '../../../ClientTypes';
|
||||
import {Col, Row} from 'antd';
|
||||
import {
|
||||
CenteredContentStyle,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {Coordinate} from '../../../types';
|
||||
import {Coordinate} from '../../../ClientTypes';
|
||||
import {Col, Row} from 'antd';
|
||||
import {
|
||||
CenteredContentStyle,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {UINode} from '../../../types';
|
||||
import {UINode} from '../../../ClientTypes';
|
||||
|
||||
type Props = {
|
||||
node: UINode;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
import {Button} from 'antd';
|
||||
import {theme, TimelineDataDescription} from 'flipper-plugin';
|
||||
import {FrameworkEvent, UINode} from '../../../types';
|
||||
import {FrameworkEvent, UINode} from '../../../ClientTypes';
|
||||
import React, {ReactNode, useState} from 'react';
|
||||
import {StackTraceInspector} from './StackTraceInspector';
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import {Col, Row} from 'antd';
|
||||
import {UINode} from '../../../types';
|
||||
import {UINode} from '../../../ClientTypes';
|
||||
import {styled, theme} from 'flipper-plugin';
|
||||
import {CodeInspector} from './fb-stubs/CodeInspector';
|
||||
import {TopSpacedContainerStyle} from './Styles';
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {Size} from '../../../types';
|
||||
import {Size} from '../../../ClientTypes';
|
||||
import {Col, Row} from 'antd';
|
||||
import {
|
||||
CenteredContentStyle,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {SpaceBox} from '../../../types';
|
||||
import {SpaceBox} from '../../../ClientTypes';
|
||||
import {InspectorStyle} from './Styles';
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import React from 'react';
|
||||
// eslint-disable-next-line rulesdir/no-restricted-imports-clone
|
||||
import {StackTrace} from 'flipper';
|
||||
import {Tag} from '../../../types';
|
||||
import {Tag} from '../../../ClientTypes';
|
||||
|
||||
const FacebookLibraries = ['Facebook'];
|
||||
const CKFilter = ['UIDCKAnalyticsListener'];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {Tag} from '../../../../types';
|
||||
import {Tag} from '../../../../ClientTypes';
|
||||
|
||||
type CodeInspectorProps = {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user