This commit is contained in:
Phuoc Nguyen
2025-10-10 17:36:10 +07:00
parent 04f7042b8d
commit bdaf0b96c5
82 changed files with 4753 additions and 329 deletions

View File

@@ -0,0 +1,8 @@
/// Export all home/cart data layer components
///
/// Contains data sources, models, and repository implementations
library;
export 'datasources/datasources.dart';
export 'models/models.dart';
export 'repositories/cart_repository_impl.dart';

View File

@@ -0,0 +1,6 @@
/// Export all home/cart data sources
///
/// Contains local data sources for cart operations
library;
export 'cart_local_datasource.dart';

View File

@@ -0,0 +1,7 @@
/// Export all home/cart data models
///
/// Contains DTOs and models for cart and transaction data transfer
library;
export 'cart_item_model.dart';
export 'transaction_model.dart';

View File

@@ -0,0 +1,8 @@
/// Export all home/cart domain layer components
///
/// Contains entities, repository interfaces, and use cases
library;
export 'entities/entities.dart';
export 'repositories/cart_repository.dart';
export 'usecases/usecases.dart';

View File

@@ -0,0 +1,6 @@
/// Export all home/cart domain entities
///
/// Contains core business entities for cart operations
library;
export 'cart_item.dart';

View File

@@ -0,0 +1,9 @@
/// Export all home/cart domain use cases
///
/// Contains business logic for cart operations
library;
export 'add_to_cart.dart';
export 'calculate_total.dart';
export 'clear_cart.dart';
export 'remove_from_cart.dart';

View File

@@ -0,0 +1,15 @@
/// Home/Cart Feature
///
/// Complete home and shopping cart feature following clean architecture.
/// Includes cart management, product selection, and checkout operations.
///
/// Usage:
/// ```dart
/// import 'package:retail/features/home/home.dart';
/// ```
library;
// Export all layers
export 'data/data.dart';
export 'domain/domain.dart';
export 'presentation/presentation.dart';

View File

@@ -0,0 +1,6 @@
/// Export all home/cart presentation pages
///
/// Contains all screens related to home and cart
library;
export 'home_page.dart';

View File

@@ -0,0 +1,8 @@
/// Export all home/cart presentation layer components
///
/// Contains pages, widgets, and providers for cart UI
library;
export 'pages/pages.dart';
export 'providers/providers.dart';
export 'widgets/widgets.dart';