Actor data will include instance data

This commit is contained in:
2025-12-29 01:13:24 +08:00
parent cda48ea18d
commit 7b09e63918
4 changed files with 23 additions and 31 deletions

View File

@@ -32,8 +32,8 @@ public class SnFediverseActor : ModelBase
public bool IsDiscoverable { get; set; } = true;
public Guid InstanceId { get; set; }
public SnFediverseInstance Instance { get; set; } = null!;
[JsonIgnore] public SnFediverseInstance Instance { get; set; } = null!;
[JsonIgnore] public ICollection<SnFediverseContent> Contents { get; set; } = [];
[JsonIgnore] public ICollection<SnFediverseActivity> Activities { get; set; } = [];
[JsonIgnore] public ICollection<SnFediverseRelationship> FollowingRelationships { get; set; } = [];