From ca45d78e1d6db9ba4a1ba281c9b7cb358476a0c8 Mon Sep 17 00:00:00 2001 From: ashar Date: Wed, 5 Jun 2024 13:58:09 +0700 Subject: [PATCH] feat(event) interface event --- src/core/strings/constants/interface.constants.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/strings/constants/interface.constants.ts b/src/core/strings/constants/interface.constants.ts index 827be18..08d1a7d 100644 --- a/src/core/strings/constants/interface.constants.ts +++ b/src/core/strings/constants/interface.constants.ts @@ -3,7 +3,7 @@ import { OPERATION } from './base.constants'; export interface EventTopics { topic: any; - data?: IEvent; + data?: any; } export interface IEvent { @@ -15,3 +15,9 @@ export interface IEvent { module: string; op: OPERATION; } + +export interface IEventAuth { + id: string; + type: string; + timestamp: number; +}