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

61 lines
2.2 KiB
JSON

{
"access_level": "Access Level",
"description": "Process Description",
"help": "Process Help",
"id": "12345",
"is_active": false,
"is_direct_print": true,
"is_report": false,
"name": "Process Name",
"report_export_types": ["Export Type 1", "Export Type 2"],
"show_help": true,
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
"parameters": [{
"id": "5678",
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
"name": "Process Parameter Name",
"description": "Process Parameter Description",
"help": "Process Parameter Help",
"column_name": "Process Parameter Column Name",
"element_name": "Process Parameter Element Name",
"is_active": true,
"display_type": "Process Parameter Display Type",
"is_field_only": false,
"is_range": true,
"is_same_line": false,
"is_encrypted": true,
"is_quick_entry": false,
"sequence": "Process Parameter Sequence",
"seq_no_grid": 6,
"sort_no": 1,
"identifier_sequence": "Process Parameter Identifier Sequence",
"format_pattern": "Process Parameter Format Pattern",
"v_format": "Process Parameter V Format",
"default_value": "Process Parameter Default Value",
"default_value_to": "Process Parameter Default Value To",
"field_length": 2,
"value_max": 3,
"is_identifier": true,
"is_parent": false,
"is_key": true,
"is_selection_column": false,
"is_updateable": true,
"is_always_updateable": false,
"is_allow_copy": true,
"is_heading": false,
"is_allow_logging": true,
"is_translated": false,
"column_sql": "Process Parameter Column SQL",
"is_displayed": true,
"is_displayed_grid": false,
"is_mandatory": true,
"is_read_only": false,
"is_query_criteria": true,
"is_order_by": false,
"is_info_only": true,
"callout": "Process Parameter Callout",
"display_logic": "Process Parameter Display Logic",
"mandatory_logic": "Process Parameter Mandatory Logic",
"read_only_logic": "Process Parameter Read Only Logic"
}]
}