jamespot-user-api 1.0.186 → 1.0.187
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +14 -14
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +48 -8
- package/lib/src/types/article.d.ts +360 -60
- package/lib/src/types/asei.d.ts +36 -6
- package/lib/src/types/assetReservation.d.ts +156 -26
- package/lib/src/types/businessContact.d.ts +24 -4
- package/lib/src/types/comment.d.ts +36 -6
- package/lib/src/types/faq.d.ts +192 -32
- package/lib/src/types/jLand.d.ts +60 -10
- package/lib/src/types/mediaLibrary.d.ts +36 -6
- package/lib/src/types/meeting.d.ts +108 -18
- package/lib/src/types/pollSurvey.d.ts +108 -18
- package/lib/src/types/quizz.d.ts +108 -18
- package/lib/src/types/socialEvent.d.ts +108 -18
- package/lib/src/types/support.d.ts +108 -18
- package/lib/src/types/surveyDate.d.ts +108 -18
- package/lib/src/types/tvDisplay.d.ts +900 -150
- package/lib/src/types/widgets/default.d.ts +206 -24
- package/lib/src/types/widgets/widgetCheckList.d.ts +52 -10
- package/lib/src/types/widgets.d.ts +442 -68
- package/lib/src/util/widget.d.ts +6 -1
- package/package.json +1 -1
|
@@ -120,7 +120,17 @@ export declare const combinedWidgetTypeSchema: z.ZodUnion<[z.ZodIntersection<z.Z
|
|
|
120
120
|
layers?: string[] | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
layers?: string[] | undefined;
|
|
123
|
-
}>, z.ZodType<import("./common").WidgetType<
|
|
123
|
+
}>, z.ZodType<import("./common").WidgetType<{
|
|
124
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
125
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
126
|
+
css?: Record<string, string> | undefined;
|
|
127
|
+
edit?: boolean | undefined;
|
|
128
|
+
}>, z.ZodTypeDef, import("./common").WidgetType<{
|
|
129
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
130
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
131
|
+
css?: Record<string, string> | undefined;
|
|
132
|
+
edit?: boolean | undefined;
|
|
133
|
+
}>>>, z.ZodIntersection<z.ZodObject<{
|
|
124
134
|
layers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
135
|
}, "strip", z.ZodTypeAny, {
|
|
126
136
|
layers?: string[] | undefined;
|
|
@@ -342,7 +352,12 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
342
352
|
layers?: string[] | undefined;
|
|
343
353
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
344
354
|
layers?: string[] | undefined;
|
|
345
|
-
} & import("./common").WidgetType<
|
|
355
|
+
} & import("./common").WidgetType<{
|
|
356
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
357
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
358
|
+
css?: Record<string, string> | undefined;
|
|
359
|
+
edit?: boolean | undefined;
|
|
360
|
+
}>) | ({
|
|
346
361
|
layers?: string[] | undefined;
|
|
347
362
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
348
363
|
layers?: string[] | undefined;
|
|
@@ -387,7 +402,12 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
387
402
|
layers?: string[] | undefined;
|
|
388
403
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
389
404
|
layers?: string[] | undefined;
|
|
390
|
-
} & import("./common").WidgetType<
|
|
405
|
+
} & import("./common").WidgetType<{
|
|
406
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
407
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
408
|
+
css?: Record<string, string> | undefined;
|
|
409
|
+
edit?: boolean | undefined;
|
|
410
|
+
}>) | ({
|
|
391
411
|
layers?: string[] | undefined;
|
|
392
412
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
393
413
|
layers?: string[] | undefined;
|
|
@@ -433,7 +453,12 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
433
453
|
layers?: string[] | undefined;
|
|
434
454
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
435
455
|
layers?: string[] | undefined;
|
|
436
|
-
} & import("./common").WidgetType<
|
|
456
|
+
} & import("./common").WidgetType<{
|
|
457
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
458
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
459
|
+
css?: Record<string, string> | undefined;
|
|
460
|
+
edit?: boolean | undefined;
|
|
461
|
+
}>) | ({
|
|
437
462
|
layers?: string[] | undefined;
|
|
438
463
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
439
464
|
layers?: string[] | undefined;
|
|
@@ -478,7 +503,12 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
478
503
|
layers?: string[] | undefined;
|
|
479
504
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
480
505
|
layers?: string[] | undefined;
|
|
481
|
-
} & import("./common").WidgetType<
|
|
506
|
+
} & import("./common").WidgetType<{
|
|
507
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
508
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
509
|
+
css?: Record<string, string> | undefined;
|
|
510
|
+
edit?: boolean | undefined;
|
|
511
|
+
}>) | ({
|
|
482
512
|
layers?: string[] | undefined;
|
|
483
513
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
484
514
|
layers?: string[] | undefined;
|
|
@@ -528,7 +558,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
528
558
|
layers?: string[] | undefined;
|
|
529
559
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
530
560
|
layers?: string[] | undefined;
|
|
531
|
-
} & import("./common").WidgetType<
|
|
561
|
+
} & import("./common").WidgetType<{
|
|
562
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
563
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
564
|
+
css?: Record<string, string> | undefined;
|
|
565
|
+
edit?: boolean | undefined;
|
|
566
|
+
}>) | ({
|
|
532
567
|
layers?: string[] | undefined;
|
|
533
568
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
534
569
|
layers?: string[] | undefined;
|
|
@@ -573,7 +608,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
573
608
|
layers?: string[] | undefined;
|
|
574
609
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
575
610
|
layers?: string[] | undefined;
|
|
576
|
-
} & import("./common").WidgetType<
|
|
611
|
+
} & import("./common").WidgetType<{
|
|
612
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
613
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
614
|
+
css?: Record<string, string> | undefined;
|
|
615
|
+
edit?: boolean | undefined;
|
|
616
|
+
}>) | ({
|
|
577
617
|
layers?: string[] | undefined;
|
|
578
618
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
579
619
|
layers?: string[] | undefined;
|
|
@@ -619,7 +659,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
619
659
|
layers?: string[] | undefined;
|
|
620
660
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
621
661
|
layers?: string[] | undefined;
|
|
622
|
-
} & import("./common").WidgetType<
|
|
662
|
+
} & import("./common").WidgetType<{
|
|
663
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
664
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
665
|
+
css?: Record<string, string> | undefined;
|
|
666
|
+
edit?: boolean | undefined;
|
|
667
|
+
}>) | ({
|
|
623
668
|
layers?: string[] | undefined;
|
|
624
669
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
625
670
|
layers?: string[] | undefined;
|
|
@@ -664,7 +709,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
664
709
|
layers?: string[] | undefined;
|
|
665
710
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
666
711
|
layers?: string[] | undefined;
|
|
667
|
-
} & import("./common").WidgetType<
|
|
712
|
+
} & import("./common").WidgetType<{
|
|
713
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
714
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
715
|
+
css?: Record<string, string> | undefined;
|
|
716
|
+
edit?: boolean | undefined;
|
|
717
|
+
}>) | ({
|
|
668
718
|
layers?: string[] | undefined;
|
|
669
719
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
670
720
|
layers?: string[] | undefined;
|
|
@@ -711,7 +761,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
711
761
|
layers?: string[] | undefined;
|
|
712
762
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
713
763
|
layers?: string[] | undefined;
|
|
714
|
-
} & import("./common").WidgetType<
|
|
764
|
+
} & import("./common").WidgetType<{
|
|
765
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
766
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
767
|
+
css?: Record<string, string> | undefined;
|
|
768
|
+
edit?: boolean | undefined;
|
|
769
|
+
}>) | ({
|
|
715
770
|
layers?: string[] | undefined;
|
|
716
771
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
717
772
|
layers?: string[] | undefined;
|
|
@@ -758,7 +813,12 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
758
813
|
layers?: string[] | undefined;
|
|
759
814
|
} & import("./widgetArticleSlider").WidgetArticleSliderType) | ({
|
|
760
815
|
layers?: string[] | undefined;
|
|
761
|
-
} & import("./common").WidgetType<
|
|
816
|
+
} & import("./common").WidgetType<{
|
|
817
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
818
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
819
|
+
css?: Record<string, string> | undefined;
|
|
820
|
+
edit?: boolean | undefined;
|
|
821
|
+
}>) | ({
|
|
762
822
|
layers?: string[] | undefined;
|
|
763
823
|
} & import("./widgetDatasourceTable").WidgetDatasourceTableType) | ({
|
|
764
824
|
layers?: string[] | undefined;
|
|
@@ -987,10 +1047,56 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
987
1047
|
useDots: z.ZodOptionalType<z.ZodType<boolean | undefined, z.ZodTypeDef, boolean | undefined>>;
|
|
988
1048
|
startAt: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
989
1049
|
}, "strip", z.ZodTypeAny, import("./widgetArticleSlider").WidgetArticleSliderContent, import("./widgetArticleSlider").WidgetArticleSliderContent>, z.ZodObject<{
|
|
990
|
-
arr: z.
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1050
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1051
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1052
|
+
value: z.ZodOptionalType<z.ZodType<boolean | undefined, z.ZodTypeDef, boolean | undefined>>;
|
|
1053
|
+
links: z.ZodOptionalType<z.ZodType<{
|
|
1054
|
+
href: string;
|
|
1055
|
+
target: string;
|
|
1056
|
+
}[] | undefined, z.ZodTypeDef, {
|
|
1057
|
+
href: string;
|
|
1058
|
+
target: string;
|
|
1059
|
+
}[] | undefined>>;
|
|
1060
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1061
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
1062
|
+
id: number;
|
|
1063
|
+
type: string;
|
|
1064
|
+
mainType: string;
|
|
1065
|
+
} | undefined, z.ZodTypeDef, {
|
|
1066
|
+
id: number;
|
|
1067
|
+
type: string;
|
|
1068
|
+
mainType: string;
|
|
1069
|
+
} | undefined>>;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, import("./widgetCheckList").WidgetCheckListContentArr, import("./widgetCheckList").WidgetCheckListContentArr>, "many">>;
|
|
1071
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1072
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1073
|
+
title: z.ZodString;
|
|
1074
|
+
widget: z.ZodObject<{
|
|
1075
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
1076
|
+
uniqid: z.ZodString;
|
|
1077
|
+
content: z.ZodUnknown;
|
|
1078
|
+
}, "strip", z.ZodTypeAny, {
|
|
1079
|
+
name: WidgetsName;
|
|
1080
|
+
uniqid: string;
|
|
1081
|
+
content?: unknown;
|
|
1082
|
+
}, {
|
|
1083
|
+
name: WidgetsName;
|
|
1084
|
+
uniqid: string;
|
|
1085
|
+
content?: unknown;
|
|
1086
|
+
}>;
|
|
1087
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
1088
|
+
edit: z.ZodOptional<z.ZodBoolean>;
|
|
1089
|
+
}, "strip", z.ZodTypeAny, {
|
|
1090
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1091
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1092
|
+
css?: Record<string, string> | undefined;
|
|
1093
|
+
edit?: boolean | undefined;
|
|
1094
|
+
}, {
|
|
1095
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1096
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1097
|
+
css?: Record<string, string> | undefined;
|
|
1098
|
+
edit?: boolean | undefined;
|
|
1099
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
994
1100
|
limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
995
1101
|
tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
996
1102
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1233,7 +1339,17 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1233
1339
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1234
1340
|
content: z.ZodType<import("./widgetArticleSlider").WidgetArticleSliderContent, z.ZodTypeDef, import("./widgetArticleSlider").WidgetArticleSliderContent>;
|
|
1235
1341
|
}, "strip", z.ZodTypeAny, import("./widgetArticleSlider").WidgetArticleSliderType, import("./widgetArticleSlider").WidgetArticleSliderType>;
|
|
1236
|
-
"widget-check-list": z.ZodType<import("./common").WidgetType<
|
|
1342
|
+
"widget-check-list": z.ZodType<import("./common").WidgetType<{
|
|
1343
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1344
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1345
|
+
css?: Record<string, string> | undefined;
|
|
1346
|
+
edit?: boolean | undefined;
|
|
1347
|
+
}>, z.ZodTypeDef, import("./common").WidgetType<{
|
|
1348
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1349
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1350
|
+
css?: Record<string, string> | undefined;
|
|
1351
|
+
edit?: boolean | undefined;
|
|
1352
|
+
}>>;
|
|
1237
1353
|
"widget-datasource-table": z.ZodObject<{
|
|
1238
1354
|
name: z.ZodType<WidgetsName.DatasourceTable, z.ZodTypeDef, WidgetsName.DatasourceTable>;
|
|
1239
1355
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
@@ -1425,7 +1541,12 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1425
1541
|
"widget-article-image": import("./widgetArticleImage").WidgetArticleImageType;
|
|
1426
1542
|
"widget-article-attachment": import("./widgetArticleAttachment").WidgetArticleAttachmentType;
|
|
1427
1543
|
"widget-article-slider": import("./widgetArticleSlider").WidgetArticleSliderType;
|
|
1428
|
-
"widget-check-list": import("./common").WidgetType<
|
|
1544
|
+
"widget-check-list": import("./common").WidgetType<{
|
|
1545
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1546
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1547
|
+
css?: Record<string, string> | undefined;
|
|
1548
|
+
edit?: boolean | undefined;
|
|
1549
|
+
}>;
|
|
1429
1550
|
"widget-datasource-table": import("./widgetDatasourceTable").WidgetDatasourceTableType;
|
|
1430
1551
|
"widget-excel-datasource-table": {
|
|
1431
1552
|
name: WidgetsName.ExcelDatasourceTable;
|
|
@@ -1460,7 +1581,12 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1460
1581
|
"widget-article-image": import("./widgetArticleImage").WidgetArticleImageType;
|
|
1461
1582
|
"widget-article-attachment": import("./widgetArticleAttachment").WidgetArticleAttachmentType;
|
|
1462
1583
|
"widget-article-slider": import("./widgetArticleSlider").WidgetArticleSliderType;
|
|
1463
|
-
"widget-check-list": import("./common").WidgetType<
|
|
1584
|
+
"widget-check-list": import("./common").WidgetType<{
|
|
1585
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1586
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1587
|
+
css?: Record<string, string> | undefined;
|
|
1588
|
+
edit?: boolean | undefined;
|
|
1589
|
+
}>;
|
|
1464
1590
|
"widget-datasource-table": import("./widgetDatasourceTable").WidgetDatasourceTableType;
|
|
1465
1591
|
"widget-excel-datasource-table": {
|
|
1466
1592
|
name: WidgetsName.ExcelDatasourceTable;
|
|
@@ -1696,10 +1822,56 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
1696
1822
|
startAt: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1697
1823
|
}, "strip", z.ZodTypeAny, import("./widgetArticleSlider").WidgetArticleSliderContent, import("./widgetArticleSlider").WidgetArticleSliderContent>;
|
|
1698
1824
|
"widget-check-list": z.ZodObject<{
|
|
1699
|
-
arr: z.
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1825
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1826
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1827
|
+
value: z.ZodOptionalType<z.ZodType<boolean | undefined, z.ZodTypeDef, boolean | undefined>>;
|
|
1828
|
+
links: z.ZodOptionalType<z.ZodType<{
|
|
1829
|
+
href: string;
|
|
1830
|
+
target: string;
|
|
1831
|
+
}[] | undefined, z.ZodTypeDef, {
|
|
1832
|
+
href: string;
|
|
1833
|
+
target: string;
|
|
1834
|
+
}[] | undefined>>;
|
|
1835
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1836
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
1837
|
+
id: number;
|
|
1838
|
+
type: string;
|
|
1839
|
+
mainType: string;
|
|
1840
|
+
} | undefined, z.ZodTypeDef, {
|
|
1841
|
+
id: number;
|
|
1842
|
+
type: string;
|
|
1843
|
+
mainType: string;
|
|
1844
|
+
} | undefined>>;
|
|
1845
|
+
}, "strip", z.ZodTypeAny, import("./widgetCheckList").WidgetCheckListContentArr, import("./widgetCheckList").WidgetCheckListContentArr>, "many">>;
|
|
1846
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1847
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1848
|
+
title: z.ZodString;
|
|
1849
|
+
widget: z.ZodObject<{
|
|
1850
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
1851
|
+
uniqid: z.ZodString;
|
|
1852
|
+
content: z.ZodUnknown;
|
|
1853
|
+
}, "strip", z.ZodTypeAny, {
|
|
1854
|
+
name: WidgetsName;
|
|
1855
|
+
uniqid: string;
|
|
1856
|
+
content?: unknown;
|
|
1857
|
+
}, {
|
|
1858
|
+
name: WidgetsName;
|
|
1859
|
+
uniqid: string;
|
|
1860
|
+
content?: unknown;
|
|
1861
|
+
}>;
|
|
1862
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
1863
|
+
edit: z.ZodOptional<z.ZodBoolean>;
|
|
1864
|
+
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1866
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1867
|
+
css?: Record<string, string> | undefined;
|
|
1868
|
+
edit?: boolean | undefined;
|
|
1869
|
+
}, {
|
|
1870
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1871
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
1872
|
+
css?: Record<string, string> | undefined;
|
|
1873
|
+
edit?: boolean | undefined;
|
|
1874
|
+
}>;
|
|
1703
1875
|
"widget-datasource-table": z.ZodObject<z.objectUtil.extendShape<{
|
|
1704
1876
|
limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
1705
1877
|
tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1894,7 +2066,12 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
1894
2066
|
"widget-article-image": import("./widgetArticleImage").WidgetArticleImageContent;
|
|
1895
2067
|
"widget-article-attachment": import("./widgetArticleAttachment").WidgetArticleAttachmentContent;
|
|
1896
2068
|
"widget-article-slider": import("./widgetArticleSlider").WidgetArticleSliderContent;
|
|
1897
|
-
"widget-check-list":
|
|
2069
|
+
"widget-check-list": {
|
|
2070
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2071
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
2072
|
+
css?: Record<string, string> | undefined;
|
|
2073
|
+
edit?: boolean | undefined;
|
|
2074
|
+
};
|
|
1898
2075
|
"widget-datasource-table": {
|
|
1899
2076
|
uri?: string | undefined;
|
|
1900
2077
|
limit?: number | boolean | undefined;
|
|
@@ -1971,7 +2148,12 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
1971
2148
|
"widget-article-image": import("./widgetArticleImage").WidgetArticleImageContent;
|
|
1972
2149
|
"widget-article-attachment": import("./widgetArticleAttachment").WidgetArticleAttachmentContent;
|
|
1973
2150
|
"widget-article-slider": import("./widgetArticleSlider").WidgetArticleSliderContent;
|
|
1974
|
-
"widget-check-list":
|
|
2151
|
+
"widget-check-list": {
|
|
2152
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2153
|
+
arr?: import("./widgetCheckList").WidgetCheckListContentArr[] | undefined;
|
|
2154
|
+
css?: Record<string, string> | undefined;
|
|
2155
|
+
edit?: boolean | undefined;
|
|
2156
|
+
};
|
|
1975
2157
|
"widget-datasource-table": {
|
|
1976
2158
|
uri?: string | undefined;
|
|
1977
2159
|
limit?: number | boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
|
-
import { WidgetBaseType, WidgetsName, WidgetType } from './common';
|
|
3
2
|
import { jHref } from '../utils';
|
|
3
|
+
import { WidgetsName, WidgetType } from './common';
|
|
4
4
|
export type WidgetCheckListContentArr = {
|
|
5
5
|
title: string;
|
|
6
6
|
value?: boolean;
|
|
@@ -33,16 +33,58 @@ export declare const widgetCheckListContentArrSchema: z.ZodObject<{
|
|
|
33
33
|
mainType: string;
|
|
34
34
|
} | undefined>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, WidgetCheckListContentArr, WidgetCheckListContentArr>;
|
|
36
|
-
export type WidgetCheckListContent = {
|
|
37
|
-
arr?: WidgetCheckListContentArr[];
|
|
38
|
-
css?: Record<string, string> | undefined;
|
|
39
|
-
widgets?: WidgetBaseType[] | undefined;
|
|
40
|
-
};
|
|
41
36
|
export declare const widgetCheckListContentSchema: z.ZodObject<{
|
|
42
|
-
arr: z.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
39
|
+
value: z.ZodOptionalType<z.ZodType<boolean | undefined, z.ZodTypeDef, boolean | undefined>>;
|
|
40
|
+
links: z.ZodOptionalType<z.ZodType<{
|
|
41
|
+
href: string;
|
|
42
|
+
target: string;
|
|
43
|
+
}[] | undefined, z.ZodTypeDef, {
|
|
44
|
+
href: string;
|
|
45
|
+
target: string;
|
|
46
|
+
}[] | undefined>>;
|
|
47
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
48
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
49
|
+
id: number;
|
|
50
|
+
type: string;
|
|
51
|
+
mainType: string;
|
|
52
|
+
} | undefined, z.ZodTypeDef, {
|
|
53
|
+
id: number;
|
|
54
|
+
type: string;
|
|
55
|
+
mainType: string;
|
|
56
|
+
} | undefined>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, WidgetCheckListContentArr, WidgetCheckListContentArr>, "many">>;
|
|
58
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
60
|
+
title: z.ZodString;
|
|
61
|
+
widget: z.ZodObject<{
|
|
62
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
63
|
+
uniqid: z.ZodString;
|
|
64
|
+
content: z.ZodUnknown;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
name: WidgetsName;
|
|
67
|
+
uniqid: string;
|
|
68
|
+
content?: unknown;
|
|
69
|
+
}, {
|
|
70
|
+
name: WidgetsName;
|
|
71
|
+
uniqid: string;
|
|
72
|
+
content?: unknown;
|
|
73
|
+
}>;
|
|
74
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
75
|
+
edit: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
78
|
+
arr?: WidgetCheckListContentArr[] | undefined;
|
|
79
|
+
css?: Record<string, string> | undefined;
|
|
80
|
+
edit?: boolean | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
83
|
+
arr?: WidgetCheckListContentArr[] | undefined;
|
|
84
|
+
css?: Record<string, string> | undefined;
|
|
85
|
+
edit?: boolean | undefined;
|
|
86
|
+
}>;
|
|
87
|
+
export type WidgetCheckListContent = z.infer<typeof widgetCheckListContentSchema>;
|
|
46
88
|
export type WidgetCheckListType = {
|
|
47
89
|
name: WidgetsName.CheckList;
|
|
48
90
|
uniqid: string;
|