PeerTube/server/typings/models/user/user-video-history.ts

6 lines
238 B
TypeScript

import { UserVideoHistoryModel } from '../../../models/account/user-video-history'
export type MUserVideoHistory = Omit<UserVideoHistoryModel, 'Video' | 'User'>
export type MUserVideoHistoryTime = Pick<MUserVideoHistory, 'currentTime'>