style(mattermost): format websocket monitor

This commit is contained in:
Ayaan Zaidi 2026-03-27 10:04:23 +05:30
parent 51d851e092
commit ca9659ffb0
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@ export type MattermostWebSocketLike = {
export type MattermostWebSocketFactory = (url: string) => MattermostWebSocketLike;
const MattermostPostSchema = z.record(z.string(), z.unknown()) as unknown as z.ZodType<MattermostPost>;
const MattermostPostSchema = z.record(
z.string(),
z.unknown(),
) as unknown as z.ZodType<MattermostPost>;
const MattermostEventPayloadSchema = z.object({
event: z.string().optional(),