@decocms/start 1.2.2 → 1.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/start",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "description": "Deco framework for TanStack Start - CMS bridge, admin protocol, hooks, schema generation",
6
6
  "main": "./src/index.ts",
@@ -967,6 +967,11 @@ function resolveSectionShallow(
967
967
  const rt = current.__resolveType as string | undefined;
968
968
  if (!rt) return null;
969
969
 
970
+ // Debug: trace section resolution for Header
971
+ if (String(rt).includes("eader") || (depth > 0 && String(current.__resolveType).includes("eader"))) {
972
+ console.log(`[SECTION-RESOLVE] depth=${depth} rt="${rt}" currentKeys=${Object.keys(current).length} getSection=${!!getSection(rt)} inBlocks=${!!loadBlocks()[rt]}`);
973
+ }
974
+
970
975
  if (SKIP_RESOLVE_TYPES.has(rt)) return null;
971
976
 
972
977
  // Lazy wrapper — unwrap to the inner section
@@ -1020,6 +1025,9 @@ function resolveSectionShallow(
1020
1025
  // Check if this is a registered section — we found it
1021
1026
  if (getSection(rt)) {
1022
1027
  const { __resolveType: _, ...rawProps } = current;
1028
+ if (rt.includes("eader")) {
1029
+ console.log(`[SECTION-RESOLVE] FOUND section "${rt}" rawProps keys: [${Object.keys(rawProps).join(", ")}]`);
1030
+ }
1023
1031
  return {
1024
1032
  component: rt,
1025
1033
  key: rt,