refactor: update volume backup schema and form handling

- Modified the volume backup schema to enforce non-null constraints on volumeName and added serviceName.
- Removed unnecessary fields (type, hostPath) from the schema and updated related API and form handling.
- Enhanced form validation to ensure required fields are properly checked.
- Updated the UI components to reflect changes in the volume backup management interface.
This commit is contained in:
Mauricio Siu
2025-06-29 23:05:36 -06:00
parent ce88a0a5f2
commit a5bba9a11b
8 changed files with 12279 additions and 27 deletions

View File

@@ -70,7 +70,7 @@ export const volumeBackupsRouter = createTRPCRouter({
runManually: protectedProcedure
.input(z.object({ volumeBackupId: z.string().min(1) }))
.mutation(async ({ input }) => {
.mutation(async () => {
// return await runVolumeBackupManually(input.volumeBackupId);
}),
});