mirror of
https://github.com/THU-MAIC/OpenMAIC.git
synced 2026-10-17 05:29:46 +08:00
- 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>
23 lines
388 B
TypeScript
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,
|
|
};
|