feat(bom): canonical lot mappings and updated vendor spec docs

This commit is contained in:
Mikhail Chusavitin
2026-02-25 19:07:27 +03:00
parent aa65fc8156
commit e9230c0e58
7 changed files with 967 additions and 188 deletions

View File

@@ -678,6 +678,7 @@ func (h *SyncHandler) ReportPartnumberSeen(c *gin.Context) {
Items []struct {
Partnumber string `json:"partnumber"`
Description string `json:"description"`
Ignored bool `json:"ignored"`
} `json:"items"`
}
if err := c.ShouldBindJSON(&body); err != nil {
@@ -691,6 +692,7 @@ func (h *SyncHandler) ReportPartnumberSeen(c *gin.Context) {
items = append(items, sync.SeenPartnumber{
Partnumber: it.Partnumber,
Description: it.Description,
Ignored: it.Ignored,
})
}
}