修改后台权限

This commit is contained in:
yoyuzh
2026-03-24 14:30:59 +08:00
parent 00f902f475
commit b2d9db7be9
9310 changed files with 1246063 additions and 48 deletions

View File

@@ -9,6 +9,8 @@ export interface UserProfile {
avatarUrl?: string | null;
role?: AdminUserRole;
createdAt: string;
storageQuotaBytes?: number;
maxUploadSizeBytes?: number;
}
export type AdminUserRole = 'USER' | 'MODERATOR' | 'ADMIN';
@@ -27,6 +29,8 @@ export interface AdminUser {
createdAt: string;
role: AdminUserRole;
banned: boolean;
storageQuotaBytes: number;
maxUploadSizeBytes: number;
}
export interface AdminFile {