@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -25,3 +25,13 @@ "use strict"; | ||
}, | ||
}), | ||
IUserList: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}) | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -19,2 +19,9 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
} | ||
export interface IUserList { | ||
id: string, | ||
name: string, | ||
deptName: string, | ||
apply: Boolean, | ||
examine: Boolean | ||
} | ||
export interface IDocumentList { | ||
@@ -61,2 +68,14 @@ id: string, | ||
}, | ||
), | ||
IUserList: new DbSchema< | ||
{}>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
) | ||
@@ -63,0 +82,0 @@ } |
16861
399