1 | import { _Web, Web } from "../webs/types.js";
|
2 | import { 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 |