aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/activitypub/activitypub-actor.ts3
-rw-r--r--shared/models/actors/account.model.ts3
-rw-r--r--shared/models/actors/actor.model.ts3
-rw-r--r--shared/models/videos/channel/video-channel.model.ts6
4 files changed, 0 insertions, 15 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts
index efb6edec4..b86bcb764 100644
--- a/shared/models/activitypub/activitypub-actor.ts
+++ b/shared/models/activitypub/activitypub-actor.ts
@@ -28,10 +28,7 @@ export interface ActivityPubActor {
28 } 28 }
29 29
30 image?: ActivityIconObject | ActivityIconObject[] 30 image?: ActivityIconObject | ActivityIconObject[]
31
32 icon?: ActivityIconObject | ActivityIconObject[] 31 icon?: ActivityIconObject | ActivityIconObject[]
33 // TODO: migrate to `icon`, introduced in 4.2
34 icons?: ActivityIconObject[]
35 32
36 published?: string 33 published?: string
37} 34}
diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts
index 60f4236d5..9fbec60ba 100644
--- a/shared/models/actors/account.model.ts
+++ b/shared/models/actors/account.model.ts
@@ -19,7 +19,4 @@ export interface AccountSummary {
19 host: string 19 host: string
20 20
21 avatars: ActorImage[] 21 avatars: ActorImage[]
22
23 // TODO: remove, deprecated in 4.2
24 avatar: ActorImage
25} 22}
diff --git a/shared/models/actors/actor.model.ts b/shared/models/actors/actor.model.ts
index bf86a917f..ab0760263 100644
--- a/shared/models/actors/actor.model.ts
+++ b/shared/models/actors/actor.model.ts
@@ -10,7 +10,4 @@ export interface Actor {
10 createdAt: Date | string 10 createdAt: Date | string
11 11
12 avatars: ActorImage[] 12 avatars: ActorImage[]
13
14 // TODO: remove, deprecated in 4.2
15 avatar: ActorImage
16} 13}
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts
index 68e2f9c4c..ce5fc0e8d 100644
--- a/shared/models/videos/channel/video-channel.model.ts
+++ b/shared/models/videos/channel/video-channel.model.ts
@@ -21,9 +21,6 @@ export interface VideoChannel extends Actor {
21 totalViews?: number 21 totalViews?: number
22 22
23 banners: ActorImage[] 23 banners: ActorImage[]
24
25 // TODO: remove, deprecated in 4.2
26 banner: ActorImage
27} 24}
28 25
29export interface VideoChannelSummary { 26export interface VideoChannelSummary {
@@ -34,7 +31,4 @@ export interface VideoChannelSummary {
34 host: string 31 host: string
35 32
36 avatars: ActorImage[] 33 avatars: ActorImage[]
37
38 // TODO: remove, deprecated in 4.2
39 avatar: ActorImage
40} 34}