File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1616 },
1717 "model-tasks" : {
1818 "type" : " Array" ,
19+ "tsType" : " TaskObjectArray" ,
1920 "category" : " model" ,
2021 "desc" : " An array of Tasks that will be displayed" ,
2122 "required" : true ,
2526 },
2627 "model-title" : {
2728 "type" : " Array" ,
29+ "tsType" : " TitleObjectArray" ,
2830 "category" : " model" ,
2931 "desc" : " An array of title items, each will be displayed via a slot in the title area" ,
3032 "examples" : [
3335 },
3436 "model-footer" : {
3537 "type" : " Array" ,
38+ "tsType" : " FooterObjectArray" ,
3639 "category" : " model" ,
3740 "desc" : " An array of footer items, each will be displayed via a slot in the footer (summary) area" ,
3841 "examples" : [
Original file line number Diff line number Diff line change @@ -55,5 +55,27 @@ export interface ResourceObject {
5555
5656export type ResourceObjectArray = ResourceObject [ ]
5757
58+ export interface TaskObject {
59+ label ?: string ,
60+ height ?: number ,
61+ expanded ?: boolean ,
62+ children ?: TaskObjectArray
63+ }
64+
65+ export type TaskObjectArray = TaskObject [ ]
66+
67+ export interface TitleObject {
68+ label ?: string
69+ }
70+
71+ export type TitleObjectArray = TitleObject [ ]
72+
73+ export interface FooterObject {
74+ label ?: string
75+ }
76+
77+ export type FooterObjectArray = FooterObject [ ]
78+
79+
5880export type NumberArray = number [ ]
5981export type StringArray = string [ ]
You can’t perform that action at this time.
0 commit comments