feat(event) interface event
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
f9ec18ff28
commit
ca45d78e1d
|
@ -3,7 +3,7 @@ import { OPERATION } from './base.constants';
|
|||
|
||||
export interface EventTopics {
|
||||
topic: any;
|
||||
data?: IEvent;
|
||||
data?: any;
|
||||
}
|
||||
|
||||
export interface IEvent<Entity = any> {
|
||||
|
@ -15,3 +15,9 @@ export interface IEvent<Entity = any> {
|
|||
module: string;
|
||||
op: OPERATION;
|
||||
}
|
||||
|
||||
export interface IEventAuth {
|
||||
id: string;
|
||||
type: string;
|
||||
timestamp: number;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue