aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-18 11:17:35 +0100
committerChocobozzz <me@florianbigard.com>2022-03-18 11:21:50 +0100
commit57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c (patch)
treefcf12670d643ec4a3b5eccdfa834227c0417d988 /shared
parent2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (diff)
downloadPeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.gz
PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.zst
PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.zip
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users privacy
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/index.ts3
-rw-r--r--shared/models/server/job.model.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/activitypub/index.ts b/shared/models/activitypub/index.ts
index 6cacb24d2..fa07b6a64 100644
--- a/shared/models/activitypub/index.ts
+++ b/shared/models/activitypub/index.ts
@@ -1,8 +1,9 @@
1export * from './objects'
1export * from './activity' 2export * from './activity'
2export * from './activitypub-actor' 3export * from './activitypub-actor'
3export * from './activitypub-collection' 4export * from './activitypub-collection'
4export * from './activitypub-ordered-collection' 5export * from './activitypub-ordered-collection'
5export * from './activitypub-root' 6export * from './activitypub-root'
6export * from './activitypub-signature' 7export * from './activitypub-signature'
7export * from './objects' 8export * from './context'
8export * from './webfinger' 9export * from './webfinger'
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index 6b07eba69..d81b72696 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -52,7 +52,7 @@ export type ActivitypubFollowPayload = {
52 assertIsChannel?: boolean 52 assertIsChannel?: boolean
53} 53}
54 54
55export type FetchType = 'activity' | 'video-likes' | 'video-dislikes' | 'video-shares' | 'video-comments' | 'account-playlists' 55export type FetchType = 'activity' | 'video-shares' | 'video-comments' | 'account-playlists'
56export type ActivitypubHttpFetcherPayload = { 56export type ActivitypubHttpFetcherPayload = {
57 uri: string 57 uri: string
58 type: FetchType 58 type: FetchType