f0cbe00b2f
- Updated `pubspec.lock` to new package versions for `async`, `fake_async`, `leak_tracker`, and `vm_service`. - Modified API endpoint for unread notifications to include `event_type=PUSH`. - Refactored `CompletionOfDocumentsMobilePage` layout for improved structure. - Simplified `DetailDropDown` widget by removing unnecessary animations. - Updated `CommentBox` styling and adjusted padding for better UI consistency. - Replaced deprecated `FormCard` implementation in final completion pages with a new widget structure. - Enhanced button styles across various dialogs and pages for a cohesive design.
21 lines
734 B
Dart
21 lines
734 B
Dart
class HomeApi {
|
|
static const String recommendedTenders = '/api/v1/tenders/recommend';
|
|
static String getRecommendedTenders({
|
|
required int limit,
|
|
required int offset,
|
|
}) {
|
|
return '$recommendedTenders?limit=$limit&offset=$offset';
|
|
}
|
|
|
|
static const String tenderApprovalsBase = '/api/v1/tender-approvals';
|
|
|
|
static String getYourTenders({required int limit, required int offset}) {
|
|
return '$tenderApprovalsBase?limit=$limit&offset=$offset';
|
|
}
|
|
|
|
static const String tenderApprovalStats = '/api/v1/tender-approvals/stats';
|
|
static const String statsCompany = '/api/v1/feedback/stats/company';
|
|
static const String checkUnreadNotifications =
|
|
'/api/v1/notifications?seen=false&limit=1&event_type=PUSH';
|
|
}
|