Przeglądaj źródła

Add plugin type field to externalPlugin model

woodsaj 10 lat temu
rodzic
commit
8449017592
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      pkg/plugins/models.go

+ 1 - 0
pkg/plugins/models.go

@@ -51,6 +51,7 @@ type ExternalPluginCss struct {
 }
 
 type ExternalPlugin struct {
+	Type             string                   `json:"type"`
 	Routes           []*ExternalPluginRoute   `json:"routes"`
 	Js               []*ExternalPluginJs      `json:"js"`
 	Css              []*ExternalPluginCss     `json:"css"`