mirror of https://github.com/Chocobozzz/PeerTube
				
				
				
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			523 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			523 B
		
	
	
	
		
			TypeScript
		
	
	
import { Account } from '../actors'
 | 
						|
 | 
						|
export interface VideoComment {
 | 
						|
  id: number
 | 
						|
  url: string
 | 
						|
  text: string
 | 
						|
  threadId: number
 | 
						|
  inReplyToCommentId: number
 | 
						|
  videoId: number
 | 
						|
  createdAt: Date | string
 | 
						|
  updatedAt: Date | string
 | 
						|
  deletedAt: Date | string
 | 
						|
  isDeleted: boolean
 | 
						|
  totalRepliesFromVideoAuthor: number
 | 
						|
  totalReplies: number
 | 
						|
  account: Account
 | 
						|
}
 | 
						|
 | 
						|
export interface VideoCommentThreadTree {
 | 
						|
  comment: VideoComment
 | 
						|
  children: VideoCommentThreadTree[]
 | 
						|
}
 | 
						|
 | 
						|
export interface VideoCommentCreate {
 | 
						|
  text: string
 | 
						|
}
 |