wip
This commit is contained in:
@@ -64,6 +64,8 @@ export type NotificationType =
|
||||
| 'race_registration_open' // Race registration is now open
|
||||
| 'race_reminder' // Race starting soon reminder
|
||||
| 'race_results_posted' // Race results are available
|
||||
| 'race_performance_summary' // Immediate performance summary after main race
|
||||
| 'race_final_results' // Final results after stewarding closes
|
||||
// League-related
|
||||
| 'league_invite' // You were invited to a league
|
||||
| 'league_join_request' // Someone requested to join your league
|
||||
@@ -102,6 +104,8 @@ export function getNotificationTypeTitle(type: NotificationType): string {
|
||||
race_registration_open: 'Registration Open',
|
||||
race_reminder: 'Race Reminder',
|
||||
race_results_posted: 'Results Posted',
|
||||
race_performance_summary: 'Performance Summary',
|
||||
race_final_results: 'Final Results',
|
||||
league_invite: 'League Invitation',
|
||||
league_join_request: 'Join Request',
|
||||
league_join_approved: 'Request Approved',
|
||||
@@ -139,6 +143,8 @@ export function getNotificationTypePriority(type: NotificationType): number {
|
||||
race_registration_open: 5,
|
||||
race_reminder: 8,
|
||||
race_results_posted: 5,
|
||||
race_performance_summary: 9, // High priority - immediate race feedback
|
||||
race_final_results: 7, // Medium-high priority - final standings
|
||||
league_invite: 6,
|
||||
league_join_request: 5,
|
||||
league_join_approved: 7,
|
||||
|
||||
Reference in New Issue
Block a user