lbry-desktop/flow-typed/livestream.js

28 lines
579 B
JavaScript
Raw Normal View History

// @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<string>,
uploadedAt: string, // Date?
},
id: string,
}
declare type LivestreamReplayData = Array<LivestreamReplayItem>;
2021-04-22 23:04:11 -04:00
declare type LivestreamState = {
2021-04-23 13:11:53 -04:00
fetchingById: {},
2021-06-17 14:55:23 -04:00
viewersById: {},
2021-04-22 23:04:11 -04:00
}