widgetConfig.ts 842 B

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