@punks/backend-entity-manager 0.0.51 → 0.0.52

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,7 +1,8 @@
1
1
  export interface IEventLog<TPayload> {
2
2
  type: string;
3
- payload: TPayload;
3
+ payload?: TPayload;
4
4
  userId?: string;
5
+ userName?: string;
5
6
  timestamp: Date;
6
7
  }
7
8
  export interface IEventsTracker<TEventLog extends IEventLog<unknown>> {
@@ -1,7 +1,8 @@
1
1
  export interface IEventLog<TPayload> {
2
2
  type: string;
3
- payload: TPayload;
3
+ payload?: TPayload;
4
4
  userId?: string;
5
+ userName?: string;
5
6
  timestamp: Date;
6
7
  }
7
8
  export interface IEventsTracker<TEventLog extends IEventLog<unknown>> {
package/dist/index.d.ts CHANGED
@@ -510,8 +510,9 @@ interface ISearchResultsPaging<TCursor> {
510
510
 
511
511
  interface IEventLog<TPayload> {
512
512
  type: string;
513
- payload: TPayload;
513
+ payload?: TPayload;
514
514
  userId?: string;
515
+ userName?: string;
515
516
  timestamp: Date;
516
517
  }
517
518
  interface IEventsTracker<TEventLog extends IEventLog<unknown>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",