feat: updated ui for request access feature

This commit is contained in:
=
2025-04-03 23:28:18 +05:30
parent b18f7b957d
commit 271a8de4c0
16 changed files with 884 additions and 448 deletions
@@ -107,3 +107,13 @@ export const useMigrateProjectToV3 = () => {
}
});
};
export const useRequestProjectAccess = () => {
return useMutation<object, object, { projectId: string; comment: string }>({
mutationFn: ({ projectId, comment }) => {
return apiRequest.post(`/api/v1/workspace/${projectId}/project-access`, {
comment
});
}
});
};