1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-15 00:15:57 +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

46 lines
1.3 KiB
JSON

{
"id": "id",
"uuid": "uuid",
"name": "name",
"user_info": "user_info",
"role": {
"id": "id",
"uuid": "uuid",
"name": "name",
"description": "description",
"client_id": "client_id",
"client_name": "client_name",
"is_allow_html_view": true,
"is_allow_info_account": false,
"is_allow_info_asset": true,
"is_allow_info_business_partner": true,
"is_allow_info_cash_journal": false,
"is_allow_info_crp": false,
"is_allow_info_in_out": false,
"is_allow_info_invoice": true,
"is_allow_info_mrp": true,
"is_allow_info_order": true,
"is_allow_info_payment": true,
"is_allow_info_product": true,
"is_allow_info_resource": true,
"is_allow_info_schedule": true,
"is_allow_xls_view": true,
"is_can_export": true,
"is_can_report": true,
"is_personal_access": true,
"is_personal_lock": false
},
"processed": "processed",
"default_context": "default_context",
"country_id": "country_id",
"costing_precision": "costing_precision",
"country_code": "country_code",
"country_name": "country_name",
"currency_iso_code": "currency_iso_code",
"currency_name": "currency_name",
"currency_symbol": "currency_symbol",
"display_sequence": "display_sequence",
"language": "language",
"standard_precision": "standard_precision"
}