mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 06:21:14 +08:00
add uni-stat-error-source-map
This commit is contained in:
parent
3a803b9519
commit
dad224e9f8
69
collection/uni-stat-error-source-map/collection.json
Normal file
69
collection/uni-stat-error-source-map/collection.json
Normal 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}}
|
||||
]
|
||||
}
|
13
collection/uni-stat-error-source-map/package.json
Normal file
13
collection/uni-stat-error-source-map/package.json
Normal 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" }
|
||||
]
|
||||
}
|
||||
}
|
@ -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": {},
|
||||
|
@ -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": {},
|
||||
|
Loading…
Reference in New Issue
Block a user