@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.104 to 1.0.107
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.104", | ||
"version": "1.0.107", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -40,2 +40,5 @@ "use strict"; | ||
getStatistics: api_1.HTTP([], ''), | ||
// 获取申报数量统计 | ||
getApplyCount: api_1.HTTP([], ''), | ||
getExamineCompete: api_1.HTTP([], ''), | ||
}; |
@@ -65,3 +65,13 @@ "use strict"; | ||
}, | ||
}), | ||
userShow: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}) | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.104", | ||
"version": "1.0.107", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -39,7 +39,7 @@ /** | ||
getNewsList: HTTP< | ||
{ task: string }, | ||
{}, | ||
{ status: number; data?: any; msg?: string } | ||
>([], ''), | ||
getApplyList: HTTP< | ||
{ type: string, task: string, skip: number, deptName: string, title: string }, | ||
{ type: string, skip: number, deptName: string, title: string }, | ||
{ status: number; data?: any; msg?: string } | ||
@@ -132,2 +132,11 @@ >([], ''), | ||
>([], ''), | ||
// 获取申报数量统计 | ||
getApplyCount: HTTP< | ||
{ userid: string }, | ||
{ status: number; data?: any; msg?: string } | ||
>([], ''), | ||
getExamineCompete: HTTP< | ||
{ userid: string }, | ||
{ status: number; data?: any; msg?: string } | ||
>([], ''), | ||
}; |
@@ -14,4 +14,4 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
title: string, | ||
startTime: string, | ||
endTime: string, | ||
startTime: Date, | ||
endTime: Date, | ||
time: Date, | ||
@@ -80,2 +80,3 @@ status: string, | ||
idea?: object[], | ||
examineUser: object[], | ||
inventory_docs: object[], | ||
@@ -91,2 +92,13 @@ } | ||
} | ||
export interface IUserShow { | ||
id: string, | ||
userId: string, | ||
name: string, | ||
agree: string, | ||
refuse: string, | ||
artileNumber: number, | ||
judges: number, | ||
ranking: number, | ||
leaderRanking: number | ||
} | ||
@@ -160,4 +172,14 @@ | ||
}, | ||
), | ||
userShow: new DbSchema<IUserShow>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
) | ||
} | ||
@@ -164,0 +186,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
24716
662