type itemTypes = "hat" | "tool" | "face" | "shirt" | "pants" | "profileTheme"; export type userApiSchema = { id: number, username: string, description: string, signature: string, thumbnail: { avatar: string, icon: string }, playing: null|{}, netWorth: number, placeVisits: number, profileViews: number, forumPosts: number, assetSales: number, membershipType: "free" | "plus" | "plusDeluxe", isStaff: boolean, registeredAt: string, lastSeenAt: string }; export type placeApiSchema = { id: number, name: string, description: string, creator: { type: "user" | "guild", id: number, name: string, thumbnail: string }, thumbnail: string, genre: string, maxPlayers: number, isActive: boolean, visits: number, uniqueVisits: number, playing: number, rating: object, accessType: string, accessPrice: number | null, createdAt: string, updatedAt: string }; export type avatarApiSchema = { id: string, colors: { head: string, torso: string, leftArm: string, rightArm: string, leftLeg: string, rightLeg: string }, assets: Array<{ id: number, type: itemTypes, accessoryType: string, name: string, thumbnail: string, path: string }>, isDefault: boolean }; export type itemApiSchema = { id: number, type: itemTypes, accessoryType: string, name: string, description: string, tags: Array, creator: { type: string, id: number, name: string, thumbnail: string }, thumbnail: string, price: number | null, averagePrice: number | null, version: number, sales: number, favorites: number, totalStock: number | null, onSaleUntil: string | null, isLimited: boolean, createdAt: string, updatedAt: string | null } export type meshApiSchema = { success: boolean, url?: string, errors?: Array<{ code: string, message: string }> }; export type textureApiSchema = { success: boolean, url?: string, errors?: Array<{ code: string, message: string }> }; export type gamepassesApiSchema = { gamepasses: Array<{ id: number, asset: { id: number, name: string, description: string, thumbnail: string, price: number, sales: number } }>, pages: number, total: number }; export type ownersApiSchema = { inventories: Array<{ serial: number, purchasedAt: string, user: { id: number, username: string } }>, pages: number, total: number }; export type editApiSchema = { success: boolean, token: string };