diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:55 +0100 |
commit | 09cababd79f9d445aa027c93cdfe823745fa041a (patch) | |
tree | f781d6ba78b5c4ce7220dea55f13b21230f203d6 /shared/models/job.model.ts | |
parent | 22b59e8099947605085cf65a440f07f37fce6b65 (diff) | |
download | PeerTube-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.ts | 17 |
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 @@ | |||
1 | export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed' | ||
2 | |||
3 | export type JobType = 'activitypub-http-unicast' | | ||
4 | 'activitypub-http-broadcast' | | ||
5 | 'activitypub-http-fetcher' | | ||
6 | 'video-file' | | ||
7 | 'email' | ||
8 | |||
9 | export interface Job { | ||
10 | id: number | ||
11 | state: JobState | ||
12 | type: JobType | ||
13 | data: any, | ||
14 | error: any, | ||
15 | createdAt: Date | ||
16 | updatedAt: Date | ||
17 | } | ||