import { Injectable } from '@nestjs/common' ; import { HasuraEvent } from './hasura.interfaces' ; @ Injectable ( ) export class EventHandlerService { public handleEvent ( evt ) { console . log ( evt ) ; } }