mirror of
https://framagit.org/enfance-libre/statistiques
synced 2025-12-07 13:53:45 +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";
|
import { Mission } from "./Mission";
|
||||||
|
|
||||||
export type Contact = {
|
export type Contact = Readonly<{
|
||||||
notionId: string;
|
notionId: string;
|
||||||
notionIdFamille: string;
|
notionIdFamille: string;
|
||||||
Nom: string;
|
Nom: string;
|
||||||
Missions: Mission[];
|
Missions: Mission[];
|
||||||
AExercéUneMission: boolean;
|
AExercéUneMission: boolean;
|
||||||
};
|
}>;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
export type Mission = {
|
export type Mission = Readonly<{
|
||||||
notionId: string;
|
notionId: string;
|
||||||
Nom: string;
|
Nom: string;
|
||||||
Equipe: string;
|
Equipe: string;
|
||||||
ContactsNotionIds: string[];
|
ContactsNotionIds: string[];
|
||||||
};
|
}>;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue