Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gtrmt/document-manager-api

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gtrmt/document-manager-api - npm Package Compare versions

Comparing version 1.0.137 to 1.0.142

2

dist/package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc