2020-01-10 03:11:28 -06:00
|
|
|
export interface VideoRedundancy {
|
|
|
|
id: number
|
|
|
|
name: string
|
|
|
|
url: string
|
|
|
|
uuid: string
|
|
|
|
|
|
|
|
redundancies: {
|
|
|
|
files: FileRedundancyInformation[]
|
|
|
|
|
|
|
|
streamingPlaylists: StreamingPlaylistRedundancyInformation[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface RedundancyInformation {
|
|
|
|
id: number
|
|
|
|
fileUrl: string
|
|
|
|
strategy: string
|
|
|
|
|
|
|
|
createdAt: Date | string
|
|
|
|
updatedAt: Date | string
|
|
|
|
|
|
|
|
expiresOn: Date | string
|
|
|
|
|
|
|
|
size: number
|
|
|
|
}
|
|
|
|
|
2020-01-31 09:56:52 -06:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2020-01-10 03:11:28 -06:00
|
|
|
export interface FileRedundancyInformation extends RedundancyInformation {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-01-31 09:56:52 -06:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2020-01-10 03:11:28 -06:00
|
|
|
export interface StreamingPlaylistRedundancyInformation extends RedundancyInformation {
|
|
|
|
|
|
|
|
}
|