@twinfinity/permission
    Preparing search index...

    Interface PaginatedResponse<T>

    interface PaginatedResponse<T> {
        callerPermissions?: PrincipalPermission[];
        data: T[];
        pagination: Pagination;
    }

    Type Parameters

    • T
    Index

    Properties

    callerPermissions?: PrincipalPermission[]

    The caller's effective permissions on the parent resource that governs every item in the page — populated by endpoints where the authorization subject is shared across all rows (currently GET /groups/{id}/members, where this reflects the caller's mask on the group's management scope). Absent for endpoints whose items each have their own authorization subject.

    data: T[]
    pagination: Pagination