@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
|
@@ -409,6 +409,10 @@ function getPost(payload) {
|
|
|
409
409
|
},
|
|
410
410
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
411
411
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
412
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
413
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
414
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
415
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
412
416
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
413
417
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
414
418
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -426,9 +430,27 @@ function getPost(payload) {
|
|
|
426
430
|
{
|
|
427
431
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
428
432
|
},
|
|
433
|
+
{
|
|
434
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
441
|
+
},
|
|
429
442
|
{
|
|
430
443
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
431
444
|
},
|
|
445
|
+
{
|
|
446
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
453
|
+
},
|
|
432
454
|
{
|
|
433
455
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
434
456
|
},
|
|
@@ -460,6 +482,15 @@ function getPost(payload) {
|
|
|
460
482
|
{
|
|
461
483
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
462
484
|
},
|
|
485
|
+
{
|
|
486
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
493
|
+
},
|
|
463
494
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
464
495
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
465
496
|
{
|
|
@@ -560,6 +591,10 @@ function getPostBySlug(payload) {
|
|
|
560
591
|
},
|
|
561
592
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
562
593
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
594
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
595
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
596
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
597
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
563
598
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
564
599
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
565
600
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -577,9 +612,27 @@ function getPostBySlug(payload) {
|
|
|
577
612
|
{
|
|
578
613
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
579
614
|
},
|
|
615
|
+
{
|
|
616
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
623
|
+
},
|
|
580
624
|
{
|
|
581
625
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
582
626
|
},
|
|
627
|
+
{
|
|
628
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
635
|
+
},
|
|
583
636
|
{
|
|
584
637
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
585
638
|
},
|
|
@@ -611,6 +664,15 @@ function getPostBySlug(payload) {
|
|
|
611
664
|
{
|
|
612
665
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
613
666
|
},
|
|
667
|
+
{
|
|
668
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
675
|
+
},
|
|
614
676
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
615
677
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
616
678
|
{
|
|
@@ -715,6 +777,10 @@ function listPosts(payload) {
|
|
|
715
777
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
716
778
|
},
|
|
717
779
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
780
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
781
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
782
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
783
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
718
784
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
719
785
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
720
786
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -732,9 +798,27 @@ function listPosts(payload) {
|
|
|
732
798
|
{
|
|
733
799
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
734
800
|
},
|
|
801
|
+
{
|
|
802
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
809
|
+
},
|
|
735
810
|
{
|
|
736
811
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
737
812
|
},
|
|
813
|
+
{
|
|
814
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
821
|
+
},
|
|
738
822
|
{
|
|
739
823
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
740
824
|
},
|
|
@@ -766,6 +850,15 @@ function listPosts(payload) {
|
|
|
766
850
|
{
|
|
767
851
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
768
852
|
},
|
|
853
|
+
{
|
|
854
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
861
|
+
},
|
|
769
862
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
770
863
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
771
864
|
{
|
|
@@ -870,6 +963,10 @@ function queryPosts(payload) {
|
|
|
870
963
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
871
964
|
},
|
|
872
965
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
966
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
967
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
968
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
969
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
873
970
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
874
971
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
875
972
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -887,9 +984,27 @@ function queryPosts(payload) {
|
|
|
887
984
|
{
|
|
888
985
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
889
986
|
},
|
|
987
|
+
{
|
|
988
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
995
|
+
},
|
|
890
996
|
{
|
|
891
997
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
892
998
|
},
|
|
999
|
+
{
|
|
1000
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1007
|
+
},
|
|
893
1008
|
{
|
|
894
1009
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
895
1010
|
},
|
|
@@ -921,6 +1036,15 @@ function queryPosts(payload) {
|
|
|
921
1036
|
{
|
|
922
1037
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
923
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1047
|
+
},
|
|
924
1048
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
925
1049
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
926
1050
|
{
|
|
@@ -1276,6 +1400,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1276
1400
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1277
1401
|
return ImagePosition2;
|
|
1278
1402
|
})(ImagePosition || {});
|
|
1403
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1404
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1405
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1406
|
+
return LayoutDataBackgroundType2;
|
|
1407
|
+
})(LayoutDataBackgroundType || {});
|
|
1279
1408
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1280
1409
|
Origin2["IMAGE"] = "IMAGE";
|
|
1281
1410
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -1286,11 +1415,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1286
1415
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1287
1416
|
return BannerPosition2;
|
|
1288
1417
|
})(BannerPosition || {});
|
|
1289
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1290
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1291
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1292
|
-
return LayoutDataBackgroundType2;
|
|
1293
|
-
})(LayoutDataBackgroundType || {});
|
|
1294
1418
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1295
1419
|
BackdropType2["COLOR"] = "COLOR";
|
|
1296
1420
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1389,6 +1513,14 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
1389
1513
|
Status2["REJECTED"] = "REJECTED";
|
|
1390
1514
|
return Status2;
|
|
1391
1515
|
})(Status || {});
|
|
1516
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1517
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1518
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1519
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1520
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1521
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1522
|
+
return WebhookIdentityType2;
|
|
1523
|
+
})(WebhookIdentityType || {});
|
|
1392
1524
|
var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
|
|
1393
1525
|
QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
|
|
1394
1526
|
QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
|
|
@@ -1401,22 +1533,16 @@ var Order = /* @__PURE__ */ ((Order2) => {
|
|
|
1401
1533
|
Order2["NEWEST"] = "NEWEST";
|
|
1402
1534
|
return Order2;
|
|
1403
1535
|
})(Order || {});
|
|
1404
|
-
var
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1415
|
-
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1416
|
-
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1417
|
-
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1418
|
-
return Field2;
|
|
1419
|
-
})(Field || {});
|
|
1536
|
+
var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
|
|
1537
|
+
GetPostsSort2["FEED"] = "FEED";
|
|
1538
|
+
GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1539
|
+
GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
1540
|
+
GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1541
|
+
GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1542
|
+
GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
|
|
1543
|
+
GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
|
|
1544
|
+
return GetPostsSort2;
|
|
1545
|
+
})(GetPostsSort || {});
|
|
1420
1546
|
var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
1421
1547
|
PostFieldField2["UNKNOWN"] = "UNKNOWN";
|
|
1422
1548
|
PostFieldField2["URL"] = "URL";
|
|
@@ -1428,16 +1554,14 @@ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
|
1428
1554
|
PostFieldField2["REFERENCE_ID"] = "REFERENCE_ID";
|
|
1429
1555
|
return PostFieldField2;
|
|
1430
1556
|
})(PostFieldField || {});
|
|
1431
|
-
var
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
return GetPostsSort2;
|
|
1440
|
-
})(GetPostsSort || {});
|
|
1557
|
+
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1558
|
+
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1559
|
+
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1560
|
+
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1561
|
+
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1562
|
+
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1563
|
+
return Field2;
|
|
1564
|
+
})(Field || {});
|
|
1441
1565
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1442
1566
|
SortOrder2["ASC"] = "ASC";
|
|
1443
1567
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1536,8 +1660,8 @@ async function getPost2(postId, options) {
|
|
|
1536
1660
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1537
1661
|
}
|
|
1538
1662
|
]),
|
|
1539
|
-
["post.richContent"]
|
|
1540
|
-
)
|
|
1663
|
+
["post.richContent", "post.rich_content"]
|
|
1664
|
+
);
|
|
1541
1665
|
} catch (err) {
|
|
1542
1666
|
const transformedError = sdkTransformError(
|
|
1543
1667
|
err,
|
|
@@ -1584,7 +1708,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1584
1708
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1585
1709
|
}
|
|
1586
1710
|
]),
|
|
1587
|
-
["post.richContent"]
|
|
1711
|
+
["post.richContent", "post.rich_content"]
|
|
1588
1712
|
);
|
|
1589
1713
|
} catch (err) {
|
|
1590
1714
|
const transformedError = sdkTransformError(
|
|
@@ -1643,7 +1767,7 @@ async function listPosts2(options) {
|
|
|
1643
1767
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1644
1768
|
}
|
|
1645
1769
|
]),
|
|
1646
|
-
["posts.richContent"]
|
|
1770
|
+
["posts.richContent", "posts.rich_content"]
|
|
1647
1771
|
);
|
|
1648
1772
|
} catch (err) {
|
|
1649
1773
|
const transformedError = sdkTransformError(
|
|
@@ -1713,7 +1837,7 @@ function queryPosts2(options) {
|
|
|
1713
1837
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1714
1838
|
}
|
|
1715
1839
|
]),
|
|
1716
|
-
["posts.richContent"]
|
|
1840
|
+
["posts.richContent", "posts.rich_content"]
|
|
1717
1841
|
);
|
|
1718
1842
|
return {
|
|
1719
1843
|
items: transformedData?.posts,
|
|
@@ -1761,7 +1885,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1761
1885
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1762
1886
|
}
|
|
1763
1887
|
]),
|
|
1764
|
-
["posts.richContent"]
|
|
1888
|
+
["posts.richContent", "posts.rich_content"]
|
|
1765
1889
|
);
|
|
1766
1890
|
} catch (err) {
|
|
1767
1891
|
const transformedError = sdkTransformError(
|
|
@@ -1875,7 +1999,8 @@ var onPostLiked = EventDefinition(
|
|
|
1875
1999
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1876
2000
|
paths: [{ path: "metadata.eventTime" }]
|
|
1877
2001
|
}
|
|
1878
|
-
])
|
|
2002
|
+
]),
|
|
2003
|
+
["entity.rich_content"]
|
|
1879
2004
|
)
|
|
1880
2005
|
)();
|
|
1881
2006
|
var onPostUnliked = EventDefinition(
|
|
@@ -1887,7 +2012,8 @@ var onPostUnliked = EventDefinition(
|
|
|
1887
2012
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1888
2013
|
paths: [{ path: "metadata.eventTime" }]
|
|
1889
2014
|
}
|
|
1890
|
-
])
|
|
2015
|
+
]),
|
|
2016
|
+
["entity.rich_content"]
|
|
1891
2017
|
)
|
|
1892
2018
|
)();
|
|
1893
2019
|
var onPostCreated = EventDefinition(
|
|
@@ -1955,6 +2081,10 @@ var onPostCreated = EventDefinition(
|
|
|
1955
2081
|
},
|
|
1956
2082
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
1957
2083
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2084
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2085
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2086
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2087
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
1958
2088
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
1959
2089
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
1960
2090
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -1972,9 +2102,27 @@ var onPostCreated = EventDefinition(
|
|
|
1972
2102
|
{
|
|
1973
2103
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1974
2104
|
},
|
|
2105
|
+
{
|
|
2106
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2113
|
+
},
|
|
1975
2114
|
{
|
|
1976
2115
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1977
2116
|
},
|
|
2117
|
+
{
|
|
2118
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2125
|
+
},
|
|
1978
2126
|
{
|
|
1979
2127
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1980
2128
|
},
|
|
@@ -2006,6 +2154,15 @@ var onPostCreated = EventDefinition(
|
|
|
2006
2154
|
{
|
|
2007
2155
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2008
2156
|
},
|
|
2157
|
+
{
|
|
2158
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2165
|
+
},
|
|
2009
2166
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2010
2167
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2011
2168
|
{
|
|
@@ -2017,7 +2174,8 @@ var onPostCreated = EventDefinition(
|
|
|
2017
2174
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
2018
2175
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2019
2176
|
}
|
|
2020
|
-
])
|
|
2177
|
+
]),
|
|
2178
|
+
["entity.rich_content"]
|
|
2021
2179
|
)
|
|
2022
2180
|
)();
|
|
2023
2181
|
var onPostDeleted = EventDefinition(
|
|
@@ -2085,6 +2243,10 @@ var onPostDeleted = EventDefinition(
|
|
|
2085
2243
|
},
|
|
2086
2244
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
2087
2245
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2246
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2247
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2248
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2249
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
2088
2250
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
2089
2251
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
2090
2252
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -2102,9 +2264,27 @@ var onPostDeleted = EventDefinition(
|
|
|
2102
2264
|
{
|
|
2103
2265
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2104
2266
|
},
|
|
2267
|
+
{
|
|
2268
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2275
|
+
},
|
|
2105
2276
|
{
|
|
2106
2277
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2107
2278
|
},
|
|
2279
|
+
{
|
|
2280
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2287
|
+
},
|
|
2108
2288
|
{
|
|
2109
2289
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2110
2290
|
},
|
|
@@ -2136,6 +2316,15 @@ var onPostDeleted = EventDefinition(
|
|
|
2136
2316
|
{
|
|
2137
2317
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2138
2318
|
},
|
|
2319
|
+
{
|
|
2320
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2327
|
+
},
|
|
2139
2328
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2140
2329
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2141
2330
|
{
|
|
@@ -2147,7 +2336,8 @@ var onPostDeleted = EventDefinition(
|
|
|
2147
2336
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
2148
2337
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2149
2338
|
}
|
|
2150
|
-
])
|
|
2339
|
+
]),
|
|
2340
|
+
["entity.rich_content"]
|
|
2151
2341
|
)
|
|
2152
2342
|
)();
|
|
2153
2343
|
var onPostUpdated = EventDefinition(
|
|
@@ -2215,6 +2405,10 @@ var onPostUpdated = EventDefinition(
|
|
|
2215
2405
|
},
|
|
2216
2406
|
{ path: "entity.richContent.nodes.galleryData.options.item.ratio" },
|
|
2217
2407
|
{ path: "entity.richContent.nodes.imageData.image.duration" },
|
|
2408
|
+
{ path: "entity.richContent.nodes.imageData.crop.x" },
|
|
2409
|
+
{ path: "entity.richContent.nodes.imageData.crop.y" },
|
|
2410
|
+
{ path: "entity.richContent.nodes.imageData.crop.width" },
|
|
2411
|
+
{ path: "entity.richContent.nodes.imageData.crop.height" },
|
|
2218
2412
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lat" },
|
|
2219
2413
|
{ path: "entity.richContent.nodes.mapData.mapSettings.lng" },
|
|
2220
2414
|
{ path: "entity.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -2232,9 +2426,27 @@ var onPostUpdated = EventDefinition(
|
|
|
2232
2426
|
{
|
|
2233
2427
|
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2234
2428
|
},
|
|
2429
|
+
{
|
|
2430
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
2437
|
+
},
|
|
2235
2438
|
{
|
|
2236
2439
|
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2237
2440
|
},
|
|
2441
|
+
{
|
|
2442
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
2449
|
+
},
|
|
2238
2450
|
{
|
|
2239
2451
|
path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
|
|
2240
2452
|
},
|
|
@@ -2266,6 +2478,15 @@ var onPostUpdated = EventDefinition(
|
|
|
2266
2478
|
{
|
|
2267
2479
|
path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2268
2480
|
},
|
|
2481
|
+
{
|
|
2482
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
2489
|
+
},
|
|
2269
2490
|
{ path: "entity.richContent.nodes.tocData.fontSize" },
|
|
2270
2491
|
{ path: "entity.richContent.nodes.tocData.itemSpacing" },
|
|
2271
2492
|
{
|
|
@@ -2277,7 +2498,8 @@ var onPostUpdated = EventDefinition(
|
|
|
2277
2498
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
2278
2499
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2279
2500
|
}
|
|
2280
|
-
])
|
|
2501
|
+
]),
|
|
2502
|
+
["entity.rich_content"]
|
|
2281
2503
|
)
|
|
2282
2504
|
)();
|
|
2283
2505
|
|