fix: type
This commit is contained in:
@@ -9,7 +9,7 @@ export type PostDeletetopic = z.infer<typeof postDeleteTopic>
|
||||
export const patchTopic = z.object({
|
||||
oldTopic: z.string(),
|
||||
newTopic: z.string(),
|
||||
type: z.enum(['state-reply', 'commands']),
|
||||
type: z.enum(['state-reply', 'command']),
|
||||
})
|
||||
export type PatchTopic = z.infer<typeof patchTopic>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user