(feat): add live messages
(fix): broken states in message component (qol): update todos
This commit is contained in:
parent
c99b5940b8
commit
2d1e2c7bf8
8 changed files with 91 additions and 30 deletions
|
|
@ -22,7 +22,9 @@ export const message = z.object({
|
|||
tint: z.string().length(7).startsWith("#").optional(),
|
||||
avatar: z.boolean().optional(),
|
||||
display: z.boolean().optional(),
|
||||
message_state: z.enum(["read", "received", "sent", "sending", "awaiting"]), // awaiting for 'internal' use
|
||||
message_state: z
|
||||
.enum(["read", "received", "sent", "sending", "awaiting"])
|
||||
.default("received"), // awaiting for 'internal' use
|
||||
});
|
||||
|
||||
export const failedUser = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue