add achats import and hardware analyse

This commit is contained in:
2026-01-22 06:33:28 +01:00
parent 2b659920c2
commit b1f611d8ee
16 changed files with 1071 additions and 22 deletions

View File

@@ -28,6 +28,8 @@ func RegisterRoutes(r *gin.Engine, client *ent.Client) {
v1.POST("/objets/:id/liens_emplacements", h.CreateLienEmplacement)
v1.PUT("/liens_emplacements/:id", h.UpdateLienEmplacement)
v1.DELETE("/liens_emplacements/:id", h.DeleteLienEmplacement)
v1.POST("/analyse-hardware", h.AnalyseHardware)
v1.POST("/imports/achats", h.ImportAchats)
v1.GET("/config", h.GetConfig)
v1.PUT("/config", h.UpdateConfig)
v1.GET("/debug/logs", h.GetDebugLogs)