The schema generated library does not align much with what users see in the Grafana UI. To
cover for that, we can restructure the generated output so it becomes easier for users to
find back the options they see in the UI without having to look at the JSON.
This PR introduces generic helpers to transform a generated library, it also applies this
to panels, variables and links, changing the API. Note: the old API is still available so
it should not break anything that has been written against it, it does however (re)move all
these options in the documentation.
The schema generated library does not align much with what users see in the Grafana UI. To cover for that, we can restructure the generated output so it becomes easier for users to find back the options they see in the UI without having to look at the JSON.
This PR introduces generic helpers to transform a generated library, it also applies this to panels, variables and links, changing the API. Note: the old API is still available so it should not break anything that has been written against it, it does however (re)move all these options in the documentation.