@primestyleai/tryon 5.6.17 → 5.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/index.js +68 -29
- package/dist/react/styles.d.ts +1 -1
- package/dist/react/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/react/types.d.ts
CHANGED
|
@@ -32,6 +32,18 @@ export interface SizeHistoryEntry {
|
|
|
32
32
|
confidence?: string;
|
|
33
33
|
/** For multi-section products: { "Jacket Size": "50", "Pants": "34", ... } */
|
|
34
34
|
sections?: Record<string, string>;
|
|
35
|
+
/** Full per-section data (size/length/availableSizes/...) — preserved so
|
|
36
|
+
* cached recommendations carry the same detail as a fresh API response. */
|
|
37
|
+
sectionsFull?: Record<string, {
|
|
38
|
+
recommendedSize: string;
|
|
39
|
+
size?: string;
|
|
40
|
+
length?: string;
|
|
41
|
+
availableSizes?: string[];
|
|
42
|
+
availableLengths?: string[];
|
|
43
|
+
}>;
|
|
44
|
+
/** Top-level recommended length (single-piece products that have a separate
|
|
45
|
+
* length axis like Regular / Long / Short). */
|
|
46
|
+
recommendedLength?: string;
|
|
35
47
|
savedAt: number;
|
|
36
48
|
}
|
|
37
49
|
export interface Profile {
|