This commit is contained in:
Phuoc Nguyen
2025-10-24 16:20:48 +07:00
parent eaaa9921f5
commit b27c5d7742
17 changed files with 3245 additions and 5 deletions

View File

@@ -48,6 +48,9 @@ class HiveBoxNames {
/// Address book
static const String addressBox = 'address_box';
/// Favorite products
static const String favoriteBox = 'favorite_box';
/// Offline request queue for failed API calls
static const String offlineQueueBox = 'offline_queue_box';
@@ -65,6 +68,7 @@ class HiveBoxNames {
syncStateBox,
notificationBox,
addressBox,
favoriteBox,
offlineQueueBox,
];
}
@@ -115,6 +119,7 @@ class HiveTypeIds {
static const int memberCardModel = 25;
static const int promotionModel = 26;
static const int categoryModel = 27;
static const int favoriteModel = 28;
// Enums (30-59)
static const int userRole = 30;