@mikara89/cap-dashboard
v2.2.1
Published
Optional dashboard for CAP NestJS outbox and inbox operations
Readme
@mikara89/cap-dashboard
Compatibility alias for the Nest dashboard package.
Prefer new imports from @mikara89/cap-dashboard-nest:
import { CapDashboardModule } from '@mikara89/cap-dashboard-nest';Existing package-root imports continue to work:
import { CapDashboardModule } from '@mikara89/cap-dashboard';The implementation, REST endpoints, static UI, and guard integration live in
@mikara89/cap-dashboard-nest.
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.
