aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-channel-interface.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video-channel-interface.ts')
-rw-r--r--server/models/video/video-channel-interface.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/models/video/video-channel-interface.ts b/server/models/video/video-channel-interface.ts
index b409d1db3..21f81e901 100644
--- a/server/models/video/video-channel-interface.ts
+++ b/server/models/video/video-channel-interface.ts
@@ -6,6 +6,7 @@ import { VideoChannelObject } from '../../../shared/models/activitypub/objects/v
6import { VideoChannel as FormattedVideoChannel } from '../../../shared/models/videos/video-channel.model' 6import { VideoChannel as FormattedVideoChannel } from '../../../shared/models/videos/video-channel.model'
7import { AccountInstance } from '../account/account-interface' 7import { AccountInstance } from '../account/account-interface'
8import { VideoInstance } from './video-interface' 8import { VideoInstance } from './video-interface'
9import { VideoChannelShareInstance } from './video-channel-share-interface'
9 10
10export namespace VideoChannelMethods { 11export namespace VideoChannelMethods {
11 export type ToFormattedJSON = (this: VideoChannelInstance) => FormattedVideoChannel 12 export type ToFormattedJSON = (this: VideoChannelInstance) => FormattedVideoChannel
@@ -47,6 +48,7 @@ export interface VideoChannelAttributes {
47 48
48 Account?: AccountInstance 49 Account?: AccountInstance
49 Videos?: VideoInstance[] 50 Videos?: VideoInstance[]
51 VideoChannelShares?: VideoChannelShareInstance[]
50} 52}
51 53
52export interface VideoChannelInstance extends VideoChannelClass, VideoChannelAttributes, Sequelize.Instance<VideoChannelAttributes> { 54export interface VideoChannelInstance extends VideoChannelClass, VideoChannelAttributes, Sequelize.Instance<VideoChannelAttributes> {