mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 12:28:26 +00:00
fix: validMessageTextSchema bug
This commit is contained in:
parent
6a1ec0d22f
commit
9f80024514
@ -309,7 +309,7 @@ export type StdOutgoingEnvelope = z.infer<typeof stdOutgoingEnvelopeSchema>;
|
||||
|
||||
// is-valid-message-text validation
|
||||
export const validMessageTextSchema = z.object({
|
||||
message: z.string(),
|
||||
text: z.string(),
|
||||
});
|
||||
|
||||
export const textSchema = z.array(z.string().max(1000));
|
||||
|
Loading…
Reference in New Issue
Block a user