mirror of
https://framagit.org/enfance-libre/statistiques
synced 2025-12-07 04:03:44 +00:00
fix: ReadOnly types
This commit is contained in:
parent
980a44d551
commit
cbed51883c
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
}>;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
export type Mission = {
|
||||
export type Mission = Readonly<{
|
||||
notionId: string;
|
||||
Nom: string;
|
||||
Equipe: string;
|
||||
ContactsNotionIds: string[];
|
||||
};
|
||||
}>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue