goalConfig.ts 513 B

123456789101112131415161718192021222324
  1. export type GoalConfigResponse = {
  2. list: GoalConfigItem[];
  3. };
  4. export type GoalConfigItem = {
  5. id: number;
  6. title: string;
  7. style: number;
  8. startAmount: number;
  9. targetAmount: number;
  10. startAt: string|null;
  11. endAt: string|null;
  12. isShowPercent: boolean;
  13. barColor: string;
  14. barBackgroundColor: string;
  15. barHeightPx: number;
  16. titleFontSizePx: number;
  17. titleFontColor: string;
  18. amountFontSizePx: number;
  19. amountFontColor: string;
  20. titleFontFamily: string|null;
  21. amountFontFamily: string|null;
  22. isActive: boolean;
  23. };