@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.51 to 1.0.52
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.51", | ||
"version": "1.0.52", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -16,2 +16,12 @@ "use strict"; | ||
}), | ||
documentExamine: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}), | ||
taskList: new api_1.DbSchema( | ||
@@ -46,3 +56,3 @@ // 数据库创建参数: | ||
}, | ||
}), | ||
}) | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.51", | ||
"version": "1.0.52", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -47,2 +47,23 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
} | ||
export interface IDocumentExamine { | ||
id: string, | ||
title: string, | ||
content: string, | ||
publishTime: string, // 发布时间 | ||
contentId: string, | ||
author: string, // 作者 | ||
source: string, // 来源 | ||
applyDept: string, // 申请部门 | ||
clickNumber: number, // 点击量 | ||
commentNumber: number, // 评论量 | ||
pushTime: string, // 推送时间 | ||
examine: string, // 审核 | ||
agree: number, // 通过数量 | ||
refuse: number, // 不通过数量 | ||
task: string, | ||
userid: string, // 申报人 | ||
status: string, | ||
applyType: string, | ||
column: string | ||
} | ||
export interface IDocumentUser { | ||
@@ -70,2 +91,13 @@ id: string, | ||
), | ||
documentExamine: new DbSchema<IDocumentExamine>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
), | ||
taskList: new DbSchema<ITaskList>( | ||
@@ -103,3 +135,3 @@ // 数据库创建参数: | ||
}, | ||
), | ||
) | ||
} | ||
@@ -106,0 +138,0 @@ ) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19992
506