@vention/vention-cli 0.36.5 → 0.37.0
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.
package/package.json
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SessionData } from "../config";
|
|
2
|
+
import type { DigitalTwinApiOrigins, DigitalTwinConnection, Design } from "./types";
|
|
3
|
+
export declare const getOrigin: (environment: SessionData["environment"]) => string | undefined;
|
|
4
|
+
export declare const listDesigns: (session: SessionData, origins: DigitalTwinApiOrigins) => Promise<Design[]>;
|
|
5
|
+
export declare const resolveConnection: (session: SessionData, origins: DigitalTwinApiOrigins, designId: number) => Promise<DigitalTwinConnection | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { listDesigns,
|
|
1
|
+
export { listDesigns, resolveDigitalTwinConnection } from "./resolve-connection";
|
|
2
2
|
export type { DigitalTwinConnection, Design } from "./types";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SessionData } from "../config";
|
|
2
|
+
import type { DigitalTwinConnection, Design } from "./types";
|
|
3
|
+
export declare const resolveDigitalTwinConnection: (session: SessionData, designId: number) => Promise<DigitalTwinConnection | undefined>;
|
|
4
|
+
export declare const listDesigns: (session: SessionData) => Promise<Design[]>;
|