From 0acef818c660dcc8309affecb52aea868bd26a20 Mon Sep 17 00:00:00 2001 From: Andreas Hilbig Date: Wed, 11 Feb 2026 13:32:28 +0100 Subject: [PATCH 1/2] docs: add TSDoc to core components - Added detailed JSDoc documentation to all core datasource classes in src/datasources/ - Documented execution logic classes in src/execution/ - Added TSDoc to API utility functions and resolvers in src/api/ - Documented shared models and enums in src/model/ --- .idea/workspace.xml | 47 ++++++---- .output.txt | 1 + ...ample_import_simulated_bt_template.graphql | 2 +- src/api/graphql_utils.ts | 5 ++ src/api/resolver_helpers.ts | 19 ++++ src/api/resolvers.ts | 5 ++ .../graphql-params-to-zabbix-output.ts | 23 +++++ src/datasources/zabbix-api.ts | 37 ++++++++ src/datasources/zabbix-history.ts | 36 ++++++++ src/datasources/zabbix-hostgroups.ts | 36 ++++++++ src/datasources/zabbix-hosts.ts | 71 +++++++++++++++ src/datasources/zabbix-items.ts | 12 +++ src/datasources/zabbix-module.ts | 7 ++ src/datasources/zabbix-permissions.ts | 36 ++++++++ src/datasources/zabbix-request.ts | 88 +++++++++++++++++++ src/datasources/zabbix-script.ts | 13 +++ src/datasources/zabbix-templates.ts | 77 ++++++++++++++++ src/datasources/zabbix-usergroups.ts | 42 +++++++++ src/datasources/zabbix-userroles.ts | 21 +++++ src/execution/host_deleter.ts | 19 ++++ src/execution/host_exporter.ts | 17 ++++ src/execution/host_importer.ts | 22 +++++ src/execution/regression_test_executor.ts | 9 ++ src/execution/smoketest_executor.ts | 12 +++ src/execution/template_deleter.ts | 19 ++++ src/execution/template_importer.ts | 17 ++++ src/model/model_enum_values.ts | 15 ++++ 27 files changed, 689 insertions(+), 19 deletions(-) create mode 100644 .output.txt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6696220..df11802 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,16 +6,31 @@ - - - - + + + + + + + + + + + + - - + + + + + + + + + - @@ -52,13 +67,7 @@ - - - - +