specific action types
This commit is contained in:
parent
0c9525aba7
commit
6b9a3d269a
|
|
@ -13,3 +13,6 @@ const commentActionSchema = z.object({
|
|||
|
||||
export const actionSchema = z.union([waitActionSchema, commentActionSchema]);
|
||||
export type Action = z.infer<typeof actionSchema>;
|
||||
|
||||
export type WaitAction = z.infer<typeof waitActionSchema>;
|
||||
export type CommentAction = z.infer<typeof commentActionSchema>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user