feat(communication): housekeeping ban-user + generic action-result

* HousekeepingBanUserComposer (OutgoingHeader 9102): (userId,
  reason, hours).

* HousekeepingActionResultEvent + Parser (IncomingHeader 9201):
  generic ack carrying (actionKey, ok, actionId, message). Same
  parser will back mute / kick / give-credits / room-close / etc.
  callers — adding a new HK action only needs a new outgoing
  composer plus the right ACTION_KEY constant on the server side.

vitest 138/138, `yarn compile:fast` clean.
This commit is contained in:
simoleo89
2026-05-24 10:53:46 +02:00
committed by simoleo89
parent 3113baf559
commit 31598b8883
9 changed files with 87 additions and 1 deletions
@@ -526,4 +526,5 @@ export class OutgoingHeader
// Housekeeping (in-client admin panel) — IDs 9100..9199 reserved
public static HOUSEKEEPING_FIND_USER_BY_NAME = 9100;
public static HOUSEKEEPING_FIND_USER_BY_ID = 9101;
public static HOUSEKEEPING_BAN_USER = 9102;
}