mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-25 22:16:08 +08:00
add: uni-id-tag
This commit is contained in:
parent
668f12ead9
commit
13cd9417d4
80
collection/uni-id-tag/collection.json
Normal file
80
collection/uni-id-tag/collection.json
Normal file
@ -0,0 +1,80 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["tagid", "name"],
|
||||
"permission": {
|
||||
"read": false,
|
||||
"create": false,
|
||||
"update": false,
|
||||
"delete": false
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"tagid": {
|
||||
"bsonType": "string",
|
||||
"description": "标签tagid",
|
||||
"label": "标签tagid",
|
||||
"componentForEdit": {
|
||||
"name": "uni-easyinput"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"description": "标签名称",
|
||||
"label": "标签名称",
|
||||
"componentForEdit": {
|
||||
"name": "uni-easyinput"
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"bsonType": "string",
|
||||
"description": "标签描述",
|
||||
"label": "标签描述",
|
||||
"componentForEdit": {
|
||||
"name": "textarea"
|
||||
},
|
||||
"componentForShow": {
|
||||
"name": "textarea"
|
||||
}
|
||||
},
|
||||
"create_date": {
|
||||
"bsonType": "timestamp",
|
||||
"label": "创建时间",
|
||||
"forceDefaultValue": {
|
||||
"$env": "now"
|
||||
},
|
||||
"componentForEdit": {
|
||||
"name": "uni-dateformat"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": [
|
||||
{
|
||||
"IndexName": "tagid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "tagid",
|
||||
"Direction": "1"
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "name",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "name",
|
||||
"Direction": "1"
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
17
collection/uni-id-tag/package.json
Normal file
17
collection/uni-id-tag/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/uni-id-tag",
|
||||
"version": "0.0.1",
|
||||
"description": "uni-id-tag",
|
||||
"keywords": ["标签列表"],
|
||||
"opendb": {
|
||||
"title": "标签列表",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "DCloud",
|
||||
"email": "",
|
||||
"homepage": "https://gitee.com/dcloud/opendb"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
"uni-id-address": {},
|
||||
"uni-id-device": {},
|
||||
"uni-id-log": {},
|
||||
"uni-id-tag": {},
|
||||
"uni-id-base-order":{},
|
||||
"uni-id-scores": {},
|
||||
"uni-id-task": {},
|
||||
|
Loading…
Reference in New Issue
Block a user