1
0
Fork 0
peertube/shared/models/redundancy/video-redundancy.model.ts

36 lines
711 B
TypeScript
Raw Normal View History

2020-01-10 04:11:28 -05: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 10:56:52 -05:00
// eslint-disable-next-line @typescript-eslint/no-empty-interface
2020-01-10 04:11:28 -05:00
export interface FileRedundancyInformation extends RedundancyInformation {
}
2020-01-31 10:56:52 -05:00
// eslint-disable-next-line @typescript-eslint/no-empty-interface
2020-01-10 04:11:28 -05:00
export interface StreamingPlaylistRedundancyInformation extends RedundancyInformation {
}