UNPKG

@pnp/sp

Version:

pnp - provides a fluent api for working with SharePoint REST

15 lines 994 B
import { addProp } from "@pnp/queryable"; import { _List } from "../lists/types.js"; import { RoleAssignments } from "./types.js"; import { SPInstance } from "../spqueryable.js"; import { getUserEffectivePermissions, getCurrentUserEffectivePermissions, breakRoleInheritance, resetRoleInheritance, userHasPermissions, currentUserHasPermissions, hasPermissions, } from "./funcs.js"; addProp(_List, "roleAssignments", RoleAssignments); addProp(_List, "firstUniqueAncestorSecurableObject", SPInstance); _List.prototype.getUserEffectivePermissions = getUserEffectivePermissions; _List.prototype.getCurrentUserEffectivePermissions = getCurrentUserEffectivePermissions; _List.prototype.breakRoleInheritance = breakRoleInheritance; _List.prototype.resetRoleInheritance = resetRoleInheritance; _List.prototype.userHasPermissions = userHasPermissions; _List.prototype.currentUserHasPermissions = currentUserHasPermissions; _List.prototype.hasPermissions = hasPermissions; //# sourceMappingURL=list.js.map