PeerTube/shared/models/pods/remote-video/remote-video-request.model.ts

10 lines
382 B
TypeScript
Raw Normal View History

export interface RemoteVideoRequest {
2017-10-24 12:41:09 -05:00
type: RemoteVideoRequestType
data: any
}
2017-10-24 12:41:09 -05:00
export type RemoteVideoRequestType = 'add-video' | 'update-video' | 'remove-video' |
'add-channel' | 'update-channel' | 'remove-channel' |
'report-abuse' |
'add-author' | 'remove-author'