fix: type
This commit is contained in:
1 parent
90d4251ff6
commit
04e0847d49
1 file changed
+1
-1
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user