mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-16 15:01:15 +00:00
feat: 🎸 设计态支持数据源引擎配置
This commit is contained in:
parent
b96f16672e
commit
04631f8137
@ -38,7 +38,8 @@
|
|||||||
"@types/store": "^2.0.2",
|
"@types/store": "^2.0.2",
|
||||||
"build-plugin-component": "^0.2.11",
|
"build-plugin-component": "^0.2.11",
|
||||||
"build-plugin-fusion": "^0.1.0",
|
"build-plugin-fusion": "^0.1.0",
|
||||||
"build-plugin-moment-locales": "^0.1.0"
|
"build-plugin-moment-locales": "^0.1.0",
|
||||||
|
"@alilc/lowcode-datasource-types": "^1.0.1"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
import { ComponentType } from 'react';
|
import { ComponentType } from 'react';
|
||||||
import { get as lodashGet } from 'lodash';
|
import { get as lodashGet } from 'lodash';
|
||||||
import { isPlainObject } from '@alilc/lowcode-utils';
|
import { isPlainObject } from '@alilc/lowcode-utils';
|
||||||
|
|
||||||
|
import { RequestHandlersMap } from '@alilc/lowcode-datasource-types';
|
||||||
|
|
||||||
import { getLogger } from './utils/logger';
|
import { getLogger } from './utils/logger';
|
||||||
|
|
||||||
const logger = getLogger({ level: 'log', bizName: 'config' });
|
const logger = getLogger({ level: 'log', bizName: 'config' });
|
||||||
@ -205,6 +208,8 @@ export interface EngineOptions {
|
|||||||
// 是否开启在 render 阶段开启 filter reducer,默认值:false
|
// 是否开启在 render 阶段开启 filter reducer,默认值:false
|
||||||
enableFilterReducerInRenderStage?: boolean;
|
enableFilterReducerInRenderStage?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
requestHandlersMap: RequestHandlersMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
const getStrictModeValue = (engineOptions: EngineOptions, defaultValue: boolean): boolean => {
|
const getStrictModeValue = (engineOptions: EngineOptions, defaultValue: boolean): boolean => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user