diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-28 11:28:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-28 11:41:14 +0200 |
commit | f932957b2e33da0b6d9a29dd98281b28f220a77a (patch) | |
tree | 71ada3f7308e83730d607312385170dc489da422 /client | |
parent | 89aa3331106874266f6feeee7bff852da2c1727e (diff) | |
download | PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.tar.gz PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.tar.zst PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.zip |
Remove banner/avatar fields from channel/account
Deprecated since 4.2
Diffstat (limited to 'client')
3 files changed, 0 insertions, 12 deletions
diff --git a/client/src/app/shared/shared-main/account/actor.model.ts b/client/src/app/shared/shared-main/account/actor.model.ts index 77bf9171b..bce040970 100644 --- a/client/src/app/shared/shared-main/account/actor.model.ts +++ b/client/src/app/shared/shared-main/account/actor.model.ts | |||
@@ -13,9 +13,6 @@ export abstract class Actor implements ServerActor { | |||
13 | 13 | ||
14 | createdAt: Date | string | 14 | createdAt: Date | string |
15 | 15 | ||
16 | // TODO: remove, deprecated in 4.2 | ||
17 | avatar: never | ||
18 | |||
19 | avatars: ActorImage[] | 16 | avatars: ActorImage[] |
20 | 17 | ||
21 | isLocal: boolean | 18 | isLocal: boolean |
diff --git a/client/src/app/shared/shared-main/video-channel/video-channel.model.ts b/client/src/app/shared/shared-main/video-channel/video-channel.model.ts index 62bd94349..db3e4b43f 100644 --- a/client/src/app/shared/shared-main/video-channel/video-channel.model.ts +++ b/client/src/app/shared/shared-main/video-channel/video-channel.model.ts | |||
@@ -12,9 +12,6 @@ export class VideoChannel extends Actor implements ServerVideoChannel { | |||
12 | nameWithHost: string | 12 | nameWithHost: string |
13 | nameWithHostForced: string | 13 | nameWithHostForced: string |
14 | 14 | ||
15 | // TODO: remove, deprecated in 4.2 | ||
16 | banner: never | ||
17 | |||
18 | banners: ActorImage[] | 15 | banners: ActorImage[] |
19 | 16 | ||
20 | bannerUrl: string | 17 | bannerUrl: string |
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index 392dcadd0..1d077a613 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -86,9 +86,6 @@ export class Video implements VideoServerModel { | |||
86 | url: string | 86 | url: string |
87 | host: string | 87 | host: string |
88 | 88 | ||
89 | // TODO: remove, deprecated in 4.2 | ||
90 | avatar: ActorImage | ||
91 | |||
92 | avatars: ActorImage[] | 89 | avatars: ActorImage[] |
93 | } | 90 | } |
94 | 91 | ||
@@ -99,9 +96,6 @@ export class Video implements VideoServerModel { | |||
99 | url: string | 96 | url: string |
100 | host: string | 97 | host: string |
101 | 98 | ||
102 | // TODO: remove, deprecated in 4.2 | ||
103 | avatar: ActorImage | ||
104 | |||
105 | avatars: ActorImage[] | 99 | avatars: ActorImage[] |
106 | } | 100 | } |
107 | 101 | ||