From 3b19772c1f19111727761a3894e1382231b07e53 Mon Sep 17 00:00:00 2001 From: Alexandre Neuwald Date: Wed, 18 Dec 2024 11:45:45 +0000 Subject: [PATCH] remove import between packages --- packages/suite-base/src/index.ts | 2 -- packages/suite-desktop/src/renderer/Root.tsx | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/suite-base/src/index.ts b/packages/suite-base/src/index.ts index 072748cc32..2c005232de 100644 --- a/packages/suite-base/src/index.ts +++ b/packages/suite-base/src/index.ts @@ -37,8 +37,6 @@ export type { LayoutInfo } from "./types/layouts"; export type { LayoutData } from "./context/CurrentLayoutContext"; export type { ExtensionInfo, ExtensionNamespace } from "./types/Extensions"; export { AppSetting } from "./AppSetting"; -export { AppParametersEnum } from "./AppParameters"; -export type { AppParameters, AppParametersInput } from "./context/AppParametersContext"; export { default as FoxgloveWebSocketDataSourceFactory } from "./dataSources/FoxgloveWebSocketDataSourceFactory"; export { default as Ros1LocalBagDataSourceFactory } from "./dataSources/Ros1LocalBagDataSourceFactory"; export { default as Ros1SocketDataSourceFactory } from "./dataSources/Ros1SocketDataSourceFactory"; diff --git a/packages/suite-desktop/src/renderer/Root.tsx b/packages/suite-desktop/src/renderer/Root.tsx index 61fe9c4694..636435ce50 100644 --- a/packages/suite-desktop/src/renderer/Root.tsx +++ b/packages/suite-desktop/src/renderer/Root.tsx @@ -25,13 +25,12 @@ import { UlogLocalDataSourceFactory, VelodyneDataSourceFactory, } from "@lichtblick/suite-base"; -import { AppParametersInput } from "@lichtblick/suite-base/context/AppParametersContext"; import { DesktopExtensionLoader } from "./services/DesktopExtensionLoader"; import { DesktopLayoutLoader } from "./services/DesktopLayoutLoader"; import { NativeAppMenu } from "./services/NativeAppMenu"; import { NativeWindow } from "./services/NativeWindow"; -import { Desktop, NativeMenuBridge, Storage } from "../common/types"; +import { CLIFlags, Desktop, NativeMenuBridge, Storage } from "../common/types"; const desktopBridge = (global as unknown as { desktopBridge: Desktop }).desktopBridge; const storageBridge = (global as unknown as { storageBridge?: Storage }).storageBridge; @@ -39,7 +38,7 @@ const menuBridge = (global as { menuBridge?: NativeMenuBridge }).menuBridge; const ctxbridge = (global as { ctxbridge?: OsContext }).ctxbridge; export default function Root(props: { - appParameters: AppParametersInput; + appParameters: CLIFlags; appConfiguration: IAppConfiguration; extraProviders: React.JSX.Element[] | undefined; dataSources: IDataSourceFactory[] | undefined;