@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
40 lines (38 loc) • 1.68 kB
TypeScript
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
* Update:: import { IFpsErrorObject } to '../../types/fps-returns/common/IFpsErrorObject;'
*/
/**
* CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24
* Update:: import { IFpsErrorObject } to '../../types/fps-returns/common/IFpsErrorObject;'
* Update:: import { IRoleAssignmentInfo } to '../../types/@pnp/@2.14.0/sp/security;'
*/
/**
* 2024-12-07: MOVE THIS TO fps-core-v7 ???
* MIGRATION CANDIDATE
*/
import { IFpsErrorObject } from "../../types/fps-returns/common/IFpsErrorObject";
import { IRoleAssignmentInfo, IRoleDefinitionInfo } from "../../types/@pnp/@2.14.0/sp/security";
import { ISiteGroupInfo } from "../../types/@pnp/@2.14.0/sp/site-groups";
import { ISiteUserInfo } from "../../types/@pnp/@2.14.0/sp/site-users";
export interface IFpsRoleAssignmentInfo extends IFpsErrorObject {
items?: any;
item?: any;
RoleAssignments: IFpsRoleAssignmentAsFetched[];
HasUniqueRoleAssignments: boolean | 'Unknown' | 'TBD';
}
/**
* 2025-01-04: Verified this is common with SPHTTP endpoint:
* /_api/web/RoleAssignments?$expand=Member,RoleDefinitionBindings
* The return is an array of these for web or list or item.
*
* /_api/web/RoleAssignments(3)?$expand=Member,RoleDefinitionBindings
* The return is a single one of these if you use the (id) selector
*
*/
export interface IFpsRoleAssignmentAsFetched extends IRoleAssignmentInfo {
PrincipalId: number;
RoleDefinitionBindings: IRoleDefinitionInfo[];
Member: ISiteGroupInfo | ISiteUserInfo;
}
//# sourceMappingURL=IFpsRoleAssignmentInfo.d.ts.map