X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Factivitypub.ts;h=d28453d793f405a42f6b355ba4cdaccc1cc3514f;hb=365d9083c938ea128e04c4f98e6b18dd26d86dd2;hp=aeb8fde01f5575ea9f9f90ea57351fd58f4d43d9;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts index aeb8fde01..d28453d79 100644 --- a/server/helpers/activitypub.ts +++ b/server/helpers/activitypub.ts @@ -6,7 +6,7 @@ import { ACTIVITY_PUB, REMOTE_SCHEME } from '../initializers/constants' import { signJsonLDObject } from './peertube-crypto' import { pageToStartAndCount } from './core-utils' import { URL } from 'url' -import { MActor, MVideoAccountLight } from '../typings/models' +import { MActor, MVideoAccountLight } from '../types/models' import { ContextType } from '@shared/models/activitypub/context' function getContextData (type: ContextType) { @@ -40,6 +40,9 @@ function getContextData (type: ContextType) { language: 'sc:inLanguage', Infohash: 'pt:Infohash', + Playlist: 'pt:Playlist', + PlaylistElement: 'pt:PlaylistElement', + originallyPublishedAt: 'sc:datePublished', views: { '@type': 'sc:Number',