import type { DataSourceInfo } from '@/types'; export default interface Base { /** * 数据源信息 */ dataSourceInfo?: DataSourceInfo; /** * 编辑器和渲染器传给组件的属性 */ $$componentItem?: { /** * 渲染类型,editor:配置态渲染 */ renderType?: string; /** * 渲染平台,h5:移动端渲染,pc:pc端渲染 */ platform: string; /** * 应用ID */ appId: string; /** * 页面ID */ pageId: string; [key: string]: any; }; getEngineApis?: any; /** * 组件style样式属性,会混有props属性,不建议使用...style使用 */ style?: Record; /** * 应用ID */ appId?: string; /** * 背景信息集合 */ backgroundType?: any; // eslint-disable-next-line semi }