]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/models/video/video-channel-share-interface.ts
Server shares user videos
[github/Chocobozzz/PeerTube.git] / server / models / video / video-channel-share-interface.ts
1 import * as Sequelize from 'sequelize'
2 import { AccountInstance } from '../account/account-interface'
3 import { VideoChannelInstance } from './video-channel-interface'
4
5 export namespace VideoChannelShareMethods {
6 }
7
8 export interface VideoChannelShareClass {
9 }
10
11 export interface VideoChannelShareAttributes {
12 accountId: number
13 videoChannelId: number
14 }
15
16 export interface VideoChannelShareInstance
17 extends VideoChannelShareClass, VideoChannelShareAttributes, Sequelize.Instance<VideoChannelShareAttributes> {
18 id: number
19 createdAt: Date
20 updatedAt: Date
21
22 Account?: AccountInstance
23 VideoChannel?: VideoChannelInstance
24 }
25
26 export interface VideoChannelShareModel
27 extends VideoChannelShareClass, Sequelize.Model<VideoChannelShareInstance, VideoChannelShareAttributes> {}