@docupace/ihub-config 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +182 -182
  2. package/dist/model/graphs/config/common.graphql +7 -7
  3. package/dist/model/graphs/config/fields.graphql +338 -338
  4. package/dist/model/graphs/config/menu.graphql +48 -46
  5. package/dist/model/graphs/config/mutation.graphql +30 -30
  6. package/dist/model/graphs/config/page.graphql +228 -228
  7. package/dist/model/graphs/config/panel.graphql +30 -30
  8. package/dist/model/graphs/config/query.graphql +55 -55
  9. package/dist/model/graphs/config/selectOptions.graphql +47 -47
  10. package/dist/model/graphs/config/table.graphql +151 -144
  11. package/dist/model/graphs/config/tests.graphql +16 -16
  12. package/dist/model/graphs/config/theme.graphql +41 -41
  13. package/dist/model/graphs/config/ui-components.graphql +10 -10
  14. package/dist/model/graphs/domains/scalars.graphql +3 -3
  15. package/dist/model/graphs/filter.graphql +5 -5
  16. package/dist/model/graphs/schema.graphql +7 -7
  17. package/model/graphs/config/common.graphql +7 -7
  18. package/model/graphs/config/fields.graphql +338 -338
  19. package/model/graphs/config/menu.graphql +48 -46
  20. package/model/graphs/config/mutation.graphql +30 -30
  21. package/model/graphs/config/page.graphql +228 -228
  22. package/model/graphs/config/panel.graphql +30 -30
  23. package/model/graphs/config/query.graphql +55 -55
  24. package/model/graphs/config/selectOptions.graphql +47 -47
  25. package/model/graphs/config/table.graphql +151 -144
  26. package/model/graphs/config/tests.graphql +16 -16
  27. package/model/graphs/config/theme.graphql +41 -41
  28. package/model/graphs/config/ui-components.graphql +10 -10
  29. package/model/graphs/domains/scalars.graphql +3 -3
  30. package/model/graphs/filter.graphql +5 -5
  31. package/model/graphs/schema.graphql +7 -7
  32. package/package.json +80 -78
