feat: app-list、app-versions 支持 harmony

This commit is contained in:
DCloud_LXH 2024-11-01 17:50:08 +08:00
parent a9bbdfc115
commit 22a3fea828
2 changed files with 377 additions and 332 deletions

View File

@ -123,6 +123,27 @@
"bsonType": "string",
"description": "AppStore 上架地址",
"label": "AppStore 地址"
},
"abm_url": {
"bsonType": "string",
"description": "获取 iOS ABM 应用登录链接",
"label": "获取 iOS ABM 应用登录链接"
}
}
},
"app_harmony": {
"bsonType": "object",
"description": "HarmonyOS Next App 相关信息",
"properties": {
"name": {
"bsonType": "string",
"description": "应用名称",
"label": "应用名称"
},
"url": {
"bsonType": "string",
"description": "可下载安装包或可访问地址",
"label": "下载地址"
}
}
},
@ -315,6 +336,20 @@
}
}
},
"remark": {
"bsonType": "string",
"description": "备注",
"label": "备注",
"componentForEdit": {
"name": "textarea"
},
"componentForShow": {
"name": "textarea",
"props": {
":disabled": true
}
}
},
"create_date": {
"bsonType": "timestamp",
"label": "创建时间",

View File

@ -57,33 +57,38 @@
},
"platform": {
"bsonType": "array",
"enum": [{
"enum": [
{
"value": "Android",
"text": "安卓"
}, {
},
{
"value": "iOS",
"text": "苹果"
}],
"description": "更新平台Android || iOS || [Android, iOS]",
},
{
"value": "Harmony",
"text": "鸿蒙 Next"
}
],
"description": "更新平台Android || iOS || Harmony || [Android, iOS, Harmony]",
"label": "平台"
},
"type": {
"bsonType": "string",
"enum": [{
"enum": [
{
"value": "native_app",
"text": "原生App安装包"
}, {
},
{
"value": "wgt",
"text": "Wgt资源包"
}],
}
],
"description": "安装包类型native_app || wgt",
"label": "安装包类型"
},
"uni_platform": {
"bsonType": "string",
"description": "uni平台信息mp-weixin/web/ios/android",
"label": "uni 平台"
},
"version": {
"bsonType": "string",
"description": "当前包版本号,必须大于当前线上发行版本号",
@ -126,6 +131,11 @@
"name": "uni-dateformat"
}
},
"uni_platform": {
"bsonType": "string",
"description": "uni平台信息mp-weixin/web/ios/android",
"label": "uni 平台"
},
"create_env": {
"bsonType": "string",
"description": "创建来源uni-statuni统计自动创建upgrade-center升级中心管理员创建"