feat(status): Refactor project and video status management with centralized configuration and update related controllers and routes
All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 9s

This commit is contained in:
2025-04-27 11:21:36 +02:00
parent 65fa693986
commit fde6a0454c
8 changed files with 47 additions and 11 deletions

View File

@@ -153,12 +153,18 @@ module.exports = {
samples: path.join(process.cwd(), 'sample')
},
// Statuts pour les projets et vidéos
status: {
waiting: 0,
// Statuts pour les projets
projectStatus: {
brouillon: 0,
capturing: 1,
idle: 2,
},
// Statuts pour les vidéos
videoStatus: {
rendering: 0,
completed: 1,
failed: 2,
inProgress: 3
error: 2
},
// Paramètres par défaut pour la caméra