Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Add method to type ItemSummary

Katos6b0c28df8302
diff --git a/backend/internal/data/repo/repo_items.go b/backend/internal/data/repo/repo_items.go
index 3e3e949f..86180caa 100644
--- a/backend/internal/data/repo/repo_items.go
+++ b/backend/internal/data/repo/repo_items.go
@@ -134,7 +134,9 @@ type (
Labels []LabelSummary `json:"labels"`
ImageID *uuid.UUID `json:"imageId,omitempty"`
-
+
+ // Sale details
+ SoldTime time.Time `json:"soldTime"`
}
ItemOut struct {