]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Add activitypub migration script
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
CommitLineData
e4f97bab
C
1import {
2 ActivityIconObject,
3 ActivityIdentifierObject,
4 ActivityTagObject,
5 ActivityUrlObject
6} from './common-objects'
16b90975 7import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
e4f97bab
C
8
9export interface VideoTorrentObject {
10 type: 'Video'
0d0e8dd0 11 id: string
e4f97bab
C
12 name: string
13 duration: string
14 uuid: string
15 tag: ActivityTagObject[]
16 category: ActivityIdentifierObject
17 licence: ActivityIdentifierObject
18 language: ActivityIdentifierObject
19 views: number
20 nsfw: boolean
efc32059
C
21 published: string
22 updated: string
e4f97bab
C
23 mediaType: 'text/markdown'
24 content: string
25 icon: ActivityIconObject
26 url: ActivityUrlObject[]
d8465018 27 actor?: string
16b90975
C
28 likes?: ActivityPubOrderedCollection<string>
29 dislikes?: ActivityPubOrderedCollection<string>
e4f97bab 30}