mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 12:57:26 +00:00
[Add] badAuthor-InvalidField-framework.json, badAuthor-MissingField-framework.json, badAuthor-NonObject-framework.json 添加 author 属性错误解析数据; [Add] badBotCode-NonObject-framework.json 添加 botCode 属性错误解析数据; [Add] badPlatform-MissingField-Identify-framework.json, badPlatform-MissingField-Name-framework.json, badPlatform-NonObject-framework.json 添加 platform 属性错误解析数据; [Add] badPluginDependency-NonPrimitive-framework.json, badPluginDependency-NonString-framework.json 添加 pluginDependency 属性错误解析数据; [Add] JsonFrameworkDescriptorSerializerTest 添加多个异常情况的测试项; [Add] test-framework.json 添加软错误(不影响解析过程)数据以检查软错误情况;
36 lines
732 B
JSON
36 lines
732 B
JSON
{
|
|
"id": "cgj-mirai",
|
|
"description": "test",
|
|
"version": "3.0.0-alpha",
|
|
"requiresVersion": "=>3.0.0",
|
|
"provider": "Github@LamGC, Github@mamoe",
|
|
"license": "AGPL-3.0",
|
|
"frameworkClass": "com.example.FrameworkMain",
|
|
"dependencies": [
|
|
"RequireDepend@1.0.0",
|
|
"OptionalDepend?@1.0.0"
|
|
],
|
|
|
|
"platform": {
|
|
"name": "Tencent QQ",
|
|
"identify": "qq"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "LamGC",
|
|
"url": "https://github.com/LamGC",
|
|
"email": "lam827@lamgc.net"
|
|
}
|
|
],
|
|
"botCode": {
|
|
"patterns": [
|
|
"(?:\\[mirai:([^:]+)\\])",
|
|
"(?:\\[mirai:([^\\]]*)?:(.*?)?\\])",
|
|
"(?:\\[mirai:([^\\]]*)?(:(.*?))*?\\])",
|
|
{
|
|
"tips": "invalid data"
|
|
},
|
|
123456
|
|
]
|
|
}
|
|
} |