-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(goodstore): update import order
- Loading branch information
1 parent
08640ad
commit 0150c23
Showing
127 changed files
with
1,523 additions
and
1,103 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
models/inventory-entry/src/inventory-entry-draft/presets/empty.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import type { TInventoryEntryDraftBuilder } from '../../types'; | ||
import InventoryEntryDraft from '../builder'; | ||
|
||
const empty = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft() | ||
.key(undefined) | ||
.supplyChannel(undefined) | ||
.restockableInDays(undefined) | ||
.expectedDelivery(undefined) | ||
const empty = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft() | ||
.key(undefined) | ||
.supplyChannel(undefined) | ||
.restockableInDays(undefined) | ||
.expectedDelivery(undefined); | ||
|
||
export default empty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-AAR34.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const ariaRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore.ariaRug01().build<TProductVariantDraft>(); | ||
const ariaRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore | ||
.ariaRug01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuAAR34 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(ariaRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuAAR34 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(ariaRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuAAR34; | ||
|
2 changes: 1 addition & 1 deletion
2
...ls/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ADARM04.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ADCT01.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 13 additions & 9 deletions
22
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ADPC09.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const patternedPillowCover01Preset = ProductVariantDraft.presets.sampleDataGoodStore.patternedPillowCover01().build<TProductVariantDraft>(); | ||
const patternedPillowCover01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.patternedPillowCover01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuADPC09 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(patternedPillowCover01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuADPC09 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(patternedPillowCover01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuADPC09; | ||
|
22 changes: 13 additions & 9 deletions
22
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ADPC7.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const patternedPillowCover02Preset = ProductVariantDraft.presets.sampleDataGoodStore.patternedPillowCover02().build<TProductVariantDraft>(); | ||
const patternedPillowCover02Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.patternedPillowCover02() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuADPC7 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(patternedPillowCover02Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuADPC7 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(patternedPillowCover02Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuADPC7; | ||
|
22 changes: 13 additions & 9 deletions
22
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ALC01.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const abigailLoungeChair01Preset = ProductVariantDraft.presets.sampleDataGoodStore.abigailLoungeChair01().build<TProductVariantDraft>(); | ||
const abigailLoungeChair01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.abigailLoungeChair01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuALC01 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(abigailLoungeChair01Preset.sku!) | ||
.quantityOnStock(73); | ||
const skuALC01 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(abigailLoungeChair01Preset.sku!) | ||
.quantityOnStock(73); | ||
|
||
export default skuALC01; | ||
|
21 changes: 12 additions & 9 deletions
21
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-AMR09.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const amaliaRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore.amaliaRug01().build<TProductVariantDraft>(); | ||
const amaliaRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore | ||
.amaliaRug01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuAMR09 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(amaliaRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuAMR09 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(amaliaRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuAMR09; | ||
|
21 changes: 12 additions & 9 deletions
21
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-ARG56.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const ashenRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore.ashenRug01().build<TProductVariantDraft>(); | ||
const ashenRug01Preset = ProductVariantDraft.presets.sampleDataGoodStore | ||
.ashenRug01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuARG56 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(ashenRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuARG56 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(ashenRug01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuARG56; | ||
|
22 changes: 13 additions & 9 deletions
22
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-BA092.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const leatherWeaveChair01Preset = ProductVariantDraft.presets.sampleDataGoodStore.leatherWeaveChair01().build<TProductVariantDraft>(); | ||
const leatherWeaveChair01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.leatherWeaveChair01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuBA092 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(leatherWeaveChair01Preset.sku!) | ||
.quantityOnStock(98); | ||
const skuBA092 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(leatherWeaveChair01Preset.sku!) | ||
.quantityOnStock(98); | ||
|
||
export default skuBA092; | ||
|
22 changes: 13 additions & 9 deletions
22
...ls/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-BAMB084.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const squareBambooCoaster01Preset = ProductVariantDraft.presets.sampleDataGoodStore.squareBambooCoaster01().build<TProductVariantDraft>(); | ||
const squareBambooCoaster01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.squareBambooCoaster01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuBAMB084 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(squareBambooCoaster01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuBAMB084 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(squareBambooCoaster01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuBAMB084; | ||
|
21 changes: 12 additions & 9 deletions
21
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-BARM03.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const brunoChair01Preset = ProductVariantDraft.presets.sampleDataGoodStore.brunoChair01().build<TProductVariantDraft>(); | ||
const brunoChair01Preset = ProductVariantDraft.presets.sampleDataGoodStore | ||
.brunoChair01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuBARM03 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(brunoChair01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuBARM03 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(brunoChair01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuBARM03; | ||
|
22 changes: 13 additions & 9 deletions
22
...ls/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-BCOAS08.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const modernBlackCoaster01Preset = ProductVariantDraft.presets.sampleDataGoodStore.modernBlackCoaster01().build<TProductVariantDraft>(); | ||
const modernBlackCoaster01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.modernBlackCoaster01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuBCOAS08 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(modernBlackCoaster01Preset.sku!) | ||
.quantityOnStock(100); | ||
const skuBCOAS08 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(modernBlackCoaster01Preset.sku!) | ||
.quantityOnStock(100); | ||
|
||
export default skuBCOAS08; | ||
|
22 changes: 13 additions & 9 deletions
22
models/inventory-entry/src/inventory-entry-draft/presets/sample-data-goodstore/sku-BLP01.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
|
||
import { | ||
ProductVariantDraft, | ||
type TProductVariantDraft, | ||
} from '@commercetools-test-data/product'; | ||
import type { TInventoryEntryDraftBuilder } from '../../../types'; | ||
import { ProductVariantDraft, type TProductVariantDraft } from '@commercetools-test-data/product'; | ||
import * as InventoryEntryDraft from '../../index'; | ||
|
||
const purpleLandscapePainting01Preset = ProductVariantDraft.presets.sampleDataGoodStore.purpleLandscapePainting01().build<TProductVariantDraft>(); | ||
const purpleLandscapePainting01Preset = | ||
ProductVariantDraft.presets.sampleDataGoodStore | ||
.purpleLandscapePainting01() | ||
.build<TProductVariantDraft>(); | ||
|
||
const skuBLP01 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(purpleLandscapePainting01Preset.sku!) | ||
.quantityOnStock(80); | ||
const skuBLP01 = (): TInventoryEntryDraftBuilder => | ||
InventoryEntryDraft.presets | ||
.empty() | ||
.sku(purpleLandscapePainting01Preset.sku!) | ||
.quantityOnStock(80); | ||
|
||
export default skuBLP01; | ||
|
Oops, something went wrong.