-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ajoute une fonction de suppression d'une valeur d'indicateur
- Loading branch information
1 parent
b8caaa9
commit 9f4afc3
Showing
4 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
backend/src/indicateurs/shared/models/delete-valeur-indicateur.request.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { z } from 'zod'; | ||
|
||
/** Suppression d'une valeur d'indicateur pour une collectivité */ | ||
export const deleteValeurIndicateurSchema = z.object({ | ||
collectiviteId: z.number(), | ||
indicateurId: z.number(), | ||
id: z.number(), | ||
}); | ||
|
||
export type DeleteValeurIndicateur = z.infer< | ||
typeof deleteValeurIndicateurSchema | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters