Playlist: Move to generated api client (#103083)

* create playlist api client

* add more api client methods

* integrate new client. TODO: tests, integrate remaining util functions

* add error handling

* fix unit tests

* refactor to remove PlaylistUI type

* cleaner PlaylistStartPage

* handle generateName

* Fix startmodal name

* create generic error handling util

* prettier

* keep migration code for now

* better syntax
This commit is contained in:
Ashley Harrison
2025-04-16 13:27:52 +01:00
committed by GitHub
parent c947732e0d
commit 45092261ab
29 changed files with 2447 additions and 460 deletions
+3
View File
@@ -84,6 +84,9 @@ func TestIntegrationOpenAPIs(t *testing.T) {
}, {
Group: "advisor.grafana.app",
Version: "v0alpha1",
}, {
Group: "playlist.grafana.app",
Version: "v0alpha1",
}}
for _, gv := range groups {
VerifyOpenAPISnapshots(t, dir, gv, h)