@wix/auto_sdk_blog_posts 1.0.139 → 1.0.141
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/build/cjs/index.d.ts +11 -15
- package/build/cjs/index.js +459 -35
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +288 -56
- package/build/cjs/index.typings.js +301 -22
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +270 -26
- package/build/cjs/meta.js +295 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +450 -35
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +288 -56
- package/build/es/index.typings.mjs +292 -22
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +270 -26
- package/build/es/meta.mjs +286 -16
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +459 -35
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +288 -56
- package/build/internal/cjs/index.typings.js +301 -22
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +270 -26
- package/build/internal/cjs/meta.js +295 -16
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +450 -35
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +288 -56
- package/build/internal/es/index.typings.mjs +292 -22
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +270 -26
- package/build/internal/es/meta.mjs +286 -16
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -23,9 +23,11 @@ __export(index_exports, {
|
|
|
23
23
|
Alignment: () => Alignment,
|
|
24
24
|
AppType: () => AppType,
|
|
25
25
|
AspectRatio: () => AspectRatio,
|
|
26
|
+
BackdropType: () => BackdropType,
|
|
26
27
|
BackgroundType: () => BackgroundType,
|
|
27
28
|
BannerOrigin: () => BannerOrigin,
|
|
28
29
|
ButtonDataType: () => ButtonDataType,
|
|
30
|
+
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
29
31
|
Crop: () => Crop,
|
|
30
32
|
DecorationType: () => DecorationType,
|
|
31
33
|
DesignTarget: () => DesignTarget,
|
|
@@ -36,11 +38,17 @@ __export(index_exports, {
|
|
|
36
38
|
GIFType: () => GIFType,
|
|
37
39
|
GetPostTemplatesSort: () => GetPostTemplatesSort,
|
|
38
40
|
GetPostsSort: () => GetPostsSort,
|
|
41
|
+
GradientType: () => GradientType,
|
|
39
42
|
ImagePosition: () => ImagePosition,
|
|
43
|
+
ImagePositionPosition: () => ImagePositionPosition,
|
|
44
|
+
ImageScalingScaling: () => ImageScalingScaling,
|
|
45
|
+
Indentation: () => Indentation,
|
|
40
46
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
41
47
|
Layout: () => Layout,
|
|
48
|
+
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
42
49
|
LayoutType: () => LayoutType,
|
|
43
50
|
LineStyle: () => LineStyle,
|
|
51
|
+
ListStyle: () => ListStyle,
|
|
44
52
|
MapType: () => MapType,
|
|
45
53
|
ModerationStatusStatus: () => ModerationStatusStatus,
|
|
46
54
|
NodeType: () => NodeType,
|
|
@@ -50,6 +58,7 @@ __export(index_exports, {
|
|
|
50
58
|
Origin: () => Origin,
|
|
51
59
|
Placement: () => Placement,
|
|
52
60
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
61
|
+
PollDesignBackgroundType: () => PollDesignBackgroundType,
|
|
53
62
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
54
63
|
PollLayoutType: () => PollLayoutType,
|
|
55
64
|
Position: () => Position,
|
|
@@ -469,6 +478,24 @@ function getPost(payload) {
|
|
|
469
478
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
470
479
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
471
480
|
{ path: "post.metrics.averageRating" },
|
|
481
|
+
{
|
|
482
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
498
|
+
},
|
|
472
499
|
{
|
|
473
500
|
path: "post.richContent.nodes.galleryData.items.image.media.duration"
|
|
474
501
|
},
|
|
@@ -500,7 +527,39 @@ function getPost(payload) {
|
|
|
500
527
|
{
|
|
501
528
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
502
529
|
},
|
|
503
|
-
{
|
|
530
|
+
{
|
|
531
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerY"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
547
|
+
},
|
|
548
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" },
|
|
549
|
+
{
|
|
550
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerX"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerY"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
path: "post.richContent.nodes.cardData.background.gradient.stops.position"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
560
|
+
},
|
|
561
|
+
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
562
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
504
563
|
]
|
|
505
564
|
}
|
|
506
565
|
])
|
|
@@ -567,6 +626,24 @@ function getPostBySlug(payload) {
|
|
|
567
626
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
568
627
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
569
628
|
{ path: "post.metrics.averageRating" },
|
|
629
|
+
{
|
|
630
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
646
|
+
},
|
|
570
647
|
{
|
|
571
648
|
path: "post.richContent.nodes.galleryData.items.image.media.duration"
|
|
572
649
|
},
|
|
@@ -598,7 +675,39 @@ function getPostBySlug(payload) {
|
|
|
598
675
|
{
|
|
599
676
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
600
677
|
},
|
|
601
|
-
{
|
|
678
|
+
{
|
|
679
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerY"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
695
|
+
},
|
|
696
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" },
|
|
697
|
+
{
|
|
698
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerX"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerY"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
path: "post.richContent.nodes.cardData.background.gradient.stops.position"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
708
|
+
},
|
|
709
|
+
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
710
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
602
711
|
]
|
|
603
712
|
}
|
|
604
713
|
])
|
|
@@ -667,6 +776,24 @@ function listPosts(payload) {
|
|
|
667
776
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
668
777
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
669
778
|
{ path: "posts.metrics.averageRating" },
|
|
779
|
+
{
|
|
780
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
796
|
+
},
|
|
670
797
|
{
|
|
671
798
|
path: "posts.richContent.nodes.galleryData.items.image.media.duration"
|
|
672
799
|
},
|
|
@@ -700,7 +827,39 @@ function listPosts(payload) {
|
|
|
700
827
|
{
|
|
701
828
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
702
829
|
},
|
|
703
|
-
{
|
|
830
|
+
{
|
|
831
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
847
|
+
},
|
|
848
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" },
|
|
849
|
+
{
|
|
850
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerX"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerY"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
860
|
+
},
|
|
861
|
+
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
862
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
704
863
|
]
|
|
705
864
|
}
|
|
706
865
|
])
|
|
@@ -769,6 +928,24 @@ function queryPosts(payload) {
|
|
|
769
928
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
770
929
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
771
930
|
{ path: "posts.metrics.averageRating" },
|
|
931
|
+
{
|
|
932
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
948
|
+
},
|
|
772
949
|
{
|
|
773
950
|
path: "posts.richContent.nodes.galleryData.items.image.media.duration"
|
|
774
951
|
},
|
|
@@ -802,7 +979,39 @@ function queryPosts(payload) {
|
|
|
802
979
|
{
|
|
803
980
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
804
981
|
},
|
|
805
|
-
{
|
|
982
|
+
{
|
|
983
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
999
|
+
},
|
|
1000
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" },
|
|
1001
|
+
{
|
|
1002
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerX"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerY"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1012
|
+
},
|
|
1013
|
+
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
1014
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
806
1015
|
]
|
|
807
1016
|
}
|
|
808
1017
|
])
|
|
@@ -880,8 +1089,20 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
880
1089
|
NodeType2["LAYOUT"] = "LAYOUT";
|
|
881
1090
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
882
1091
|
NodeType2["SHAPE"] = "SHAPE";
|
|
1092
|
+
NodeType2["CARD"] = "CARD";
|
|
1093
|
+
NodeType2["TOC"] = "TOC";
|
|
883
1094
|
return NodeType2;
|
|
884
1095
|
})(NodeType || {});
|
|
1096
|
+
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
1097
|
+
BackgroundType2["COLOR"] = "COLOR";
|
|
1098
|
+
BackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1099
|
+
return BackgroundType2;
|
|
1100
|
+
})(BackgroundType || {});
|
|
1101
|
+
var GradientType = /* @__PURE__ */ ((GradientType2) => {
|
|
1102
|
+
GradientType2["LINEAR"] = "LINEAR";
|
|
1103
|
+
GradientType2["RADIAL"] = "RADIAL";
|
|
1104
|
+
return GradientType2;
|
|
1105
|
+
})(GradientType || {});
|
|
885
1106
|
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
886
1107
|
WidthType2["CONTENT"] = "CONTENT";
|
|
887
1108
|
WidthType2["SMALL"] = "SMALL";
|
|
@@ -980,6 +1201,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
980
1201
|
Source2["HTML"] = "HTML";
|
|
981
1202
|
Source2["ADSENSE"] = "ADSENSE";
|
|
982
1203
|
Source2["AI"] = "AI";
|
|
1204
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
983
1205
|
return Source2;
|
|
984
1206
|
})(Source || {});
|
|
985
1207
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -1017,12 +1239,12 @@ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
|
|
|
1017
1239
|
PollLayoutDirection2["RTL"] = "RTL";
|
|
1018
1240
|
return PollLayoutDirection2;
|
|
1019
1241
|
})(PollLayoutDirection || {});
|
|
1020
|
-
var
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
return
|
|
1025
|
-
})(
|
|
1242
|
+
var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
|
|
1243
|
+
PollDesignBackgroundType2["COLOR"] = "COLOR";
|
|
1244
|
+
PollDesignBackgroundType2["IMAGE"] = "IMAGE";
|
|
1245
|
+
PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1246
|
+
return PollDesignBackgroundType2;
|
|
1247
|
+
})(PollDesignBackgroundType || {});
|
|
1026
1248
|
var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
1027
1249
|
DecorationType2["BOLD"] = "BOLD";
|
|
1028
1250
|
DecorationType2["ITALIC"] = "ITALIC";
|
|
@@ -1109,12 +1331,12 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
1109
1331
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
1110
1332
|
return NullValue2;
|
|
1111
1333
|
})(NullValue || {});
|
|
1112
|
-
var
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
return
|
|
1117
|
-
})(
|
|
1334
|
+
var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
|
|
1335
|
+
ImageScalingScaling2["AUTO"] = "AUTO";
|
|
1336
|
+
ImageScalingScaling2["CONTAIN"] = "CONTAIN";
|
|
1337
|
+
ImageScalingScaling2["COVER"] = "COVER";
|
|
1338
|
+
return ImageScalingScaling2;
|
|
1339
|
+
})(ImageScalingScaling || {});
|
|
1118
1340
|
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
1119
1341
|
ImagePosition2["CENTER"] = "CENTER";
|
|
1120
1342
|
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
@@ -1132,6 +1354,16 @@ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
|
|
|
1132
1354
|
BannerOrigin2["LAYOUT"] = "LAYOUT";
|
|
1133
1355
|
return BannerOrigin2;
|
|
1134
1356
|
})(BannerOrigin || {});
|
|
1357
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1358
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1359
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1360
|
+
return LayoutDataBackgroundType2;
|
|
1361
|
+
})(LayoutDataBackgroundType || {});
|
|
1362
|
+
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1363
|
+
BackdropType2["COLOR"] = "COLOR";
|
|
1364
|
+
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
1365
|
+
return BackdropType2;
|
|
1366
|
+
})(BackdropType || {});
|
|
1135
1367
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1136
1368
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1137
1369
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -1148,6 +1380,44 @@ var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
|
1148
1380
|
DesignTarget2["CELL"] = "CELL";
|
|
1149
1381
|
return DesignTarget2;
|
|
1150
1382
|
})(DesignTarget || {});
|
|
1383
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
1384
|
+
Scaling2["AUTO"] = "AUTO";
|
|
1385
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
1386
|
+
Scaling2["COVER"] = "COVER";
|
|
1387
|
+
return Scaling2;
|
|
1388
|
+
})(Scaling || {});
|
|
1389
|
+
var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
|
|
1390
|
+
ImagePositionPosition2["CENTER"] = "CENTER";
|
|
1391
|
+
ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
1392
|
+
ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
1393
|
+
ImagePositionPosition2["TOP"] = "TOP";
|
|
1394
|
+
ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
1395
|
+
ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
1396
|
+
ImagePositionPosition2["BOTTOM"] = "BOTTOM";
|
|
1397
|
+
ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
1398
|
+
ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1399
|
+
return ImagePositionPosition2;
|
|
1400
|
+
})(ImagePositionPosition || {});
|
|
1401
|
+
var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
1402
|
+
CardDataBackgroundType2["COLOR"] = "COLOR";
|
|
1403
|
+
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1404
|
+
return CardDataBackgroundType2;
|
|
1405
|
+
})(CardDataBackgroundType || {});
|
|
1406
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
1407
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
1408
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
1409
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
1410
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
1411
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
1412
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
1413
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
1414
|
+
return ListStyle2;
|
|
1415
|
+
})(ListStyle || {});
|
|
1416
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
1417
|
+
Indentation2["NESTED"] = "NESTED";
|
|
1418
|
+
Indentation2["FLAT"] = "FLAT";
|
|
1419
|
+
return Indentation2;
|
|
1420
|
+
})(Indentation || {});
|
|
1151
1421
|
var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
1152
1422
|
ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1153
1423
|
ModerationStatusStatus2["APPROVED"] = "APPROVED";
|
|
@@ -1354,8 +1624,8 @@ async function getPost2(postId, options) {
|
|
|
1354
1624
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1355
1625
|
}
|
|
1356
1626
|
]),
|
|
1357
|
-
["post.richContent"
|
|
1358
|
-
);
|
|
1627
|
+
["post.richContent"]
|
|
1628
|
+
)?.post;
|
|
1359
1629
|
} catch (err) {
|
|
1360
1630
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1361
1631
|
err,
|
|
@@ -1402,7 +1672,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1402
1672
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1403
1673
|
}
|
|
1404
1674
|
]),
|
|
1405
|
-
["post.richContent"
|
|
1675
|
+
["post.richContent"]
|
|
1406
1676
|
);
|
|
1407
1677
|
} catch (err) {
|
|
1408
1678
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1461,7 +1731,7 @@ async function listPosts2(options) {
|
|
|
1461
1731
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1462
1732
|
}
|
|
1463
1733
|
]),
|
|
1464
|
-
["posts.richContent"
|
|
1734
|
+
["posts.richContent"]
|
|
1465
1735
|
);
|
|
1466
1736
|
} catch (err) {
|
|
1467
1737
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1531,7 +1801,7 @@ function queryPosts2(options) {
|
|
|
1531
1801
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1532
1802
|
}
|
|
1533
1803
|
]),
|
|
1534
|
-
["posts.richContent"
|
|
1804
|
+
["posts.richContent"]
|
|
1535
1805
|
);
|
|
1536
1806
|
return {
|
|
1537
1807
|
items: transformedData?.posts,
|
|
@@ -1579,7 +1849,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1579
1849
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1580
1850
|
}
|
|
1581
1851
|
]),
|
|
1582
|
-
["posts.richContent"
|
|
1852
|
+
["posts.richContent"]
|
|
1583
1853
|
);
|
|
1584
1854
|
} catch (err) {
|
|
1585
1855
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1693,8 +1963,7 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
|
1693
1963
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1694
1964
|
paths: [{ path: "metadata.eventTime" }]
|
|
1695
1965
|
}
|
|
1696
|
-
])
|
|
1697
|
-
["entity.rich_content"]
|
|
1966
|
+
])
|
|
1698
1967
|
)
|
|
1699
1968
|
)();
|
|
1700
1969
|
var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1706,8 +1975,7 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
|
1706
1975
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1707
1976
|
paths: [{ path: "metadata.eventTime" }]
|
|
1708
1977
|
}
|
|
1709
|
-
])
|
|
1710
|
-
["entity.rich_content"]
|
|
1978
|
+
])
|
|
1711
1979
|
)
|
|
1712
1980
|
)();
|
|
1713
1981
|
var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1746,6 +2014,24 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1746
2014
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1747
2015
|
paths: [
|
|
1748
2016
|
{ path: "entity.metrics.averageRating" },
|
|
2017
|
+
{
|
|
2018
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
2034
|
+
},
|
|
1749
2035
|
{
|
|
1750
2036
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1751
2037
|
},
|
|
@@ -1777,15 +2063,46 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1777
2063
|
{
|
|
1778
2064
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1779
2065
|
},
|
|
1780
|
-
{
|
|
2066
|
+
{
|
|
2067
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
2083
|
+
},
|
|
2084
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
2085
|
+
{
|
|
2086
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2096
|
+
},
|
|
2097
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2098
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1781
2099
|
]
|
|
1782
2100
|
},
|
|
1783
2101
|
{
|
|
1784
2102
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
1785
2103
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1786
2104
|
}
|
|
1787
|
-
])
|
|
1788
|
-
["entity.rich_content"]
|
|
2105
|
+
])
|
|
1789
2106
|
)
|
|
1790
2107
|
)();
|
|
1791
2108
|
var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1824,6 +2141,24 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1824
2141
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1825
2142
|
paths: [
|
|
1826
2143
|
{ path: "entity.metrics.averageRating" },
|
|
2144
|
+
{
|
|
2145
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
2161
|
+
},
|
|
1827
2162
|
{
|
|
1828
2163
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1829
2164
|
},
|
|
@@ -1855,15 +2190,46 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1855
2190
|
{
|
|
1856
2191
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1857
2192
|
},
|
|
1858
|
-
{
|
|
2193
|
+
{
|
|
2194
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
2210
|
+
},
|
|
2211
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
2212
|
+
{
|
|
2213
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2223
|
+
},
|
|
2224
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2225
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1859
2226
|
]
|
|
1860
2227
|
},
|
|
1861
2228
|
{
|
|
1862
2229
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
1863
2230
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1864
2231
|
}
|
|
1865
|
-
])
|
|
1866
|
-
["entity.rich_content"]
|
|
2232
|
+
])
|
|
1867
2233
|
)
|
|
1868
2234
|
)();
|
|
1869
2235
|
var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1902,6 +2268,24 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1902
2268
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1903
2269
|
paths: [
|
|
1904
2270
|
{ path: "entity.metrics.averageRating" },
|
|
2271
|
+
{
|
|
2272
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
2288
|
+
},
|
|
1905
2289
|
{
|
|
1906
2290
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1907
2291
|
},
|
|
@@ -1933,15 +2317,46 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1933
2317
|
{
|
|
1934
2318
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1935
2319
|
},
|
|
1936
|
-
{
|
|
2320
|
+
{
|
|
2321
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
2337
|
+
},
|
|
2338
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
2339
|
+
{
|
|
2340
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2350
|
+
},
|
|
2351
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2352
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1937
2353
|
]
|
|
1938
2354
|
},
|
|
1939
2355
|
{
|
|
1940
2356
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
1941
2357
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1942
2358
|
}
|
|
1943
|
-
])
|
|
1944
|
-
["entity.rich_content"]
|
|
2359
|
+
])
|
|
1945
2360
|
)
|
|
1946
2361
|
)();
|
|
1947
2362
|
|
|
@@ -1977,9 +2392,11 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
1977
2392
|
Alignment,
|
|
1978
2393
|
AppType,
|
|
1979
2394
|
AspectRatio,
|
|
2395
|
+
BackdropType,
|
|
1980
2396
|
BackgroundType,
|
|
1981
2397
|
BannerOrigin,
|
|
1982
2398
|
ButtonDataType,
|
|
2399
|
+
CardDataBackgroundType,
|
|
1983
2400
|
Crop,
|
|
1984
2401
|
DecorationType,
|
|
1985
2402
|
DesignTarget,
|
|
@@ -1990,11 +2407,17 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
1990
2407
|
GIFType,
|
|
1991
2408
|
GetPostTemplatesSort,
|
|
1992
2409
|
GetPostsSort,
|
|
2410
|
+
GradientType,
|
|
1993
2411
|
ImagePosition,
|
|
2412
|
+
ImagePositionPosition,
|
|
2413
|
+
ImageScalingScaling,
|
|
2414
|
+
Indentation,
|
|
1994
2415
|
InitialExpandedItems,
|
|
1995
2416
|
Layout,
|
|
2417
|
+
LayoutDataBackgroundType,
|
|
1996
2418
|
LayoutType,
|
|
1997
2419
|
LineStyle,
|
|
2420
|
+
ListStyle,
|
|
1998
2421
|
MapType,
|
|
1999
2422
|
ModerationStatusStatus,
|
|
2000
2423
|
NodeType,
|
|
@@ -2004,6 +2427,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
2004
2427
|
Origin,
|
|
2005
2428
|
Placement,
|
|
2006
2429
|
PluginContainerDataAlignment,
|
|
2430
|
+
PollDesignBackgroundType,
|
|
2007
2431
|
PollLayoutDirection,
|
|
2008
2432
|
PollLayoutType,
|
|
2009
2433
|
Position,
|