data.ts 836 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export interface IGameListParams {
  2. tagIds?: string | string[],
  3. providerIds?: number | number[],
  4. currency: string,
  5. favorite?: 0 | 1,
  6. recent?: 0 | 1,
  7. }
  8. export interface IGameTag {
  9. tagId: number;
  10. tagName: string;
  11. tagCode: string;
  12. color: string;
  13. sortWeight: number;
  14. }
  15. export interface IGameInfo {
  16. gameID: number;
  17. gameName: string;
  18. gameCode: string;
  19. isFavorite: number;
  20. providerID: number;
  21. providerName: string;
  22. sortWeight: number;
  23. tagSortWeight: number;
  24. tags: IGameTag[];
  25. type: string;
  26. RTP: number;
  27. currencies: string[];
  28. coverUrl: {
  29. Portrait: string,
  30. Square: string,
  31. };
  32. }
  33. export interface IGameLaunch {
  34. gameCode: string;
  35. providerCode: string;
  36. providerGameId: string;
  37. currency: string;
  38. launchUrl: string;
  39. }