mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 14:31:15 +08:00
add collection opendb-banner
This commit is contained in:
parent
61bd91ab32
commit
618f7e78a1
46
collection/opendb-banner/collection.json
Normal file
46
collection/opendb-banner/collection.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["category_id", "image_url"],
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"category_id": {
|
||||
"bsonType": "string",
|
||||
"description": "分类"
|
||||
},
|
||||
"title": {
|
||||
"bsonType": "string",
|
||||
"description": "标题"
|
||||
},
|
||||
"description": {
|
||||
"bsonType": "string",
|
||||
"description": "描述"
|
||||
},
|
||||
"image_url": {
|
||||
"bsonType": "string",
|
||||
"description": "图片url"
|
||||
},
|
||||
"sort": {
|
||||
"bsonType": "int",
|
||||
"description": "排序"
|
||||
},
|
||||
"status": {
|
||||
"bsonType": "int",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"description": "状态: 0 禁用,1 正常"
|
||||
},
|
||||
"open_type": {
|
||||
"bsonType": "string",
|
||||
"description": "点击动作"
|
||||
},
|
||||
"open_url": {
|
||||
"bsonType": "string",
|
||||
"description": "点击跳转目标"
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": []
|
||||
}
|
17
collection/opendb-banner/package.json
Normal file
17
collection/opendb-banner/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/opendb-banner",
|
||||
"version": "0.0.1",
|
||||
"description": "opendb-banner",
|
||||
"keywords": ["banner"],
|
||||
"opendb": {
|
||||
"title": "Banner",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "DCloud",
|
||||
"email": "",
|
||||
"homepage": "https://gitee.com/dcloud/opendb"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user