feat: restore default stream details
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -15,11 +15,18 @@ public class UserConfiguration : IEntityTypeConfiguration<User>
|
||||
.IsRequired();
|
||||
|
||||
builder.Property(a => a.TosAccepted);
|
||||
|
||||
|
||||
builder.Property(a => a.Version)
|
||||
.IsRowVersion();
|
||||
|
||||
builder.Property(a => a.IsAdmin);
|
||||
builder.Property(a => a.IsBlocked);
|
||||
|
||||
builder.Property(a => a.Title);
|
||||
builder.Property(a => a.Summary);
|
||||
builder.Property(a => a.Image);
|
||||
builder.Property(a => a.ContentWarning);
|
||||
builder.Property(a => a.Goal);
|
||||
builder.Property(a => a.Tags);
|
||||
}
|
||||
}
|
||||
}
|
@ -34,6 +34,36 @@ public class User
|
||||
/// </summary>
|
||||
public bool IsBlocked { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stream title
|
||||
/// </summary>
|
||||
public string? Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stream summary
|
||||
/// </summary>
|
||||
public string? Summary { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stream cover image
|
||||
/// </summary>
|
||||
public string? Image { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Comma seperated tags
|
||||
/// </summary>
|
||||
public string? Tags { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Any content warning tag (NIP-36)
|
||||
/// </summary>
|
||||
public string? ContentWarning { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stream goal
|
||||
/// </summary>
|
||||
public string? Goal { get; set; }
|
||||
|
||||
public List<Payment> Payments { get; init; } = new();
|
||||
public List<UserStream> Streams { get; init; } = new();
|
||||
public List<UserStreamForwards> Forwards { get; init; } = new();
|
||||
|
Reference in New Issue
Block a user