diff options
Diffstat (limited to 'server/models/request/request-interface.ts')
-rw-r--r-- | server/models/request/request-interface.ts | 3 |
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 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | 2 | ||
3 | import { PodInstance, PodAttributes } from '../pod' | 3 | import { PodInstance, PodAttributes } from '../pod' |
4 | import { RequestEndpoint } from '../../../shared/models/request-scheduler.model' | ||
4 | 5 | ||
5 | export type RequestsGrouped = { | 6 | export type RequestsGrouped = { |
6 | [ podId: number ]: { | 7 | [ podId: number ]: { |
@@ -32,7 +33,7 @@ export interface RequestClass { | |||
32 | 33 | ||
33 | export interface RequestAttributes { | 34 | export interface RequestAttributes { |
34 | request: object | 35 | request: object |
35 | endpoint: string | 36 | endpoint: RequestEndpoint |
36 | } | 37 | } |
37 | 38 | ||
38 | export interface RequestInstance extends RequestClass, RequestAttributes, Sequelize.Instance<RequestAttributes> { | 39 | export interface RequestInstance extends RequestClass, RequestAttributes, Sequelize.Instance<RequestAttributes> { |