fix: ReadOnly types

This commit is contained in:
Sébastien Arod 2025-06-12 22:20:01 +02:00
parent 980a44d551
commit cbed51883c
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
import { Mission } from "./Mission";
export type Contact = {
export type Contact = Readonly<{
notionId: string;
notionIdFamille: string;
Nom: string;
Missions: Mission[];
AExercéUneMission: boolean;
};
}>;

View file

@ -1,6 +1,6 @@
export type Mission = {
export type Mission = Readonly<{
notionId: string;
Nom: string;
Equipe: string;
ContactsNotionIds: string[];
};
}>;