diff options
Diffstat (limited to 'server/models/request-to-pod-interface.ts')
-rw-r--r-- | server/models/request-to-pod-interface.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/server/models/request-to-pod-interface.ts b/server/models/request-to-pod-interface.ts new file mode 100644 index 000000000..52116d6c4 --- /dev/null +++ b/server/models/request-to-pod-interface.ts | |||
@@ -0,0 +1,20 @@ | |||
1 | import * as Sequelize from 'sequelize' | ||
2 | |||
3 | export namespace RequestToPodMethods { | ||
4 | export type RemoveByRequestIdsAndPod = (requestsIds, podId, callback) => void | ||
5 | } | ||
6 | |||
7 | export interface RequestToPodClass { | ||
8 | removeByRequestIdsAndPod: RequestToPodMethods.RemoveByRequestIdsAndPod | ||
9 | } | ||
10 | |||
11 | export interface RequestToPodAttributes { | ||
12 | } | ||
13 | |||
14 | export interface RequestToPodInstance extends Sequelize.Instance<RequestToPodAttributes> { | ||
15 | id: number | ||
16 | createdAt: Date | ||
17 | updatedAt: Date | ||
18 | } | ||
19 | |||
20 | export interface RequestToPodModel extends RequestToPodClass, Sequelize.Model<RequestToPodInstance, RequestToPodAttributes> {} | ||