mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Begin moving video channel to actor
This commit is contained in:
@@ -23,3 +23,8 @@ export interface ActivityUrlObject {
|
||||
width: number
|
||||
size?: number
|
||||
}
|
||||
|
||||
export interface ActivityPubAttributedTo {
|
||||
type: 'Group' | 'Person'
|
||||
id: string
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
export * from './common-objects'
|
||||
export * from './video-abuse-object'
|
||||
export * from './video-channel-object'
|
||||
export * from './video-torrent-object'
|
||||
export * from './view-object'
|
||||
export * from './dislike-object'
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
|
||||
|
||||
export interface VideoChannelObject {
|
||||
type: 'VideoChannel'
|
||||
id: string
|
||||
name: string
|
||||
content: string
|
||||
uuid: string
|
||||
published: string
|
||||
updated: string
|
||||
actor?: string
|
||||
shares?: ActivityPubOrderedCollection<string>
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
ActivityIconObject,
|
||||
ActivityIdentifierObject,
|
||||
ActivityIdentifierObject, ActivityPubAttributedTo,
|
||||
ActivityTagObject,
|
||||
ActivityUrlObject
|
||||
} from './common-objects'
|
||||
@@ -24,8 +24,8 @@ export interface VideoTorrentObject {
|
||||
content: string
|
||||
icon: ActivityIconObject
|
||||
url: ActivityUrlObject[]
|
||||
actor?: string
|
||||
likes?: ActivityPubOrderedCollection<string>
|
||||
dislikes?: ActivityPubOrderedCollection<string>
|
||||
shares?: ActivityPubOrderedCollection<string>
|
||||
attributedTo: ActivityPubAttributedTo[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user