mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-13 12:13:10 +00:00
feat(common): add some api to be compatible with old platforms
This commit is contained in:
parent
6160056139
commit
016d54bdde
@ -58,6 +58,9 @@ import {
|
||||
untracked as innerUntracked,
|
||||
computed as innerComputed,
|
||||
observer as innerObserver,
|
||||
action as innerAction,
|
||||
runInAction as innerRunInAction,
|
||||
engineConfig as innerEngineConfig,
|
||||
} from '@alilc/lowcode-editor-core';
|
||||
import { Dragon as ShellDragon } from '../model';
|
||||
import { ReactNode } from 'react';
|
||||
@ -302,6 +305,27 @@ class EditorCabin implements IPublicApiCommonEditorCabin {
|
||||
return innerObx;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
get action() {
|
||||
return innerAction;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
get engineConfig() {
|
||||
return innerEngineConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
get runInAction() {
|
||||
return innerRunInAction;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user