Files
gridpilot.gg/adapters/bootstrap/SponsorshipConfig.ts
2025-12-26 00:20:53 +01:00

52 lines
1.0 KiB
TypeScript

/**
* Sponsorship Configuration
*
* UI display configuration for sponsorship types and statuses
*/
export type SponsorshipType = 'leagues' | 'teams' | 'drivers' | 'races' | 'platform';
export type SponsorshipStatus = 'active' | 'pending_approval' | 'approved' | 'rejected' | 'expired';
export interface SponsorshipTypeConfigData {
label: string;
}
export interface SponsorshipStatusConfigData {
label: string;
}
export const sponsorshipTypeConfig: Record<SponsorshipType, SponsorshipTypeConfigData> = {
leagues: {
label: 'League',
},
teams: {
label: 'Team',
},
drivers: {
label: 'Driver',
},
races: {
label: 'Race',
},
platform: {
label: 'Platform',
},
} as const;
export const sponsorshipStatusConfig: Record<SponsorshipStatus, SponsorshipStatusConfigData> = {
active: {
label: 'Active',
},
pending_approval: {
label: 'Awaiting Approval',
},
approved: {
label: 'Approved',
},
rejected: {
label: 'Declined',
},
expired: {
label: 'Expired',
},
} as const;