From 306f2c8b5d605d62aa0eb4a9942d4c1695a4d71f Mon Sep 17 00:00:00 2001 From: linju Date: Wed, 1 Jun 2022 19:16:38 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=AE=B0=E5=BD=95=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-tempdata/collection.json | 24 ++++++++++++++++++++++ collection/opendb-tempdata/package.json | 17 +++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 collection/opendb-tempdata/collection.json create mode 100644 collection/opendb-tempdata/package.json diff --git a/collection/opendb-tempdata/collection.json b/collection/opendb-tempdata/collection.json new file mode 100644 index 0000000..ffc87c1 --- /dev/null +++ b/collection/opendb-tempdata/collection.json @@ -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": [] +} diff --git a/collection/opendb-tempdata/package.json b/collection/opendb-tempdata/package.json new file mode 100644 index 0000000..a90281b --- /dev/null +++ b/collection/opendb-tempdata/package.json @@ -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" + } + ] + } +} From b9f14e016a1da5a664370c25118244c694a006eb Mon Sep 17 00:00:00 2001 From: linju Date: Thu, 2 Jun 2022 19:10:55 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0opendb-tempdata=E8=A1=A8?= =?UTF-8?q?=EF=BC=8Cexpired=E5=AD=97=E6=AE=B5bsonType=E7=9A=84=E5=80=BC?= =?UTF-8?q?=E4=B8=BA:timestamp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-tempdata/collection.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collection/opendb-tempdata/collection.json b/collection/opendb-tempdata/collection.json index ffc87c1..7cd102b 100644 --- a/collection/opendb-tempdata/collection.json +++ b/collection/opendb-tempdata/collection.json @@ -16,7 +16,8 @@ "description": "值" }, "expired": { - "description": "过期时间" + "description": "过期时间", + "bsonType": "timestamp" } } }, From 8f8284da85b854ddc18abc4295e624120ef3f8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Wed, 15 Jun 2022 06:28:48 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E5=B7=B2=E5=BA=9F=E5=BC=83=EF=BC=8C?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E4=BD=BF=E7=94=A8opendb-app-versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/uni-stat-app-versions/collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/uni-stat-app-versions/collection.json b/collection/uni-stat-app-versions/collection.json index 74f5362..5d2a805 100644 --- a/collection/uni-stat-app-versions/collection.json +++ b/collection/uni-stat-app-versions/collection.json @@ -1,7 +1,7 @@ { "schema": { "bsonType": "object", - "description": "提供应用的版本号字典", + "description": "提供应用的版本号字典;已废弃,推荐使用opendb-app-versions表", "required": [], "permission": { "read": false,