@mikara89/cap-dashboard-nest
v2.3.0
Published
NestJS dashboard adapter for CAP outbox and inbox operations
Readme
@mikara89/cap-dashboard-nest
Optional dashboard package for CAP outbox and inbox operations.
This package provides:
CapDashboardModule- REST endpoints for outbox and inbox inspection
- manual retry and mark actions
- a lightweight static UI
- required guard integration for dashboard access
Usage Shape
import { CapDashboardModule } from '@mikara89/cap-dashboard-nest';
CapDashboardModule.forRoot({
guard: {
provide: 'CAP_DASHBOARD_GUARD',
useValue: { canActivate: () => true },
},
routePrefix: '/api/cap',
uiRoute: '/cap-dashboard',
});Replace the sample guard with a real authorization guard before exposing the dashboard.
@mikara89/cap-dashboard remains available as a compatibility alias.
