X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-channel.model.ts;h=6e61183a72db3c5f3331f4fce330c619da7dcaba;hb=9c2e0dbfa9098675390e00ccb0fa49c51b3c6732;hp=ee56c54b619b10f47d9e8016ec7d825706b54e2f;hpb=72c7248b6fdcdb2175e726ff51b42e7555f2bd84;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-channel.model.ts b/shared/models/videos/video-channel.model.ts index ee56c54b6..6e61183a7 100644 --- a/shared/models/videos/video-channel.model.ts +++ b/shared/models/videos/video-channel.model.ts @@ -1,15 +1,11 @@ +import { Actor } from '../actors/actor.model' import { Video } from './video.model' +import { Account } from '../actors' -export interface VideoChannel { - id: number - name: string +export interface VideoChannel extends Actor { + displayName: string description: string + support: string isLocal: boolean - createdAt: Date | string - updatedAt: Date | string - owner?: { - name: string - uuid: string - } - videos?: Video[] + ownerAccount?: Account }