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.51 to 1.0.52

2

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

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