aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request-interface.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/request/request-interface.ts')
-rw-r--r--server/models/request/request-interface.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/request/request-interface.ts b/server/models/request/request-interface.ts
index 70fd734e1..483850633 100644
--- a/server/models/request/request-interface.ts
+++ b/server/models/request/request-interface.ts
@@ -1,6 +1,7 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2 2
3import { PodInstance, PodAttributes } from '../pod' 3import { PodInstance, PodAttributes } from '../pod'
4import { RequestEndpoint } from '../../../shared/models/request-scheduler.model'
4 5
5export type RequestsGrouped = { 6export type RequestsGrouped = {
6 [ podId: number ]: { 7 [ podId: number ]: {
@@ -32,7 +33,7 @@ export interface RequestClass {
32 33
33export interface RequestAttributes { 34export interface RequestAttributes {
34 request: object 35 request: object
35 endpoint: string 36 endpoint: RequestEndpoint
36} 37}
37 38
38export interface RequestInstance extends RequestClass, RequestAttributes, Sequelize.Instance<RequestAttributes> { 39export interface RequestInstance extends RequestClass, RequestAttributes, Sequelize.Instance<RequestAttributes> {