@pnp/sp
Version:
pnp - provides a fluent api for working with SharePoint REST
14 lines • 860 B
JavaScript
import { _Item } from "../items/types.js";
import { SharingRole, } from "./types.js";
import { shareWith, getShareLink, checkPermissions, getSharingInformation, getObjectSharingSettings, unshareObject, deleteLinkByKind, unshareLink, } from "./funcs.js";
_Item.prototype.shareWith = function (loginNames, role = SharingRole.View, requireSignin = false, emailData) {
return shareWith(this, loginNames, role, requireSignin, false, emailData);
};
_Item.prototype.getShareLink = getShareLink;
_Item.prototype.checkSharingPermissions = checkPermissions;
_Item.prototype.getSharingInformation = getSharingInformation;
_Item.prototype.getObjectSharingSettings = getObjectSharingSettings;
_Item.prototype.unshare = unshareObject;
_Item.prototype.deleteSharingLinkByKind = deleteLinkByKind;
_Item.prototype.unshareLink = unshareLink;
//# sourceMappingURL=item.js.map