UNPKG

@dineug/erd-editor

Version:

Entity-Relationship Diagram Editor

15 lines (14 loc) 536 B
import { DOMTemplateLiterals } from '@dineug/r-html'; import { AppContext } from '../appContext'; export type Action = { icon?: DOMTemplateLiterals | null; name: string; keywords?: string; shortcut?: string; filter?: (app: AppContext) => boolean; perform?: (app: AppContext) => void; next?: Action[]; }; export declare function searchActions(actions: Action[], keyword: string): Action[]; export declare function createScopeActions(app: AppContext): Action[]; export declare const allScopeActions: Action[];