feat(opus/features.md): MODULE_TYPE_EXTEND
This commit is contained in:
parent
a14c72b55a
commit
ec9cf7df8e
@ -938,3 +938,91 @@
|
||||
</details>
|
||||
|
||||
<!-- Generated by json-apidoc-gen @ 2025-07-12T03:42:36.411727032Z -->
|
||||
|
||||
|
||||
### MODULE_TYPE_EXTEND
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | ---- | ---- |
|
||||
| module_extend | object | 扩展模块 | |
|
||||
| module_type | string | 模块类型 | `MODULE_TYPE_EXTEND` |
|
||||
|
||||
`module_extend` 对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | ---- | ---- |
|
||||
| items | object[] | 项 | 套了个娃 |
|
||||
|
||||
`module_extend.items[]` 对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | ---- | ---- |
|
||||
| icon | string \| null | 图标 | |
|
||||
| icon_svg | unknown | SVG 图版 | |
|
||||
| jump_url | string | 跳转 URL | |
|
||||
| text | string | 文本 | |
|
||||
|
||||
**示例:**
|
||||
|
||||
<details>
|
||||
<summary>查看示例:</summary>
|
||||
|
||||
```json
|
||||
{
|
||||
"module_extend": {
|
||||
"items": [
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=HTML",
|
||||
"text": "HTML"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=API",
|
||||
"text": "API"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=BAC",
|
||||
"text": "BAC"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=JavaScript",
|
||||
"text": "JavaScript"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=Bilibili",
|
||||
"text": "Bilibili"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=GitHub",
|
||||
"text": "GitHub"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=Web",
|
||||
"text": "Web"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=Chromium",
|
||||
"text": "Chromium"
|
||||
},
|
||||
{
|
||||
"icon": null,
|
||||
"jump_url": "//search.bilibili.com/all?keyword=DevTools",
|
||||
"text": "DevTools"
|
||||
}
|
||||
]
|
||||
},
|
||||
"module_type": "MODULE_TYPE_EXTEND"
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
<!-- Generated by json-apidoc-gen @ 2025-07-12T04:08:00.156027648Z -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user