MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / registerCommand

Method registerCommand

packages/editor-core/src/command.ts:4–4  ·  view source on GitHub ↗
(command: IPublicTypeCommand, options?: {
    commandScope?: string;
  })

Source from the content-addressed store, hash-verified

2import { checkPropTypes } from '@alilc/lowcode-utils';
3export interface ICommand extends Omit<IPublicApiCommand, 'registerCommand' | 'batchExecuteCommand'> {
4 registerCommand(command: IPublicTypeCommand, options?: {
5 commandScope?: string;
6 }): void;
7

Callers 4

registerCommandMethod · 0.65
initFunction · 0.65
initFunction · 0.65
command.test.tsFile · 0.65

Implementers 2

Commandpackages/editor-core/src/command.ts
Commandpackages/shell/src/api/command.ts

Calls

no outgoing calls

Tested by

no test coverage detected