@grafana/openapi 13.1.0-27923201854 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4106,6 +4106,10 @@
4106
4106
  "description": "The source folder (or empty) to export",
4107
4107
  "type": "string"
4108
4108
  },
4109
+ "generateNewFolderIDs": {
4110
+ "description": "GenerateNewFolderIDs writes a freshly generated identifier into each exported folder's metadata (_folder.json) instead of preserving the existing folder UID. Use this to produce a portable export that creates new folders on a subsequent sync rather than taking over the originals. Has no effect when folder metadata is not written.",
4111
+ "type": "boolean"
4112
+ },
4109
4113
  "message": {
4110
4114
  "description": "Message to use when committing the changes in a single commit. Deprecated: set JobSpec.Message instead. This field is kept for backwards compatibility and is only used when JobSpec.Message is empty.",
4111
4115
  "type": "string"
@@ -4879,6 +4883,10 @@
4879
4883
  "MigrateJobOptions": {
4880
4884
  "type": "object",
4881
4885
  "properties": {
4886
+ "generateNewFolderIDs": {
4887
+ "description": "GenerateNewFolderIDs writes a freshly generated identifier into each exported folder's metadata (_folder.json) instead of preserving the existing folder UID. The subsequent pull creates new folders rather than taking over the originals. Has no effect when folder metadata is not written.",
4888
+ "type": "boolean"
4889
+ },
4882
4890
  "message": {
4883
4891
  "description": "Message to use when committing the changes in a single commit. Deprecated: set JobSpec.Message instead. This field is kept for backwards compatibility and is only used when JobSpec.Message is empty.",
4884
4892
  "type": "string"
@@ -5398,6 +5406,14 @@
5398
5406
  "description": "For git, this is the target branch",
5399
5407
  "type": "string"
5400
5408
  },
5409
+ "branchOptions": {
5410
+ "description": "Branch naming options. Mirrors spec.branch. Exposed under `branchOptions` rather than `branch` because the view already uses `branch` for the git target branch name.",
5411
+ "allOf": [
5412
+ {
5413
+ "$ref": "#/components/schemas/BranchOptions"
5414
+ }
5415
+ ]
5416
+ },
5401
5417
  "commit": {
5402
5418
  "description": "Commit message options. Mirrors the same-named field on the repository spec.",
5403
5419
  "allOf": [
@@ -5415,6 +5431,14 @@
5415
5431
  "description": "For git, this is the target path",
5416
5432
  "type": "string"
5417
5433
  },
5434
+ "pullRequest": {
5435
+ "description": "Pull request options. Mirrors the same-named field on the repository spec.",
5436
+ "allOf": [
5437
+ {
5438
+ "$ref": "#/components/schemas/PullRequestOptions"
5439
+ }
5440
+ ]
5441
+ },
5418
5442
  "target": {
5419
5443
  "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5420
5444
  "type": "string",
@@ -4009,6 +4009,10 @@
4009
4009
  "description": "The source folder (or empty) to export",
4010
4010
  "type": "string"
4011
4011
  },
4012
+ "generateNewFolderIDs": {
4013
+ "description": "GenerateNewFolderIDs writes a freshly generated identifier into each exported folder's metadata (_folder.json) instead of preserving the existing folder UID. Use this to produce a portable export that creates new folders on a subsequent sync rather than taking over the originals. Has no effect when folder metadata is not written.",
4014
+ "type": "boolean"
4015
+ },
4012
4016
  "message": {
4013
4017
  "description": "Message to use when committing the changes in a single commit. Deprecated: set JobSpec.Message instead. This field is kept for backwards compatibility and is only used when JobSpec.Message is empty.",
4014
4018
  "type": "string"
@@ -4654,6 +4658,10 @@
4654
4658
  "MigrateJobOptions": {
4655
4659
  "type": "object",
4656
4660
  "properties": {
4661
+ "generateNewFolderIDs": {
4662
+ "description": "GenerateNewFolderIDs writes a freshly generated identifier into each exported folder's metadata (_folder.json) instead of preserving the existing folder UID. The subsequent pull creates new folders rather than taking over the originals. Has no effect when folder metadata is not written.",
4663
+ "type": "boolean"
4664
+ },
4657
4665
  "message": {
4658
4666
  "description": "Message to use when committing the changes in a single commit. Deprecated: set JobSpec.Message instead. This field is kept for backwards compatibility and is only used when JobSpec.Message is empty.",
4659
4667
  "type": "string"
@@ -5009,6 +5017,14 @@
5009
5017
  "description": "For git, this is the target branch",
5010
5018
  "type": "string"
5011
5019
  },
5020
+ "branchOptions": {
5021
+ "description": "Branch naming options. Mirrors spec.branch. Exposed under `branchOptions` rather than `branch` because the view already uses `branch` for the git target branch name.",
5022
+ "allOf": [
5023
+ {
5024
+ "$ref": "#/components/schemas/BranchOptions"
5025
+ }
5026
+ ]
5027
+ },
5012
5028
  "commit": {
5013
5029
  "description": "Commit message options. Mirrors the same-named field on the repository spec.",
5014
5030
  "allOf": [
@@ -5026,6 +5042,14 @@
5026
5042
  "description": "For git, this is the target path",
5027
5043
  "type": "string"
5028
5044
  },
5045
+ "pullRequest": {
5046
+ "description": "Pull request options. Mirrors the same-named field on the repository spec.",
5047
+ "allOf": [
5048
+ {
5049
+ "$ref": "#/components/schemas/PullRequestOptions"
5050
+ }
5051
+ ]
5052
+ },
5029
5053
  "target": {
5030
5054
  "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5031
5055
  "type": "string",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Grafana Labs",
3
3
  "license": "Apache-2.0",
4
4
  "name": "@grafana/openapi",
5
- "version": "13.1.0-27923201854",
5
+ "version": "13.1.0",
6
6
  "description": "Grafana OpenApi Library",
7
7
  "keywords": [
8
8
  "grafana",