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
4
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.160 to 1.0.161

2

dist/package.json
{
"name": "@gtrmt/document-manager-api",
"version": "1.0.160",
"version": "1.0.161",
"description": "稿件管理api",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -38,2 +38,3 @@ "use strict";

addPoster: api_1.HTTP([], ''),
addImma: api_1.HTTP([], ''),
group: api_1.HTTP([], ''),

@@ -40,0 +41,0 @@ // 获取个人统计数据

@@ -97,7 +97,19 @@ "use strict";

// 测试数据库
test: new api_1.DbSchema(
// test: new DbSchema<any>(
// // 数据库创建参数:
// {},
// // 数据库索引:
// {},
// ),
// 微博抓取日志表
weiboLog: new api_1.DbSchema(
// 数据库创建参数:
{},
// 数据库索引:
{}),
{
created: {
fields: { created: -1 },
options: { unique: false, sparse: false, dropDups: false },
},
}),
});
{
"name": "@gtrmt/document-manager-api",
"version": "1.0.160",
"version": "1.0.161",
"description": "稿件管理api",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -127,2 +127,6 @@ /**

>([], ''),
addImma: HTTP<
{ title: string, content: string, time: Date },
{ status: number; data?: any; msg?: string }
>([], ''),
group: HTTP<

@@ -129,0 +133,0 @@ { taskTile: string },

@@ -49,2 +49,3 @@ import { DbSchema, createDbSchemas } from '@vmm/api';

correspondent?: string, //通讯员
editor: string, // 20211130增加“编辑”字段
source: string, // 来源

@@ -76,2 +77,3 @@ applyDept: string, // 申请部门

correspondent?: string, //通讯员
editor: string, // 20211130增加“编辑”字段
source: string, // 来源

@@ -90,2 +92,3 @@ applyDept: string, // 申请部门

column: string,
url?: string,//原文链接
documentStatus: string,

@@ -139,2 +142,13 @@ idea?: object[],

}
// 微博抓取日志表
export interface IWeiboLog {
id: string,
status: boolean, // 是否需要抓取的
authorStr: string, // 结尾的作者内容
content: string, // 具体内容
publishTime: Date, // 微博时间
actionTime: Date, // 抓取时间
}
export const schemas = createDbSchemas({

@@ -241,7 +255,19 @@ documentList: new DbSchema<IDocumentList>(

// 测试数据库
test: new DbSchema<any>(
// test: new DbSchema<any>(
// // 数据库创建参数:
// {},
// // 数据库索引:
// {},
// ),
// 微博抓取日志表
weiboLog: new DbSchema<IWeiboLog>(
// 数据库创建参数:
{},
// 数据库索引:
{},
{
created: {
fields: { created: -1 },
options: { unique: false, sparse: false, dropDups: false },
},
},
),

@@ -248,0 +274,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