2022-08-26 18:51:02 +02:00
|
|
|
import Design from './design.mjs'
|
|
|
|
import Pattern from './pattern.mjs'
|
|
|
|
import Point from './point.mjs'
|
|
|
|
import Path from './path.mjs'
|
|
|
|
import Snippet from './snippet.mjs'
|
|
|
|
import * as utils from './utils.mjs'
|
2022-08-25 11:47:54 +02:00
|
|
|
import pkg from '../package.json' assert { type: 'json' }
|
|
|
|
|
|
|
|
const { version } = pkg
|
2018-07-23 14:16:39 +00:00
|
|
|
|
2022-06-12 21:49:34 +02:00
|
|
|
/*
|
|
|
|
* Named exports will become the default in FreeSewing v3
|
|
|
|
*/
|
|
|
|
export {
|
|
|
|
version,
|
|
|
|
Design,
|
|
|
|
Pattern,
|
|
|
|
Point,
|
|
|
|
Path,
|
|
|
|
Snippet,
|
|
|
|
utils,
|
|
|
|
}
|
2022-07-02 20:05:31 +02:00
|
|
|
|
2022-06-12 21:49:34 +02:00
|
|
|
// This is a helper for configuration files
|
|
|
|
export const pctBasedOn = utils.pctBasedOn
|
|
|
|
|
2022-07-02 20:05:31 +02:00
|
|
|
// This is a helper for manual layouts
|
|
|
|
export const generatePartTransform = utils.generatePartTransform
|
|
|
|
|
2022-06-12 21:49:34 +02:00
|
|
|
/*
|
|
|
|
* Default exports will be removed in FreeSewing v3
|
|
|
|
*/
|
2018-07-23 11:12:06 +00:00
|
|
|
export default {
|
2022-06-12 21:49:34 +02:00
|
|
|
version,
|
2019-02-16 07:28:56 +01:00
|
|
|
Design,
|
2018-08-05 18:19:48 +02:00
|
|
|
Pattern,
|
|
|
|
Point,
|
|
|
|
Path,
|
|
|
|
Snippet,
|
2018-07-26 13:43:12 +00:00
|
|
|
utils,
|
2022-06-22 13:23:31 +02:00
|
|
|
pctBasedOn,
|
2019-08-03 15:03:33 +02:00
|
|
|
}
|