mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
添加临时数据记录表
This commit is contained in:
parent
b70070aec1
commit
306f2c8b5d
24
collection/opendb-tempdata/collection.json
Normal file
24
collection/opendb-tempdata/collection.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["value", "expired"],
|
||||
"permission": {
|
||||
"read": false,
|
||||
"create": false,
|
||||
"update": false,
|
||||
"delete": false
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"value": {
|
||||
"description": "值"
|
||||
},
|
||||
"expired": {
|
||||
"description": "过期时间"
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": []
|
||||
}
|
17
collection/opendb-tempdata/package.json
Normal file
17
collection/opendb-tempdata/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/opendb-tempdata",
|
||||
"version": "0.0.1",
|
||||
"description": "一般用于存储临时令牌,如:uni-push的token,微信的access_token等",
|
||||
"keywords": ["access_token","uni-push"],
|
||||
"opendb": {
|
||||
"title": "临时数据记录表",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "DCloud_JSON",
|
||||
"email": "",
|
||||
"homepage": "https://gitee.com/dcloud/opendb"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user