Files
gridpilot.gg/core/racing/application/ports/DriverExtendedProfileProvider.ts
2025-12-19 21:58:03 +01:00

24 lines
667 B
TypeScript

export interface DriverExtendedProfileProvider {
getExtendedProfile(driverId: string): {
socialHandles: {
platform: 'twitter' | 'youtube' | 'twitch' | 'discord';
handle: string;
url: string;
}[];
achievements: {
id: string;
title: string;
description: string;
icon: 'trophy' | 'medal' | 'star' | 'crown' | 'target' | 'zap';
rarity: 'common' | 'rare' | 'epic' | 'legendary';
earnedAt: string;
}[];
racingStyle: string;
favoriteTrack: string;
favoriteCar: string;
timezone: string;
availableHours: string;
lookingForTeam: boolean;
openToRequests: boolean;
} | null;
}