export type DashboardResponse = {
	channel: DashboardChannelInfo|null;
	widgets: DashboardWidgetUrls|null;
	financial: DashboardFinancialSummary;
	recentDonations: DashboardRecentDonation[];
};

export type DashboardChannelInfo = {
	id: number;
	sid: string;
	name: string;
	thumbnailUrl: string|null;
	isVerified: boolean;
	subscriberCount: number;
};

export type DashboardWidgetUrls = {
	widgetToken: string;
	alert: string;
	goal: string;
	rank: string;
	crew: string;
	remote: string;
};

export type DashboardFinancialSummary = {
	availableBalance: number;
	todayDonations: number;
	monthDonations: number;
	pendingWithdrawal: number;
};

export type DashboardRecentDonation = {
	id: number;
	sendName: string;
	amount: number;
	message: string|null;
	createdAt: string;
};