]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/models/video/video-channel-share-interface.ts
Server shares user videos
[github/Chocobozzz/PeerTube.git] / server / models / video / video-channel-share-interface.ts
CommitLineData
d8465018
C
1import * as Sequelize from 'sequelize'
2import { AccountInstance } from '../account/account-interface'
3import { VideoChannelInstance } from './video-channel-interface'
4
5export namespace VideoChannelShareMethods {
6}
7
8export interface VideoChannelShareClass {
9}
10
11export interface VideoChannelShareAttributes {
12 accountId: number
13 videoChannelId: number
14}
15
16export 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
26export interface VideoChannelShareModel
27 extends VideoChannelShareClass, Sequelize.Model<VideoChannelShareInstance, VideoChannelShareAttributes> {}