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

82 lines
2.6 KiB
JSON

{
"uuid": "uuid",
"value": "value",
"name": "name",
"description": "description",
"help": "help",
"table_name": "table_name",
"responsible_uuid": "responsible_uuid",
"priority": "priority",
"valid_from": "valid_from",
"is_default": true,
"is_valid": false,
"publish_status": "publish_status",
"publish_status_name": "publish_status_name",
"duration_unit": "duration_unit",
"duration_unit_name": "duration_unit_name",
"start_node": {
"uuid": "start node uuid",
"value": "start node value",
"name": "start node name",
"description": "start node description",
"help": "start node help",
"responsible_uuid": "start node responsible_uuid",
"document_action": { "action": "value1" },
"priority": "start node priority",
"action": "start node action",
"action_name": "start node action_name",
"transitions": [
{
"node_next_uuid": "start node node_next_uuid",
"description": "start node description",
"is_standard_user_workflow": true,
"sequence": "start node sequence",
"workflow_conditions": [
{
"sequence": "start node sequence",
"column_name": "start node column_name",
"value": "start node value",
"confidential_type": "start node confidential_type",
"confidential_type_name": "start node confidential_type_name",
"operation": "start node operation",
"operation_name": "start node operation_name"
}
]
}
]
},
"workflow_nodes": [
{
"uuid": "node 1 uuid",
"value": "node 1 value",
"name": "node 1 name",
"description": "node 1 description",
"help": "node 1 help",
"responsible_uuid": "node 1 responsible_uuid",
"document_action": { "action": "value2" },
"priority": "node 1 priority",
"action": "node 1 action",
"action_name": "node 1 action_name",
"transitions": [
{
"node_next_uuid": "node 1 node_next_uuid",
"description": "node 1 description",
"is_standard_user_workflow": true,
"sequence": "node 1 sequence",
"workflow_conditions": [
{
"sequence": "node 1 sequence",
"column_name": "node 1 column_name",
"value": "node 1 value",
"confidential_type": "node 1 confidential_type",
"confidential_type_name": "node 1 confidential_type_name",
"operation": "node 1 operation",
"operation_name": "node 1 operation_name"
}
]
}
]
}
]
}