Summary: The sessionId is just uuid() which is held by the config. This changes moves that to a single place. This achieves two goals: 1) Makes it very clear where is created and what value it holds 2) It allows us to know the sessionId even before the config is available. This becomes useful as we can start logging to Scribe earlier. Reviewed By: passy Differential Revision: D48601829 fbshipit-source-id: c54d86d76f0b58d2b59f8dd1c45d7f345c4a84c3
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
/**
|
|
* 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
|
|
*/
|
|
|
|
export {FlipperServerImpl} from './FlipperServerImpl';
|
|
export {loadSettings} from './utils/settings';
|
|
export * from './tracker';
|
|
export {loadLauncherSettings} from './utils/launcherSettings';
|
|
export {loadProcessConfig} from './utils/processConfig';
|
|
export {getEnvironmentInfo} from './utils/environmentInfo';
|
|
export {getGatekeepers} from './gk';
|
|
export {setupPrefetcher} from './fb-stubs/Prefetcher';
|
|
export * from './server/attachSocketServer';
|
|
export * from './server/startFlipperServer';
|
|
export * from './server/startServer';
|
|
export * from './server/utilities';
|
|
export {isFBBuild} from './fb-stubs/constants';
|
|
export {initializeLogger} from './fb-stubs/Logger';
|
|
|
|
export {WEBSOCKET_MAX_MESSAGE_SIZE} from './app-connectivity/ServerWebSocket';
|
|
|
|
export {
|
|
getAuthToken,
|
|
hasAuthToken,
|
|
} from './app-connectivity/certificate-exchange/certificate-utils';
|
|
|
|
export {sessionId} from './sessionId';
|