@bygghammar/cms-platform 0.38.0 → 0.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.1
4
+
5
+ - Type fix in `server/forms-submissions-core` (per-form rollup form names).
6
+
3
7
  ## 0.38.0
4
8
 
5
9
  - Added `server/forms-submissions-core` — the whole submission lifecycle is now
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bygghammar/cms-platform",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "Shared CMS platform: blocks, block types, i18n core, UI primitives and design-token contract used by every Bygghammar/Voyara site.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1232,7 +1232,9 @@ export async function listDeliveryAttemptsCore(
1232
1232
  .order("created_at", { ascending: false })
1233
1233
  .limit(2000);
1234
1234
  const { data: forms } = await context.supabase.from("forms").select("key, name");
1235
- const names = new Map((forms ?? []).map((f: any) => [f.key, f.name as string]));
1235
+ const names = new Map<string, string>(
1236
+ (forms ?? []).map((f: any) => [f.key as string, f.name as string]),
1237
+ );
1236
1238
 
1237
1239
  const perForm = new Map<
1238
1240
  string,