UNPKG

994 BJavaScriptView Raw
1import { addProp } from "@pnp/queryable";
2import { _List } from "../lists/types.js";
3import { RoleAssignments } from "./types.js";
4import { SPInstance } from "../spqueryable.js";
5import { getUserEffectivePermissions, getCurrentUserEffectivePermissions, breakRoleInheritance, resetRoleInheritance, userHasPermissions, currentUserHasPermissions, hasPermissions, } from "./funcs.js";
6addProp(_List, "roleAssignments", RoleAssignments);
7addProp(_List, "firstUniqueAncestorSecurableObject", SPInstance);
8_List.prototype.getUserEffectivePermissions = getUserEffectivePermissions;
9_List.prototype.getCurrentUserEffectivePermissions = getCurrentUserEffectivePermissions;
10_List.prototype.breakRoleInheritance = breakRoleInheritance;
11_List.prototype.resetRoleInheritance = resetRoleInheritance;
12_List.prototype.userHasPermissions = userHasPermissions;
13_List.prototype.currentUserHasPermissions = currentUserHasPermissions;
14_List.prototype.hasPermissions = hasPermissions;
15//# sourceMappingURL=list.js.map
\No newline at end of file