mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Use bullmq job dependency
This commit is contained in:
parent
5a921e7b74
commit
bd911b54b5
42 changed files with 314 additions and 152 deletions
|
@ -25,6 +25,8 @@ export type JobType =
|
|||
| 'manage-video-torrent'
|
||||
| 'move-to-object-storage'
|
||||
| 'video-studio-edition'
|
||||
| 'notify'
|
||||
| 'federate-video'
|
||||
|
||||
export interface Job {
|
||||
id: number | string
|
||||
|
@ -214,3 +216,18 @@ export interface VideoStudioEditionPayload {
|
|||
videoUUID: string
|
||||
tasks: VideoStudioTaskPayload[]
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export type NotifyPayload =
|
||||
{
|
||||
action: 'new-video'
|
||||
videoUUID: string
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export interface FederateVideoPayload {
|
||||
videoUUID: string
|
||||
isNewVideo: boolean
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue