import { createFileRoute } from '@tanstack/react-router';
import { IntelligencePage } from '@/features/intelligence/IntelligencePage';
import { CPZone } from '@archer/domain';
import { requireZone } from '@/presentation/guards/requireZone';

export const Route = createFileRoute('/_authenticated/dashboard/intelligence')({
  beforeLoad: () => requireZone(CPZone.INTELLIGENCE),
  component: IntelligencePage,
});
