@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
|
@@ -1306,7 +1306,7 @@ function mergeChildrenByPosition(ctx, nav, sectionChildren) {
|
|
|
1306
1306
|
function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
1307
1307
|
const { seg, nav } = scoped;
|
|
1308
1308
|
const overview = overviewRoute(nav) ?? overviewRouteFromSegmentMeta(seg, nav);
|
|
1309
|
-
const overviewPageId = metaStr(
|
|
1309
|
+
const overviewPageId = overview != null ? metaStr(overview.metadata, "pageId") : void 0;
|
|
1310
1310
|
const relSection = stripLeadingScopePrefix(seg.section, scopePrefix);
|
|
1311
1311
|
let slug = structuralNodeSlug(ctx, overview?.fullPath, relSection, scopePrefix);
|
|
1312
1312
|
if (relSection === "" && overview?.fullPath == null) {
|
|
@@ -1319,6 +1319,7 @@ function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
+
const metaPointsTo = metaStr(seg.metadata, "pointsTo");
|
|
1322
1323
|
const defaults = withMetadataDefaults({
|
|
1323
1324
|
id: ctx.nodeId(`section:${slug}`),
|
|
1324
1325
|
title: metaStr(seg.metadata, "title") ?? "",
|
|
@@ -1339,10 +1340,7 @@ function sectionNode(ctx, scoped, sectionChildren, scopePrefix) {
|
|
|
1339
1340
|
collapsible: metaBool(seg.metadata, "collapsible") ?? (metaCollapsed(seg.metadata) === true ? true : void 0),
|
|
1340
1341
|
collapsedByDefault: metaBool(seg.metadata, "collapsedByDefault") ?? (metaCollapsed(seg.metadata) === true ? true : void 0),
|
|
1341
1342
|
availability: metaAvailability(seg.metadata),
|
|
1342
|
-
|
|
1343
|
-
// mutableUpdatePointsTo compute it via followRedirect so that
|
|
1344
|
-
// self-referencing redirects are cleared, matching v2 behavior.
|
|
1345
|
-
pointsTo: void 0,
|
|
1343
|
+
pointsTo: metaPointsTo != null ? pointsToSlug(metaPointsTo) : void 0,
|
|
1346
1344
|
children: mergeChildrenByPosition(ctx, nav, sectionChildren)
|
|
1347
1345
|
};
|
|
1348
1346
|
}
|