Merge pull request 'Added notification logic and view api' (#152) from logic_notification into main

Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/152
This commit is contained in:
a.ghabeli
2025-09-22 16:09:10 +03:30
22 changed files with 1944 additions and 151 deletions
@@ -0,0 +1,16 @@
class NotificationApi {
static const String notifications = '/api/v1/notifications';
static String getNotifications({required int limit, required int offset}) {
return '$notifications?limit=$limit&offset=$offset';
}
static const String feedback = '/api/v1/feedback';
static const String markAllAsRead = '/api/v1/notifications';
static const String markAsRead = '/api/v1/notifications/mark-as-read';
static const String tenderApprovalsTender = '/api/v1/notifications';
static String getTenderApprovalById({required String tenderId}) {
return '$tenderApprovalsTender/$tenderId';
}
}