mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 15:13:05 +00:00
Restructure extras
This commit is contained in:
1 parent
a32cc57e29
commit
8ea87873de
107 files changed
+404
-266
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Spacebar.ConfigModel;
|
||||
|
||||
public class GeneralConfiguration {
|
||||
[JsonPropertyName("instanceName")]
|
||||
public string InstanceName { get; set; } = "Spacebar Instance";
|
||||
|
||||
[JsonPropertyName("serverName")]
|
||||
public string? ServerName { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("instanceDescription")]
|
||||
public string InstanceDescription { get; set; } = "This is a Spacebar instance made in the pre-release days";
|
||||
|
||||
[JsonPropertyName("frontPage")]
|
||||
public string? FrontPage { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("tosPage")]
|
||||
public string? TosPage { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("correspondenceEmail")]
|
||||
public string? CorrespondenceEmail { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("correspondenceUserID")]
|
||||
public string? CorrespondenceUserID { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("image")]
|
||||
public string? Image { get; set; } = null;
|
||||
|
||||
[JsonPropertyName("instanceId")]
|
||||
public string InstanceId { get; set; } = null!; // {get;set;}=Snowflake.generate();
|
||||
|
||||
[JsonPropertyName("autoCreateBotUsers")]
|
||||
public bool AutoCreateBotUsers { get; set; } = false;
|
||||
}
|
||||
Reference in new issue
Block a user