export interface CatchVideo {
    id: string
    userId?: string
    title: string
    views: number
    thumb: string
    src?: string
    startAt: string
    startTs: number
    tags: string[]
    profile: string
    nickname: string
    verified?: boolean
    followers?: number
    status?: 'adult'
    description?: string
    likes?: number
    comments?: number
}

export interface Comment {
    id: string
    userId?: string
    author: string
    avatar: string
    content: string
    time: string | { value: number; unit: 'just' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year' }
    likes: number
    replies?: number
    isPinned?: boolean
    pinnedBy?: string | null // 設置置頂的用戶名
    isLiked?: boolean // 當前用戶是否已喜歡此留言
    replyTo?: string // 回覆的目標使用者名
    nestedReplies?: Comment[] // 嵌套的回覆留言
    isEdited?: boolean // 是否已編輯
}

