@fern-api/fdr-sdk 1.2.45-1a67633024 → 1.2.45-932269c163
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/dist/js/navigation/ledger-root-builder.js +3 -5
- package/dist/js/navigation/ledger-root-builder.js.map +1 -1
- package/dist/js/navigation/ledger-root-builder.mjs +3 -5
- package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
- package/dist/navigation/ledger-root-builder.d.ts.map +1 -1
- package/dist/navigation/ledger-root-builder.js +3 -8
- package/dist/navigation/ledger-root-builder.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/navigation/ledger-root-builder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1347,7 +1347,7 @@ function mergeChildrenByPosition(ctx, nav, sectionChildren) {
|
|
|
1347
1347
|
function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
1348
1348
|
const { seg, nav } = scoped;
|
|
1349
1349
|
const overview = overviewRoute(nav) ?? overviewRouteFromSegmentMeta(seg, nav);
|
|
1350
|
-
const overviewPageId = metaStr(
|
|
1350
|
+
const overviewPageId = overview != null ? metaStr(overview.metadata, "pageId") : void 0;
|
|
1351
1351
|
const relSection = stripLeadingScopePrefix(seg.section, scopePrefix);
|
|
1352
1352
|
let slug = structuralNodeSlug(ctx, overview?.fullPath, relSection, scopePrefix);
|
|
1353
1353
|
if (relSection === "" && overview?.fullPath == null) {
|
|
@@ -1360,6 +1360,7 @@ function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
|
+
const metaPointsTo = metaStr(seg.metadata, "pointsTo");
|
|
1363
1364
|
const defaults = withMetadataDefaults({
|
|
1364
1365
|
id: ctx.nodeId(`section:${slug}`),
|
|
1365
1366
|
title: metaStr(seg.metadata, "title") ?? "",
|
|
@@ -1380,10 +1381,7 @@ function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
|
1380
1381
|
collapsible: metaBool(seg.metadata, "collapsible") ?? (metaCollapsed(seg.metadata) === true ? true : void 0),
|
|
1381
1382
|
collapsedByDefault: metaBool(seg.metadata, "collapsedByDefault") ?? (metaCollapsed(seg.metadata) === true ? true : void 0),
|
|
1382
1383
|
availability: metaAvailability(seg.metadata),
|
|
1383
|
-
|
|
1384
|
-
// mutableUpdatePointsTo compute it via followRedirect so that
|
|
1385
|
-
// self-referencing redirects are cleared, matching v2 behavior.
|
|
1386
|
-
pointsTo: void 0,
|
|
1384
|
+
pointsTo: metaPointsTo != null ? pointsToSlug(metaPointsTo) : void 0,
|
|
1387
1385
|
children: mergeChildrenByPosition(ctx, nav, sectionChildren)
|
|
1388
1386
|
};
|
|
1389
1387
|
}
|