@thefittingroom/sdk 0.0.11 → 0.0.14
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/esm/api/shop.d.ts +2 -1
- package/dist/esm/index.js +104 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +110 -110
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/types/index.d.ts +3 -7
- package/dist/esm/types/measurement.d.ts +88 -0
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export interface FirestoreSize {
|
|
|
24
24
|
label: string;
|
|
25
25
|
size_system: string;
|
|
26
26
|
size_value_id: string;
|
|
27
|
-
garment_measurements:
|
|
27
|
+
garment_measurements: FirestoreGarmentMeasurement[];
|
|
28
28
|
}
|
|
29
29
|
export interface FirestoreColorway {
|
|
30
30
|
id: number;
|
|
@@ -39,12 +39,8 @@ export interface FirestoreStyle {
|
|
|
39
39
|
garment_category: string;
|
|
40
40
|
is_published: boolean;
|
|
41
41
|
sale_type: string;
|
|
42
|
-
colorways:
|
|
43
|
-
|
|
44
|
-
};
|
|
45
|
-
sizes: {
|
|
46
|
-
[key: number]: FirestoreSize;
|
|
47
|
-
};
|
|
42
|
+
colorways: FirestoreColorway[];
|
|
43
|
+
sizes: FirestoreSize[];
|
|
48
44
|
}
|
|
49
45
|
export interface FirestoreFrames {
|
|
50
46
|
colorway_size_asset_id: number;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare enum MeasurementLocation {
|
|
2
|
+
ACROSS_BACK = "across_back",
|
|
3
|
+
ACROSS_FRONT = "across_front",
|
|
4
|
+
ACROSS_SHOULDER = "across_shoulder",
|
|
5
|
+
ANKLE = "ankle",
|
|
6
|
+
ARMEYE = "arm_eye",
|
|
7
|
+
ARM_LENGTH_FROM_SHOULDER = "arm_length_from_shoulder",
|
|
8
|
+
BACK_CROTCH_LENGTH = "back_crotch_length",
|
|
9
|
+
BACK_NECK_TO_EBLOW = "back_neck_to_elbow",
|
|
10
|
+
BELOW_KNEE = "below_knee",
|
|
11
|
+
BICEP = "bicep",
|
|
12
|
+
BUST = "bust",
|
|
13
|
+
BUST_POINT_TO_BUST_POINT = "bust_point_to_bust_point",
|
|
14
|
+
CALF = "calf",
|
|
15
|
+
CB_NECK_TO_WAIST = "cb_neck_to_waist",
|
|
16
|
+
CB_NECK_TO_WRIST = "cb_neck_to_wrist",
|
|
17
|
+
CF_NECK_TO_WAIST = "cf_neck_to_waist",
|
|
18
|
+
ELBOW = "elbow",
|
|
19
|
+
FOREARM = "forearm",
|
|
20
|
+
FRONT_CROTCH_LENGTH = "front_crotch_length",
|
|
21
|
+
HIGH_HIP_PLACEMENT_FROM_WAIST = "high_hip_placement",
|
|
22
|
+
HIGH_HIP = "high_hip",
|
|
23
|
+
HSP_TO_ACROSS_BACK = "hsp_to_across_back",
|
|
24
|
+
HSP_TO_ACROSS_FRONT = "hsp_to_across_front",
|
|
25
|
+
HSP_TO_BUST_POINT = "hsp_to_bust_point",
|
|
26
|
+
HSP_TO_LOW_HIP_POSITION = "hsp_to_low_hip_position",
|
|
27
|
+
HSP_TO_WAIST_POSITION = "hsp_to_waist_position",
|
|
28
|
+
INSEAM = "inseam",
|
|
29
|
+
KNEE = "knee",
|
|
30
|
+
LOW_HIP = "low_hip",
|
|
31
|
+
LOW_HIP_PLACEMENT_FROM_WAIST = "low_hip_placement",
|
|
32
|
+
MID_NECK = "mid_neck",
|
|
33
|
+
NECK_AT_BASE = "neck_base",
|
|
34
|
+
SHOULDER_DROP = "shoulder_drop",
|
|
35
|
+
SHOULDER_TO_SHOULDER = "shoulder_to_shoulder",
|
|
36
|
+
SIDE_WAIST_TO_FLOOR = "side_waist_to_floor",
|
|
37
|
+
SIDE_WAIST_TO_KNEE = "side_waist_to_knee",
|
|
38
|
+
THIGH = "thigh",
|
|
39
|
+
TOTAL_RISE_LENGTH = "total_rise_length",
|
|
40
|
+
UNDER_BUST = "under_bust",
|
|
41
|
+
VERTICAL_TRUNK = "vertical_trunk",
|
|
42
|
+
WAIST = "waist",
|
|
43
|
+
WRIST = "wrist"
|
|
44
|
+
}
|
|
45
|
+
export declare const MeasurementLocationName: {
|
|
46
|
+
across_back: string;
|
|
47
|
+
across_front: string;
|
|
48
|
+
across_shoulder: string;
|
|
49
|
+
ankle: string;
|
|
50
|
+
arm_eye: string;
|
|
51
|
+
arm_length_from_shoulder: string;
|
|
52
|
+
back_crotch_length: string;
|
|
53
|
+
back_neck_to_elbow: string;
|
|
54
|
+
below_knee: string;
|
|
55
|
+
bicep: string;
|
|
56
|
+
bust: string;
|
|
57
|
+
bust_point_to_bust_point: string;
|
|
58
|
+
calf: string;
|
|
59
|
+
cb_neck_to_waist: string;
|
|
60
|
+
cb_neck_to_wrist: string;
|
|
61
|
+
cf_neck_to_waist: string;
|
|
62
|
+
elbow: string;
|
|
63
|
+
forearm: string;
|
|
64
|
+
front_crotch_length: string;
|
|
65
|
+
high_hip_placement: string;
|
|
66
|
+
high_hip: string;
|
|
67
|
+
hsp_to_across_back: string;
|
|
68
|
+
hsp_to_across_front: string;
|
|
69
|
+
hsp_to_bust_point: string;
|
|
70
|
+
hsp_to_low_hip_position: string;
|
|
71
|
+
hsp_to_waist_position: string;
|
|
72
|
+
inseam: string;
|
|
73
|
+
knee: string;
|
|
74
|
+
low_hip: string;
|
|
75
|
+
low_hip_placement: string;
|
|
76
|
+
mid_neck: string;
|
|
77
|
+
neck_base: string;
|
|
78
|
+
shoulder_drop: string;
|
|
79
|
+
shoulder_to_shoulder: string;
|
|
80
|
+
side_waist_to_floor: string;
|
|
81
|
+
side_waist_to_knee: string;
|
|
82
|
+
thigh: string;
|
|
83
|
+
total_rise_length: string;
|
|
84
|
+
under_bust: string;
|
|
85
|
+
vertical_trunk: string;
|
|
86
|
+
waist: string;
|
|
87
|
+
wrist: string;
|
|
88
|
+
};
|