feat: complete UI design system refactoring and fix TS build errors

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 03:38:34 +02:00
1 parent 0b1ffdfdfc
commit 8728308fc6
27 files changed
+847 -370

No files matched your search

@@ -48,6 +48,7 @@ export function createFinalizeHandler(dependencies: FinalizeHandlerDependencies)
usageIds,
period,
adminUserId: principal.userId,
flatrateCentsSnapshot: null,
});
// Email dispatch
@@ -34,7 +34,7 @@ export function createPreviewHandler(dependencies: PreviewHandlerDependencies) {
const { editorialId, usageIds, year, month, quarter } = payload.data;
const period = month ? monthPeriod(year, month) : quarterPeriod(year, quarter!);
const bytes = await dependencies.previewReport({ editorialId, usageIds, period });
const bytes = await dependencies.previewReport({ editorialId, usageIds, period, flatrateCentsSnapshot: null });
return new Response(new Uint8Array(bytes), {
status: 200,