From c9c0e7ace8397b4a68cb4691d635842db1084f8f Mon Sep 17 00:00:00 2001 From: Roberto Jimenez Sanchez Date: Sat, 13 Dec 2025 10:32:25 +0100 Subject: [PATCH] Regenerate client and openapi --- .../rtkq/provisioning/v0alpha1/endpoints.gen.ts | 2 ++ .../provisioning.grafana.app-v0alpha1.json | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/packages/grafana-api-clients/src/clients/rtkq/provisioning/v0alpha1/endpoints.gen.ts b/packages/grafana-api-clients/src/clients/rtkq/provisioning/v0alpha1/endpoints.gen.ts index 3c6e905683c..f07775b499c 100644 --- a/packages/grafana-api-clients/src/clients/rtkq/provisioning/v0alpha1/endpoints.gen.ts +++ b/packages/grafana-api-clients/src/clients/rtkq/provisioning/v0alpha1/endpoints.gen.ts @@ -1108,6 +1108,8 @@ export type ExportJobOptions = { message?: string; /** FIXME: we should validate this in admission hooks Prefix in target file system */ path?: string; + /** Resources to export This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the resources. */ + resources?: ResourceRef[]; }; export type JobSpec = { /** Possible enum values: diff --git a/pkg/tests/apis/openapi_snapshots/provisioning.grafana.app-v0alpha1.json b/pkg/tests/apis/openapi_snapshots/provisioning.grafana.app-v0alpha1.json index ab232f8674c..145e0d5aa5a 100644 --- a/pkg/tests/apis/openapi_snapshots/provisioning.grafana.app-v0alpha1.json +++ b/pkg/tests/apis/openapi_snapshots/provisioning.grafana.app-v0alpha1.json @@ -3288,6 +3288,18 @@ "path": { "description": "FIXME: we should validate this in admission hooks Prefix in target file system", "type": "string" + }, + "resources": { + "description": "Resources to export This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the resources.", + "type": "array", + "items": { + "default": {}, + "allOf": [ + { + "$ref": "#/components/schemas/com.github.grafana.grafana.apps.provisioning.pkg.apis.provisioning.v0alpha1.ResourceRef" + } + ] + } } } },