channel.ts 667 B

123456789101112131415161718192021222324252627282930313233
  1. export interface ChannelListItem {
  2. channelSID: string;
  3. name: string;
  4. handle: string|null;
  5. thumbnailUrl: string|null;
  6. subscriberCount: number;
  7. isLive: boolean;
  8. viewerCount: number;
  9. videoId: string|null;
  10. }
  11. export interface ChannelStatusUpdate {
  12. channelSID: string;
  13. isLive: boolean;
  14. viewerCount: number;
  15. videoId: string|null;
  16. }
  17. export interface ChannelDetail {
  18. channelSID: string;
  19. name: string;
  20. handle: string|null;
  21. youTubeUrl: string;
  22. thumbnailUrl: string|null;
  23. bannerUrl: string|null;
  24. description: string|null;
  25. subscriberCount: number;
  26. videoCount: number;
  27. isVerified: boolean;
  28. isLive: boolean;
  29. videoId: string|null;
  30. liveTitle: string|null;
  31. }