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

51 lines
1 KiB
JavaScript
Raw Normal View History

import { Design, mergeI18n } from '@freesewing/core'
2022-09-05 19:21:51 +02:00
import { data } from '../data.mjs'
import { i18n as brianI18n } from '@freesewing/brian'
import { i18n as hugoI18n } from '../i18n/index.mjs'
2022-09-05 19:21:51 +02:00
import { back } from './back.mjs'
import { front } from './front.mjs'
import { sleeve } from './sleeve.mjs'
import { pocket } from './pocket.mjs'
import { pocketFacing } from './pocketfacing.mjs'
import { hoodSide } from './hoodside.mjs'
import { hoodCenter } from './hoodcenter.mjs'
import { waistband } from './waistband.mjs'
import { cuff } from './cuff.mjs'
2024-01-27 22:28:18 -08:00
import { neckBinding } from './neckbinding.mjs'
2022-09-05 19:21:51 +02:00
// Setup our new design
const Hugo = new Design({
data,
2024-01-27 22:28:18 -08:00
parts: [
back,
front,
sleeve,
pocket,
pocketFacing,
hoodSide,
hoodCenter,
waistband,
cuff,
neckBinding,
],
2022-09-05 19:21:51 +02:00
})
// Merge translations
const i18n = mergeI18n([brianI18n, hugoI18n])
2022-09-05 19:21:51 +02:00
// Named exports
2023-07-02 13:35:01 +02:00
export {
back,
front,
sleeve,
pocket,
pocketFacing,
hoodSide,
hoodCenter,
waistband,
cuff,
2024-01-27 22:28:18 -08:00
neckBinding,
2023-07-02 13:35:01 +02:00
Hugo,
i18n,
}