@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
|
@@ -380,6 +380,24 @@ function getPost(payload) {
|
|
|
380
380
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
381
381
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
382
382
|
{ path: "post.metrics.averageRating" },
|
|
383
|
+
{
|
|
384
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
400
|
+
},
|
|
383
401
|
{
|
|
384
402
|
path: "post.richContent.nodes.galleryData.items.image.media.duration"
|
|
385
403
|
},
|
|
@@ -411,7 +429,39 @@ function getPost(payload) {
|
|
|
411
429
|
{
|
|
412
430
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
413
431
|
},
|
|
414
|
-
{
|
|
432
|
+
{
|
|
433
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerY"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
449
|
+
},
|
|
450
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" },
|
|
451
|
+
{
|
|
452
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerX"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerY"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
path: "post.richContent.nodes.cardData.background.gradient.stops.position"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
462
|
+
},
|
|
463
|
+
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
464
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
415
465
|
]
|
|
416
466
|
}
|
|
417
467
|
])
|
|
@@ -478,6 +528,24 @@ function getPostBySlug(payload) {
|
|
|
478
528
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
479
529
|
{ path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
480
530
|
{ path: "post.metrics.averageRating" },
|
|
531
|
+
{
|
|
532
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
548
|
+
},
|
|
481
549
|
{
|
|
482
550
|
path: "post.richContent.nodes.galleryData.items.image.media.duration"
|
|
483
551
|
},
|
|
@@ -509,7 +577,39 @@ function getPostBySlug(payload) {
|
|
|
509
577
|
{
|
|
510
578
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
511
579
|
},
|
|
512
|
-
{
|
|
580
|
+
{
|
|
581
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
path: "post.richContent.nodes.layoutData.background.gradient.centerY"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
597
|
+
},
|
|
598
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" },
|
|
599
|
+
{
|
|
600
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerX"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
path: "post.richContent.nodes.cardData.background.gradient.centerY"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
path: "post.richContent.nodes.cardData.background.gradient.stops.position"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
610
|
+
},
|
|
611
|
+
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
612
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
513
613
|
]
|
|
514
614
|
}
|
|
515
615
|
])
|
|
@@ -578,6 +678,24 @@ function listPosts(payload) {
|
|
|
578
678
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
579
679
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
580
680
|
{ path: "posts.metrics.averageRating" },
|
|
681
|
+
{
|
|
682
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
698
|
+
},
|
|
581
699
|
{
|
|
582
700
|
path: "posts.richContent.nodes.galleryData.items.image.media.duration"
|
|
583
701
|
},
|
|
@@ -611,7 +729,39 @@ function listPosts(payload) {
|
|
|
611
729
|
{
|
|
612
730
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
613
731
|
},
|
|
614
|
-
{
|
|
732
|
+
{
|
|
733
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
749
|
+
},
|
|
750
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" },
|
|
751
|
+
{
|
|
752
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerX"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerY"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
762
|
+
},
|
|
763
|
+
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
764
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
615
765
|
]
|
|
616
766
|
}
|
|
617
767
|
])
|
|
@@ -680,6 +830,24 @@ function queryPosts(payload) {
|
|
|
680
830
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
|
|
681
831
|
{ path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
|
|
682
832
|
{ path: "posts.metrics.averageRating" },
|
|
833
|
+
{
|
|
834
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
850
|
+
},
|
|
683
851
|
{
|
|
684
852
|
path: "posts.richContent.nodes.galleryData.items.image.media.duration"
|
|
685
853
|
},
|
|
@@ -713,7 +881,39 @@ function queryPosts(payload) {
|
|
|
713
881
|
{
|
|
714
882
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
715
883
|
},
|
|
716
|
-
{
|
|
884
|
+
{
|
|
885
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
901
|
+
},
|
|
902
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" },
|
|
903
|
+
{
|
|
904
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerX"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
path: "posts.richContent.nodes.cardData.background.gradient.centerY"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
914
|
+
},
|
|
915
|
+
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
916
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
717
917
|
]
|
|
718
918
|
}
|
|
719
919
|
])
|
|
@@ -791,8 +991,20 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
791
991
|
NodeType2["LAYOUT"] = "LAYOUT";
|
|
792
992
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
793
993
|
NodeType2["SHAPE"] = "SHAPE";
|
|
994
|
+
NodeType2["CARD"] = "CARD";
|
|
995
|
+
NodeType2["TOC"] = "TOC";
|
|
794
996
|
return NodeType2;
|
|
795
997
|
})(NodeType || {});
|
|
998
|
+
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
999
|
+
BackgroundType2["COLOR"] = "COLOR";
|
|
1000
|
+
BackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1001
|
+
return BackgroundType2;
|
|
1002
|
+
})(BackgroundType || {});
|
|
1003
|
+
var GradientType = /* @__PURE__ */ ((GradientType2) => {
|
|
1004
|
+
GradientType2["LINEAR"] = "LINEAR";
|
|
1005
|
+
GradientType2["RADIAL"] = "RADIAL";
|
|
1006
|
+
return GradientType2;
|
|
1007
|
+
})(GradientType || {});
|
|
796
1008
|
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
797
1009
|
WidthType2["CONTENT"] = "CONTENT";
|
|
798
1010
|
WidthType2["SMALL"] = "SMALL";
|
|
@@ -891,6 +1103,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
891
1103
|
Source2["HTML"] = "HTML";
|
|
892
1104
|
Source2["ADSENSE"] = "ADSENSE";
|
|
893
1105
|
Source2["AI"] = "AI";
|
|
1106
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
894
1107
|
return Source2;
|
|
895
1108
|
})(Source || {});
|
|
896
1109
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -928,12 +1141,12 @@ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
|
|
|
928
1141
|
PollLayoutDirection2["RTL"] = "RTL";
|
|
929
1142
|
return PollLayoutDirection2;
|
|
930
1143
|
})(PollLayoutDirection || {});
|
|
931
|
-
var
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
return
|
|
936
|
-
})(
|
|
1144
|
+
var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
|
|
1145
|
+
PollDesignBackgroundType2["COLOR"] = "COLOR";
|
|
1146
|
+
PollDesignBackgroundType2["IMAGE"] = "IMAGE";
|
|
1147
|
+
PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1148
|
+
return PollDesignBackgroundType2;
|
|
1149
|
+
})(PollDesignBackgroundType || {});
|
|
937
1150
|
var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
938
1151
|
DecorationType2["BOLD"] = "BOLD";
|
|
939
1152
|
DecorationType2["ITALIC"] = "ITALIC";
|
|
@@ -1020,12 +1233,12 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
1020
1233
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
1021
1234
|
return NullValue2;
|
|
1022
1235
|
})(NullValue || {});
|
|
1023
|
-
var
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
return
|
|
1028
|
-
})(
|
|
1236
|
+
var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
|
|
1237
|
+
ImageScalingScaling2["AUTO"] = "AUTO";
|
|
1238
|
+
ImageScalingScaling2["CONTAIN"] = "CONTAIN";
|
|
1239
|
+
ImageScalingScaling2["COVER"] = "COVER";
|
|
1240
|
+
return ImageScalingScaling2;
|
|
1241
|
+
})(ImageScalingScaling || {});
|
|
1029
1242
|
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
1030
1243
|
ImagePosition2["CENTER"] = "CENTER";
|
|
1031
1244
|
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
@@ -1043,6 +1256,16 @@ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
|
|
|
1043
1256
|
BannerOrigin2["LAYOUT"] = "LAYOUT";
|
|
1044
1257
|
return BannerOrigin2;
|
|
1045
1258
|
})(BannerOrigin || {});
|
|
1259
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1260
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1261
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1262
|
+
return LayoutDataBackgroundType2;
|
|
1263
|
+
})(LayoutDataBackgroundType || {});
|
|
1264
|
+
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1265
|
+
BackdropType2["COLOR"] = "COLOR";
|
|
1266
|
+
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
1267
|
+
return BackdropType2;
|
|
1268
|
+
})(BackdropType || {});
|
|
1046
1269
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1047
1270
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1048
1271
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -1059,6 +1282,44 @@ var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
|
1059
1282
|
DesignTarget2["CELL"] = "CELL";
|
|
1060
1283
|
return DesignTarget2;
|
|
1061
1284
|
})(DesignTarget || {});
|
|
1285
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
1286
|
+
Scaling2["AUTO"] = "AUTO";
|
|
1287
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
1288
|
+
Scaling2["COVER"] = "COVER";
|
|
1289
|
+
return Scaling2;
|
|
1290
|
+
})(Scaling || {});
|
|
1291
|
+
var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
|
|
1292
|
+
ImagePositionPosition2["CENTER"] = "CENTER";
|
|
1293
|
+
ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
1294
|
+
ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
1295
|
+
ImagePositionPosition2["TOP"] = "TOP";
|
|
1296
|
+
ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
1297
|
+
ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
1298
|
+
ImagePositionPosition2["BOTTOM"] = "BOTTOM";
|
|
1299
|
+
ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
1300
|
+
ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1301
|
+
return ImagePositionPosition2;
|
|
1302
|
+
})(ImagePositionPosition || {});
|
|
1303
|
+
var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
1304
|
+
CardDataBackgroundType2["COLOR"] = "COLOR";
|
|
1305
|
+
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1306
|
+
return CardDataBackgroundType2;
|
|
1307
|
+
})(CardDataBackgroundType || {});
|
|
1308
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
1309
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
1310
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
1311
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
1312
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
1313
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
1314
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
1315
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
1316
|
+
return ListStyle2;
|
|
1317
|
+
})(ListStyle || {});
|
|
1318
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
1319
|
+
Indentation2["NESTED"] = "NESTED";
|
|
1320
|
+
Indentation2["FLAT"] = "FLAT";
|
|
1321
|
+
return Indentation2;
|
|
1322
|
+
})(Indentation || {});
|
|
1062
1323
|
var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
1063
1324
|
ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1064
1325
|
ModerationStatusStatus2["APPROVED"] = "APPROVED";
|
|
@@ -1265,8 +1526,8 @@ async function getPost2(postId, options) {
|
|
|
1265
1526
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1266
1527
|
}
|
|
1267
1528
|
]),
|
|
1268
|
-
["post.richContent"
|
|
1269
|
-
);
|
|
1529
|
+
["post.richContent"]
|
|
1530
|
+
)?.post;
|
|
1270
1531
|
} catch (err) {
|
|
1271
1532
|
const transformedError = sdkTransformError(
|
|
1272
1533
|
err,
|
|
@@ -1313,7 +1574,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1313
1574
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1314
1575
|
}
|
|
1315
1576
|
]),
|
|
1316
|
-
["post.richContent"
|
|
1577
|
+
["post.richContent"]
|
|
1317
1578
|
);
|
|
1318
1579
|
} catch (err) {
|
|
1319
1580
|
const transformedError = sdkTransformError(
|
|
@@ -1372,7 +1633,7 @@ async function listPosts2(options) {
|
|
|
1372
1633
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1373
1634
|
}
|
|
1374
1635
|
]),
|
|
1375
|
-
["posts.richContent"
|
|
1636
|
+
["posts.richContent"]
|
|
1376
1637
|
);
|
|
1377
1638
|
} catch (err) {
|
|
1378
1639
|
const transformedError = sdkTransformError(
|
|
@@ -1442,7 +1703,7 @@ function queryPosts2(options) {
|
|
|
1442
1703
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1443
1704
|
}
|
|
1444
1705
|
]),
|
|
1445
|
-
["posts.richContent"
|
|
1706
|
+
["posts.richContent"]
|
|
1446
1707
|
);
|
|
1447
1708
|
return {
|
|
1448
1709
|
items: transformedData?.posts,
|
|
@@ -1490,7 +1751,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1490
1751
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1491
1752
|
}
|
|
1492
1753
|
]),
|
|
1493
|
-
["posts.richContent"
|
|
1754
|
+
["posts.richContent"]
|
|
1494
1755
|
);
|
|
1495
1756
|
} catch (err) {
|
|
1496
1757
|
const transformedError = sdkTransformError(
|
|
@@ -1604,8 +1865,7 @@ var onPostLiked = EventDefinition(
|
|
|
1604
1865
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1605
1866
|
paths: [{ path: "metadata.eventTime" }]
|
|
1606
1867
|
}
|
|
1607
|
-
])
|
|
1608
|
-
["entity.rich_content"]
|
|
1868
|
+
])
|
|
1609
1869
|
)
|
|
1610
1870
|
)();
|
|
1611
1871
|
var onPostUnliked = EventDefinition(
|
|
@@ -1617,8 +1877,7 @@ var onPostUnliked = EventDefinition(
|
|
|
1617
1877
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1618
1878
|
paths: [{ path: "metadata.eventTime" }]
|
|
1619
1879
|
}
|
|
1620
|
-
])
|
|
1621
|
-
["entity.rich_content"]
|
|
1880
|
+
])
|
|
1622
1881
|
)
|
|
1623
1882
|
)();
|
|
1624
1883
|
var onPostCreated = EventDefinition(
|
|
@@ -1657,6 +1916,24 @@ var onPostCreated = EventDefinition(
|
|
|
1657
1916
|
transformFn: transformRESTFloatToSDKFloat2,
|
|
1658
1917
|
paths: [
|
|
1659
1918
|
{ path: "entity.metrics.averageRating" },
|
|
1919
|
+
{
|
|
1920
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
1936
|
+
},
|
|
1660
1937
|
{
|
|
1661
1938
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1662
1939
|
},
|
|
@@ -1688,15 +1965,46 @@ var onPostCreated = EventDefinition(
|
|
|
1688
1965
|
{
|
|
1689
1966
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1690
1967
|
},
|
|
1691
|
-
{
|
|
1968
|
+
{
|
|
1969
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
1985
|
+
},
|
|
1986
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
1987
|
+
{
|
|
1988
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1998
|
+
},
|
|
1999
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2000
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1692
2001
|
]
|
|
1693
2002
|
},
|
|
1694
2003
|
{
|
|
1695
2004
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
1696
2005
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1697
2006
|
}
|
|
1698
|
-
])
|
|
1699
|
-
["entity.rich_content"]
|
|
2007
|
+
])
|
|
1700
2008
|
)
|
|
1701
2009
|
)();
|
|
1702
2010
|
var onPostDeleted = EventDefinition(
|
|
@@ -1735,6 +2043,24 @@ var onPostDeleted = EventDefinition(
|
|
|
1735
2043
|
transformFn: transformRESTFloatToSDKFloat2,
|
|
1736
2044
|
paths: [
|
|
1737
2045
|
{ path: "entity.metrics.averageRating" },
|
|
2046
|
+
{
|
|
2047
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
2063
|
+
},
|
|
1738
2064
|
{
|
|
1739
2065
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1740
2066
|
},
|
|
@@ -1766,15 +2092,46 @@ var onPostDeleted = EventDefinition(
|
|
|
1766
2092
|
{
|
|
1767
2093
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1768
2094
|
},
|
|
1769
|
-
{
|
|
2095
|
+
{
|
|
2096
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
2112
|
+
},
|
|
2113
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
2114
|
+
{
|
|
2115
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2125
|
+
},
|
|
2126
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2127
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1770
2128
|
]
|
|
1771
2129
|
},
|
|
1772
2130
|
{
|
|
1773
2131
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
1774
2132
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1775
2133
|
}
|
|
1776
|
-
])
|
|
1777
|
-
["entity.rich_content"]
|
|
2134
|
+
])
|
|
1778
2135
|
)
|
|
1779
2136
|
)();
|
|
1780
2137
|
var onPostUpdated = EventDefinition(
|
|
@@ -1813,6 +2170,24 @@ var onPostUpdated = EventDefinition(
|
|
|
1813
2170
|
transformFn: transformRESTFloatToSDKFloat2,
|
|
1814
2171
|
paths: [
|
|
1815
2172
|
{ path: "entity.metrics.averageRating" },
|
|
2173
|
+
{
|
|
2174
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
2190
|
+
},
|
|
1816
2191
|
{
|
|
1817
2192
|
path: "entity.richContent.nodes.galleryData.items.image.media.duration"
|
|
1818
2193
|
},
|
|
@@ -1844,15 +2219,46 @@ var onPostUpdated = EventDefinition(
|
|
|
1844
2219
|
{
|
|
1845
2220
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1846
2221
|
},
|
|
1847
|
-
{
|
|
2222
|
+
{
|
|
2223
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
2239
|
+
},
|
|
2240
|
+
{ path: "entity.richContent.nodes.shapeData.shape.duration" },
|
|
2241
|
+
{
|
|
2242
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerX"
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
path: "entity.richContent.nodes.cardData.background.gradient.centerY"
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2252
|
+
},
|
|
2253
|
+
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2254
|
+
{ path: "entity.richContent.nodes.tocData.itemSpacing" }
|
|
1848
2255
|
]
|
|
1849
2256
|
},
|
|
1850
2257
|
{
|
|
1851
2258
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
1852
2259
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
1853
2260
|
}
|
|
1854
|
-
])
|
|
1855
|
-
["entity.rich_content"]
|
|
2261
|
+
])
|
|
1856
2262
|
)
|
|
1857
2263
|
)();
|
|
1858
2264
|
|
|
@@ -1887,9 +2293,11 @@ export {
|
|
|
1887
2293
|
Alignment,
|
|
1888
2294
|
AppType,
|
|
1889
2295
|
AspectRatio,
|
|
2296
|
+
BackdropType,
|
|
1890
2297
|
BackgroundType,
|
|
1891
2298
|
BannerOrigin,
|
|
1892
2299
|
ButtonDataType,
|
|
2300
|
+
CardDataBackgroundType,
|
|
1893
2301
|
Crop,
|
|
1894
2302
|
DecorationType,
|
|
1895
2303
|
DesignTarget,
|
|
@@ -1900,11 +2308,17 @@ export {
|
|
|
1900
2308
|
GIFType,
|
|
1901
2309
|
GetPostTemplatesSort,
|
|
1902
2310
|
GetPostsSort,
|
|
2311
|
+
GradientType,
|
|
1903
2312
|
ImagePosition,
|
|
2313
|
+
ImagePositionPosition,
|
|
2314
|
+
ImageScalingScaling,
|
|
2315
|
+
Indentation,
|
|
1904
2316
|
InitialExpandedItems,
|
|
1905
2317
|
Layout,
|
|
2318
|
+
LayoutDataBackgroundType,
|
|
1906
2319
|
LayoutType,
|
|
1907
2320
|
LineStyle,
|
|
2321
|
+
ListStyle,
|
|
1908
2322
|
MapType,
|
|
1909
2323
|
ModerationStatusStatus,
|
|
1910
2324
|
NodeType,
|
|
@@ -1914,6 +2328,7 @@ export {
|
|
|
1914
2328
|
Origin,
|
|
1915
2329
|
Placement,
|
|
1916
2330
|
PluginContainerDataAlignment,
|
|
2331
|
+
PollDesignBackgroundType,
|
|
1917
2332
|
PollLayoutDirection,
|
|
1918
2333
|
PollLayoutType,
|
|
1919
2334
|
Position,
|