This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
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';
|
||||
|
||||
export type Option = {
|
||||
id: number;
|
||||
@@ -11,7 +12,7 @@ export type Option = {
|
||||
requires_description: boolean;
|
||||
sort_order: number;
|
||||
};
|
||||
export type Entity = { id: string; name: string };
|
||||
export type Entity = { id: string; name: string; dossiers?: { id: string; title: string; source: string }[]; geography?: StructureGeography | null };
|
||||
export type References = {
|
||||
zones?: { id: string; name: string; category: string }[];
|
||||
options: Option[];
|
||||
|
||||
Reference in New Issue
Block a user