mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"description": "提供应用的页面字典",
|
||
"required": [],
|
||
"permission": {
|
||
"read": false,
|
||
"create": false,
|
||
"update": false,
|
||
"delete": false
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"appid": {
|
||
"bsonType": "string",
|
||
"description": "统计应用ID,对应opendb-app-list.appid",
|
||
"foreignKey": "opendb-app-list.appid"
|
||
},
|
||
"path": {
|
||
"bsonType": "string",
|
||
"description": "页面路径,如`/pages/index/index`"
|
||
},
|
||
"title": {
|
||
"bsonType": "string",
|
||
"description": "页面标题"
|
||
},
|
||
"create_time": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
}
|
||
}
|
||
},
|
||
"index": [{
|
||
"IndexName": "index_search_page",
|
||
"MgoKeySchema": {
|
||
"MgoIndexKeys": [{
|
||
"Name": "appid",
|
||
"Direction": "1"
|
||
}, {
|
||
"Name": "path",
|
||
"Direction": "1"
|
||
}],
|
||
"MgoIsUnique": true
|
||
}
|
||
}]
|
||
}
|