| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- export type DashboardResponse = {
- channel: DashboardChannelInfo|null;
- widgets: DashboardWidgetUrls|null;
- financial: DashboardFinancialSummary;
- recentDonations: DashboardRecentDonation[];
- goalConfigs: DashboardWidgetConfig[];
- rankConfigs: DashboardWidgetConfig[];
- crewConfigs: DashboardWidgetConfig[];
- };
- export type DashboardWidgetConfig = {
- id: number;
- title: string;
- isActive: boolean;
- };
- 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;
- monthStoreSales: number;
- pendingWithdrawal: number;
- };
- export type DashboardRecentDonation = {
- id: number;
- sendName: string;
- amount: number;
- message: string|null;
- createdAt: string;
- };
|