aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/redundancy/video-redundancy.model.ts
blob: 014f69634e567ffc1e454c9750ef0d2d00efeab9 (plain) (tree)
































                                                                                       
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
}

export interface FileRedundancyInformation extends RedundancyInformation {

}

export interface StreamingPlaylistRedundancyInformation extends RedundancyInformation {

}