@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.137 to 1.0.142
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.137", | ||
"version": "1.0.142", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -45,3 +45,5 @@ "use strict"; | ||
// 日期查询通讯员发稿记录,类似统计 | ||
statisticsDoc: api_1.HTTP([], '') | ||
statisticsDoc: api_1.HTTP([], ''), | ||
// 统计记者发稿记录 | ||
statisticsReporter: api_1.HTTP([], ''), | ||
}; |
@@ -16,2 +16,3 @@ "use strict"; | ||
summaryReport: api_1.DB_CRUD(DbSchema_1.schemas.summaryReport, {}, ['user'], 'admin'), | ||
reporterRecord: api_1.DB_CRUD(DbSchema_1.schemas.reporterRecord, {}, ['user'], 'admin') | ||
}; |
@@ -114,3 +114,13 @@ "use strict"; | ||
}, | ||
}), | ||
reporterRecord: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}) | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.137", | ||
"version": "1.0.142", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -150,3 +150,8 @@ /** | ||
{ status: number; data?: any; msg?: string } | ||
>([], '') | ||
>([], ''), | ||
// 统计记者发稿记录 | ||
statisticsReporter: HTTP< | ||
{ startDate: string, endDate: string, source: string}, | ||
{ status: number; data?: any; msg?: string } | ||
>([], ''), | ||
}; |
@@ -15,2 +15,3 @@ import { DB_CRUD, DB_R, DB_RU } from '@vmm/api'; | ||
summaryReport:DB_CRUD(schemas.summaryReport, {}, ['user'], 'admin'), | ||
reporterRecord:DB_CRUD(schemas.reporterRecord, {}, ['user'], 'admin') | ||
}; |
@@ -144,5 +144,13 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
editor: string, | ||
aggregator: string, //汇总人 | ||
aggreDept: string //汇总单位 | ||
aggreDept: string[] //汇总单位 | ||
} | ||
// 记者发稿记录模块 | ||
export interface IReporterRecord { | ||
id: string, | ||
name: string, | ||
publishTime: string[], //发稿日期 | ||
platForm: string[], //发稿平台 | ||
title: string[], //发稿标题 | ||
wordNumber: number //字数 | ||
} | ||
// 评优评先模块 | ||
@@ -280,2 +288,13 @@ export interface IAppraising { | ||
}, | ||
), | ||
reporterRecord: new DbSchema<IReporterRecord>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
) | ||
@@ -282,0 +301,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
29806
856