@mshow3/basic-user-api
Advanced tools
Comparing version 1.0.11 to 1.0.12
{ | ||
"name": "@mshow3/basic-user-api", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "你好示例API", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -9,2 +9,3 @@ "use strict"; | ||
userGroup: api_1.DB_CRUD(DbSchema_1.schemasUser.groups, {}, ["user"], "admin"), | ||
showModule: api_1.DB_R(DbSchema_1.schemasUser.showModule, {}, ["user"], ""), | ||
user: api_1.DB_R(DbSchema_1.schemasUser.user, { | ||
@@ -11,0 +12,0 @@ excludeFields: [], |
@@ -28,3 +28,9 @@ "use strict"; | ||
// 数据库索引: | ||
{}), | ||
// 需要显示的模块 | ||
showModule: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{}) | ||
}); |
{ | ||
"name": "@mshow3/basic-user-api", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "你好示例API", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -8,2 +8,3 @@ import { DB_CRUD, DB_R, DB_RU } from "@vmm/api"; | ||
userGroup: DB_CRUD(schemasUser.groups, {}, ["user"], "admin"), | ||
showModule: DB_R(schemasUser.showModule, {}, ["user"], ""), | ||
user: DB_R( | ||
@@ -10,0 +11,0 @@ schemasUser.user, |
@@ -53,3 +53,13 @@ import { DbSchema, createDbSchemas } from "@vmm/api"; | ||
{} | ||
), | ||
// 需要显示的模块 | ||
showModule: new DbSchema<// 数据库定义: | ||
{ | ||
module: string; | ||
}>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{} | ||
) | ||
}); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16331
464
0