Store: Warehouse

Main store for this application

Namespaced :
  • Yes

Members

inneritems Array warehouse-module.jsline 9

the items you have selected

Methods

staticextractComments() → {Array.<String>} warehouse-module.jsline 64

Getters

staticitems() → {Array.<Item>} warehouse-module.jsline 74

Mutations

staticADD_TO_CART(payload) warehouse-module.jsline 17

push new item into the cart

Parameters:
Name Type Description
payload Object
Properties
Name Type Description
item Item

the item to push

quantity Number

how many of this item to put

Actions

asyncstaticgetAllGood() → {Array.<SimpleItem>} warehouse-module.jsline 34

get the goods async fashion from API

See:

asyncstaticgetThatGood(item) → {Array.<SimpleItem>} warehouse-module.jsline 45

get the good async fashion from API

Parameters:
Name Type Description
item Item

the item to get

See: