// @flow declare type LivestreamReplayItem = { data: { claimId: string, deleted: boolean, deletedAt: ?string, ffprobe: any, fileDuration: number, // decimal? float? string? fileType: string, fileLocation: string, fileSize: number, key: string, published: boolean, publishedAt: ?string, service: string, thumbnails: Array, uploadedAt: string, // Date? }, id: string, } declare type LivestreamReplayData = Array; declare type LivestreamState = { fetchingById: {}, viewersById: {}, fetchingActiveLivestreams: boolean | string, activeLivestreams: ?LivestreamInfo, activeLivestreamsLastFetchedDate: number, activeLivestreamsLastFetchedOptions: {}, activeLivestreamInitialized: boolean, } declare type LivestreamInfo = { [/* creatorId */ string]: { live: boolean, viewCount: number, creatorId: string, claimId: string, claimUri: string, } }