point record
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/// Repository Interface: Points Record
|
||||
///
|
||||
/// Defines contract for points record operations.
|
||||
library;
|
||||
|
||||
import 'package:worker/features/loyalty/domain/entities/points_record.dart';
|
||||
|
||||
/// Points Record Repository Interface
|
||||
abstract class PointsRecordRepository {
|
||||
/// Get all points records for current user
|
||||
Future<List<PointsRecord>> getPointsRecords();
|
||||
|
||||
/// Get single points record by ID
|
||||
Future<PointsRecord> getPointsRecordById(String recordId);
|
||||
|
||||
/// Submit new points record
|
||||
Future<PointsRecord> submitPointsRecord(PointsRecord record);
|
||||
}
|
||||
Reference in New Issue
Block a user