Add FrameDSL to ViewLayoutDSL
This commit is contained in:
parent
25d83cb5cc
commit
aff27840ae
1 changed files with 7 additions and 0 deletions
|
|
@ -75,6 +75,13 @@ type FieldsDSL struct {
|
||||||
type ViewLayoutDSL struct {
|
type ViewLayoutDSL struct {
|
||||||
Props component.PropsDSL `json:"props,omitempty"`
|
Props component.PropsDSL `json:"props,omitempty"`
|
||||||
Sections []SectionDSL `json:"sections,omitempty"`
|
Sections []SectionDSL `json:"sections,omitempty"`
|
||||||
|
Frame FrameDSL `json:"frame,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// FrameDSL layout.form.frame
|
||||||
|
type FrameDSL struct {
|
||||||
|
URL string `json:"url,omitempty"`
|
||||||
|
Params map[string]string `json:"params,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SectionDSL layout.form.sections[*]
|
// SectionDSL layout.form.sections[*]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue