Add hasDeleteProtection to update endpoint

This commit is contained in:
carlosmonastyrski
2025-04-15 22:37:53 -03:00
parent 1d8c513da1
commit 82af77c480
5 changed files with 10 additions and 3 deletions
@@ -623,6 +623,7 @@ export const projectServiceFactory = ({
description: update.description,
autoCapitalization: update.autoCapitalization,
enforceCapitalization: update.autoCapitalization,
hasDeleteProtection: update.hasDeleteProtection,
slug: update.slug
});
@@ -90,6 +90,7 @@ export type TUpdateProjectDTO = {
name?: string;
description?: string;
autoCapitalization?: boolean;
hasDeleteProtection?: boolean;
slug?: string;
};
} & Omit<TProjectPermission, "projectId">;