add: opendb-open-data

This commit is contained in:
handongxun 2022-08-24 10:47:57 +08:00
parent c9be2fe0a7
commit 18d5fb39c5
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
"schema": {
"bsonType": "object",
"required": ["_id", "value"],
"properties": {
"_id": {
"bsonType": "string",
"description": "key格式uni-id:[dcloudAppid]:[platform]:[openid]:[access-token|user-access-token|session-key|encrypt-key-version|ticket]"
},
"value": {
"bsonType": "object",
"description": "字段_id对应的值"
},
"expired": {
"bsonType": "date",
"description": "过期时间"
}
}
}
}

View File

@ -0,0 +1,17 @@
{
"name": "@opendb/opendb-open-data",
"version": "0.0.1",
"description": "opendb-open-data",
"keywords": ["三方平台凭据"],
"opendb": {
"title": "三方平台凭据",
"type": "collection",
"contributors": [
{
"name": "DCloud",
"email": "",
"homepage": "https://gitee.com/dcloud/opendb"
}
]
}
}