18 lines
350 B
TypeScript
18 lines
350 B
TypeScript
import { UsersSession } from 'src/core/sessions';
|
|
import { OPERATION } from './base.constants';
|
|
|
|
export interface EventTopics {
|
|
topic: any;
|
|
data?: IEvent;
|
|
}
|
|
|
|
export interface IEvent<Entity = any> {
|
|
id: string;
|
|
old: null | Entity;
|
|
data: null | Entity;
|
|
user: UsersSession;
|
|
description: null | string;
|
|
module: string;
|
|
op: OPERATION;
|
|
}
|