feat: add Audit logs event
All checks were successful
Publish / Publish Job (push) Successful in 2m29s
All checks were successful
Publish / Publish Job (push) Successful in 2m29s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lendry-erp/contracts",
|
||||
"version": "1.0.61",
|
||||
"version": "1.1.0",
|
||||
"description": "Protobuf definitions and generated TypeScript types",
|
||||
"type": "commonjs",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
1
src/events/index.ts
Normal file
1
src/events/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./users";
|
||||
8
src/events/users/audit-logs.interface.ts
Normal file
8
src/events/users/audit-logs.interface.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export interface AuditLog {
|
||||
accountId?: string;
|
||||
type?: string;
|
||||
action?: string;
|
||||
ipAddress?: string;
|
||||
userAgent?: string;
|
||||
detail?: string;
|
||||
}
|
||||
1
src/events/users/index.ts
Normal file
1
src/events/users/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./audit-logs.interface";
|
||||
@@ -1 +1,2 @@
|
||||
export * from "./proto";
|
||||
export * from "./events";
|
||||
|
||||
Reference in New Issue
Block a user