chore: synchronize repository state after template group sample split

- Staged deletion of 'docs/sample_import_template_groups_mutation.graphql'.

- Added untracked 'docs/sample_import_host_template_groups_mutation.graphql'.

- Committed updates to 'src/test/template_integration.test.ts'.
This commit is contained in:
Andreas Hilbig 2026-01-26 18:18:14 +01:00
parent b3f84b9cd3
commit 59815636ea
2 changed files with 39 additions and 15 deletions

View file

@ -1,5 +1,5 @@
### Mutation
Use this mutation to import template groups.
Use this mutation to import template groups for hosts and templates.
```graphql
mutation ImportTemplateGroups($templateGroups: [CreateTemplateGroup!]!) {
@ -17,15 +17,11 @@ mutation ImportTemplateGroups($templateGroups: [CreateTemplateGroup!]!) {
```
### Variables
This sample data is based on the `template_groups` from `src/testdata/templates/zbx_default_templates_vcr.yaml`.
This sample data is based on the `template_groups` from `src/testdata/templates/zbx_default_templates_vcr.yaml`, excluding the permission groups.
```json
{
"templateGroups": [
{
"uuid": "43aab460fe444f18886b19948413b7e3",
"groupName": "Permissions/ConstructionSite"
},
{
"uuid": "376524057e094c07aaa0cf7f524849dc",
"groupName": "Templates/Roadwork/Controller"