aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/request/request-scheduler.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-16 10:36:18 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-16 10:36:18 +0200
commitee9e7b61f59a427208386738057c8eff48fba599 (patch)
tree9097de886128e15f21f0b5920a2076d16a087467 /server/lib/request/request-scheduler.ts
parent70c065d64c330196d371941d9294a55da6e3aa37 (diff)
downloadPeerTube-ee9e7b61f59a427208386738057c8eff48fba599.tar.gz
PeerTube-ee9e7b61f59a427208386738057c8eff48fba599.tar.zst
PeerTube-ee9e7b61f59a427208386738057c8eff48fba599.zip
Create types for model enums
Diffstat (limited to 'server/lib/request/request-scheduler.ts')
-rw-r--r--server/lib/request/request-scheduler.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/request/request-scheduler.ts b/server/lib/request/request-scheduler.ts
index 38c0cca3d..575e0227c 100644
--- a/server/lib/request/request-scheduler.ts
+++ b/server/lib/request/request-scheduler.ts
@@ -7,10 +7,11 @@ import {
7 REQUESTS_LIMIT_PODS, 7 REQUESTS_LIMIT_PODS,
8 REQUESTS_LIMIT_PER_POD 8 REQUESTS_LIMIT_PER_POD
9} from '../../initializers' 9} from '../../initializers'
10import { RequestEndpoint } from '../../../shared'
10 11
11export type RequestSchedulerOptions = { 12export type RequestSchedulerOptions = {
12 type: string 13 type: string
13 endpoint: string 14 endpoint: RequestEndpoint
14 data: Object 15 data: Object
15 toIds: number[] 16 toIds: number[]
16 transaction: Sequelize.Transaction 17 transaction: Sequelize.Transaction