mirror of https://github.com/openclaw/openclaw.git
style(mattermost): format websocket monitor
This commit is contained in:
parent
51d851e092
commit
ca9659ffb0
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue