feat(shared): Keep measurements config
This commit is contained in:
parent
95ed05187a
commit
f4c67c5f56
1 changed files with 50 additions and 0 deletions
50
packages/freesewing.shared/config/measurements.js
Normal file
50
packages/freesewing.shared/config/measurements.js
Normal file
|
@ -0,0 +1,50 @@
|
|||
/* A list of all measurements used by FreeSewing */
|
||||
export const measurements = [
|
||||
'ankle',
|
||||
'biceps',
|
||||
'bustFront',
|
||||
'bustPointToUnderbust',
|
||||
'bustSpan',
|
||||
'chest',
|
||||
'crossSeam',
|
||||
'crossSeamFront',
|
||||
'crotchDepth',
|
||||
'heel',
|
||||
'head',
|
||||
'highBust',
|
||||
'highBustFront',
|
||||
'hips',
|
||||
'hpsToBust',
|
||||
'hpsToWaistBack',
|
||||
'hpsToWaistFront',
|
||||
'inseam',
|
||||
'knee',
|
||||
'neck',
|
||||
'seat',
|
||||
'seatBack',
|
||||
'shoulderSlope',
|
||||
'shoulderToElbow',
|
||||
'shoulderToShoulder',
|
||||
'shoulderToWrist',
|
||||
'underbust',
|
||||
'upperLeg',
|
||||
'waist',
|
||||
'waistBack',
|
||||
'waistToArmhole',
|
||||
'waistToFloor',
|
||||
'waistToHips',
|
||||
'waistToKnee',
|
||||
'waistToSeat',
|
||||
'waistToUnderbust',
|
||||
'waistToUpperLeg',
|
||||
'wrist',
|
||||
]
|
||||
|
||||
/* A list of measurments that are degrees (rather than mm) */
|
||||
export const degreeMeasurements = [
|
||||
'shoulderSlope'
|
||||
]
|
||||
|
||||
/* Helper method to determine whether a measurement uses degrees */
|
||||
export const isDegreeMeasurement = measie => (degreeMeasurements.indexOf(measie) !== -1)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue