Files
gridpilot.gg/apps/website/lib/view-models/MediaViewModel.ts
2025-12-17 22:17:02 +01:00

13 lines
291 B
TypeScript

/**
* Media View Model
*
* Represents media information for the UI layer
*/
export interface MediaViewModel {
id: string;
url: string;
type: 'image' | 'video' | 'document';
category?: 'avatar' | 'team-logo' | 'league-cover' | 'race-result';
uploadedAt: Date;
size?: number;
}