refactor(whatsapp): centralize web monitor state

This commit is contained in:
Peter Steinberger
2026-03-22 22:06:17 +00:00
parent cfd9242e5d
commit 66743b84fa
10 changed files with 324 additions and 112 deletions

View File

@@ -137,6 +137,7 @@ export const ChannelAccountSnapshotSchema = Type.Object(
reconnectAttempts: Type.Optional(Type.Integer({ minimum: 0 })),
lastConnectedAt: Type.Optional(Type.Integer({ minimum: 0 })),
lastError: Type.Optional(Type.String()),
healthState: Type.Optional(Type.String()),
lastStartAt: Type.Optional(Type.Integer({ minimum: 0 })),
lastStopAt: Type.Optional(Type.Integer({ minimum: 0 })),
lastInboundAt: Type.Optional(Type.Integer({ minimum: 0 })),