specific action types

This commit is contained in:
Robert 2024-03-09 00:12:50 +07:00
parent 0c9525aba7
commit 6b9a3d269a
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22

View File

@ -13,3 +13,6 @@ const commentActionSchema = z.object({
export const actionSchema = z.union([waitActionSchema, commentActionSchema]); export const actionSchema = z.union([waitActionSchema, commentActionSchema]);
export type Action = z.infer<typeof actionSchema>; export type Action = z.infer<typeof actionSchema>;
export type WaitAction = z.infer<typeof waitActionSchema>;
export type CommentAction = z.infer<typeof commentActionSchema>;