@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.97 to 1.0.98
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.97", | ||
"version": "1.0.98", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -55,3 +55,13 @@ "use strict"; | ||
}, | ||
}), | ||
leaderNumber: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}) | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.97", | ||
"version": "1.0.98", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -28,2 +28,6 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
} | ||
export interface ILeaderNumber { | ||
id: string, | ||
leaderNumber: Number | ||
} | ||
export interface IDocumentList { | ||
@@ -35,3 +39,3 @@ id: string, | ||
author: string, // 作者 | ||
correspondent?:string, //通讯员 | ||
correspondent?: string, //通讯员 | ||
source: string, // 来源 | ||
@@ -61,3 +65,3 @@ applyDept: string, // 申请部门 | ||
author: string, // 作者 | ||
correspondent?:string, //通讯员 | ||
correspondent?: string, //通讯员 | ||
source: string, // 来源 | ||
@@ -145,3 +149,15 @@ applyDept: string, // 申请部门 | ||
}, | ||
), | ||
leaderNumber: new DbSchema<ILeaderNumber>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
) | ||
} | ||
@@ -148,0 +164,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
23003
598