feat: update shift repository implementation and add shift adapter

This commit is contained in:
Achintha Isuru
2026-01-30 17:53:28 -05:00
parent 452f029108
commit e85912b6cf
6 changed files with 164 additions and 164 deletions

View File

@@ -29,6 +29,7 @@ export 'src/entities/events/work_session.dart';
// Shifts
export 'src/entities/shifts/shift.dart';
export 'src/adapters/shifts/shift_adapter.dart';
// Orders & Requests
export 'src/entities/orders/order_type.dart';

View File

@@ -0,0 +1,10 @@
import '../../entities/shifts/shift.dart';
/// Adapter for Shift related data.
class ShiftAdapter {
// Note: Conversion logic will likely live in RepoImpl or here if we pass raw objects.
// Given we are dealing with generated types that aren't exported by domain,
// we might put the logic in Repo or make this accept dynamic/Map if strictly required.
// For now, placeholders or simple status helpers.
}