@wix/auto_sdk_blog_posts 1.0.161 → 1.0.162
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 +15 -11
- package/build/cjs/index.js +264 -42
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +405 -367
- package/build/cjs/index.typings.js +161 -37
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +376 -350
- package/build/cjs/meta.js +155 -31
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +86 -84
- package/build/cjs/schemas.js +153 -147
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +264 -42
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +405 -367
- package/build/es/index.typings.mjs +161 -37
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +376 -350
- package/build/es/meta.mjs +155 -31
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +86 -84
- package/build/es/schemas.mjs +153 -147
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +264 -42
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +405 -367
- package/build/internal/cjs/index.typings.js +161 -37
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +376 -350
- package/build/internal/cjs/meta.js +155 -31
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +86 -84
- package/build/internal/cjs/schemas.js +153 -147
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +264 -42
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +405 -367
- package/build/internal/es/index.typings.mjs +161 -37
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +376 -350
- package/build/internal/es/meta.mjs +155 -31
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +86 -84
- package/build/internal/es/schemas.mjs +153 -147
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -508,6 +508,10 @@ function getPost(payload) {
|
|
|
508
508
|
},
|
|
509
509
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
510
510
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
511
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
512
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
513
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
514
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
511
515
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
512
516
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
513
517
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -525,9 +529,27 @@ function getPost(payload) {
|
|
|
525
529
|
{
|
|
526
530
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
527
531
|
},
|
|
532
|
+
{
|
|
533
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
540
|
+
},
|
|
528
541
|
{
|
|
529
542
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
530
543
|
},
|
|
544
|
+
{
|
|
545
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
552
|
+
},
|
|
531
553
|
{
|
|
532
554
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
533
555
|
},
|
|
@@ -559,6 +581,15 @@ function getPost(payload) {
|
|
|
559
581
|
{
|
|
560
582
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
561
583
|
},
|
|
584
|
+
{
|
|
585
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
592
|
+
},
|
|
562
593
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
563
594
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
564
595
|
{
|
|
@@ -659,6 +690,10 @@ function getPostBySlug(payload) {
|
|
|
659
690
|
},
|
|
660
691
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
661
692
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
693
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
694
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
695
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
696
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
662
697
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
663
698
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
664
699
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -676,9 +711,27 @@ function getPostBySlug(payload) {
|
|
|
676
711
|
{
|
|
677
712
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
678
713
|
},
|
|
714
|
+
{
|
|
715
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
722
|
+
},
|
|
679
723
|
{
|
|
680
724
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
681
725
|
},
|
|
726
|
+
{
|
|
727
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
734
|
+
},
|
|
682
735
|
{
|
|
683
736
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
684
737
|
},
|
|
@@ -710,6 +763,15 @@ function getPostBySlug(payload) {
|
|
|
710
763
|
{
|
|
711
764
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
712
765
|
},
|
|
766
|
+
{
|
|
767
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
774
|
+
},
|
|
713
775
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
714
776
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
715
777
|
{
|
|
@@ -814,6 +876,10 @@ function listPosts(payload) {
|
|
|
814
876
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
815
877
|
},
|
|
816
878
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
879
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
880
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
881
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
882
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
817
883
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
818
884
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
819
885
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -831,9 +897,27 @@ function listPosts(payload) {
|
|
|
831
897
|
{
|
|
832
898
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
833
899
|
},
|
|
900
|
+
{
|
|
901
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
908
|
+
},
|
|
834
909
|
{
|
|
835
910
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
836
911
|
},
|
|
912
|
+
{
|
|
913
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
920
|
+
},
|
|
837
921
|
{
|
|
838
922
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
839
923
|
},
|
|
@@ -865,6 +949,15 @@ function listPosts(payload) {
|
|
|
865
949
|
{
|
|
866
950
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
867
951
|
},
|
|
952
|
+
{
|
|
953
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
960
|
+
},
|
|
868
961
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
869
962
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
870
963
|
{
|
|
@@ -969,6 +1062,10 @@ function queryPosts(payload) {
|
|
|
969
1062
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
970
1063
|
},
|
|
971
1064
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
1065
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
1066
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
1067
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
1068
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
972
1069
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
973
1070
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
974
1071
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -986,9 +1083,27 @@ function queryPosts(payload) {
|
|
|
986
1083
|
{
|
|
987
1084
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
988
1085
|
},
|
|
1086
|
+
{
|
|
1087
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1094
|
+
},
|
|
989
1095
|
{
|
|
990
1096
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
991
1097
|
},
|
|
1098
|
+
{
|
|
1099
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1106
|
+
},
|
|
992
1107
|
{
|
|
993
1108
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
994
1109
|
},
|
|
@@ -1020,6 +1135,15 @@ function queryPosts(payload) {
|
|
|
1020
1135
|
{
|
|
1021
1136
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1022
1137
|
},
|
|
1138
|
+
{
|
|
1139
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1146
|
+
},
|
|
1023
1147
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
1024
1148
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
1025
1149
|
{
|
|
@@ -1375,6 +1499,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1375
1499
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1376
1500
|
return ImagePosition2;
|
|
1377
1501
|
})(ImagePosition || {});
|
|
1502
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1503
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1504
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1505
|
+
return LayoutDataBackgroundType2;
|
|
1506
|
+
})(LayoutDataBackgroundType || {});
|
|
1378
1507
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1379
1508
|
Origin2["IMAGE"] = "IMAGE";
|
|
1380
1509
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -1385,11 +1514,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1385
1514
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1386
1515
|
return BannerPosition2;
|
|
1387
1516
|
})(BannerPosition || {});
|
|
1388
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1389
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1390
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1391
|
-
return LayoutDataBackgroundType2;
|
|
1392
|
-
})(LayoutDataBackgroundType || {});
|
|
1393
1517
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1394
1518
|
BackdropType2["COLOR"] = "COLOR";
|
|
1395
1519
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1488,6 +1612,14 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
1488
1612
|
Status2["REJECTED"] = "REJECTED";
|
|
1489
1613
|
return Status2;
|
|
1490
1614
|
})(Status || {});
|
|
1615
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1616
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1617
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1618
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1619
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1620
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1621
|
+
return WebhookIdentityType2;
|
|
1622
|
+
})(WebhookIdentityType || {});
|
|
1491
1623
|
var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
|
|
1492
1624
|
QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
|
|
1493
1625
|
QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
|
|
@@ -1500,22 +1632,16 @@ var Order = /* @__PURE__ */ ((Order2) => {
|
|
|
1500
1632
|
Order2["NEWEST"] = "NEWEST";
|
|
1501
1633
|
return Order2;
|
|
1502
1634
|
})(Order || {});
|
|
1503
|
-
var
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1514
|
-
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1515
|
-
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1516
|
-
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1517
|
-
return Field2;
|
|
1518
|
-
})(Field || {});
|
|
1635
|
+
var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
|
|
1636
|
+
GetPostsSort2["FEED"] = "FEED";
|
|
1637
|
+
GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1638
|
+
GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
1639
|
+
GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1640
|
+
GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1641
|
+
GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
|
|
1642
|
+
GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
|
|
1643
|
+
return GetPostsSort2;
|
|
1644
|
+
})(GetPostsSort || {});
|
|
1519
1645
|
var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
1520
1646
|
PostFieldField2["UNKNOWN"] = "UNKNOWN";
|
|
1521
1647
|
PostFieldField2["URL"] = "URL";
|
|
@@ -1527,16 +1653,14 @@ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
|
1527
1653
|
PostFieldField2["REFERENCE_ID"] = "REFERENCE_ID";
|
|
1528
1654
|
return PostFieldField2;
|
|
1529
1655
|
})(PostFieldField || {});
|
|
1530
|
-
var
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
return GetPostsSort2;
|
|
1539
|
-
})(GetPostsSort || {});
|
|
1656
|
+
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1657
|
+
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1658
|
+
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1659
|
+
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1660
|
+
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1661
|
+
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1662
|
+
return Field2;
|
|
1663
|
+
})(Field || {});
|
|
1540
1664
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1541
1665
|
SortOrder2["ASC"] = "ASC";
|
|
1542
1666
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1635,8 +1759,8 @@ async function getPost2(postId, options) {
|
|
|
1635
1759
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1636
1760
|
}
|
|
1637
1761
|
]),
|
|
1638
|
-
["post.richContent"]
|
|
1639
|
-
)
|
|
1762
|
+
["post.richContent", "post.rich_content"]
|
|
1763
|
+
);
|
|
1640
1764
|
} catch (err) {
|
|
1641
1765
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1642
1766
|
err,
|
|
@@ -1683,7 +1807,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1683
1807
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1684
1808
|
}
|
|
1685
1809
|
]),
|
|
1686
|
-
["post.richContent"]
|
|
1810
|
+
["post.richContent", "post.rich_content"]
|
|
1687
1811
|
);
|
|
1688
1812
|
} catch (err) {
|
|
1689
1813
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1742,7 +1866,7 @@ async function listPosts2(options) {
|
|
|
1742
1866
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1743
1867
|
}
|
|
1744
1868
|
]),
|
|
1745
|
-
["posts.richContent"]
|
|
1869
|
+
["posts.richContent", "posts.rich_content"]
|
|
1746
1870
|
);
|
|
1747
1871
|
} catch (err) {
|
|
1748
1872
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1812,7 +1936,7 @@ function queryPosts2(options) {
|
|
|
1812
1936
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1813
1937
|
}
|
|
1814
1938
|
]),
|
|
1815
|
-
["posts.richContent"]
|
|
1939
|
+
["posts.richContent", "posts.rich_content"]
|
|
1816
1940
|
);
|
|
1817
1941
|
return {
|
|
1818
1942
|
items: transformedData?.posts,
|
|
@@ -1860,7 +1984,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1860
1984
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1861
1985
|
}
|
|
1862
1986
|
]),
|
|
1863
|
-
["posts.richContent"]
|
|
1987
|
+
["posts.richContent", "posts.rich_content"]
|
|
1864
1988
|
);
|
|
1865
1989
|
} catch (err) {
|
|
1866
1990
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1974,7 +2098,8 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
|
1974
2098
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1975
2099
|
paths: [{ path: "metadata.eventTime" }]
|
|
1976
2100
|
}
|
|
1977
|
-
])
|
|
2101
|
+
]),
|
|
2102
|
+
["entity.rich_content"]
|
|
1978
2103
|
)
|
|
1979
2104
|
)();
|
|
1980
2105
|
var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1986,7 +2111,8 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
|
1986
2111
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1987
2112
|
paths: [{ path: "metadata.eventTime" }]
|
|
1988
2113
|
}
|
|
1989
|
-
])
|
|
2114
|
+
]),
|
|
2115
|
+
["entity.rich_content"]
|
|
1990
2116
|
)
|
|
1991
2117
|
)();
|
|
1992
2118
|
var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2054,6 +2180,10 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2054
2180
|
},
|
|
2055
2181
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
2056
2182
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2183
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2184
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2185
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2186
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
2057
2187
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
2058
2188
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
2059
2189
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -2071,9 +2201,27 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2071
2201
|
{
|
|
2072
2202
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2073
2203
|
},
|
|
2204
|
+
{
|
|
2205
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2212
|
+
},
|
|
2074
2213
|
{
|
|
2075
2214
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2076
2215
|
},
|
|
2216
|
+
{
|
|
2217
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2224
|
+
},
|
|
2077
2225
|
{
|
|
2078
2226
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2079
2227
|
},
|
|
@@ -2105,6 +2253,15 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2105
2253
|
{
|
|
2106
2254
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2107
2255
|
},
|
|
2256
|
+
{
|
|
2257
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2264
|
+
},
|
|
2108
2265
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2109
2266
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2110
2267
|
{
|
|
@@ -2116,7 +2273,8 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2116
2273
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2117
2274
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2118
2275
|
}
|
|
2119
|
-
])
|
|
2276
|
+
]),
|
|
2277
|
+
["entity.rich_content"]
|
|
2120
2278
|
)
|
|
2121
2279
|
)();
|
|
2122
2280
|
var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2184,6 +2342,10 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2184
2342
|
},
|
|
2185
2343
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
2186
2344
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2345
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2346
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2347
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2348
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
2187
2349
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
2188
2350
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
2189
2351
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -2201,9 +2363,27 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2201
2363
|
{
|
|
2202
2364
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2203
2365
|
},
|
|
2366
|
+
{
|
|
2367
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2374
|
+
},
|
|
2204
2375
|
{
|
|
2205
2376
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2206
2377
|
},
|
|
2378
|
+
{
|
|
2379
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2386
|
+
},
|
|
2207
2387
|
{
|
|
2208
2388
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2209
2389
|
},
|
|
@@ -2235,6 +2415,15 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2235
2415
|
{
|
|
2236
2416
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2237
2417
|
},
|
|
2418
|
+
{
|
|
2419
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2426
|
+
},
|
|
2238
2427
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2239
2428
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2240
2429
|
{
|
|
@@ -2246,7 +2435,8 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2246
2435
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2247
2436
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2248
2437
|
}
|
|
2249
|
-
])
|
|
2438
|
+
]),
|
|
2439
|
+
["entity.rich_content"]
|
|
2250
2440
|
)
|
|
2251
2441
|
)();
|
|
2252
2442
|
var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2314,6 +2504,10 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2314
2504
|
},
|
|
2315
2505
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
2316
2506
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2507
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2508
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2509
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2510
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
2317
2511
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
2318
2512
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
2319
2513
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -2331,9 +2525,27 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2331
2525
|
{
|
|
2332
2526
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2333
2527
|
},
|
|
2528
|
+
{
|
|
2529
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2536
|
+
},
|
|
2334
2537
|
{
|
|
2335
2538
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2336
2539
|
},
|
|
2540
|
+
{
|
|
2541
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2548
|
+
},
|
|
2337
2549
|
{
|
|
2338
2550
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2339
2551
|
},
|
|
@@ -2365,6 +2577,15 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2365
2577
|
{
|
|
2366
2578
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2367
2579
|
},
|
|
2580
|
+
{
|
|
2581
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2588
|
+
},
|
|
2368
2589
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2369
2590
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2370
2591
|
{
|
|
@@ -2376,7 +2597,8 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2376
2597
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2377
2598
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2378
2599
|
}
|
|
2379
|
-
])
|
|
2600
|
+
]),
|
|
2601
|
+
["entity.rich_content"]
|
|
2380
2602
|
)
|
|
2381
2603
|
)();
|
|
2382
2604
|
|