From e61b5f4f118e9baa28b08ede26ce9ee24adbb373 Mon Sep 17 00:00:00 2001 From: Andreas Hilbig Date: Mon, 26 Jan 2026 19:18:06 +0100 Subject: [PATCH] docs: enhance GraphQL schema documentation - Added comprehensive descriptions to all types, interfaces, and fields in 'schema/api_commons.graphql'. - Improved documentation for mutations and input/response types in 'schema/mutations.graphql'. - Added detailed descriptions for all queries and their arguments in 'schema/queries.graphql'. - Enhanced documentation for core Zabbix types and enums in 'schema/zabbix.graphql'. - Updated extension schemas under 'schema/extensions/' with proper GraphQL descriptions. - Verified schema validity via 'graphql-codegen' and ran all tests to ensure consistency. --- .idea/workspace.xml | 123 +++-- schema/api_commons.graphql | 51 ++ schema/device_value_commons.graphql | 3 + schema/devices.graphql | 66 ++- schema/extensions/display_devices.graphql | 44 +- .../location_tracker_commons.graphql | 14 + .../location_tracker_devices.graphql | 24 +- schema/mutations.graphql | 506 +++++++++++++++--- schema/queries.graphql | 196 ++++--- schema/zabbix.graphql | 217 +++++++- src/schema/generated/graphql.ts | 430 +++++++++++---- 11 files changed, 1330 insertions(+), 344 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9d62e65..7617b0d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,15 +5,16 @@ - - - + + + + + + - - - + + + + + @@ -46,43 +64,43 @@ - { + "keyToString": { + "NIXITCH_NIXPKGS_CONFIG": "", + "NIXITCH_NIX_CONF_DIR": "", + "NIXITCH_NIX_OTHER_STORES": "", + "NIXITCH_NIX_PATH": "", + "NIXITCH_NIX_PROFILES": "", + "NIXITCH_NIX_REMOTE": "", + "NIXITCH_NIX_USER_PROFILE_DIR": "", + "Node.js.index.ts.executor": "Run", + "RunOnceActivity.MCP Project settings loaded": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", + "RunOnceActivity.git.unshallow": "true", + "RunOnceActivity.typescript.service.memoryLimit.init": "true", + "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true", + "git-widget-placeholder": "main", + "go.import.settings.migrated": "true", + "javascript.preferred.runtime.type.id": "node", + "junie.onboarding.icon.badge.shown": "true", + "last_opened_file_path": "//wsl.localhost/Ubuntu/home/ahilbig/git/vcr/zabbix-graphql-api/src/testdata/templates", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_interpreter_path": "wsl://Ubuntu@/home/ahilbig/.nvm/versions/node/v24.12.0/bin/node", + "nodejs_package_manager_path": "npm", + "npm.codegen.executor": "Run", + "npm.compile.executor": "Run", + "npm.copy-schema.executor": "Run", + "npm.prod.executor": "Run", + "settings.editor.selected.configurable": "settings.javascript.runtime", + "to.speed.mode.migration.done": "true", + "ts.external.directory.path": "\\\\wsl.localhost\\Ubuntu\\home\\ahilbig\\git\\vcr\\zabbix-graphql-api\\node_modules\\typescript\\lib", + "vue.rearranger.settings.migration": "true" } -}]]> +} - + @@ -133,10 +151,21 @@ + + + + +