返回提交历史
Modified
docs/opus/features.md
+88
-0
XFEstudio/bilibili-API-collect
feat(opus/features.md): MODULE_TYPE_EXTEND
ec9cf7d
代码差异
1 个文件
+88
-0
@@ -938,3 +938,91 @@
938
938
</details>
939
939
940
940
<!-- Generated by json-apidoc-gen @ 2025-07-12T03:42:36.411727032Z -->
941
942
943
### MODULE_TYPE_EXTEND
944
945
根对象:
946
947
| 字段 | 类型 | 内容 | 备注 |
948
| ---- | ---- | ---- | ---- |
949
| module_extend | object | 扩展模块 | |
950
| module_type | string | 模块类型 | `MODULE_TYPE_EXTEND` |
951
952
`module_extend` 对象:
953
954
| 字段 | 类型 | 内容 | 备注 |
955
| ---- | ---- | ---- | ---- |
956
| items | object[] | 项 | 套了个娃 |
957
958
`module_extend.items[]` 对象:
959
960
| 字段 | 类型 | 内容 | 备注 |
961
| ---- | ---- | ---- | ---- |
962
| icon | string \| null | 图标 | |
963
| icon_svg | unknown | SVG 图版 | |
964
| jump_url | string | 跳转 URL | |
965
| text | string | 文本 | |
966
967
**示例:**
968
969
<details>
970
<summary>查看示例:</summary>
971
972
```json
973
{
974
"module_extend": {
975
"items": [
976
{
977
"icon": null,
978
"jump_url": "//search.bilibili.com/all?keyword=HTML",
979
"text": "HTML"
980
},
981
{
982
"icon": null,
983
"jump_url": "//search.bilibili.com/all?keyword=API",
984
"text": "API"
985
},
986
{
987
"icon": null,
988
"jump_url": "//search.bilibili.com/all?keyword=BAC",
989
"text": "BAC"
990
},
991
{
992
"icon": null,
993
"jump_url": "//search.bilibili.com/all?keyword=JavaScript",
994
"text": "JavaScript"
995
},
996
{
997
"icon": null,
998
"jump_url": "//search.bilibili.com/all?keyword=Bilibili",
999
"text": "Bilibili"
1000
},
1001
{
1002
"icon": null,
1003
"jump_url": "//search.bilibili.com/all?keyword=GitHub",
1004
"text": "GitHub"
1005
},
1006
{
1007
"icon": null,
1008
"jump_url": "//search.bilibili.com/all?keyword=Web",
1009
"text": "Web"
1010
},
1011
{
1012
"icon": null,
1013
"jump_url": "//search.bilibili.com/all?keyword=Chromium",
1014
"text": "Chromium"
1015
},
1016
{
1017
"icon": null,
1018
"jump_url": "//search.bilibili.com/all?keyword=DevTools",
1019
"text": "DevTools"
1020
}
1021
]
1022
},
1023
"module_type": "MODULE_TYPE_EXTEND"
1024
}
1025
```
1026
</details>
1027
1028
<!-- Generated by json-apidoc-gen @ 2025-07-12T04:08:00.156027648Z -->