Files
Nitro_Render_V3/packages/communication/src/messages/incoming/housekeeping/HousekeepingDashboardEvent.ts
T
simoleo89 5dd5b26bbe feat(communication): housekeeping hotel alert + dashboard + audit log
Outgoing 9127-9129: send-hotel-alert (message string), get-dashboard
(no args), list-action-log (limit int).

Incoming 9206 HousekeepingDashboardEvent + 9207 ActionLogEvent with
matching parsers and data classes. Dashboard is a flat one-shot
parse — no count prefix; action log uses the standard "count + N
entries" list pattern.

Closes the HK packet surface — yarn compile:fast clean.
2026-05-24 16:28:52 +02:00

17 lines
471 B
TypeScript

import { IMessageEvent } from '@nitrots/api';
import { MessageEvent } from '@nitrots/events';
import { HousekeepingDashboardParser } from '../../parser';
export class HousekeepingDashboardEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, HousekeepingDashboardParser);
}
public getParser(): HousekeepingDashboardParser
{
return this.parser as HousekeepingDashboardParser;
}
}