@plait/mind 0.90.1 → 0.91.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/interfaces/element.d.ts
CHANGED
|
@@ -31,8 +31,7 @@ export declare const PlaitMind: {
|
|
|
31
31
|
isMind: (value: any) => value is PlaitMind;
|
|
32
32
|
};
|
|
33
33
|
export declare const MindElement: {
|
|
34
|
-
|
|
35
|
-
isIndentedLayout(value: MindElement): boolean;
|
|
34
|
+
isIndentedLayout(board: PlaitBoard, value: MindElement): boolean;
|
|
36
35
|
isMindElement(board: PlaitBoard | null, element: PlaitElement): element is MindElement;
|
|
37
36
|
getParent(node: MindElement): MindElement<BaseData>;
|
|
38
37
|
findParent(node: MindElement): MindElement<BaseData> | undefined;
|
package/package.json
CHANGED
package/queries/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const MindQueries: {
|
|
2
2
|
getAvailableSubLayoutsByElement: (board: import("@plait/core").PlaitBoard, element: import("@plait/mind").MindElement) => import("@plait/layouts").MindLayoutType[] | undefined;
|
|
3
3
|
getBranchLayouts: (board: import("@plait/core").PlaitBoard, element: import("@plait/mind").MindElement) => import("@plait/layouts").MindLayoutType[];
|
|
4
|
-
getLayoutByElement: (element: import("@plait/mind").MindElement) => import("@plait/layouts").MindLayoutType;
|
|
5
4
|
getCorrectLayoutByElement: (board: import("@plait/core").PlaitBoard, element: import("@plait/mind").MindElement) => import("@plait/layouts").MindLayoutType;
|
|
6
5
|
};
|