export interface User { id: string; username: string; email: string; avatar: string | null; isVip: boolean; vipExpireAt: string | null; vipLevel: number; } export interface Scheme { id: string; title: string | null; weaponName: string | null; category: string | null; userId: string; description: string | null; viewsCount: number; downloadsCount: number; likesCount: number; favoritesCount: number; price: number; status: string; isOfficial: boolean; createdAt: string; user?: { username: string; avatar: string | null }; } export interface Category { code: string; name: string; icon: string; } export interface LoginRequest { username: string; password: string; installId?: string; deviceHash?: string; platform?: string; osVersion?: string; appVersion?: string; } export interface LoginResponse { success: boolean; token?: string; user?: User; message?: string; } export interface ApiResponse { success: boolean; data?: T; message?: string; }