import type { DeviceUiPlugin } from "@mission-core/plugin-sdk";
import { XgridsK1Connection } from "./XgridsK1Connection";
import { K1SpatialControls } from "./components/K1SpatialControls";
import { xgridsK1Manifest } from "./manifest";
import { XgridsK1RuntimeProvider } from "./runtimeContext";
import "./styles.css";

export const xgridsK1Plugin: DeviceUiPlugin = {
  manifest: xgridsK1Manifest,
  RuntimeProvider: XgridsK1RuntimeProvider,
  SpatialControlsView: K1SpatialControls,
  connectionViews: Object.freeze({
    "xgrids-k1.connection": XgridsK1Connection,
  }),
};
