mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Type models
This commit is contained in:
parent
65fcc3119c
commit
e02643f32e
76 changed files with 1710 additions and 816 deletions
20
server/models/request-to-pod-interface.ts
Normal file
20
server/models/request-to-pod-interface.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import * as Sequelize from 'sequelize'
|
||||
|
||||
export namespace RequestToPodMethods {
|
||||
export type RemoveByRequestIdsAndPod = (requestsIds, podId, callback) => void
|
||||
}
|
||||
|
||||
export interface RequestToPodClass {
|
||||
removeByRequestIdsAndPod: RequestToPodMethods.RemoveByRequestIdsAndPod
|
||||
}
|
||||
|
||||
export interface RequestToPodAttributes {
|
||||
}
|
||||
|
||||
export interface RequestToPodInstance extends Sequelize.Instance<RequestToPodAttributes> {
|
||||
id: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
|
||||
export interface RequestToPodModel extends RequestToPodClass, Sequelize.Model<RequestToPodInstance, RequestToPodAttributes> {}
|
Loading…
Add table
Add a link
Reference in a new issue