move static data
This commit is contained in:
52
adapters/bootstrap/SponsorshipConfig.ts
Normal file
52
adapters/bootstrap/SponsorshipConfig.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user