view data fixes
This commit is contained in:
@@ -1,38 +1,7 @@
|
||||
import { ViewData } from "../contracts/view-data/ViewData";
|
||||
|
||||
|
||||
export interface SponsorDashboardViewData extends ViewData {
|
||||
/**
|
||||
* ViewData for SponsorDashboard
|
||||
*/
|
||||
export interface SponsorDashboardViewData {
|
||||
sponsorId: string;
|
||||
sponsorName: string;
|
||||
totalImpressions: string;
|
||||
totalInvestment: string;
|
||||
metrics: {
|
||||
impressionsChange: number;
|
||||
viewersChange: number;
|
||||
exposureChange: number;
|
||||
};
|
||||
categoryData: {
|
||||
leagues: { count: number; countLabel: string; impressions: number; impressionsLabel: string };
|
||||
teams: { count: number; countLabel: string; impressions: number; impressionsLabel: string };
|
||||
drivers: { count: number; countLabel: string; impressions: number; impressionsLabel: string };
|
||||
races: { count: number; countLabel: string; impressions: number; impressionsLabel: string };
|
||||
platform: { count: number; countLabel: string; impressions: number; impressionsLabel: string };
|
||||
};
|
||||
sponsorships: Record<string, unknown>; // From DTO
|
||||
activeSponsorships: number;
|
||||
formattedTotalInvestment: string;
|
||||
costPerThousandViews: string;
|
||||
upcomingRenewals: Array<{
|
||||
id: string;
|
||||
type: 'league' | 'team' | 'driver' | 'race' | 'platform';
|
||||
name: string;
|
||||
formattedRenewDate: string;
|
||||
formattedPrice: string;
|
||||
}>;
|
||||
recentActivity: Array<{
|
||||
id: string;
|
||||
message: string;
|
||||
time: string;
|
||||
typeColor: string;
|
||||
formattedImpressions?: string | null;
|
||||
}>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user