UNPKG

860 BJavaScriptView Raw
1import { _Item } from "../items/types.js";
2import { SharingRole, } from "./types.js";
3import { shareWith, getShareLink, checkPermissions, getSharingInformation, getObjectSharingSettings, unshareObject, deleteLinkByKind, unshareLink, } from "./funcs.js";
4_Item.prototype.shareWith = function (loginNames, role = SharingRole.View, requireSignin = false, emailData) {
5 return shareWith(this, loginNames, role, requireSignin, false, emailData);
6};
7_Item.prototype.getShareLink = getShareLink;
8_Item.prototype.checkSharingPermissions = checkPermissions;
9_Item.prototype.getSharingInformation = getSharingInformation;
10_Item.prototype.getObjectSharingSettings = getObjectSharingSettings;
11_Item.prototype.unshare = unshareObject;
12_Item.prototype.deleteSharingLinkByKind = deleteLinkByKind;
13_Item.prototype.unshareLink = unshareLink;
14//# sourceMappingURL=item.js.map
\No newline at end of file