Add new_chat_messages table to PGlite and create useMessagesElectric hook

This commit is contained in:
CREDO23 2026-01-22 18:43:20 +02:00
parent 0b8fed7304
commit 12437f840a
4 changed files with 169 additions and 83 deletions

View file

@ -10,7 +10,6 @@ export const rawMessage = z.object({
content: z.unknown(),
author_id: z.string().nullable(),
created_at: z.string(),
updated_at: z.string(),
});
export type RawMessage = z.infer<typeof rawMessage>;