Chocobozzz/PeerTube

View on GitHub
client/src/app/shared/shared-main/video-caption/video-caption-edit.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface VideoCaptionEdit {
  language: {
    id: string
    label?: string
  }

  automaticallyGenerated?: boolean

  action?: 'CREATE' | 'REMOVE' | 'UPDATE'
  captionfile?: any
  updatedAt?: string
}

export type VideoCaptionWithPathEdit = VideoCaptionEdit & { captionPath?: string }