]>
Commit | Line | Data |
---|---|---|
b764380a C |
1 | export interface VideoRedundancy { |
2 | id: number | |
3 | name: string | |
4 | url: string | |
5 | uuid: string | |
6 | ||
7 | redundancies: { | |
8 | files: FileRedundancyInformation[] | |
9 | ||
10 | streamingPlaylists: StreamingPlaylistRedundancyInformation[] | |
11 | } | |
12 | } | |
13 | ||
14 | interface RedundancyInformation { | |
15 | id: number | |
16 | fileUrl: string | |
17 | strategy: string | |
18 | ||
19 | createdAt: Date | string | |
20 | updatedAt: Date | string | |
21 | ||
22 | expiresOn: Date | string | |
23 | ||
24 | size: number | |
25 | } | |
26 | ||
a1587156 | 27 | // eslint-disable-next-line @typescript-eslint/no-empty-interface |
b764380a C |
28 | export interface FileRedundancyInformation extends RedundancyInformation { |
29 | ||
30 | } | |
31 | ||
a1587156 | 32 | // eslint-disable-next-line @typescript-eslint/no-empty-interface |
b764380a C |
33 | export interface StreamingPlaylistRedundancyInformation extends RedundancyInformation { |
34 | ||
35 | } |