3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00

chore: format repo (#482)

Begone formatting errors
This commit is contained in:
rubyowo 2024-06-02 15:21:27 +00:00 committed by GitHub
parent 8a4f7fe0e8
commit 914efb6fcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 95 additions and 41 deletions

View file

@ -286,8 +286,10 @@ export type StrictMessageContent = {
};
export type MessageContent = string | StrictMessageContent;
export const zMessageContent = z.union([zBoundedCharacters(0, 4000), zStrictMessageContent]) as z.ZodType<MessageContent>;
export const zMessageContent = z.union([
zBoundedCharacters(0, 4000),
zStrictMessageContent,
]) as z.ZodType<MessageContent>;
export function validateAndParseMessageContent(input: unknown): StrictMessageContent {
if (input == null) {