@kwiz/common
Version:
KWIZ common utilities and helpers for M365 platform
6 lines (5 loc) • 579 B
TypeScript
import { IWebPartDefinition } from "../../types/webpart.types";
export declare function DeleteWebPart(siteUrl: string, fileServerRelativeUrl: string, webPartId: string): Promise<boolean>;
export declare function HideWebPart(siteUrl: string, fileServerRelativeUrl: string, webPartId: string, hidden: boolean): Promise<boolean>;
export declare function GetWebParts(siteUrl: string, fileServerRelativeUrl: string): Promise<IWebPartDefinition[]>;
export declare function GetWebPartById(siteUrl: string, fileServerRelativeUrl: string, webPartId: string): Promise<IWebPartDefinition>;