From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- shared/models/server/job.model.ts | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'shared/models/server/job.model.ts') diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 19fd4c659..cf29d20d4 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts @@ -1,23 +1,24 @@ export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' -export type JobType = 'activitypub-http-unicast' | - 'activitypub-http-broadcast' | - 'activitypub-http-fetcher' | - 'activitypub-follow' | - 'video-file-import' | - 'video-transcoding' | - 'email' | - 'video-import' | - 'videos-views' | - 'activitypub-refresher' | - 'video-redundancy' +export type JobType = + | 'activitypub-http-unicast' + | 'activitypub-http-broadcast' + | 'activitypub-http-fetcher' + | 'activitypub-follow' + | 'video-file-import' + | 'video-transcoding' + | 'email' + | 'video-import' + | 'videos-views' + | 'activitypub-refresher' + | 'video-redundancy' export interface Job { id: number state: JobState type: JobType - data: any, - error: any, + data: any + error: any createdAt: Date | string finishedOn: Date | string processedOn: Date | string -- cgit v1.2.3