aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/redundancy/video-redundancy.model.ts
blob: fa6e058324d5b190d310f59e1796344dd2e60882 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface FileRedundancyInformation extends RedundancyInformation {

}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface StreamingPlaylistRedundancyInformation extends RedundancyInformation {

}