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/
This commit is contained in:
Andreas Hilbig 2026-02-11 13:32:28 +01:00
parent 3c3cb7c753
commit 0acef818c6
27 changed files with 689 additions and 19 deletions

View file

@ -67,6 +67,11 @@ import {Config} from "../common_utils.js";
import {GraphqlParamsToNeededZabbixOutput} from "../datasources/graphql-params-to-zabbix-output.js";
/**
* Creates the GraphQL resolvers for the Zabbix API.
* Defines how queries, mutations, and types are resolved by interacting with the Zabbix data sources and execution logic.
* @returns The GraphQL resolvers object.
*/
export function createResolvers(): Resolvers {
// @ts-ignore
// @ts-ignore