@pygmalionjs/pygmalion 0.6.10 → 0.6.12
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/dist-lib/testing.js
CHANGED
|
@@ -43,6 +43,12 @@ export interface CanvasTree {
|
|
|
43
43
|
loose: readonly CanvasTreeLeaf[];
|
|
44
44
|
groups: readonly CanvasTreeGroup[];
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Pages available in the current runtime, including state variants held behind
|
|
48
|
+
* a screen-state control. The Pages badge names frames, not the smaller number
|
|
49
|
+
* of canvases used to arrange them.
|
|
50
|
+
*/
|
|
51
|
+
export declare function countCanvasTreePages(tree: CanvasTree): number;
|
|
46
52
|
interface CanvasTreePage {
|
|
47
53
|
canvas?: string;
|
|
48
54
|
section?: string;
|
|
@@ -351,10 +351,11 @@ export declare class EditorStore {
|
|
|
351
351
|
private screenStateSelections;
|
|
352
352
|
private screenStateSlotKey;
|
|
353
353
|
/**
|
|
354
|
-
* Declared state variants sharing a scenario on one canvas
|
|
355
|
-
* order. Folding never crosses
|
|
356
|
-
*
|
|
357
|
-
*
|
|
354
|
+
* Declared state variants sharing a scenario on one canvas and in the
|
|
355
|
+
* current runtime, in declaration order. Folding never crosses either
|
|
356
|
+
* boundary: a state from another canvas or runtime is not an alternate the
|
|
357
|
+
* reader can reveal here, and letting it hold the slot can fold the current
|
|
358
|
+
* runtime down to nothing.
|
|
358
359
|
*/
|
|
359
360
|
screenStateGroup(scenario: string, canvas: string): PageModel[];
|
|
360
361
|
/** The group member holding the group's canvas slot, or null for non-groups. */
|