]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/models/video/video-share-interface.ts
Server shares user videos
[github/Chocobozzz/PeerTube.git] / server / models / video / video-share-interface.ts
CommitLineData
d8465018
C
1import * as Sequelize from 'sequelize'
2import { AccountInstance } from '../account/account-interface'
3import { VideoInstance } from './video-interface'
4
5export namespace VideoShareMethods {
6}
7
8export interface VideoShareClass {
9}
10
11export interface VideoShareAttributes {
12 accountId: number
13 videoId: number
14}
15
16export interface VideoShareInstance extends VideoShareClass, VideoShareAttributes, Sequelize.Instance<VideoShareAttributes> {
17 id: number
18 createdAt: Date
19 updatedAt: Date
20
21 Account?: AccountInstance
22 Video?: VideoInstance
23}
24
25export interface VideoShareModel extends VideoShareClass, Sequelize.Model<VideoShareInstance, VideoShareAttributes> {}