diff --git a/packages/huey/config/index.js b/packages/huey/config/index.js index 189bacce571..310b76969bc 100644 --- a/packages/huey/config/index.js +++ b/packages/huey/config/index.js @@ -18,25 +18,25 @@ export default { "wristCircumference" ], dependencies: { - backBlock: "base", - frontBlock: "backBlock", - sleevecap: "frontBlock", - sleeveBlock: "sleevecap", - back: "backBlock", - front: "frontBlock", - sleeve: "sleeveBlock", + backBase: "base", + frontBase: "backBase", + sleevecap: "frontBase", + sleeveBase: "sleevecap", + back: "backBase", + front: "frontBase", + sleeve: "sleeveBase", pocket: "front" }, inject: { - backBlock: "base", - frontBlock: "backBlock", - sleeveBlock: "sleevecap", - back: "backBlock", - front: "frontBlock", - sleeve: "sleeveBlock", + backBase: "base", + frontBase: "backBase", + sleeveBase: "sleevecap", + back: "backBase", + front: "frontBase", + sleeve: "sleeveBase", pocket: "front" }, - hide: ["base", "sleevecap", "backBlock", "frontBlock", "sleeveBlock"], + hide: ["base", "sleevecap", "backBase", "frontBase", "sleeveBase"], parts: ["hood", "waistband", "cuff"], options: { // Constants diff --git a/packages/huey/src/index.js b/packages/huey/src/index.js index 3e2ad0f9779..582451a864b 100644 --- a/packages/huey/src/index.js +++ b/packages/huey/src/index.js @@ -18,16 +18,16 @@ const Huey = new freesewing.Design(config, plugins); Huey.prototype.draftBase = function(part) { return new Brian(this.settings).draftBase(part); }; -Huey.prototype.draftFrontBlock = function(part) { +Huey.prototype.draftFrontBase = function(part) { return new Brian(this.settings).draftFront(part); }; -Huey.prototype.draftBackBlock = function(part) { +Huey.prototype.draftBackBase = function(part) { return new Brian(this.settings).draftBack(part); }; Huey.prototype.draftSleevecap = function(part) { return new Brian(this.settings).draftSleevecap(part); }; -Huey.prototype.draftSleeveBlock = function(part) { +Huey.prototype.draftSleeveBase = function(part) { return new Brian(this.settings).draftSleeve(part); };