import { Video } from '../../videos/model/Video'; import { Segment } from './Segment'; import { CollectionComment } from './CollectionComment'; import { VideoEntity } from '../../videos/model/VideoEntity'; export interface CollectionAsset { id: CollectionAssetId; video?: Video; comments?: CollectionComment[]; segment?: Segment; note?: string; } export interface CollectionAssetEntity { id: CollectionAssetId; video: VideoEntity; comments?: CollectionComment[]; segment?: Segment; note?: string; } export interface CollectionAssetId { videoId: string; highlightId: string | null; }