1
0
Fork 0
freesewing/designs/charlie/src/index.mjs

61 lines
1.5 KiB
JavaScript
Raw Normal View History

import { Design, mergeI18n } from '@freesewing/core'
import { data } from '../data.mjs'
import { i18n as titanI18n } from '@freesewing/titan'
import { i18n as charlieI18n } from '../i18n/index.mjs'
2021-01-30 16:30:45 +01:00
// Parts
import { back } from './back.mjs'
import { front } from './front.mjs'
import { waistband } from './waistband.mjs'
import { waistbandCurved } from './waistband-curved.mjs'
2023-09-16 18:53:40 +02:00
import { frontPocketBag } from './front-pocket-bag.mjs'
import { frontPocketFacing } from './front-pocket-facing.mjs'
2023-09-16 18:53:40 +02:00
import { backPocketBag } from './back-pocket-bag.mjs'
import { backPocketFacing } from './back-pocket-facing.mjs'
import { backPocketInterfacing } from './back-pocket-interfacing.mjs'
import { backPocketWelt } from './back-pocket-welt.mjs'
import { flyFacing } from './fly-facing.mjs'
import { flyExtension } from './fly-extension.mjs'
import { beltLoops } from './beltloops.mjs'
2021-01-30 16:30:45 +01:00
// Create design
const Charlie = new Design({
data,
parts: [
2022-09-11 13:58:31 +02:00
front,
back,
waistband,
waistbandCurved,
2023-09-16 18:53:40 +02:00
frontPocketBag,
2022-09-11 13:58:31 +02:00
frontPocketFacing,
2023-09-16 18:53:40 +02:00
backPocketBag,
2022-09-11 13:58:31 +02:00
backPocketFacing,
backPocketInterfacing,
backPocketWelt,
flyFacing,
flyExtension,
beltLoops,
],
})
2021-01-30 16:30:45 +01:00
// Merge translations
const i18n = mergeI18n([titanI18n, charlieI18n])
// Named exports
export {
2022-09-11 13:58:31 +02:00
front,
back,
waistband,
waistbandCurved,
2023-09-16 18:53:40 +02:00
frontPocketBag,
2022-09-11 13:58:31 +02:00
frontPocketFacing,
2023-09-16 18:53:40 +02:00
backPocketBag,
2022-09-11 13:58:31 +02:00
backPocketFacing,
backPocketInterfacing,
backPocketWelt,
flyFacing,
flyExtension,
beltLoops,
Charlie,
2023-07-02 13:26:51 +02:00
i18n,
}