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.161 to 1.0.163

2

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

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

@@ -53,2 +53,4 @@ "use strict";

importFile: api_1.HTTP([], ''),
// importWeibo
applySatisfied: api_1.HTTP([], ''),
};

@@ -14,3 +14,4 @@ "use strict";

leaderNumber: api_1.DB_CRUD(DbSchema_1.schemas.leaderNumber, {}, ['user'], 'admin'),
correspondent: api_1.DB_CRUD(DbSchema_1.schemas.correspondent, {}, ['user'], 'admin')
correspondent: api_1.DB_CRUD(DbSchema_1.schemas.correspondent, {}, ['user'], 'admin'),
satisfiedList: api_1.DB_CRUD(DbSchema_1.schemas.satisfiedList, {}, ['user'], 'admin')
};

@@ -114,2 +114,12 @@ "use strict";

}),
satisfiedList: new api_1.DbSchema(
// 数据库创建参数:
{},
// 数据库索引:
{
created: {
fields: { created: -1 },
options: { unique: false, sparse: false, dropDups: false },
},
}),
});
{
"name": "@gtrmt/document-manager-api",
"version": "1.0.161",
"version": "1.0.163",
"description": "稿件管理api",

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

@@ -169,2 +169,7 @@ /**

>([], ''),
// importWeibo
applySatisfied: HTTP<
{ data: any },
{ data: string; task: string; userId: string, value: string }
>([], ''),
};

@@ -12,3 +12,4 @@ import { DB_CRUD, DB_R, DB_RU } from '@vmm/api';

leaderNumber: DB_CRUD(schemas.leaderNumber, {}, ['user'], 'admin'),
correspondent: DB_CRUD(schemas.correspondent, {}, ['user'], 'admin')
correspondent: DB_CRUD(schemas.correspondent, {}, ['user'], 'admin'),
satisfiedList: DB_CRUD(schemas.satisfiedList, {}, ['user'], 'admin')
};

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

}
export interface satisfiedList {
id: string,
task: string,
userId: string,
data: string,
value: string,
publishTime: Date,
}
export const schemas = createDbSchemas({

@@ -270,2 +277,14 @@ documentList: new DbSchema<IDocumentList>(

),
satisfiedList: new DbSchema<satisfiedList>(
// 数据库创建参数:
{},
// 数据库索引:
{
created: {
fields: { created: -1 },
options: { unique: false, sparse: false, dropDups: false },
},
},
),
}

@@ -272,0 +291,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