feat(custom-widgets): improve authoring workbench

This commit is contained in:
ajnart committed 2026-08-23 22:25:54 +02:00
1 parent ec295fe26e
commit 2153069a2f
35 files changed
+2615 -483

No files matched your search

@@ -243,6 +243,7 @@ export const customApiRouter = createTRPCRouter({
return {
type: "customJsx" as const,
template: resolved.definition.template,
queryCacheKey: `${getCustomWidgetCacheVersion(resolved.stored)}:${hashRuntimeParams(resolved.configuration)}`,
data: Object.fromEntries(entries.map(([id, result]) => [id, result.data])),
status: Object.fromEntries(entries.map(([id, result]) => [id, result.status])),
options: resolved.configuration,