UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

17 lines 929 B
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps'; import { IFpsNavLinksReturn } from '../../../types/fps-returns/sites/nav/INavigationLink'; import { IJSFetchMethodNoPUT } from '../../../components/molecules/SpHttp/interfaces/IJSFetchReturn'; import { IPnpNavType } from '../../../types/fps-returns/sites/nav/IPnpNavType'; /** * Can be used instead of getOrAddWebNavAPI to get all levels of the nav heirarchy for non-hub nav like TopLinks and QuickLaunch * * @param sourceProps * @param method * @param location * @param alertMe * @param consoleLog * @param maxDepth * @returns */ export declare function getFullNavHierarchy(sourceProps: ISourceProps, method: IJSFetchMethodNoPUT, location: IPnpNavType, alertMe: boolean | undefined, consoleLog: boolean | undefined, maxDepth?: number): Promise<IFpsNavLinksReturn>; //# sourceMappingURL=getFullNavHierarchy.d.ts.map