3
0

Add missing JSON tags to page layouts

This commit is contained in:
Tomaž Jerman
2023-04-02 13:31:53 +02:00
committed by Jože Fortun
parent 27a32a2607
commit 3379d273a9
+5 -4
View File
@@ -67,8 +67,9 @@ type (
PageLayoutAction struct {
ActionID uint64 `json:"actionID,string"`
Placement string
Meta any
Placement string `json:"placement"`
Meta any `json:"meta"`
Enabled bool `json:"enabled"`
// Warning: value of this field is now handled via resource-translation facility
// struct field is kept for the convenience for now since it allows us
@@ -77,8 +78,8 @@ type (
// Kind and Params specify the action's behavior and the parameters it
// can use for execution
Kind string
Params any
Kind string `json:"kind"`
Params any `json:"params"`
}
PageLayoutFilter struct {