Home > @uniformdev/mesh-sdk > CanvasEditorToolsData
CanvasEditorToolsData type
Signature:
type CanvasEditorToolsData = {
patternNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
entryNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
entityType: CanvasEditorEntityType;
} & ({
rootEntity: RootComponentInstance;
entityType: 'composition' | 'componentPattern' | 'compositionDefaults';
} | {
rootEntity: EntryData;
entityType: 'entry' | 'entryPattern';
});
References: CanvasEditorEntityType, EntryData