Add member routes to API

This commit is contained in:
Ske
2019-07-10 00:19:18 +02:00
parent 4874879979
commit 9a5152a74c
8 changed files with 96 additions and 4 deletions

12
PluralKit.Core/Limits.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace PluralKit.Core {
public static class Limits {
public static readonly int MaxSystemNameLength = 100;
public static readonly int MaxSystemTagLength = 31;
public static readonly int MaxDescriptionLength = 1000;
public static readonly int MaxMemberNameLength = 50;
public static readonly int MaxPronounsLength = 100;
public static readonly long AvatarFileSizeLimit = 1024 * 1024;
public static readonly int AvatarDimensionLimit = 1000;
}
}