feat: Avatars tab

This commit is contained in:
2026-06-30 01:36:23 +07:00
parent e575f99116
commit 5d983fdbd1
25 changed files with 1183 additions and 27 deletions
+28
View File
@@ -1,3 +1,10 @@
import type { WorldPlatforms } from "./world";
export interface AvatarPerformance {
pc?: string;
android?: string;
}
export interface Avatar {
id: string;
name: string;
@@ -9,6 +16,27 @@ export interface Avatar {
releaseStatus: string;
tags: string[];
favorites: number;
featured?: boolean;
platforms?: WorldPlatforms;
performance?: AvatarPerformance;
createdAt?: string;
updatedAt?: string;
}
export interface AvatarEdit {
name?: string;
description?: string;
releaseStatus?: string;
}
export interface FavoriteAvatarFolder {
name: string;
displayName: string;
avatarIds: string[];
}
export interface AvatarSnapshot {
avatars: Avatar[];
mineIds: string[];
favorites: FavoriteAvatarFolder[];
}
+1
View File
@@ -51,6 +51,7 @@ export interface UserProfile {
userIcon: string;
profilePicOverride: string;
profilePicOverrideThumbnail: string;
currentAvatarId?: string;
currentAvatarImageUrl: string;
currentAvatarThumbnailImageUrl: string;
currentAvatarTags: string[];