Consolida rastreabilidade territorial e plano autenticado V2

This commit is contained in:
2026-10-09 02:05:44 +02:00
parent 30acdc9934
commit 6a71aa47e3
33 changed files with 2555 additions and 49 deletions
+7 -1
View File
@@ -1,7 +1,11 @@
import { Head, Link, usePage } from '@inertiajs/react';
import type { ReactNode } from 'react';
import { PortalMenu } from '@/layouts/portal-navigation';
import type { StructureGeography } from '@/components/structure-geography';
import type { TerritorialSourceEvidence } from '@/components/territorial-source-evidence';
import type {
StructureGeography,
DocumentedLocation,
} from '@/components/structure-geography';
export type Option = {
id: number;
@@ -47,6 +51,8 @@ export type Opportunity = {
last_validated_at?: string | null;
};
export type Context = {
source_evidence?: TerritorialSourceEvidence[];
opportunity_locations?: DocumentedLocation[];
primary_territory_path?: {
id: string;
name: string;