diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:17:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:21:50 +0100 |
commit | 57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c (patch) | |
tree | fcf12670d643ec4a3b5eccdfa834227c0417d988 /shared | |
parent | 2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (diff) | |
download | PeerTube-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.ts | 3 | ||||
-rw-r--r-- | shared/models/server/job.model.ts | 2 |
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 @@ | |||
1 | export * from './objects' | ||
1 | export * from './activity' | 2 | export * from './activity' |
2 | export * from './activitypub-actor' | 3 | export * from './activitypub-actor' |
3 | export * from './activitypub-collection' | 4 | export * from './activitypub-collection' |
4 | export * from './activitypub-ordered-collection' | 5 | export * from './activitypub-ordered-collection' |
5 | export * from './activitypub-root' | 6 | export * from './activitypub-root' |
6 | export * from './activitypub-signature' | 7 | export * from './activitypub-signature' |
7 | export * from './objects' | 8 | export * from './context' |
8 | export * from './webfinger' | 9 | export * 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 | ||
55 | export type FetchType = 'activity' | 'video-likes' | 'video-dislikes' | 'video-shares' | 'video-comments' | 'account-playlists' | 55 | export type FetchType = 'activity' | 'video-shares' | 'video-comments' | 'account-playlists' |
56 | export type ActivitypubHttpFetcherPayload = { | 56 | export type ActivitypubHttpFetcherPayload = { |
57 | uri: string | 57 | uri: string |
58 | type: FetchType | 58 | type: FetchType |