aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index dc42068d8..0c303c369 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -29,47 +29,47 @@ function activityPubContextify <T> (data: T) {
29 Infohash: 'pt:Infohash', 29 Infohash: 'pt:Infohash',
30 originallyPublishedAt: 'sc:datePublished', 30 originallyPublishedAt: 'sc:datePublished',
31 views: { 31 views: {
32 type: 'sc:Number', 32 '@type': 'sc:Number',
33 '@id': 'pt:views' 33 '@id': 'pt:views'
34 }, 34 },
35 state: { 35 state: {
36 type: 'sc:Number', 36 '@type': 'sc:Number',
37 '@id': 'pt:state' 37 '@id': 'pt:state'
38 }, 38 },
39 size: { 39 size: {
40 type: 'sc:Number', 40 '@type': 'sc:Number',
41 '@id': 'pt:size' 41 '@id': 'pt:size'
42 }, 42 },
43 fps: { 43 fps: {
44 type: 'sc:Number', 44 '@type': 'sc:Number',
45 '@id': 'pt:fps' 45 '@id': 'pt:fps'
46 }, 46 },
47 startTimestamp: { 47 startTimestamp: {
48 type: 'sc:Number', 48 '@type': 'sc:Number',
49 '@id': 'pt:startTimestamp' 49 '@id': 'pt:startTimestamp'
50 }, 50 },
51 stopTimestamp: { 51 stopTimestamp: {
52 type: 'sc:Number', 52 '@type': 'sc:Number',
53 '@id': 'pt:stopTimestamp' 53 '@id': 'pt:stopTimestamp'
54 }, 54 },
55 position: { 55 position: {
56 type: 'sc:Number', 56 '@type': 'sc:Number',
57 '@id': 'pt:position' 57 '@id': 'pt:position'
58 }, 58 },
59 commentsEnabled: { 59 commentsEnabled: {
60 type: 'sc:Boolean', 60 '@type': 'sc:Boolean',
61 '@id': 'pt:commentsEnabled' 61 '@id': 'pt:commentsEnabled'
62 }, 62 },
63 downloadEnabled: { 63 downloadEnabled: {
64 type: 'sc:Boolean', 64 '@type': 'sc:Boolean',
65 '@id': 'pt:downloadEnabled' 65 '@id': 'pt:downloadEnabled'
66 }, 66 },
67 waitTranscoding: { 67 waitTranscoding: {
68 type: 'sc:Boolean', 68 '@type': 'sc:Boolean',
69 '@id': 'pt:waitTranscoding' 69 '@id': 'pt:waitTranscoding'
70 }, 70 },
71 support: { 71 support: {
72 type: 'sc:Text', 72 '@type': 'sc:Text',
73 '@id': 'pt:support' 73 '@id': 'pt:support'
74 } 74 }
75 }, 75 },