@openbox/shared-types 0.2.89 → 0.2.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { SystemLogs } from '../system.logs.types';
2
- export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id'> & {
2
+ export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id' | 'user' | 'module' | 'company' | 'companyBranch'> & {
3
3
  user: string;
4
4
  module: string;
5
5
  company: string;
@@ -6,4 +6,8 @@ export type SystemLogs = {
6
6
  entityName: string;
7
7
  action: 'create' | 'read' | 'update' | 'delete';
8
8
  status: 'success' | 'error';
9
+ browserName: string;
10
+ browserVersion: string;
11
+ operatingSystem: string;
12
+ ip: string;
9
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.89",
3
+ "version": "0.2.90",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,6 +1,9 @@
1
1
  import { SystemLogs } from '../system.logs.types'
2
2
 
3
- export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id'> & {
3
+ export type SystemLogsCreateSingleRequest = Omit<
4
+ SystemLogs,
5
+ 'id' | 'user' | 'module' | 'company' | 'companyBranch'
6
+ > & {
4
7
  user: string
5
8
  module: string
6
9
  company: string
@@ -6,6 +6,10 @@ export type SystemLogs = {
6
6
  entityName: string
7
7
  action: 'create' | 'read' | 'update' | 'delete'
8
8
  status: 'success' | 'error'
9
+ browserName: string
10
+ browserVersion: string
11
+ operatingSystem: string
12
+ ip: string
9
13
  // user: AuthUsersEntity
10
14
  // module: SystemModules
11
15
  // company: CompaniesEntity