♻️ Simplify text bubble content shape
Remove html and plainText field because it was redundant Closes #386
This commit is contained in:
@ -73,9 +73,7 @@ const chatSessionSchema = z.object({
|
||||
|
||||
const textMessageSchema = z.object({
|
||||
type: z.literal(BubbleBlockType.TEXT),
|
||||
content: textBubbleContentSchema.omit({
|
||||
richText: true,
|
||||
}),
|
||||
content: textBubbleContentSchema,
|
||||
})
|
||||
|
||||
const imageMessageSchema = z.object({
|
||||
|
Reference in New Issue
Block a user