@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
19 lines (18 loc) • 610 B
TypeScript
import { LayoutCanvasStore } from "..";
import { LayoutItem } from "../../../models";
/**
* Rules to check object typeings
* */
export declare const LayoutItemRules: {
/**
* Check if an item is an instance of a SectionRegistration
* @param item to type check
*/
isLastChildItem(child: LayoutItem, parent: LayoutItem, editorStore?: LayoutCanvasStore): boolean;
/**
* Check if an item is an instance of a SectionRegistration
* @param item to type check
*/
isParent(child: LayoutItem, parent: LayoutItem): boolean;
isTopContainer(item: LayoutItem): boolean;
};