diff --git a/.vscode/launch.json b/.vscode/launch.json index b57f7d5..827d5d1 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -16,7 +16,7 @@ "outputCapture": "std", "cwd": "${workspaceFolder}/legalconsenthub", "type": "node-terminal", - "command": "npm run dev" + "command": "pnpm run dev" } ], "compounds": [ diff --git a/.vscode/settings.json b/.vscode/settings.json index 849f79e..bbddffc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "java.compile.nullAnalysis.mode": "automatic" + "java.compile.nullAnalysis.mode": "automatic", + "java.configuration.updateBuildConfiguration": "disabled" } diff --git a/testdata.json b/testdata.json new file mode 100644 index 0000000..c23c28d --- /dev/null +++ b/testdata.json @@ -0,0 +1,75 @@ +{ + "isTemplate": true, + "name": "", + "createdBy": "Denis", + "lastModifiedBy": "Denis", + "formElements": [ + { + "options": [ + { + "value": "false", + "label": "Zustimmen (schwerwiegend)", + "processingPurpose": "BUSINESS_PROCESS", + "employeeDataCategory": "SENSITIVE" + } + ], + "type": "SWITCH" + }, + { + "options": [ + { + "value": "false", + "label": "Zustimmen (keine Auswirkungen)", + "processingPurpose": "NONE", + "employeeDataCategory": "NONE" + } + ], + "type": "SWITCH" + }, + { + "options": [ + { + "value": "false", + "label": "Zustimmen (Mittel)", + "processingPurpose": "DATA_ANALYSIS", + "employeeDataCategory": "REVIEW_REQUIRED" + } + ], + "type": "CHECKBOX" + }, + { + "options": [ + { + "value": "false", + "label": "Zustimmen", + "processingPurpose": "BUSINESS_PROCESS", + "employeeDataCategory": "SENSITIVE" + }, + { + "value": "false", + "label": "Ablehnen", + "processingPurpose": "DATA_ANALYSIS", + "employeeDataCategory": "REVIEW_REQUIRED" + } + ], + "type": "SELECT" + }, + { + "options": [ + { + "value": "false", + "label": "Zustimmen", + "processingPurpose": "BUSINESS_PROCESS", + "employeeDataCategory": "SENSITIVE" + }, + { + "value": "false", + "label": "Ablehnen", + "processingPurpose": "DATA_ANALYSIS", + "employeeDataCategory": "REVIEW_REQUIRED" + } + ], + "type": "RADIOBUTTON" + } + ] +}