Plugins: Add module hash field to plugin model (#116119)

* add module hash field to plugin model

* fix tests

* fix lint issues
This commit is contained in:
Will Browne authored and GitHub committed 2026-01-13 14:35:45 +00:00
1 parent 86652a6515
commit aa9b587cc1
43 files changed
+767 -620

No files matched your search

@@ -30,8 +30,9 @@ type Plugin struct {
Error *plugins.Error
// SystemJS fields
Module string
BaseURL string
Module string
BaseURL string
ModuleHash string
Angular plugins.AngularMeta
@@ -80,6 +81,7 @@ func ToGrafanaDTO(p *plugins.Plugin) Plugin {
ExternalService: p.ExternalService,
Angular: p.Angular,
Translations: p.Translations,
ModuleHash: p.ModuleHash,
}
if p.Parent != nil {