1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-17 09:19:49 +08:00
Sofia Calderon 7a22c9e85b
Refactoring apiConverts (#817)
* configured babel and jest to work with webpack

* added util function to camelize object entries

* added tests for apiconvert dashboard

* added enaming object key function

* finished refactoring of convertapi dashboard

* renamed camelize to transformObject

* renamed uuids to randomValues

* use random strings instead of hard coded values in test

* refactored dictionary.process and added tests

* refactored dashboard tests - test with json objects

* added first tests for apiConvert core

* made camelizeObjectkeys immutable

* added talismanrc to gitignore

* added all tests for apiConverts core

* added more dictionary tests

* finished refactoring apiConverts dictionary

* restructured objects in folders

* refactored apiConverts persistence

* refactored apiConvert pos

* refactored apiConvert privateAccess

* refactored apiConverts process

* refactored apiConverts report

* refactored apiConverts user

* refactored apiConverts values

* refactored apiConverts window

* linted all test files

* removed tests for privateAccess

* removed typos from prev implementation
2021-05-12 12:34:53 -04:00

53 lines
1.8 KiB
JSON

{
"uuid": "orderLine uuid",
"orderUuid": "orderLine order_uuid",
"line": "orderLine line",
"product": {
"uuid": "product uuid",
"id": "product id",
"value": "product value",
"name": "product name",
"help": "product help",
"documentNote": "product document_note",
"uomName": "product uom_name",
"productType": "product product_type",
"isStocked": true,
"isDropShip": false,
"isPurchased": false,
"isSold": true,
"imageUrl": "product image_url",
"productCategoryName": "product product_category_name",
"productGroupName": "product product_group_name",
"productClassName": "product product_class_name",
"productClassificationName": "product product_classification_name",
"weight": "product weight",
"volume": "product volume",
"upc": "product upc",
"sku": "product sku",
"shelfWidth": "product shelf_width",
"shelfHeight": "product shelf_height",
"shelfDepth": "product shelf_depth",
"unitsPerPack": "product units_per_pack",
"unitsPerPallet": "product units_per_pallet",
"guaranteeDays": "product guarantee_days",
"descriptionUrl": "product description_url",
"versionNo": "product version_no",
"taxCategory": "product tax_category",
"description": "product description"
},
"charge": "orderLine charge",
"description": "orderLine description",
"lineDescription": "orderLine line_description",
"quantity": "orderLine quantity",
"price": "orderLine price",
"discountRate": "orderLine discount_rate",
"lineNetAmount": "orderLine line_net_amount",
"taxRate": {
"name": "tax rate name",
"description": "tax rate description",
"taxIndicator": "tax rate tax_indicator",
"rate": "tax rate rate"
},
"warehouse": "orderLine warehouse"
}