Fix UIResource \_meta type to match actual usage pattern
The UIResource interface incorrectly specified `_meta?: UIResourceMeta`
when it should be `_meta?: { ui?: UIResourceMeta }` to match the
resources/read response format and all usage examples throughout the
document.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9aa129fe34
commit
120a673904
1 changed files with 3 additions and 1 deletions
|
|
@ -101,7 +101,9 @@ interface UIResource {
|
||||||
* Includes Content Security Policy configuration, dedicated domain settings,
|
* Includes Content Security Policy configuration, dedicated domain settings,
|
||||||
* and visual preferences.
|
* and visual preferences.
|
||||||
*/
|
*/
|
||||||
_meta?: UIResourceMeta
|
_meta?: {
|
||||||
|
ui?: UIResourceMeta;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface UIResourceMeta {
|
interface UIResourceMeta {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue