docs(types): mark legacy hook surfaces deprecated · openclaw/openclaw@1b25dcf
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -96,17 +96,21 @@ const DiffsToolSchema = Type.Object(
|
96 | 96 | maximum: 2400, |
97 | 97 | }), |
98 | 98 | ), |
| 99 | +/** @deprecated Use fileQuality. */ |
99 | 100 | imageQuality: Type.Optional( |
100 | 101 | stringEnum(DIFF_IMAGE_QUALITY_PRESETS, "Deprecated alias for fileQuality."), |
101 | 102 | ), |
| 103 | +/** @deprecated Use fileFormat. */ |
102 | 104 | imageFormat: Type.Optional(stringEnum(DIFF_OUTPUT_FORMATS, "Deprecated alias for fileFormat.")), |
| 105 | +/** @deprecated Use fileScale. */ |
103 | 106 | imageScale: Type.Optional( |
104 | 107 | Type.Number({ |
105 | 108 | description: "Deprecated alias for fileScale.", |
106 | 109 | minimum: 1, |
107 | 110 | maximum: 4, |
108 | 111 | }), |
109 | 112 | ), |
| 113 | +/** @deprecated Use fileMaxWidth. */ |
110 | 114 | imageMaxWidth: Type.Optional( |
111 | 115 | Type.Number({ |
112 | 116 | description: "Deprecated alias for fileMaxWidth.", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。