From 9de83b418a31a5fadbc731abf303f453d27845f1 Mon Sep 17 00:00:00 2001 From: chenruilong Date: Fri, 14 Jul 2023 19:29:59 +0800 Subject: [PATCH] update uni-cms-articles --- collection/uni-cms-articles/collection.json | 8 ++++++++ collection/uni-cms-articles/schema.json | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/collection/uni-cms-articles/collection.json b/collection/uni-cms-articles/collection.json index 3bd3708..17f0337 100644 --- a/collection/uni-cms-articles/collection.json +++ b/collection/uni-cms-articles/collection.json @@ -160,6 +160,14 @@ "forceDefaultValue": { "$env": "clientIP" } + }, + "preview_secret": { + "bsonType": "string", + "description": "文章预览密钥" + }, + "preview_expired": { + "bsonType": "timestamp", + "description": "文章预览过期时间" } } }, diff --git a/collection/uni-cms-articles/schema.json b/collection/uni-cms-articles/schema.json index 03394bc..d4f2243 100644 --- a/collection/uni-cms-articles/schema.json +++ b/collection/uni-cms-articles/schema.json @@ -159,6 +159,14 @@ "forceDefaultValue": { "$env": "clientIP" } + }, + "preview_secret": { + "bsonType": "string", + "description": "文章预览密钥" + }, + "preview_expired": { + "bsonType": "timestamp", + "description": "文章预览过期时间" } } }