@@ -1,46 +1,48 @@
1
- interface IMenuItem {
2
- name: String!
3
- label: String!
4
- icon: String
5
- url: String
6
- color: String
7
- action: String
8
- component: String
9
- description: String
10
- visibilityCondition: String
11
- config: JSON
12
- }
13
-
14
- type MenuItem implements IMenuItem {
15
- name: String!
16
- label: String!
17
- icon: String
18
- url: String
19
- color: String
20
- action: String
21
- component: String
22
- tooltip: String
23
- description: String
24
- visibilityCondition: String
25
- config: JSON
26
- }
27
-
28
- type ActionButton implements IMenuItem {
29
- name: String!
30
- label: String!
31
- icon: String
32
- url: String
33
- color: String
34
- variant: ActionButtonVariant
35
- component: String
36
- action: String
37
- disabled: Boolean
38
- menuItems: [MenuItem!]
39
- visibilityCondition: String
40
- description: String
41
- }
42
-
43
- enum ActionButtonVariant {
44
- INLINE
45
- DROPDOWN
46
- }
1
+ interface IMenuItem {
2
+ name: String!
3
+ label: String!
4
+ icon: String
5
+ url: String
6
+ color: String
7
+ action: String
8
+ component: String
9
+ description: String
10
+ visibilityCondition: String
11
+ disabledCondition: String
12
+ config: JSON
13
+ }
14
+
15
+ type MenuItem implements IMenuItem {
16
+ name: String!
17
+ label: String!
18
+ icon: String
19
+ url: String
20
+ color: String
21
+ action: String
22
+ component: String
23
+ tooltip: String
24
+ description: String
25
+ visibilityCondition: String
26
+ disabledCondition: String
27
+ config: JSON
28
+ }
29
+
30
+ type ActionButton implements IMenuItem {
31
+ name: String!
32
+ label: String!
33
+ icon: String
34
+ url: String
35
+ color: String
36
+ variant: ActionButtonVariant
37
+ component: String
38
+ action: String
39
+ disabled: Boolean
40
+ menuItems: [MenuItem!]
41
+ visibilityCondition: String
42
+ description: String
43
+ }
44
+
45
+ enum ActionButtonVariant {
46
+ INLINE
47
+ DROPDOWN
48
+ }
@@ -1,30 +1,30 @@
1
-
2
- input WidgetInput {
3
- name : String
4
- }
5
-
6
- input DashboardRowInput {
7
- title : String
8
- name: String
9
- hidden: Boolean
10
- layout: Number
11
- elements : [WidgetInput!]
12
- }
13
-
14
- input DashboardPanelInput {
15
- rows : [DashboardRowInput]
16
- }
17
-
18
- input DashboardPageInput {
19
- title: String
20
- panel : DashboardPanelInput
21
- }
22
-
23
- type PageMutation {
24
- updateDashboard(input: DashboardPageInput) : DashboardPage
25
- }
26
-
27
- type ConfigMutation {
28
- refresh: Boolean
29
- pages: PageMutation
30
- }
1
+
2
+ input WidgetInput {
3
+ name : String
4
+ }
5
+
6
+ input DashboardRowInput {
7
+ title : String
8
+ name: String
9
+ hidden: Boolean
10
+ layout: Number
11
+ elements : [WidgetInput!]
12
+ }
13
+
14
+ input DashboardPanelInput {
15
+ rows : [DashboardRowInput]
16
+ }
17
+
18
+ input DashboardPageInput {
19
+ title: String
20
+ panel : DashboardPanelInput
21
+ }
22
+
23
+ type PageMutation {
24
+ updateDashboard(input: DashboardPageInput) : DashboardPage
25
+ }
26
+
27
+ type ConfigMutation {
28
+ refresh: Boolean
29
+ pages: PageMutation
30
+ }
@@ -1,228 +1,228 @@
1
- interface Page {
2
- title: String
3
- description: String
4
- config: JSON
5
- }
6
-
7
- type OverviewPage implements Page {
8
- title: String
9
- description: String
10
- domain: String
11
- cards: [Card]
12
- menuItems: [MenuItem]
13
- config: JSON
14
- tables: [Table]
15
- }
16
-
17
- type TablePage implements Page {
18
- title: String
19
- component: String
20
- description: String
21
- actionButton: ActionButton
22
- table: AnyTable!
23
- panel: Panel
24
- config: JSON
25
- }
26
-
27
- type ComponentPage implements Page {
28
- title: String
29
- description: String
30
- component: String
31
- panel: Panel
32
- config: JSON
33
- mutations: JSON
34
- }
35
-
36
- type TabbedPage implements Page {
37
- title: String
38
- description: String
39
- tabs: [Tab!]!
40
- config: JSON
41
- gqlQuery: GQLQuery
42
- # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
43
- mutations: JSON
44
- }
45
-
46
- type DetailsPage implements Page {
47
- title: String
48
- description: String
49
- panel: Panel
50
- config: JSON
51
- }
52
-
53
- type DomainRecordTemplate implements Page {
54
- title: String
55
- description: String
56
- sideMenu: SideMenu
57
- viewer: Viewer
58
- config: JSON
59
- }
60
-
61
- type PageLayout implements Page {
62
- title: String
63
- description: String
64
- sideMenu: SideMenu
65
- widgets: [ExternalWidget]
66
- config: JSON
67
- }
68
-
69
- type DashboardPage implements Page {
70
- panel: DashboardPanel
71
- title: String
72
- description: String
73
- config: JSON
74
- }
75
-
76
- type ReportPage implements Page {
77
- title: String
78
- description: String
79
- controlPanel: Panel
80
- dashboardPanel: DashboardPanel
81
- config: JSON
82
- }
83
-
84
- type AnyPage implements Page {
85
- title: String
86
- description: String
87
- tables: [NamedTable!]
88
- panels: [Panel!]
89
- tabbedPages: [TabbedPage!]
90
- config: JSON
91
- }
92
-
93
- type WizardPage implements Page {
94
- description: String
95
- title : String
96
- dataSource: String
97
- steps: [Step!]!
98
- loadWizardByCustodian: [LoadWizardByCustodian]
99
- defaultWizard: String
100
- # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
101
- mutations: JSON
102
- config: JSON
103
- }
104
-
105
- type LoadWizardByCustodian {
106
- custodian: String
107
- wizard: String
108
- }
109
-
110
- type Step {
111
- id : String!
112
- label : String!
113
- icon: String
114
- page : Page
115
- visibilityCondition: String
116
- pathUrl: String
117
- }
118
-
119
- type SideMenu {
120
- headerCard: Card
121
- menuItems: [MenuItem!]
122
- dataCard: Card
123
- }
124
-
125
- type CardView {
126
- queryName: String
127
- card: Card!
128
- groups: CardGroups
129
- }
130
-
131
- type CardGroups {
132
- queryName: String!
133
- titlePath: String!
134
- configKeyPath: String!
135
- dataKeyPath: String!
136
- }
137
-
138
- type Tab {
139
- name: String!
140
- label: String!
141
- page: Page!
142
- visibilityCondition: String
143
- }
144
-
145
- type DashboardPanel implements IPanel {
146
- name: String
147
- rows: [DashboardPanelRow!]
148
- }
149
-
150
- type DashboardPanelRow implements IPanelRow {
151
- name: String!
152
- title: String
153
- titleVariant: String
154
- layout: Number
155
- hidden: Boolean
156
- visibilityCondition: String
157
- elements: [Widget!]
158
- }
159
-
160
- type Preview {
161
- headerCard: Card
162
- panel: Panel
163
- }
164
-
165
- interface ICard implements IElement {
166
- name: String
167
- component: String
168
- config: JSON
169
- }
170
-
171
- interface QuickApp {
172
- url: String
173
- appPreference: String
174
- target: Boolean
175
- }
176
-
177
- type CardRow {
178
- name: String
179
- paths: [String!]
180
- expression: String
181
- icon: String
182
- component: String
183
- }
184
-
185
- type Card implements ICard & IRowElement & IElement {
186
- name: String
187
- component: String!
188
- config: JSON
189
- cols: Int
190
- title: String
191
- rows: [CardRow]
192
- }
193
-
194
- type Widget implements ICard & IRowElement & IElement & QuickApp {
195
- id: String!
196
- name: String
197
- title: String
198
- description: String
199
- component: String
200
- config: JSON
201
- cols: Int
202
- table: AnyTable
203
- }
204
-
205
- type ExternalWidget {
206
- id: String
207
- name: String
208
- description: String
209
- visibilityCondition: String
210
- config: JSON
211
- }
212
-
213
- type ViewerOptions {
214
- thumbnails: Boolean
215
- pageNavigation: Boolean
216
- lazyLoading: Boolean
217
- }
218
-
219
- type ViewerToolbar {
220
- menuItems: [MenuItem!]!
221
- actionButton: ActionButton
222
- }
223
-
224
- type Viewer {
225
- documentActions: [MenuItem!]
226
- options: ViewerOptions
227
- toolbar: ViewerToolbar
228
- }
1
+ interface Page {
2
+ title: String
3
+ description: String
4
+ config: JSON
5
+ }
6
+
7
+ type OverviewPage implements Page {
8
+ title: String
9
+ description: String
10
+ domain: String
11
+ cards: [Card]
12
+ menuItems: [MenuItem]
13
+ config: JSON
14
+ tables: [Table]
15
+ }
16
+
17
+ type TablePage implements Page {
18
+ title: String
19
+ component: String
20
+ description: String
21
+ actionButton: ActionButton
22
+ table: AnyTable!
23
+ panel: Panel
24
+ config: JSON
25
+ }
26
+
27
+ type ComponentPage implements Page {
28
+ title: String
29
+ description: String
30
+ component: String
31
+ panel: Panel
32
+ config: JSON
33
+ mutations: JSON
34
+ }
35
+
36
+ type TabbedPage implements Page {
37
+ title: String
38
+ description: String
39
+ tabs: [Tab!]!
40
+ config: JSON
41
+ gqlQuery: GQLQuery
42
+ # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
43
+ mutations: JSON
44
+ }
45
+
46
+ type DetailsPage implements Page {
47
+ title: String
48
+ description: String
49
+ panel: Panel
50
+ config: JSON
51
+ }
52
+
53
+ type DomainRecordTemplate implements Page {
54
+ title: String
55
+ description: String
56
+ sideMenu: SideMenu
57
+ viewer: Viewer
58
+ config: JSON
59
+ }
60
+
61
+ type PageLayout implements Page {
62
+ title: String
63
+ description: String
64
+ sideMenu: SideMenu
65
+ widgets: [ExternalWidget]
66
+ config: JSON
67
+ }
68
+
69
+ type DashboardPage implements Page {
70
+ panel: DashboardPanel
71
+ title: String
72
+ description: String
73
+ config: JSON
74
+ }
75
+
76
+ type ReportPage implements Page {
77
+ title: String
78
+ description: String
79
+ controlPanel: Panel
80
+ dashboardPanel: DashboardPanel
81
+ config: JSON
82
+ }
83
+
84
+ type AnyPage implements Page {
85
+ title: String
86
+ description: String
87
+ tables: [NamedTable!]
88
+ panels: [Panel!]
89
+ tabbedPages: [TabbedPage!]
90
+ config: JSON
91
+ }
92
+
93
+ type WizardPage implements Page {
94
+ description: String
95
+ title : String
96
+ dataSource: String
97
+ steps: [Step!]!
98
+ loadWizardByCustodian: [LoadWizardByCustodian]
99
+ defaultWizard: String
100
+ # TODO: Replace `mutations` (currently a JSON object used as { [mutationName: String]: GQLQuery }) with a properly typed map.
101
+ mutations: JSON
102
+ config: JSON
103
+ }
104
+
105
+ type LoadWizardByCustodian {
106
+ custodian: String
107
+ wizard: String
108
+ }
109
+
110
+ type Step {
111
+ id : String!
112
+ label : String!
113
+ icon: String
114
+ page : Page
115
+ visibilityCondition: String
116
+ pathUrl: String
117
+ }
118
+
119
+ type SideMenu {
120
+ headerCard: Card
121
+ menuItems: [MenuItem!]
122
+ dataCard: Card
123
+ }
124
+
125
+ type CardView {
126
+ queryName: String
127
+ card: Card!
128
+ groups: CardGroups
129
+ }
130
+
131
+ type CardGroups {
132
+ queryName: String!
133
+ titlePath: String!
134
+ configKeyPath: String!
135
+ dataKeyPath: String!
136
+ }
137
+
138
+ type Tab {
139
+ name: String!
140
+ label: String!
141
+ page: Page!
142
+ visibilityCondition: String
143
+ }
144
+
145
+ type DashboardPanel implements IPanel {
146
+ name: String
147
+ rows: [DashboardPanelRow!]
148
+ }
149
+
150
+ type DashboardPanelRow implements IPanelRow {
151
+ name: String!
152
+ title: String
153
+ titleVariant: String
154
+ layout: Number
155
+ hidden: Boolean
156
+ visibilityCondition: String
157
+ elements: [Widget!]
158
+ }
159
+
160
+ type Preview {
161
+ headerCard: Card
162
+ panel: Panel
163
+ }
164
+
165
+ interface ICard implements IElement {
166
+ name: String
167
+ component: String
168
+ config: JSON
169
+ }
170
+
171
+ interface QuickApp {
172
+ url: String
173
+ appPreference: String
174
+ target: Boolean
175
+ }
176
+
177
+ type CardRow {
178
+ name: String
179
+ paths: [String!]
180
+ expression: String
181
+ icon: String
182
+ component: String
183
+ }
184
+
185
+ type Card implements ICard & IRowElement & IElement {
186
+ name: String
187
+ component: String!
188
+ config: JSON
189
+ cols: Int
190
+ title: String
191
+ rows: [CardRow]
192
+ }
193
+
194
+ type Widget implements ICard & IRowElement & IElement & QuickApp {
195
+ id: String!
196
+ name: String
197
+ title: String
198
+ description: String
199
+ component: String
200
+ config: JSON
201
+ cols: Int
202
+ table: AnyTable
203
+ }
204
+
205
+ type ExternalWidget {
206
+ id: String
207
+ name: String
208
+ description: String
209
+ visibilityCondition: String
210
+ config: JSON
211
+ }
212
+
213
+ type ViewerOptions {
214
+ thumbnails: Boolean
215
+ pageNavigation: Boolean
216
+ lazyLoading: Boolean
217
+ }
218
+
219
+ type ViewerToolbar {
220
+ menuItems: [MenuItem!]!
221
+ actionButton: ActionButton
222
+ }
223
+
224
+ type Viewer {
225
+ documentActions: [MenuItem!]
226
+ options: ViewerOptions
227
+ toolbar: ViewerToolbar
228
+ }
@@ -1,30 +1,30 @@
1
- interface IPanel {
2
- name: String
3
- rows: [IPanelRow!]
4
- dataType: String
5
- }
6
-
7
- interface IPanelRow {
8
- elements: [IRowElement!]
9
- name: String
10
- title: String
11
- titleVariant: String
12
- visibilityCondition: String
13
- }
14
-
15
- type Panel implements IPanel {
16
- columns: Int
17
- isGrouped: Boolean
18
- name: String
19
- rows: [PanelRow!]!
20
- dataType: String
21
- }
22
-
23
- type PanelRow implements IPanelRow {
24
- elements: [IRowElement!]
25
- hasDivider: Boolean
26
- name: String
27
- title: String
28
- titleVariant: String
29
- visibilityCondition: String
30
- }
1
+ interface IPanel {
2
+ name: String
3
+ rows: [IPanelRow!]
4
+ dataType: String
5
+ }
6
+
7
+ interface IPanelRow {
8
+ elements: [IRowElement!]
9
+ name: String
10
+ title: String
11
+ titleVariant: String
12
+ visibilityCondition: String
13
+ }
14
+
15
+ type Panel implements IPanel {
16
+ columns: Int
17
+ isGrouped: Boolean
18
+ name: String
19
+ rows: [PanelRow!]!
20
+ dataType: String
21
+ }
22
+
23
+ type PanelRow implements IPanelRow {
24
+ elements: [IRowElement!]
25
+ hasDivider: Boolean
26
+ name: String
27
+ title: String
28
+ titleVariant: String
29
+ visibilityCondition: String
30
+ }