mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +08:00
docs(useMermaidFixTool): improve type comments for Input interface
Update JSDoc comments to be more descriptive and follow standard conventions
This commit is contained in:
parent
eabbe593dd
commit
552694df11
@ -41,12 +41,15 @@ const ResultSchema = z.union([
|
||||
})
|
||||
])
|
||||
|
||||
/**
|
||||
* Input shape for the Mermaid fix prompt.
|
||||
*/
|
||||
type Input = {
|
||||
// mermaid 代码
|
||||
/** Mermaid diagram code to be fixed */
|
||||
mermaid: string
|
||||
// 错误信息
|
||||
/** Error message returned by the renderer */
|
||||
error: string
|
||||
// 用户语言代码, 如 zh-cn, en-us
|
||||
/** User’s language code (e.g. zh-cn, en-us) */
|
||||
lang: string
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user