This commit is contained in:
linju 2023-02-20 17:26:08 +08:00
commit 43b55630a9
8 changed files with 163 additions and 36 deletions

View File

@ -81,8 +81,8 @@
},
"uni_platform": {
"bsonType": "string",
"description": "uni平台信息mp-weixin/web/app",
"label": "平台"
"description": "uni平台信息mp-weixin/web/ios/android",
"label": "uni 平台"
},
"version": {
"bsonType": "string",
@ -96,8 +96,8 @@
},
"url": {
"bsonType": "string",
"description": "可下载安装包地址",
"label": "包地址"
"description": "可下载或跳转的链接",
"label": "链接"
},
"stable_publish": {
"bsonType": "bool",
@ -129,6 +129,37 @@
"create_env": {
"bsonType": "string",
"description": "创建来源uni-statuni统计自动创建upgrade-center升级中心管理员创建"
},
"store_list": {
"bsonType": "array",
"description": "发布的应用市场",
"label": "应用市场",
"properties": {
"id": {
"bsonType": "string",
"description": "应用id自动生成",
"label": "id"
},
"name": {
"bsonType": "string",
"description": "应用名称",
"label": "应用名称"
},
"scheme": {
"bsonType": "string",
"description": "应用 scheme",
"label": "应用 scheme"
},
"enable": {
"bsonType": "bool",
"description": "是否启用"
},
"priority": {
"bsonType": "int",
"description": "按照从大到小排序",
"label": "优先级"
}
}
}
},
"version": "0.0.1"

View File

@ -42,15 +42,19 @@
"properties": {
"all": {
"bsonType": "bool",
"description": "全部用户发送"
"description": "全部用户发送;字段废弃,由 condition 替代"
},
"type": {
"bsonType": "string",
"description": "to.all=true时用来区分发送类型, 可选值 user | userTags"
"description": "可选值 user | userTags"
},
"receiver": {
"bsonType": "array",
"description": "用户ID's \/ 用户标签ID's"
"description": "用户ID's \/ 用户标签ID's指定id发送"
},
"condition": {
"bsonType": "object",
"description": "根据条件发送,例如给所有人发送"
}
}
},

View File

@ -441,6 +441,14 @@
"my_invite_code": {
"bsonType": "string",
"description": "用户自身邀请码"
},
"identities": {
"bsonType": "array",
"description": "三方平台身份信息;一个对象代表一个身份,参数支持: provider 身份源, userInfo 三方用户信息, openid 三方openid, unionid 三方unionid, uid 三方uid",
"permission": {
"read": "'READ_UNI_ID_USERS' in auth.permission",
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
}
}
}
},

View File

@ -1,6 +1,6 @@
{
"name": "@opendb/uni-id-users",
"version": "1.0.2",
"version": "1.0.3",
"description": "uni-id-users",
"keywords": ["uni-id", "用户管理", "登录", "注册"],
"opendb": {

View File

@ -0,0 +1,69 @@
{
"schema": {
"bsonType": "object",
"description": "存储sourceMap文件资源地址",
"required": [],
"permission": {
"read": false,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"appid": {
"bsonType": "string",
"description": "应用ID"
},
"uni_platform": {
"title": "应用平台",
"bsonType": "string",
"description": "uni客户端平台,如web、mp-weixin、mp-alipay、app等",
"trim": "both"
},
"version": {
"bsonType": "string",
"description": "客户端上报的应用版本号"
},
"file_id": {
"bsonType": "string",
"description": "fileID"
},
"url": {
"bsonType": "string",
"description": "文件外网url路径"
},
"name": {
"bsonType": "string",
"description": "文件名"
},
"size": {
"bsonType": "int",
"description": "文件大小"
},
"cloud_path": {
"bsonType": "string",
"description": "云端路径,通过该值识别是否是同一个文件"
},
"base": {
"bsonType": "string",
"description": "基础路径"
},
"create_time": {
"bsonType": "timestamp",
"description": "上传时间",
"forceDefaultValue": {
"$env": "now"
}
}
}
},
"index": [
{"IndexName": "appid","MgoKeySchema": {"MgoIndexKeys": [{"Name": "appid","Direction": "1"}],"MgoIsUnique": false}},
{"IndexName": "base","MgoKeySchema": {"MgoIndexKeys": [{"Name": "base","Direction": "1"}],"MgoIsUnique": false}},
{"IndexName": "cloud_path","MgoKeySchema": {"MgoIndexKeys": [{"Name": "cloud_path","Direction": "1"}],"MgoIsUnique": false}},
{"IndexName": "create_time","MgoKeySchema": {"MgoIndexKeys": [{"Name": "create_time","Direction": "1"}],"MgoIsUnique": false}}
]
}

View File

@ -0,0 +1,13 @@
{
"name": "@opendb/uni-stat-error-source-map",
"version": "0.0.1",
"description": "uni-stat-error-source-map",
"keywords": ["存储sourceMap文件资源地址"],
"opendb": {
"title": "存储sourceMap文件资源地址",
"type": "collection",
"contributors": [
{ "name": "DCloud", "email": "", "homepage": "https://gitee.com/dcloud/opendb" }
]
}
}

View File

@ -12,6 +12,7 @@
"uni-stat-app-platforms": {},
"uni-stat-error-logs": {},
"uni-stat-error-result": {},
"uni-stat-error-source-map": {},
"uni-stat-event-logs": {},
"uni-stat-event-result": {},
"uni-stat-events": {},

View File

@ -7,6 +7,7 @@
"uni-stat-app-versions": {},
"uni-stat-error-logs": {},
"uni-stat-error-result": {},
"uni-stat-error-source-map": {},
"uni-stat-event-logs": {},
"uni-stat-event-result": {},
"uni-stat-events": {},