aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/objects/video-torrent-object.ts
blob: 5685a43e0a367d4a301e68d24ca730a057e44494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import {
  ActivityIconObject,
  ActivityIdentifierObject,
  ActivityTagObject,
  ActivityUrlObject
} from './common-objects'

export interface VideoTorrentObject {
  type: 'Video'
  id: string
  name: string
  duration: string
  uuid: string
  tag: ActivityTagObject[]
  category: ActivityIdentifierObject
  licence: ActivityIdentifierObject
  language: ActivityIdentifierObject
  views: number
  nsfw: boolean
  published: Date
  updated: Date
  mediaType: 'text/markdown'
  content: string
  icon: ActivityIconObject
  url: ActivityUrlObject[]
}