import { Core } from "../../types"; export type LoadableSuccess = { id: string; loadState: "Success"; value: T; }; export type LoadablePending = { id: string; loadState: "Pending"; }; export type LoadableError = { id: string; loadState: "Error"; }; export type Loadable = LoadableSuccess | LoadablePending | LoadableError; export type DressingRoomGarment = { id: string; title: string; price?: number; currency?: string; thumbnail?: string; garmentGroup?: number; asset: Core.AssetInfo; }; export type LoadableDressingRoomGarment = Loadable; export type DressingRoomAvatar = { id: string; title: string; asset: Core.AssetInfo; custom: boolean; gender: Core.Gender; thumbnail?: string; }; export type LoadableDressingRoomAvatar = Loadable; export type DressingRoomScene = { id: string; title: string; asset: Core.AssetInfo; thumbnail?: string; }; export type LoadableDressingRoomScene = Loadable; export type DressingRoomAnimation = { id: string; title: string; asset: Core.AssetInfo; };