Minor version bump (1.x.0) is appropriate because:
✅ New functionality added (soft delete system) ✅ Backward compatible (existing features unchanged) ✅ Significant enhancement (complete temporal tracking system) ✅ API additions (new endpoints, parameters) ✅ UI enhancements (new components, visual indicators)
This commit is contained in:
@@ -30,6 +30,7 @@ export interface Product {
|
||||
organic: boolean;
|
||||
weight?: number;
|
||||
weight_unit: string;
|
||||
deleted?: boolean;
|
||||
created_at: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -41,6 +42,7 @@ export interface ProductCreate {
|
||||
organic: boolean;
|
||||
weight?: number;
|
||||
weight_unit: string;
|
||||
valid_from?: string; // Optional: ISO date string (YYYY-MM-DD), defaults to current date if not provided
|
||||
}
|
||||
|
||||
export interface Shop {
|
||||
|
||||
Reference in New Issue
Block a user