@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
25 lines (24 loc) • 1.69 kB
TypeScript
/**
* CodeAnalizerComment: Updated 5 imports on 2024-09-22 14:49:52
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
* Update:: import { doSpJsFetch } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
* Update:: import { IFpsErrorObject } to '@mikezimm/fps-core-v7/lib/types/fps-returns/common/IFpsErrorObject;'
* Update:: import { IFpsItemsReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
* Update:: import { checkItemsResults } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
*/
import { IJSFetchReturn } from '../../../../components/molecules/SpHttp/interfaces/IJSFetchReturn';
import { IFpsSpHttpServiceMIN } from '../../../../components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN';
/**
* This will fetch Subsites and their site logos, be sure to run EasyIcons after
* It does two fetches at the same time syncronosly.... needed due to SPO rest limiations.
* - apiSearchWebs api uses Search to find all subsites of the parent Url in order to get the actual SiteLogs
* - apiFilteredWebs api gets the actual current subsites the user has access to FOR THE CURRENT WEB.
* - Technically you could just use Search but that requires a crawl which may result in returning items that have been changed or deleted.
* Used in Pivot Tiles and Hub Connections.
*
* @param webUrl
* @param departmentId
* @returns
*/
export declare function fetchMySubsites(fpsSpService: IFpsSpHttpServiceMIN, webUrl: string): Promise<IJSFetchReturn>;
//# sourceMappingURL=fetchMySubsites.d.ts.map