@salesforcedevs/docs-components 1.17.5-search-alpha1 → 1.17.5-search-alpha2

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": "@salesforcedevs/docs-components",
3
- "version": "1.17.5-search-alpha1",
3
+ "version": "1.17.5-search-alpha2",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -36,6 +36,7 @@ type NavigationItem = {
36
36
  isExpanded: boolean;
37
37
  children: ParsedMarkdownTopic[];
38
38
  isChildrenLoading: boolean;
39
+ endpointNames?: string[];
39
40
  };
40
41
 
41
42
  export default class AmfReference extends LightningElement {
@@ -458,7 +459,8 @@ export default class AmfReference extends LightningElement {
458
459
  amfConfig.isSelected ||
459
460
  this.isExpandChildrenEnabled(amfConfig.id),
460
461
  children: navItemChildren,
461
- isChildrenLoading
462
+ isChildrenLoading,
463
+ endpointNames: amfConfig.endpointNames || []
462
464
  };
463
465
  this.parentReferenceUrls.push(amfConfig.href);
464
466
  }
@@ -63,6 +63,7 @@ export interface ParsedMarkdownTopic {
63
63
  }
64
64
 
65
65
  export interface AmfConfig {
66
+ endpointNames?: string[];
66
67
  id: string;
67
68
  version?: string;
68
69
  docPhase?: DocPhaseInfo;