alertConfig.ts 777 B

123456789101112131415161718192021222324252627282930313233
  1. export type AlertConfigResponse = {
  2. list: AlertConfigItem[];
  3. widgetToken: string|null;
  4. };
  5. export type AlertConfigItem = {
  6. id: number;
  7. title: string;
  8. amount: number;
  9. matchType: number;
  10. message: string;
  11. playDelaySec: number;
  12. displayDurationSec: number;
  13. popupEffect: string|null;
  14. textEffect: string|null;
  15. nicknameFontFamily: string|null;
  16. nicknameFontSize: number;
  17. nicknameFontColor: string;
  18. amountFontFamily: string|null;
  19. amountFontSize: number;
  20. amountFontColor: string;
  21. messageFontFamily: string|null;
  22. messageFontSize: number;
  23. messageFontColor: string;
  24. templateFontFamily: string|null;
  25. templateFontSize: number;
  26. templateFontColor: string;
  27. enableImage: boolean;
  28. imageUrl: string|null;
  29. enableSound: boolean;
  30. soundUrl: string|null;
  31. isActive: boolean;
  32. };