Skip to content

Commit 058a842

Browse files
LeoYuanJackLian
authored andcommitted
fix: declare parameter appHelper for valid engine options
1 parent 3105081 commit 058a842

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/editor-core/src/config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ const VALID_ENGINE_OPTIONS = {
118118
type: 'array',
119119
description: '自定义 simulatorUrl 的地址',
120120
},
121+
/**
122+
* 与 react-renderer 的 appHelper 一致, https://lowcode-engine.cn/docV2/nhilce#appHelper
123+
*/
124+
appHelper: {
125+
type: 'object',
126+
description: '定义 utils 和 constants 等对象',
127+
},
121128
requestHandlersMap: {
122129
type: 'object',
123130
description: '数据源引擎的请求处理器映射',

0 commit comments

Comments
 (0)