@persei/perseed-api 5.0.3 → 5.0.5
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.
- package/dist/client.cjs +60 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +60 -0
- package/dist/client.mjs.map +1 -1
- package/dist/lib/src/generated/client.d.ts +190 -0
- package/dist/lib/src/generated/client.d.ts.map +1 -1
- package/dist/src/Services/ContainerWidgetService.d.ts +14 -0
- package/dist/src/Services/ContainerWidgetService.d.ts.map +1 -0
- package/dist/src/config/config.d.ts +9 -2
- package/dist/src/config/config.d.ts.map +1 -1
- package/dist/src/controllers/{DashboardWidgetController.d.ts → ContainerWidgetController.d.ts} +3 -3
- package/dist/src/controllers/{DashboardWidgetController.d.ts.map → ContainerWidgetController.d.ts.map} +1 -1
- package/dist/src/helpers/dashboards.d.ts +4 -4
- package/dist/src/helpers/dashboards.d.ts.map +1 -1
- package/dist/src/models/ecosystem/{DashboardWidget.d.ts → ContainerWidget.d.ts} +14 -14
- package/dist/src/models/ecosystem/ContainerWidget.d.ts.map +1 -0
- package/dist/src/models/ecosystem/{DashboardWidgetBlock.d.ts → ContainerWidgetBlock.d.ts} +5 -5
- package/dist/src/models/ecosystem/{DashboardWidgetBlock.d.ts.map → ContainerWidgetBlock.d.ts.map} +1 -1
- package/dist/src/models/perseed/UserSettings.d.ts.map +1 -1
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts.map +1 -1
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts.map +1 -1
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts.map +1 -1
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/col.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/create_widget_payload.schema.json +277 -50
- package/dist/src/schemas/{dashboard_widget → container_widget}/dataLoaders/Outcomes.d.ts.map +1 -1
- package/dist/src/schemas/container_widget/dataLoaders/index.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/i18n.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/index.d.ts.map +1 -1
- package/dist/src/schemas/container_widget/types.d.ts +184 -0
- package/dist/src/schemas/container_widget/types.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/update_widget_payload.schema.json +189 -32
- package/dist/src/schemas/container_widget/widgetTypes/ContainerWidgetProps.d.ts +6 -0
- package/dist/src/schemas/container_widget/widgetTypes/ContainerWidgetProps.d.ts.map +1 -0
- package/dist/src/schemas/container_widget/widgetTypes/ModalProps.d.ts +17 -0
- package/dist/src/schemas/container_widget/widgetTypes/ModalProps.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/PatientListProps.d.ts +26 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/PatientListProps.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/SectionCardProps.d.ts.map +1 -1
- package/dist/src/schemas/container_widget/widgetTypes/SidebarProps.d.ts +20 -0
- package/dist/src/schemas/container_widget/widgetTypes/SidebarProps.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/ValueCardProps.d.ts +2 -2
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/ValueCardProps.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/index.d.ts +3 -1
- package/dist/src/schemas/container_widget/widgetTypes/index.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/Generic.d.ts +1 -1
- package/dist/src/schemas/container_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts.map +1 -1
- package/dist/src/schemas/container_widget/widgetTypes/presentationWidgetTypes/LinkPresentationWidget.d.ts +15 -0
- package/dist/src/schemas/container_widget/widgetTypes/presentationWidgetTypes/LinkPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts.map +1 -1
- package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/index.d.ts.map +1 -1
- package/dist/src/schemas/index.d.ts +1 -1
- package/dist/src/schemas/user_settings/GenericStringSetting.schema.json +9 -0
- package/dist/src/schemas/user_settings/types.d.ts +4 -0
- package/dist/src/schemas/user_settings/types.d.ts.map +1 -1
- package/dist/src/v2/modules/project/forms-data/forms-data.service.d.ts +1 -0
- package/dist/src/v2/modules/project/forms-data/forms-data.service.d.ts.map +1 -1
- package/dist/src/v2/modules/project/thryve/index.d.ts +4 -0
- package/dist/src/v2/modules/project/thryve/index.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.d.ts +5 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/project/thryve/thryve.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.schema.d.ts +10 -0
- package/dist/src/v2/modules/project/thryve/thryve.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.service.d.ts +30 -0
- package/dist/src/v2/modules/project/thryve/thryve.service.d.ts.map +1 -0
- package/dist/src/v2/modules/project/thryve/thryve.service.test.d.ts +2 -0
- package/dist/src/v2/modules/project/thryve/thryve.service.test.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/thryve/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/thryve/index.d.ts.map +1 -0
- package/dist/v1/perseed-api.cjs +67 -14
- package/dist/v1/perseed-api.cjs.map +1 -1
- package/dist/v1/perseed-api.mjs +67 -14
- package/dist/v1/perseed-api.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/src/Services/DashboardWidgetService.d.ts +0 -14
- package/dist/src/Services/DashboardWidgetService.d.ts.map +0 -1
- package/dist/src/models/ecosystem/DashboardWidget.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/types.d.ts +0 -137
- package/dist/src/schemas/dashboard_widget/types.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts +0 -6
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts.map +0 -1
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/LinkPresentationWidget.d.ts +0 -7
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/LinkPresentationWidget.d.ts.map +0 -1
- /package/dist/src/schemas/{dashboard_widget → container_widget}/col.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/dataLoaders/Outcomes.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/dataLoaders/index.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/i18n.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/index.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/SectionCardProps.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts +0 -0
- /package/dist/src/schemas/{dashboard_widget → container_widget}/widgetTypes/presentationWidgetTypes/index.d.ts +0 -0
package/dist/src/schemas/{dashboard_widget → container_widget}/create_widget_payload.schema.json
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/
|
|
3
|
+
"$ref": "#/definitions/CreateContainerWidgetPayload",
|
|
4
4
|
"definitions": {
|
|
5
|
-
"
|
|
5
|
+
"CreateContainerWidgetPayload": {
|
|
6
6
|
"anyOf": [
|
|
7
7
|
{
|
|
8
8
|
"type": "object",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"properties": {
|
|
11
11
|
"type": {
|
|
12
12
|
"type": "string",
|
|
13
|
-
"const": "
|
|
13
|
+
"const": "Dashboard"
|
|
14
14
|
},
|
|
15
15
|
"params": {
|
|
16
|
-
"$ref": "#/definitions/
|
|
16
|
+
"$ref": "#/definitions/ContainerWidgetProps"
|
|
17
17
|
},
|
|
18
18
|
"title": {
|
|
19
19
|
"type": "string"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"widgetsBlocks": {
|
|
41
41
|
"type": "array",
|
|
42
42
|
"items": {
|
|
43
|
-
"$ref": "#/definitions/
|
|
43
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"properties": {
|
|
53
53
|
"type": {
|
|
54
54
|
"type": "string",
|
|
55
|
-
"const": "
|
|
55
|
+
"const": "Modal"
|
|
56
56
|
},
|
|
57
57
|
"params": {
|
|
58
|
-
"$ref": "#/definitions/
|
|
58
|
+
"$ref": "#/definitions/ModalProps"
|
|
59
59
|
},
|
|
60
60
|
"title": {
|
|
61
61
|
"type": "string"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"widgetsBlocks": {
|
|
83
83
|
"type": "array",
|
|
84
84
|
"items": {
|
|
85
|
-
"$ref": "#/definitions/
|
|
85
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
},
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
"properties": {
|
|
95
95
|
"type": {
|
|
96
96
|
"type": "string",
|
|
97
|
-
"const": "
|
|
97
|
+
"const": "Sidebar"
|
|
98
98
|
},
|
|
99
99
|
"params": {
|
|
100
|
-
"$ref": "#/definitions/
|
|
100
|
+
"$ref": "#/definitions/SidebarProps"
|
|
101
101
|
},
|
|
102
102
|
"title": {
|
|
103
103
|
"type": "string"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"widgetsBlocks": {
|
|
125
125
|
"type": "array",
|
|
126
126
|
"items": {
|
|
127
|
-
"$ref": "#/definitions/
|
|
127
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
},
|
|
@@ -136,10 +136,52 @@
|
|
|
136
136
|
"properties": {
|
|
137
137
|
"type": {
|
|
138
138
|
"type": "string",
|
|
139
|
-
"const": "
|
|
139
|
+
"const": "SectionCard"
|
|
140
|
+
},
|
|
141
|
+
"params": {
|
|
142
|
+
"$ref": "#/definitions/SectionCardProps"
|
|
143
|
+
},
|
|
144
|
+
"title": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"description": {
|
|
148
|
+
"type": ["string", "null"]
|
|
149
|
+
},
|
|
150
|
+
"weight": {
|
|
151
|
+
"type": "number"
|
|
152
|
+
},
|
|
153
|
+
"size": {
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"type": "number"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"$ref": "#/definitions/ColProps"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"library": {
|
|
164
|
+
"type": "boolean"
|
|
165
|
+
},
|
|
166
|
+
"widgetsBlocks": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {
|
|
169
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": ["params", "title", "type"]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"type": "object",
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"properties": {
|
|
179
|
+
"type": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"const": "ValueCard"
|
|
140
182
|
},
|
|
141
183
|
"params": {
|
|
142
|
-
"$ref": "#/definitions/
|
|
184
|
+
"$ref": "#/definitions/ValueCardProps"
|
|
143
185
|
},
|
|
144
186
|
"title": {
|
|
145
187
|
"type": "string"
|
|
@@ -166,7 +208,49 @@
|
|
|
166
208
|
"widgetsBlocks": {
|
|
167
209
|
"type": "array",
|
|
168
210
|
"items": {
|
|
169
|
-
"$ref": "#/definitions/
|
|
211
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": ["params", "title", "type"]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "object",
|
|
219
|
+
"additionalProperties": false,
|
|
220
|
+
"properties": {
|
|
221
|
+
"type": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"const": "PatientList"
|
|
224
|
+
},
|
|
225
|
+
"params": {
|
|
226
|
+
"$ref": "#/definitions/PatientListProps"
|
|
227
|
+
},
|
|
228
|
+
"title": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"description": {
|
|
232
|
+
"type": ["string", "null"]
|
|
233
|
+
},
|
|
234
|
+
"weight": {
|
|
235
|
+
"type": "number"
|
|
236
|
+
},
|
|
237
|
+
"size": {
|
|
238
|
+
"anyOf": [
|
|
239
|
+
{
|
|
240
|
+
"type": "number"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"$ref": "#/definitions/ColProps"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"library": {
|
|
248
|
+
"type": "boolean"
|
|
249
|
+
},
|
|
250
|
+
"widgetsBlocks": {
|
|
251
|
+
"type": "array",
|
|
252
|
+
"items": {
|
|
253
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
170
254
|
}
|
|
171
255
|
}
|
|
172
256
|
},
|
|
@@ -208,7 +292,7 @@
|
|
|
208
292
|
"widgetsBlocks": {
|
|
209
293
|
"type": "array",
|
|
210
294
|
"items": {
|
|
211
|
-
"$ref": "#/definitions/
|
|
295
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
212
296
|
}
|
|
213
297
|
}
|
|
214
298
|
},
|
|
@@ -250,7 +334,7 @@
|
|
|
250
334
|
"widgetsBlocks": {
|
|
251
335
|
"type": "array",
|
|
252
336
|
"items": {
|
|
253
|
-
"$ref": "#/definitions/
|
|
337
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
254
338
|
}
|
|
255
339
|
}
|
|
256
340
|
},
|
|
@@ -292,7 +376,7 @@
|
|
|
292
376
|
"widgetsBlocks": {
|
|
293
377
|
"type": "array",
|
|
294
378
|
"items": {
|
|
295
|
-
"$ref": "#/definitions/
|
|
379
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
296
380
|
}
|
|
297
381
|
}
|
|
298
382
|
},
|
|
@@ -334,7 +418,7 @@
|
|
|
334
418
|
"widgetsBlocks": {
|
|
335
419
|
"type": "array",
|
|
336
420
|
"items": {
|
|
337
|
-
"$ref": "#/definitions/
|
|
421
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
338
422
|
}
|
|
339
423
|
}
|
|
340
424
|
},
|
|
@@ -376,7 +460,7 @@
|
|
|
376
460
|
"widgetsBlocks": {
|
|
377
461
|
"type": "array",
|
|
378
462
|
"items": {
|
|
379
|
-
"$ref": "#/definitions/
|
|
463
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
380
464
|
}
|
|
381
465
|
}
|
|
382
466
|
},
|
|
@@ -418,7 +502,7 @@
|
|
|
418
502
|
"widgetsBlocks": {
|
|
419
503
|
"type": "array",
|
|
420
504
|
"items": {
|
|
421
|
-
"$ref": "#/definitions/
|
|
505
|
+
"$ref": "#/definitions/ContainerWidgetBlockCreatePayload"
|
|
422
506
|
}
|
|
423
507
|
}
|
|
424
508
|
},
|
|
@@ -426,20 +510,20 @@
|
|
|
426
510
|
}
|
|
427
511
|
]
|
|
428
512
|
},
|
|
429
|
-
"
|
|
513
|
+
"ContainerWidgetProps": {
|
|
430
514
|
"type": "object",
|
|
431
515
|
"properties": {
|
|
432
|
-
"
|
|
433
|
-
"type": "
|
|
516
|
+
"active": {
|
|
517
|
+
"type": "boolean"
|
|
434
518
|
},
|
|
435
|
-
"
|
|
436
|
-
"type": "
|
|
519
|
+
"config": {
|
|
520
|
+
"type": "object",
|
|
521
|
+
"additionalProperties": {}
|
|
437
522
|
},
|
|
438
|
-
"
|
|
439
|
-
"type": "string"
|
|
523
|
+
"icon": {
|
|
524
|
+
"type": ["string", "null"]
|
|
440
525
|
}
|
|
441
526
|
},
|
|
442
|
-
"required": ["icon"],
|
|
443
527
|
"additionalProperties": false
|
|
444
528
|
},
|
|
445
529
|
"ColProps": {
|
|
@@ -574,7 +658,7 @@
|
|
|
574
658
|
},
|
|
575
659
|
"additionalProperties": false
|
|
576
660
|
},
|
|
577
|
-
"
|
|
661
|
+
"ContainerWidgetBlockCreatePayload": {
|
|
578
662
|
"type": "object",
|
|
579
663
|
"properties": {
|
|
580
664
|
"parent_id": {
|
|
@@ -616,6 +700,98 @@
|
|
|
616
700
|
},
|
|
617
701
|
"additionalProperties": false
|
|
618
702
|
},
|
|
703
|
+
"ModalProps": {
|
|
704
|
+
"type": "object",
|
|
705
|
+
"properties": {
|
|
706
|
+
"active": {
|
|
707
|
+
"type": "boolean"
|
|
708
|
+
},
|
|
709
|
+
"icon": {
|
|
710
|
+
"type": ["string", "null"]
|
|
711
|
+
},
|
|
712
|
+
"config": {
|
|
713
|
+
"$ref": "#/definitions/ModalConfig"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
"required": ["config"],
|
|
717
|
+
"additionalProperties": false
|
|
718
|
+
},
|
|
719
|
+
"ModalConfig": {
|
|
720
|
+
"type": "object",
|
|
721
|
+
"properties": {
|
|
722
|
+
"size": {
|
|
723
|
+
"$ref": "#/definitions/ModalSize"
|
|
724
|
+
},
|
|
725
|
+
"width": {
|
|
726
|
+
"type": "string"
|
|
727
|
+
},
|
|
728
|
+
"height": {
|
|
729
|
+
"type": "string"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"required": ["size"],
|
|
733
|
+
"additionalProperties": false
|
|
734
|
+
},
|
|
735
|
+
"ModalSize": {
|
|
736
|
+
"type": "string",
|
|
737
|
+
"enum": ["small", "medium", "large", "fullscreen", "custom"]
|
|
738
|
+
},
|
|
739
|
+
"SidebarProps": {
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"active": {
|
|
743
|
+
"type": "boolean"
|
|
744
|
+
},
|
|
745
|
+
"icon": {
|
|
746
|
+
"type": ["string", "null"]
|
|
747
|
+
},
|
|
748
|
+
"config": {
|
|
749
|
+
"$ref": "#/definitions/SidebarConfig"
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"required": ["config"],
|
|
753
|
+
"additionalProperties": false
|
|
754
|
+
},
|
|
755
|
+
"SidebarConfig": {
|
|
756
|
+
"type": "object",
|
|
757
|
+
"properties": {
|
|
758
|
+
"placement": {
|
|
759
|
+
"$ref": "#/definitions/SidebarPlacement"
|
|
760
|
+
},
|
|
761
|
+
"size": {
|
|
762
|
+
"$ref": "#/definitions/SidebarSize"
|
|
763
|
+
},
|
|
764
|
+
"width": {
|
|
765
|
+
"type": "string"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"required": ["placement", "size"],
|
|
769
|
+
"additionalProperties": false
|
|
770
|
+
},
|
|
771
|
+
"SidebarPlacement": {
|
|
772
|
+
"type": "string",
|
|
773
|
+
"enum": ["left", "right"]
|
|
774
|
+
},
|
|
775
|
+
"SidebarSize": {
|
|
776
|
+
"type": "string",
|
|
777
|
+
"enum": ["small", "medium", "large", "custom"]
|
|
778
|
+
},
|
|
779
|
+
"SectionCardProps": {
|
|
780
|
+
"type": "object",
|
|
781
|
+
"properties": {
|
|
782
|
+
"icon": {
|
|
783
|
+
"type": "string"
|
|
784
|
+
},
|
|
785
|
+
"background": {
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
"titleBackground": {
|
|
789
|
+
"type": "string"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"required": ["icon"],
|
|
793
|
+
"additionalProperties": false
|
|
794
|
+
},
|
|
619
795
|
"ValueCardProps": {
|
|
620
796
|
"type": "object",
|
|
621
797
|
"properties": {
|
|
@@ -638,7 +814,7 @@
|
|
|
638
814
|
"type": "object"
|
|
639
815
|
},
|
|
640
816
|
"dataLoader": {
|
|
641
|
-
"$ref": "#/definitions/
|
|
817
|
+
"$ref": "#/definitions/ContainerWidgetDataLoader%3CWidgetOutcomesDataLoader%3E"
|
|
642
818
|
}
|
|
643
819
|
},
|
|
644
820
|
"required": ["icon", "text"],
|
|
@@ -666,7 +842,7 @@
|
|
|
666
842
|
"type": "string"
|
|
667
843
|
}
|
|
668
844
|
},
|
|
669
|
-
"
|
|
845
|
+
"ContainerWidgetDataLoader<WidgetOutcomesDataLoader>": {
|
|
670
846
|
"type": "object",
|
|
671
847
|
"properties": {
|
|
672
848
|
"type": {
|
|
@@ -1041,8 +1217,7 @@
|
|
|
1041
1217
|
"bgColor": {
|
|
1042
1218
|
"type": "string"
|
|
1043
1219
|
}
|
|
1044
|
-
}
|
|
1045
|
-
"required": ["conditions"]
|
|
1220
|
+
}
|
|
1046
1221
|
}
|
|
1047
1222
|
},
|
|
1048
1223
|
"template": {
|
|
@@ -1083,7 +1258,7 @@
|
|
|
1083
1258
|
"type": "string"
|
|
1084
1259
|
}
|
|
1085
1260
|
},
|
|
1086
|
-
"required": ["
|
|
1261
|
+
"required": ["icon"]
|
|
1087
1262
|
}
|
|
1088
1263
|
},
|
|
1089
1264
|
"icon": {
|
|
@@ -1134,7 +1309,7 @@
|
|
|
1134
1309
|
"type": "string"
|
|
1135
1310
|
}
|
|
1136
1311
|
},
|
|
1137
|
-
"required": ["
|
|
1312
|
+
"required": ["icon", "iconPosition"]
|
|
1138
1313
|
}
|
|
1139
1314
|
},
|
|
1140
1315
|
"template": {
|
|
@@ -1319,19 +1494,6 @@
|
|
|
1319
1494
|
},
|
|
1320
1495
|
"additionalProperties": false
|
|
1321
1496
|
},
|
|
1322
|
-
"DashboardProps": {
|
|
1323
|
-
"type": "object",
|
|
1324
|
-
"properties": {
|
|
1325
|
-
"active": {
|
|
1326
|
-
"type": "boolean"
|
|
1327
|
-
},
|
|
1328
|
-
"config": {},
|
|
1329
|
-
"icon": {
|
|
1330
|
-
"type": ["string", "null"]
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
"additionalProperties": false
|
|
1334
|
-
},
|
|
1335
1497
|
"EmptyProps": {
|
|
1336
1498
|
"type": "object",
|
|
1337
1499
|
"additionalProperties": {
|
|
@@ -1408,7 +1570,7 @@
|
|
|
1408
1570
|
"additionalProperties": {}
|
|
1409
1571
|
},
|
|
1410
1572
|
"limit": {
|
|
1411
|
-
"type": "number"
|
|
1573
|
+
"type": ["number", "null"]
|
|
1412
1574
|
},
|
|
1413
1575
|
"sortBy": {
|
|
1414
1576
|
"type": "array",
|
|
@@ -1465,6 +1627,9 @@
|
|
|
1465
1627
|
},
|
|
1466
1628
|
"hidden": {
|
|
1467
1629
|
"type": "boolean"
|
|
1630
|
+
},
|
|
1631
|
+
"aggregation": {
|
|
1632
|
+
"$ref": "#/definitions/ColumnAggregation"
|
|
1468
1633
|
}
|
|
1469
1634
|
},
|
|
1470
1635
|
"additionalProperties": false
|
|
@@ -1499,11 +1664,43 @@
|
|
|
1499
1664
|
},
|
|
1500
1665
|
"textColor": {
|
|
1501
1666
|
"type": "string"
|
|
1667
|
+
},
|
|
1668
|
+
"underline": {
|
|
1669
|
+
"type": "boolean"
|
|
1670
|
+
},
|
|
1671
|
+
"linkType": {
|
|
1672
|
+
"$ref": "#/definitions/LinkType"
|
|
1673
|
+
},
|
|
1674
|
+
"openInNewTab": {
|
|
1675
|
+
"type": "boolean"
|
|
1676
|
+
},
|
|
1677
|
+
"targetWidgetId": {
|
|
1678
|
+
"type": "number"
|
|
1502
1679
|
}
|
|
1503
1680
|
},
|
|
1504
|
-
"required": ["url"],
|
|
1505
1681
|
"additionalProperties": false
|
|
1506
1682
|
},
|
|
1683
|
+
"LinkType": {
|
|
1684
|
+
"type": "string",
|
|
1685
|
+
"enum": ["external", "internal"]
|
|
1686
|
+
},
|
|
1687
|
+
"ColumnAggregation": {
|
|
1688
|
+
"type": "object",
|
|
1689
|
+
"properties": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"$ref": "#/definitions/AggregationType"
|
|
1692
|
+
},
|
|
1693
|
+
"position": {
|
|
1694
|
+
"type": "number"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
"required": ["type"],
|
|
1698
|
+
"additionalProperties": false
|
|
1699
|
+
},
|
|
1700
|
+
"AggregationType": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
"enum": ["first", "last", "position", "avg", "sum", "min", "max", "median", "stddev"]
|
|
1703
|
+
},
|
|
1507
1704
|
"FormListAppearanceConfig": {
|
|
1508
1705
|
"type": "object",
|
|
1509
1706
|
"properties": {
|
|
@@ -1521,6 +1718,12 @@
|
|
|
1521
1718
|
},
|
|
1522
1719
|
"fontWeight": {
|
|
1523
1720
|
"type": ["number", "null"]
|
|
1721
|
+
},
|
|
1722
|
+
"conditionalProps": {
|
|
1723
|
+
"type": "array",
|
|
1724
|
+
"items": {
|
|
1725
|
+
"$ref": "#/definitions/FormListBodyConditionalProps"
|
|
1726
|
+
}
|
|
1524
1727
|
}
|
|
1525
1728
|
},
|
|
1526
1729
|
"additionalProperties": false
|
|
@@ -1545,6 +1748,30 @@
|
|
|
1545
1748
|
}
|
|
1546
1749
|
},
|
|
1547
1750
|
"additionalProperties": false
|
|
1751
|
+
},
|
|
1752
|
+
"FormListBodyConditionalProps": {
|
|
1753
|
+
"type": "object",
|
|
1754
|
+
"properties": {
|
|
1755
|
+
"conditions": {
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
},
|
|
1758
|
+
"continueEvaluate": {
|
|
1759
|
+
"type": "boolean"
|
|
1760
|
+
},
|
|
1761
|
+
"textColor": {
|
|
1762
|
+
"type": "string"
|
|
1763
|
+
},
|
|
1764
|
+
"bgColor": {
|
|
1765
|
+
"type": "string"
|
|
1766
|
+
},
|
|
1767
|
+
"fontSize": {
|
|
1768
|
+
"type": ["number", "null"]
|
|
1769
|
+
},
|
|
1770
|
+
"fontWeight": {
|
|
1771
|
+
"type": ["number", "null"]
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
"additionalProperties": false
|
|
1548
1775
|
}
|
|
1549
1776
|
}
|
|
1550
1777
|
}
|
package/dist/src/schemas/{dashboard_widget → container_widget}/dataLoaders/Outcomes.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Outcomes.d.ts","sourceRoot":"","sources":["../../../../../../src/schemas/
|
|
1
|
+
{"version":3,"file":"Outcomes.d.ts","sourceRoot":"","sources":["../../../../../../src/schemas/container_widget/dataLoaders/Outcomes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAA;IAC7B,MAAM,EAAE,cAAc,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/schemas/container_widget/dataLoaders/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/container_widget/i18n.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAA;IAEf,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;CACzB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,MAAM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/container_widget/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,OAAO,CAAA"}
|