aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/job.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-28 18:04:46 +0100
committerChocobozzz <me@florianbigard.com>2018-02-28 18:04:55 +0100
commit09cababd79f9d445aa027c93cdfe823745fa041a (patch)
treef781d6ba78b5c4ce7220dea55f13b21230f203d6 /shared/models/job.model.ts
parent22b59e8099947605085cf65a440f07f37fce6b65 (diff)
downloadPeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.gz
PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.zst
PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.zip
Add stats route
Diffstat (limited to 'shared/models/job.model.ts')
-rw-r--r--shared/models/job.model.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/shared/models/job.model.ts b/shared/models/job.model.ts
deleted file mode 100644
index 5ebb75a5c..000000000
--- a/shared/models/job.model.ts
+++ /dev/null
@@ -1,17 +0,0 @@
1export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2
3export type JobType = 'activitypub-http-unicast' |
4 'activitypub-http-broadcast' |
5 'activitypub-http-fetcher' |
6 'video-file' |
7 'email'
8
9export interface Job {
10 id: number
11 state: JobState
12 type: JobType
13 data: any,
14 error: any,
15 createdAt: Date
16 updatedAt: Date
17}