Add missing job types to admin panel

This commit is contained in:
Chocobozzz 2022-08-10 10:34:39 +02:00
parent f228e9f064
commit 0567049a98
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 25 additions and 20 deletions

View File

@ -23,23 +23,28 @@ export class JobsComponent extends RestTable implements OnInit {
jobTypes: JobTypeClient[] = [ jobTypes: JobTypeClient[] = [
'all', 'all',
'activitypub-cleaner',
'activitypub-follow', 'activitypub-follow',
'activitypub-http-broadcast',
'activitypub-http-broadcast-parallel', 'activitypub-http-broadcast-parallel',
'activitypub-http-broadcast',
'activitypub-http-fetcher', 'activitypub-http-fetcher',
'activitypub-http-unicast', 'activitypub-http-unicast',
'activitypub-refresher', 'activitypub-refresher',
'activitypub-cleaner',
'actor-keys', 'actor-keys',
'after-video-channel-import',
'email', 'email',
'federate-video',
'manage-video-torrent',
'move-to-object-storage',
'notify',
'video-channel-import',
'video-file-import', 'video-file-import',
'video-import', 'video-import',
'video-live-ending', 'video-live-ending',
'video-redundancy', 'video-redundancy',
'video-studio-edition',
'video-transcoding', 'video-transcoding',
'videos-views-stats', 'videos-views-stats'
'move-to-object-storage',
'video-channel-import'
] ]
jobs: Job[] = [] jobs: Job[] = []

View File

@ -7,28 +7,28 @@ import { SendEmailOptions } from './emailer.model'
export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' | 'waiting-children' export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' | 'waiting-children'
export type JobType = export type JobType =
| 'activitypub-http-unicast'
| 'activitypub-http-broadcast'
| 'activitypub-http-broadcast-parallel'
| 'activitypub-http-fetcher'
| 'activitypub-cleaner' | 'activitypub-cleaner'
| 'activitypub-follow' | 'activitypub-follow'
| 'video-file-import' | 'activitypub-http-broadcast-parallel'
| 'video-transcoding' | 'activitypub-http-broadcast'
| 'email' | 'activitypub-http-fetcher'
| 'video-import' | 'activitypub-http-unicast'
| 'videos-views-stats'
| 'activitypub-refresher' | 'activitypub-refresher'
| 'video-redundancy'
| 'video-live-ending'
| 'actor-keys' | 'actor-keys'
| 'after-video-channel-import'
| 'email'
| 'federate-video'
| 'manage-video-torrent' | 'manage-video-torrent'
| 'move-to-object-storage' | 'move-to-object-storage'
| 'video-studio-edition'
| 'video-channel-import'
| 'after-video-channel-import'
| 'notify' | 'notify'
| 'federate-video' | 'video-channel-import'
| 'video-file-import'
| 'video-import'
| 'video-live-ending'
| 'video-redundancy'
| 'video-studio-edition'
| 'video-transcoding'
| 'videos-views-stats'
export interface Job { export interface Job {
id: number | string id: number | string