X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-channel.model.ts;h=6e61183a72db3c5f3331f4fce330c619da7dcaba;hb=9c2e0dbfa9098675390e00ccb0fa49c51b3c6732;hp=d1a952826f34a3b18833be875000f493c96daa24;hpb=4cb6d4578893db310297d7e118ce2fb7ecb952a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-channel.model.ts b/shared/models/videos/video-channel.model.ts index d1a952826..6e61183a7 100644 --- a/shared/models/videos/video-channel.model.ts +++ b/shared/models/videos/video-channel.model.ts @@ -1,16 +1,11 @@ +import { Actor } from '../actors/actor.model' import { Video } from './video.model' +import { Account } from '../actors' -export interface VideoChannel { - id: number - name: string - url: 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 }