fix: type

This commit is contained in:
2026-02-09 10:54:22 +07:00
parent 90d4251ff6
commit 04e0847d49
+1 -1
View File
@@ -9,7 +9,7 @@ export type PostDeletetopic = z.infer<typeof postDeleteTopic>
export const patchTopic = z.object({ export const patchTopic = z.object({
oldTopic: z.string(), oldTopic: z.string(),
newTopic: z.string(), newTopic: z.string(),
type: z.enum(['state-reply', 'commands']), type: z.enum(['state-reply', 'command']),
}) })
export type PatchTopic = z.infer<typeof patchTopic> export type PatchTopic = z.infer<typeof patchTopic>