Share uuid
Summary: Expose uuid from flipper-common as it is required in multiple packages Reviewed By: lblasa Differential Revision: D36441889 fbshipit-source-id: 1fa539cb437976dbefe7d5d9a52e5e098a6402a7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
88bc3110a5
commit
0f038218f8
@@ -137,7 +137,6 @@ export {createTablePlugin} from './utils/createTablePlugin';
|
||||
export {textContent} from './utils/textContent';
|
||||
import * as path from './utils/path';
|
||||
export {path};
|
||||
export * from './utils/uuid';
|
||||
export {safeStringify} from './utils/safeStringify';
|
||||
|
||||
// It's not ideal that this exists in flipper-plugin sources directly,
|
||||
@@ -150,6 +149,7 @@ export {
|
||||
sleep,
|
||||
timeout,
|
||||
createControlledPromise,
|
||||
uuid,
|
||||
DeviceOS,
|
||||
DeviceType,
|
||||
DeviceLogEntry,
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
import * as path from './utils/path';
|
||||
export {path};
|
||||
export * from './utils/uuid';
|
||||
export {safeStringify} from './utils/safeStringify';
|
||||
|
||||
export {
|
||||
sleep,
|
||||
timeout,
|
||||
createControlledPromise,
|
||||
uuid,
|
||||
ServerAddOn,
|
||||
ServerAddOnPluginConnection,
|
||||
FlipperServerForServerAddOn,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import React, {useMemo} from 'react';
|
||||
import {Children, cloneElement, createContext, useContext} from 'react';
|
||||
import reactElementToJSXString from 'react-element-to-jsx-string';
|
||||
import {v4 as uuid} from 'uuid';
|
||||
import {uuid} from 'flipper-common';
|
||||
|
||||
export type InteractionReport = {
|
||||
// Duration of the event handler itself, not including any time the promise handler might have been pending
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
import {v4 as uuid} from 'uuid';
|
||||
export {uuid};
|
||||
Reference in New Issue
Block a user