refactor: remove explicit any across admin forms and catalog actions
Local Build and Deploy / deploy (push) Canceled after 40s

- Type resolveAsChild generically over Base UI render-prop type
- Type catalog/rooms/catalog-items Prisma updates with Prisma.*UpdateInput
- Type EventForm/PollForm with explicit form-value interfaces
- Type EventPrizesManager/PollQuestionsManager with validator input types
- All typecheck, lint, and 312 tests pass
This commit is contained in:
openhands committed 2026-07-18 20:31:18 +02:00
1 parent 907a4399d0
commit 3eaffe658d
8 files changed
+61 -23

No files matched your search

+2 -2
View File
@@ -301,7 +301,7 @@ export async function updateCatalogItem({
if (Object.keys(safeCatalog).length > 0) {
await prisma.catalogItems.update({
where: { id },
data: safeCatalog as any,
data: safeCatalog as Prisma.CatalogItemsUpdateInput,
});
}
if (baseItem) {
@@ -309,7 +309,7 @@ export async function updateCatalogItem({
if (Object.keys(safeBase).length > 0) {
await prisma.itemsBase.update({
where: { id: baseItem.id },
data: safeBase as any,
data: safeBase as Prisma.ItemsBaseUpdateInput,
});
}
}