Type mutation inputs with shared Zod schemas instead of Record<string, unknown>

Replaced loose Record<string, unknown> types on useCreateTicket,
useUpdateTicket, useCreateUser, useUpdateUser, useUpdateWebhook,
and useCreateSavedView with their corresponding shared schema types.
Fixed three type errors this surfaced at call sites.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 20:37:23 -04:00
parent 86399c4ed0
commit c0ff063023
4 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ export default function Tickets() {
const currentFilters = useMemo(
() => ({
status: status || undefined,
severity: severity || undefined,
severity: severity ? Number(severity) : undefined,
assigneeId: assigneeId || undefined,
categoryId: categoryId || undefined,
typeId: typeId || undefined,