1 | import { _Item } from "../items/types.js";
|
2 | import { SharingRole, } from "./types.js";
|
3 | import { 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 |
|
\ | No newline at end of file |