Files
flipper/desktop/flipper-common/src/index.tsx
Michel Weststrate e7f841b6d2 Move flipper plugin from flipper-lib types to flipper-common
Summary: Moved all types related to plugin descriptions from plugin-lib (which handles downloads and such) to flipper-common. The goal of that is to remove all plugin-lib usage from ui-core to server-core, so that the UI itself doesn't do any file operations anymore related to plugins. That will be done in next diffs, this just moves types but no code.

Reviewed By: nikoant, aigoncharov

Differential Revision: D32665064

fbshipit-source-id: 86d908e7264569b0229b09290a891171876c8e00
2021-12-08 04:30:55 -08:00

49 lines
1.1 KiB
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
export {
Logger,
LoggerTrackType,
LoggerTypes,
LoggerArgs,
getLogger,
setLoggerInstance,
NoopLogger,
} from './utils/Logger';
export * from './server-types';
export {sleep} from './utils/sleep';
export {timeout} from './utils/timeout';
export {isTest} from './utils/isTest';
export {
logPlatformSuccessRate,
reportPlatformFailures,
reportUsage,
reportPluginFailures,
tryCatchReportPlatformFailures,
tryCatchReportPluginFailures,
UnsupportedError,
} from './utils/metrics';
export {
ConnectivityError,
CancelledPromiseError,
UserUnauthorizedError,
UserNotSignedInError,
NoLongerConnectedToClientError,
isConnectivityOrAuthError,
isError,
isAuthError,
getStringFromErrorLike,
getErrorFromErrorLike,
} from './utils/errors';
export * from './user-session';
export * from './GK';
export * from './clientUtils';
export * from './settings';
export * from './PluginDetails';