jderobot-ide-interface 0.2.22 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ export interface IdeInterfaceStyles {
6
6
  }
7
7
  interface IdeInterfaceProps {
8
8
  commsManager: CommsManager | null;
9
- resetManager: Function;
9
+ connectManager: (desiredState?: string, callback?: () => void) => Promise<void>;
10
10
  project: string;
11
11
  explorers: ExplorerEntry[];
12
12
  api: ExtraApi;
@@ -19,5 +19,5 @@ interface IdeInterfaceProps {
19
19
  baseFile?: Entry;
20
20
  baseUniverse?: string;
21
21
  }
22
- declare const IdeInterface: ({ commsManager, resetManager, project, explorers, api, extraEditors, statusBarComponents, viewers, layout, options, splashIcon, baseFile, baseUniverse, }: IdeInterfaceProps) => JSX.Element;
22
+ declare const IdeInterface: ({ commsManager, connectManager, project, explorers, api, extraEditors, statusBarComponents, viewers, layout, options, splashIcon, baseFile, baseUniverse, }: IdeInterfaceProps) => JSX.Element;
23
23
  export default IdeInterface;
@@ -1,9 +1,9 @@
1
1
  import { CommsManager } from "jderobot-commsmanager";
2
2
  import { StatusBarComponents, ExtraApi } from "Types";
3
- declare const StatusBar: ({ project, commsManager, resetManager, api, baseUniverse, extraComponents, }: {
3
+ declare const StatusBar: ({ project, commsManager, connectManager, api, baseUniverse, extraComponents, }: {
4
4
  project: string;
5
5
  commsManager: CommsManager | null;
6
- resetManager: Function;
6
+ connectManager: (desiredState?: string, callback?: () => void) => Promise<void>;
7
7
  baseUniverse?: string;
8
8
  api: ExtraApi;
9
9
  extraComponents: StatusBarComponents;