]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/context.ts
Improve VideoChannelSyncLatestScheduler logs
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / context.ts
index b452cf9b3c5cb83d48cc870d0509c10dc4e4d4f6..349c4d2273ee6d21c273d25aaa3cfeea5268be94 100644 (file)
@@ -24,6 +24,7 @@ const contextStore: { [ id in ContextType ]: (string | { [ id: string ]: string
     subtitleLanguage: 'sc:subtitleLanguage',
     sensitive: 'as:sensitive',
     language: 'sc:inLanguage',
+    identifier: 'sc:identifier',
 
     // TODO: remove in a few versions, introduced in 4.2
     icons: 'as:icon',
@@ -126,7 +127,14 @@ const contextStore: { [ id in ContextType ]: (string | { [ id: string ]: string
     playlists: {
       '@id': 'pt:playlists',
       '@type': '@id'
-    }
+    },
+    support: {
+      '@type': 'sc:Text',
+      '@id': 'pt:support'
+    },
+
+    // TODO: remove in a few versions, introduced in 4.2
+    icons: 'as:icon'
   }),
 
   WatchAction: buildContext({
@@ -179,7 +187,7 @@ function buildContext (contextValue?: ContextValue) {
 
     {
       pt: 'https://joinpeertube.org/ns#',
-      sc: 'http://schema.org#',
+      sc: 'http://schema.org/',
 
       ...contextValue
     }