UNPKG

453 BJavaScriptView Raw
1import { _Web, Web } from "../webs/types.js";
2import { spPost } from "../operations.js";
3_Web.prototype.hubSiteData = async function (forceRefresh = false) {
4 const data = await Web(this, `hubSiteData(${forceRefresh})`)();
5 if (typeof data === "string") {
6 return JSON.parse(data);
7 }
8 return data;
9};
10_Web.prototype.syncHubSiteTheme = function () {
11 return spPost(Web(this, "syncHubSiteTheme"));
12};
13//# sourceMappingURL=web.js.map
\No newline at end of file