You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 23:46:19 +00:00
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.
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user