Files
OpenMAIC/configs/element.ts
T
wyucandClaude Opus 4.6 843d33e5cc chore: enforce Prettier formatting and fix lint issues
- Add .prettierignore to exclude vendor packages, lock files, markdown, and YAML
- Update .prettierrc: printWidth 100, singleQuote, trailingComma "all"
- Run Prettier across all source files for consistent formatting
- Fix unused imports (UserRequirements, setTTSProvider)
- Fix eslint-disable comment placement after Prettier reformat

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:09:45 +08:00

23 lines
388 B
TypeScript

export const ELEMENT_TYPE_ZH: Record<string, string> = {
text: '文本',
image: '图片',
shape: '形状',
line: '线条',
chart: '图表',
table: '表格',
video: '视频',
audio: '音频',
latex: '公式',
};
export const MIN_SIZE: Record<string, number> = {
text: 40,
image: 20,
shape: 20,
chart: 200,
table: 30,
video: 250,
audio: 20,
latex: 20,
};