import { ITag, IPictures } from '../types';
import { IUser } from '../../user/user.container';

export interface IStream {
  tags: Array<ITag>;
  user: IUser;
  pictures: IPictures;
  play_count: number;
  repost_count: number;
  comment_count: number;
  favorite_count: number;
  listener_count: number;
  audio_length: number;
  slug: string;
  key: string;
  name: string;
  created_time: string;
  updated_time: string;
}

export interface IStreamProps extends React.Props<any> {
  data: IStream;
  cls?: string;
  key?: string;
  mini?: boolean;
  queue?: (s: any) => any;
  play?: (s: any) => any;
  navigate?: (name: string) => any;
}
