@frockbot/computer-core 0.2.5 → 0.3.1
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 +2 -2
- package/src/core.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/computer-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@frockbot/kernel-contracts": "0.
|
|
15
|
+
"@frockbot/kernel-contracts": "0.3.1",
|
|
16
16
|
"cordis": "4.0.0-rc.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/core.ts
CHANGED
|
@@ -254,6 +254,16 @@ export interface ComputerOperationOptions {
|
|
|
254
254
|
effectId?: string;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
/** Provider-neutral detail for provisioning nested under a connection step. */
|
|
258
|
+
export interface ComputerProvisioningProgressV1 {
|
|
259
|
+
version: 1;
|
|
260
|
+
kind: "provision" | "update";
|
|
261
|
+
label: string;
|
|
262
|
+
index: number;
|
|
263
|
+
total: number;
|
|
264
|
+
resumed: boolean;
|
|
265
|
+
}
|
|
266
|
+
|
|
257
267
|
/** One provider-neutral boundary crossed while opening a live viewer. */
|
|
258
268
|
export interface ComputerConnectionProgressV1 {
|
|
259
269
|
version: 1;
|
|
@@ -262,6 +272,8 @@ export interface ComputerConnectionProgressV1 {
|
|
|
262
272
|
label: string;
|
|
263
273
|
index: number;
|
|
264
274
|
total: number;
|
|
275
|
+
/** A host provisioning phase advancing within the stable outer step. */
|
|
276
|
+
provisioning?: ComputerProvisioningProgressV1;
|
|
265
277
|
}
|
|
266
278
|
|
|
267
279
|
export interface ComputerConnectionOptionsV1 extends ComputerOperationOptions {
|