aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request-to-pod-interface.ts
blob: 6d75ca6e51f6986e7ce4fc540cbb684e7939c836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import * as Sequelize from 'sequelize'

export namespace RequestToPodMethods {
  export type RemoveByRequestIdsAndPodCallback = (err: Error) => void
  export type RemoveByRequestIdsAndPod = (requestsIds: number[], podId: number, callback?: RemoveByRequestIdsAndPodCallback) => void
}

export interface RequestToPodClass {
  removeByRequestIdsAndPod: RequestToPodMethods.RemoveByRequestIdsAndPod
}

export interface RequestToPodAttributes {
}

export interface RequestToPodInstance extends RequestToPodClass, RequestToPodAttributes, Sequelize.Instance<RequestToPodAttributes> {
  id: number
  createdAt: Date
  updatedAt: Date
}

export interface RequestToPodModel extends RequestToPodClass, Sequelize.Model<RequestToPodInstance, RequestToPodAttributes> {}