widgetConfig.ts 806 B

12345678910111213141516171819202122232425262728293031323334
  1. export type CrewWidgetConfigResponse = {
  2. list: CrewWidgetConfigItem[];
  3. };
  4. export type CrewWidgetConfigItem = {
  5. id: number;
  6. title: string;
  7. theme: number;
  8. period: number;
  9. startAt: string|null;
  10. endAt: string|null;
  11. maxDisplayCount: number;
  12. isShowAmount: boolean;
  13. isShowDonationCount: boolean;
  14. isShowContributionRate: boolean;
  15. isShowMemberIcon: boolean;
  16. isActive: boolean;
  17. bgColor: string;
  18. titleFontFamily: string|null;
  19. titleFontSizePx: number;
  20. titleFontColor: string;
  21. rank1FontFamily: string|null;
  22. rank1FontSizePx: number;
  23. rank1FontColor: string;
  24. rank2FontFamily: string|null;
  25. rank2FontSizePx: number;
  26. rank2FontColor: string;
  27. rank3FontFamily: string|null;
  28. rank3FontSizePx: number;
  29. rank3FontColor: string;
  30. rowFontFamily: string|null;
  31. rowFontSizePx: number;
  32. rowFontColor: string;
  33. };