import type { FormConfig } from '../form-config'; import type { FlowConfig } from '../core-flow'; import type PrintOutSetting from './PrintOutSetting'; import type { CommonIdea } from '../app'; import type { DashboardConfig } from '../dashboard'; export interface FormAppSetting { /** * 表单配置 */ formConfig: FormConfig; /** * 流程配置 */ flowConfig: FlowConfig; /** * 打印输出配置 */ printOutSetting: PrintOutSetting; /** * 常用意见 */ commonIdeaConfig?: { /** * 获取常用意见 * @param userId 用户id */ getCommonIdeas(userId: string): Promise; /** * 添加常用意见 * @param userId 用户id */ addCommonIdea(userId: string, ideaContent: string): Promise; }; /** * 图标配置 */ dashboardConfig: DashboardConfig; }