mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 00:03:05 +00:00
Further admin api work
This commit is contained in:
1 parent
abb1b570a4
commit
e1483e9f90
17 files changed
+642
-20
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Spacebar.AdminApi.Models;
|
||||
|
||||
public class FileMetadataModel {
|
||||
public string UserId { get; set; } = null!;
|
||||
public string Id { get; set; } = null!;
|
||||
|
||||
[JsonConverter(typeof(JsonStringEnumConverter<FileUploadType>))]
|
||||
public FileUploadType Type { get; set; }
|
||||
|
||||
|
||||
public enum FileUploadType {
|
||||
Attachment,
|
||||
Avatar,
|
||||
Banner,
|
||||
GuildIcon,
|
||||
GuildSplash,
|
||||
GuildCover,
|
||||
Emoji,
|
||||
Sticker
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user