update: opendb-app-publish

This commit is contained in:
DCloud_LXH 2022-03-07 11:51:20 +08:00
parent 5ecc606f8f
commit d08073fbd8

View File

@ -1,282 +1,277 @@
{ {
"schema":{ "schema": {
"bsonType": "object", "bsonType": "object",
"required": [ "required": [
"appid", "appid",
"name", "name"
"alias", ],
"status" "permission": {
], "read": false,
"permission": { "create": false,
"read": true, "update": false,
"create": false, "delete": false
"update": false, },
"delete": false "properties": {
}, "_id": {
"properties": { "description": "记录id,自动生成"
"_id": { },
"description": "记录id,自动生成" "appid": {
}, "bsonType": "string",
"appid": { "trim": "both",
"bsonType": "string", "description": "应用的AppID",
"trim": "both", "label": "AppID",
"description": "应用的AppID", "componentForEdit": {
"label": "AppID", "name": "uni-easyinput",
"componentForEdit": { "props": {
"name": "uni-easyinput", "disabled": true
"props": { }
"disabled": true }
} },
} "name": {
}, "bsonType": "string",
"name": { "trim": "both",
"bsonType": "string", "description": "应用名称",
"trim": "both", "label": "应用名称",
"description": "应用名称", "componentForEdit": {
"label": "应用名称", "name": "uni-easyinput",
"componentForEdit": { "props": {
"name": "uni-easyinput", "disabled": true
"props": { }
"disabled": true }
} },
} "icon_url": {
}, "bsonType": "string",
"icon_url": { "trim": "both",
"bsonType": "string", "description": "应用图标链接",
"trim": "both", "label": "应用图标"
"description": "应用图标链接", },
"label": "应用图标" "introduction": {
}, "bsonType": "string",
"introduction": { "trim": "both",
"bsonType": "string", "description": "应用简介",
"trim": "both", "label": "应用简介",
"description": "应用简介", "componentForEdit": {
"label": "应用简介", "name": "uni-easyinput",
"componentForEdit": { "props": {
"name": "uni-easyinput", "disabled": true
"props": { }
"disabled": true }
} },
} "description": {
}, "bsonType": "string",
"alias": { "description": "应用描述",
"bsonType": "string", "label": "应用描述",
"trim": "both", "componentForEdit": {
"description": "英文,唯一。用于 url 发布页链接到对应 app 的映射关系", "name": "textarea"
"label": "应用别名", },
"componentForEdit": { "componentForShow": {
"name": "uni-easyinput", "name": "textarea",
"props": { "props": {
"disabled": true ":disabled": true
} }
} }
}, },
"description": { "screenshot": {
"bsonType": "string", "bsonType": "array",
"description": "应用描述", "description": "应用截图",
"label": "应用描述", "label": "应用截图"
"componentForEdit": { },
"name": "textarea" "app_android": {
}, "bsonType": "object",
"componentForShow": { "description": "安卓 App 相关信息",
"name": "textarea", "properties": {
"props": { "name": {
":disabled": true "bsonType": "string",
} "description": "快应用名称",
} "label": "快应用名称"
}, },
"status": { "url": {
"bsonType": "int", "bsonType": "string",
"description": "是否已发行0 下架 1 发行", "description": "安卓可下载安装包地址",
"label": "应用发行", "label": "安卓下载地址"
"defaultValue": 0, }
"enum": [ }
{ },
"value": 0, "app_ios": {
"text": "下架" "bsonType": "object",
}, "description": "苹果 App 相关信息",
{ "properties": {
"value": 1, "name": {
"text": "发行" "bsonType": "string",
} "description": "快应用名称",
] "label": "快应用名称"
}, },
"screenshot": { "url": {
"bsonType": "array", "bsonType": "string",
"description": "应用截图", "description": "AppStore 上架地址",
"label": "应用截图" "label": "AppStore 地址"
}, }
"app_android": { }
"bsonType": "object", },
"description": "安卓 App 相关信息", "mp_weixin": {
"properties": { "bsonType": "object",
"name": { "description": "微信小程序相关信息",
"bsonType": "string", "label": "微信小程序",
"description": "快应用名称", "properties": {
"label": "快应用名称" "name": {
}, "bsonType": "string",
"url": { "description": "小程序名字"
"bsonType": "string", },
"description": "安卓可下载安装包地址", "qrcode_url": {
"label": "安卓下载地址" "bsonType": "string",
} "description": "二维码url"
} }
}, }
"app_ios": { },
"bsonType": "object", "mp_alipay": {
"description": "苹果 App 相关信息", "bsonType": "object",
"properties": { "description": "支付宝小程序相关信息",
"name": { "label": "支付宝小程序",
"bsonType": "string", "properties": {
"description": "快应用名称", "name": {
"label": "快应用名称" "bsonType": "string",
}, "description": "小程序名字"
"url": { },
"bsonType": "string", "qrcode_url": {
"description": "AppStore 上架地址", "bsonType": "string",
"label": "AppStore 地址" "description": "二维码url"
} }
} }
}, },
"mp_weixin": { "mp_baidu": {
"bsonType": "object", "bsonType": "object",
"description": "微信小程序相关信息", "description": "百度小程序相关信息",
"label": "微信小程序", "label": "百度小程序",
"properties": { "properties": {
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "小程序名字" "description": "小程序名字"
}, },
"qrcode_url": { "qrcode_url": {
"bsonType": "string", "bsonType": "string",
"description": "二维码url" "description": "二维码url"
} }
} }
}, },
"mp_alipay": { "mp_toutiao": {
"bsonType": "object", "bsonType": "object",
"description": "支付宝小程序相关信息", "description": "头条小程序相关信息",
"label": "支付宝小程序", "label": "头条小程序",
"properties": { "properties": {
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "小程序名字" "description": "小程序名字"
}, },
"qrcode_url": { "qrcode_url": {
"bsonType": "string", "bsonType": "string",
"description": "二维码url" "description": "二维码url"
} }
} }
}, },
"mp_baidu": { "mp_qq": {
"bsonType": "object", "bsonType": "object",
"description": "百度小程序相关信息", "description": "QQ小程序相关信息",
"label": "百度小程序", "label": "QQ小程序",
"properties": { "properties": {
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "小程序名字" "description": "小程序名字"
}, },
"qrcode_url": { "qrcode_url": {
"bsonType": "string", "bsonType": "string",
"description": "二维码url" "description": "二维码url"
} }
} }
}, },
"mp_toutiao": { "mp_lark": {
"bsonType": "object", "bsonType": "object",
"description": "头条小程序相关信息", "description": "飞书小程序相关信息",
"label": "头条小程序", "label": "飞书小程序",
"properties": { "properties": {
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "小程序名字" "description": "小程序名字"
}, },
"qrcode_url": { "qrcode_url": {
"bsonType": "string", "bsonType": "string",
"description": "二维码url" "description": "二维码url"
} }
} }
}, },
"mp_qq": { "mp_kuaishou": {
"bsonType": "object", "bsonType": "object",
"description": "QQ小程序相关信息", "description": "快手小程序相关信息",
"label": "QQ小程序", "label": "快手小程序",
"properties": { "properties": {
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "小程序名字" "description": "小程序名字"
}, },
"qrcode_url": { "qrcode_url": {
"bsonType": "string", "bsonType": "string",
"description": "二维码url" "description": "二维码url"
} }
} }
}, },
"mp_lark": { "h5": {
"bsonType": "object", "bsonType": "object",
"description": "飞书小程序相关信息", "properties": {
"label": "飞书小程序", "url": {
"properties": { "bsonType": "string",
"name": { "description": "H5 可访问链接"
"bsonType": "string", }
"description": "小程序名字" }
}, },
"qrcode_url": { "quickapp": {
"bsonType": "string", "bsonType": "object",
"description": "二维码url" "properties": {
} "name": {
} "bsonType": "string",
}, "description": "快应用名称",
"mp_kuaishou": { "label": "快应用名称"
"bsonType": "object", },
"description": "快手小程序相关信息", "qrcode_url": {
"label": "快手小程序", "bsonType": "string",
"properties": { "description": "快应用二维码url"
"name": { }
"bsonType": "string", }
"description": "小程序名字" },
}, "create_date": {
"qrcode_url": { "bsonType": "timestamp",
"bsonType": "string", "label": "发行时间",
"description": "二维码url" "forceDefaultValue": {
} "$env": "now"
} },
}, "componentForEdit": {
"h5": { "name": "uni-dateformat"
"bsonType": "object", }
"properties": { }
"url": { }
"bsonType": "string", },
"description": "H5 可访问链接" "index": [
} {
} "IndexName": "appid",
}, "MgoKeySchema": {
"quickapp": { "MgoIndexKeys": [
"bsonType": "object", {
"properties": { "Name": "appid",
"name": { "Direction": "1"
"bsonType": "string", }
"description": "快应用名称", ],
"label": "快应用名称" "MgoIsUnique": true
}, }
"qrcode_url": { },
"bsonType": "string", {
"description": "快应用二维码url" "IndexName": "name",
} "MgoKeySchema": {
} "MgoIndexKeys": [
}, {
"create_date": { "Name": "name",
"bsonType": "timestamp", "Direction": "1"
"label": "发行时间", }
"forceDefaultValue": { ],
"$env": "now" "MgoIsUnique": false
}, }
"componentForEdit": { }
"name": "uni-dateformat" ]
}
}
}
},
"index":[]
} }