Update: Text Channel Stuff

Bugs: Files don't work
Bugs: Video In-Line don't work

Added: idk, everything?
This commit is contained in:
2026-06-03 13:19:21 -04:00
parent cd2d809322
commit f819d7284e
20 changed files with 3447 additions and 908 deletions

View File

@@ -1,4 +1,5 @@
using SurrealDb.Net.Models;
using RelayShared.Services;
namespace RelayServer.Models;
@@ -6,4 +7,9 @@ public class Channels : Record
{
public required string Name { get; set; }
public required DateTime CreatedAt { get; set; }
}
public ChannelType Type { get; set; } = ChannelType.Text;
public string Group { get; set; } = string.Empty;
public bool IsReadOnly { get; set; }
public bool IsDeleted { get; set; }
public string? LinkedFileChannelId { get; set; }
}