@enonic/js-utils
Version:
Enonic XP JavaScript Utils
16 lines (12 loc) • 306 B
TypeScript
import type { RepoNodeWithData } from './node.d';
export type NodeModifyParams/*<NodeData>*/ = {
/**
* Path or ID of the node
*/
key: string;
/**
* Editor callback function
*/
//editor: (node: NodeData & RepoNode) => NodeData & RepoNode;
editor: (node: RepoNodeWithData) => RepoNodeWithData;
}