From 52f58445007ea1e8fe1c03e4ce9a812b712a18a2 Mon Sep 17 00:00:00 2001 From: Patrick Bichiou Date: Tue, 29 Oct 2024 10:53:51 +0100 Subject: [PATCH] refactor(api-rest): allow for body in delete request --- packages/api-rest/src/types/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api-rest/src/types/index.ts b/packages/api-rest/src/types/index.ts index 3949925f008..f011f717a94 100644 --- a/packages/api-rest/src/types/index.ts +++ b/packages/api-rest/src/types/index.ts @@ -6,14 +6,14 @@ export type GetInput = ApiInput; export type PostInput = ApiInput; export type PutInput = ApiInput; export type PatchInput = ApiInput; -export type DeleteInput = ApiInput>; +export type DeleteInput = ApiInput; export type HeadInput = ApiInput>; export type GetOperation = Operation; export type PostOperation = Operation; export type PutOperation = Operation; export type PatchOperation = Operation; -export type DeleteOperation = Operation>; +export type DeleteOperation = Operation; export type HeadOperation = Operation>; /**