All files / realm/blong-access/browser/orchestrator/subject init.ts

80% Statements 8/10
100% Branches 0/0
100% Functions 0/0
80% Lines 8/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 111x 1x 1x 1x 1x 1x 1x 1x      
import {handler} from '@feasibleone/blong';
 
/**
 * Browser-side subject namespace — lets the portal/backend adapter dispatch
 * `access.*` model methods (access.user.find, access.role.get, …) to the
 * server gateway. Mirrors the server-side `orchestrator/subject/init.ts`.
 */
export default handler(() => ({
    namespace: 'access',
}));