From 306f2c8b5d605d62aa0eb4a9942d4c1695a4d71f Mon Sep 17 00:00:00 2001 From: linju Date: Wed, 1 Jun 2022 19:16:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=B4=E6=97=B6=E6=95=B0?= =?UTF-8?q?=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" + } + ] + } +}