@pnp/sp
Version:
pnp - provides a fluent api for working with SharePoint REST
22 lines • 882 B
TypeScript
import { IHubSiteWebData } from "./types.js";
declare module "../webs/types" {
interface _Web {
hubSiteData(forceRefresh?: boolean): Promise<Partial<IHubSiteWebData>>;
syncHubSiteTheme(): Promise<void>;
}
interface IWeb {
/**
* Gets hub site data for the current web.
*
* @param forceRefresh Default value is false. When false, the data is returned from the server's cache.
* When true, the cache is refreshed with the latest updates and then returned.
* Use this if you just made changes and need to see those changes right away.
*/
hubSiteData(forceRefresh?: boolean): Promise<Partial<IHubSiteWebData>>;
/**
* Applies theme updates from the parent hub site collection.
*/
syncHubSiteTheme(): Promise<void>;
}
}
//# sourceMappingURL=web.d.ts.map