Skip to content

Commit

Permalink
remove import between packages
Browse files Browse the repository at this point in the history
  • Loading branch information
aneuwald-ctw committed Dec 18, 2024
1 parent 1825b13 commit 3b19772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/suite-base/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 2 additions & 3 deletions packages/suite-desktop/src/renderer/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,20 @@ 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;
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;
Expand Down

0 comments on commit 3b19772

Please sign in to comment.