@vgai/editor-sdk 0.5.40 → 0.5.41
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/types.ts +22 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@vgai/editor-sdk",
|
|
3
3
|
"author": "Volter AI, Inc.",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.41",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/three": "^0.180.0",
|
|
27
|
-
"@vgai/sdk": "0.5.
|
|
27
|
+
"@vgai/sdk": "0.5.41"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@vgai/engine": "*",
|
package/src/types.ts
CHANGED
|
@@ -439,6 +439,16 @@ export interface EditorState {
|
|
|
439
439
|
activeViewportTab: ViewportTab;
|
|
440
440
|
/** The actual active center document, including tool/source documents. */
|
|
441
441
|
activeDocumentId?: string | null;
|
|
442
|
+
/** The visible bottom utility, or null when that drawer is collapsed. */
|
|
443
|
+
activeUtilityId?: string | null;
|
|
444
|
+
/** The shared Analytics rail's current durable-session selection. */
|
|
445
|
+
gameplaySession?: {
|
|
446
|
+
selectedSessionId: string | null;
|
|
447
|
+
latestSessionId: string | null;
|
|
448
|
+
selectedStatus: 'live' | 'completed' | null;
|
|
449
|
+
cursorMs: number;
|
|
450
|
+
liveEdgeMs: number;
|
|
451
|
+
};
|
|
442
452
|
/** Every center document the editor currently has open, by stable registry id. */
|
|
443
453
|
openDocumentIds?: string[];
|
|
444
454
|
activeTabKey: string;
|
|
@@ -527,6 +537,18 @@ export interface EditorState {
|
|
|
527
537
|
unresponsive: boolean;
|
|
528
538
|
commandListener?: 'ready' | 'not attached' | (string & {});
|
|
529
539
|
pageErrors?: string[];
|
|
540
|
+
/**
|
|
541
|
+
* The control-plane generation handshake for each page load currently
|
|
542
|
+
* associated with this physical tab. Anything other than `aligned` is a
|
|
543
|
+
* lifecycle contradiction or a handshake still in progress.
|
|
544
|
+
*/
|
|
545
|
+
controlLifecycles?: Array<{
|
|
546
|
+
status: 'aligned' | 'awaiting-heartbeat' | 'unconfirmed' | 'mismatch';
|
|
547
|
+
serverGeneration8: string;
|
|
548
|
+
connectionGeneration8: string;
|
|
549
|
+
pageGeneration8: string;
|
|
550
|
+
clientId8: string;
|
|
551
|
+
}>;
|
|
530
552
|
census?: RecordedTabCensus | null;
|
|
531
553
|
censusAgeMs?: number | null;
|
|
532
554
|
}>;
|