@pnp/sp
Version:
pnp - provides a fluent api for working with SharePoint REST
9 lines • 367 B
JavaScript
import { SPFI } from "../fi.js";
import { Web } from "../webs/types.js";
import "./web.js";
export { App, AppCatalog, } from "./types.js";
SPFI.prototype.getTenantAppCatalogWeb = async function () {
const data = await Web(this._root, "_api/SP_TenantSettings_Current")();
return Web([this._root, data.CorporateCatalogUrl]);
};
//# sourceMappingURL=index.js.map