UNPKG

@mikezimm/fps-core-v7

Version:

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

27 lines 1.19 kB
/** https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-rest-api http://<site url>/_api/thememanager/AddTenantTheme http://<site url>/_api/thememanager/DeleteTenantTheme http://<site url>/_api/thememanager/GetTenantThemingOptions http://<site url>/_api/thememanager/ApplyTheme http://<site url>/_api/thememanager/UpdateTenantTheme */ import { IFPSThemeParams } from "../interfaces/IFPSThemeParams"; /** * * Derived from PalettePal: * src\webparts\palettePal\components\functions\AddTenantThemes * src\webparts\palettePal\components\functions\GetTenantThemes * * "https://mysite-admin.sharepoint.com/" * const formDigestValue = this.context.pageContext.web.formDigestValue; * GetTenantThemingOptions("/_api/thememanager/GetTenantThemingOptions", this.); * * * @param url * @param formDigestValue * @param params * @returns */ export declare function GetOrPostTenantThemes(webUrl: string, url: string, formDigestValue: any, params: IFPSThemeParams, getOrPost: 'GET' | 'POST'): Promise<XMLHttpRequest>; //# sourceMappingURL=GetOrPostTenantThemes.d.ts.map