New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xj-hospital/data-dict-api

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xj-hospital/data-dict-api - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

dist/package.json
{
"name": "@xj-hospital/data-dict-api",
"version": "1.0.4",
"version": "1.0.5",
"description": "西京系统设置api",

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

{
"name": "@xj-hospital/data-dict-api",
"version": "1.0.4",
"version": "1.0.5",
"description": "西京系统设置api",

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

@@ -11,27 +11,18 @@ /**

{
/**
* 用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
*/
action: string;
/**
* 用户操作数据库表名 如 会议表 请使用中文描述
*/
actionDbName?: string;
/**
* 用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
*/
actionContent?: string;
/**
/**
* 操作结果,可以为错误代码,操作失败描述等,成功则为null
*/
actErr: string | null;
/**
* 日志类型 system/service
*/
logType?: string;
/**
* 日志子类型
*/
subType?: string;
logType?: string; //日志类型 system/service
subType?: string; //日志子类型
ip: string; //操作IP
createdTime: Date; //创建时间
actorName: string; //操作人员姓名
actorAccount: string; //操作人员账号
actorId: string; //id
act: string; //操作行为
objectType: string; //操作对象类型
objectName: string; //操作对象名称
remark: string; //备注
action: string; //用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
actionDbName?: string; //用户操作数据库表名 如 会议表 请使用中文描述
actionContent?: string; //用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
actErr: string | null; //操作结果,可以为错误代码,操作失败描述等,成功则为null
},

@@ -38,0 +29,0 @@ {

@@ -99,30 +99,30 @@ import { DbSchema, createDbSchemas } from '@vmm/api';

// export interface ILog {
// action: string; //用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
// actionDbName?: string; //用户操作数据库表名 如 会议表 请使用中文描述
// actionContent?: string; //用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
// actErr: string | null; //操作结果,可以为错误代码,操作失败描述等,成功则为null
// actorName: string; //操作人员信息
// actorId: string;
// ip: string; //操作IP
// createdTime: Date;
// }
export interface ILog {
/**
* 用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
*/
action: string;
logType?: string; //日志类型 system/service
subType?: string; //日志子类型
ip: string; //操作IP
createdTime: Date; //创建时间
actorName: string; //操作人员姓名
actorAccount: string; //操作人员账号
actorId: string; //id
act: string; //操作行为
objectType: string; //操作对象类型
objectName: string; //操作对象名称
remark: string; //备注
/**
* 用户操作数据库表名 如 会议表 请使用中文描述
*/
actionDbName?: string;
/**
* 用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
*/
actionContent?: string;
/**
* 操作结果,可以为错误代码,操作失败描述等,成功则为null
*/
actErr: string | null;
/**
* 操作人员信息
*/
actorName: string;
actorId: string;
/**
* 操作IP
*/
ip: string;
createdTime: Date;
action: string; //用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
actionDbName?: string; //用户操作数据库表名 如 会议表 请使用中文描述
actionContent?: string; //用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
actErr: string | null; //操作结果,可以为错误代码,操作失败描述等,成功则为null
}

@@ -343,39 +343,3 @@

// 系统日志的数据结构
sysLogs: new DbSchema<{
/**
* 用户日志事件,事件简述 如 场地管理-增加场地 (一级菜单-二级菜单)
*/
action: string;
/**
* 用户操作数据库表名 如 会议表 请使用中文描述
*/
actionDbName?: string;
/**
* 用户操作数据库的内容 如 { 第五会议室 } 等,使用中文描述
*/
actionContent?: string;
/**
* 操作结果,可以为错误代码,操作失败描述等,成功则为null
*/
actErr: string | null;
/**
* 操作人员信息
*/
actorName: string;
actorId: string;
/**
* 操作IP
*/
ip: string;
createdTime: Date;
/**
* 日志类型 system/service
*/
logType?: string;
/**
* 日志子类型
*/
subType?: string;
}>(
sysLogs: new DbSchema<ILog>(
// 数据库创建参数:

@@ -382,0 +346,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