@wix/auto_sdk_blog_posts 1.0.121 → 1.0.122
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 +4 -4
- package/build/cjs/index.js +71 -74
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +230 -143
- package/build/cjs/index.typings.js +47 -55
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +215 -145
- package/build/cjs/meta.js +39 -29
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +68 -74
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +230 -143
- package/build/es/index.typings.mjs +44 -55
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +215 -145
- package/build/es/meta.mjs +39 -29
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +71 -74
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +231 -144
- package/build/internal/cjs/index.typings.js +47 -55
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +215 -145
- package/build/internal/cjs/meta.js +39 -29
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +68 -74
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +231 -144
- package/build/internal/es/index.typings.mjs +44 -55
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +215 -145
- package/build/internal/es/meta.mjs +39 -29
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/meta.mjs
CHANGED
|
@@ -321,8 +321,6 @@ function getPost(payload) {
|
|
|
321
321
|
paths: [
|
|
322
322
|
{ path: "post.firstPublishedDate" },
|
|
323
323
|
{ path: "post.lastPublishedDate" },
|
|
324
|
-
{ path: "post.coverMedia.image.urlExpirationDate" },
|
|
325
|
-
{ path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
|
|
326
324
|
{ path: "post.heroImage.urlExpirationDate" },
|
|
327
325
|
{ path: "post.richContent.metadata.createdTimestamp" },
|
|
328
326
|
{ path: "post.richContent.metadata.updatedTimestamp" },
|
|
@@ -346,10 +344,6 @@ function getPost(payload) {
|
|
|
346
344
|
{
|
|
347
345
|
transformFn: transformRESTFloatToSDKFloat,
|
|
348
346
|
paths: [
|
|
349
|
-
{ path: "post.coverMedia.image.focalPoint.x" },
|
|
350
|
-
{ path: "post.coverMedia.image.focalPoint.y" },
|
|
351
|
-
{ path: "post.coverMedia.video.thumbnail.focalPoint.x" },
|
|
352
|
-
{ path: "post.coverMedia.video.thumbnail.focalPoint.y" },
|
|
353
347
|
{ path: "post.heroImage.focalPoint.x" },
|
|
354
348
|
{ path: "post.heroImage.focalPoint.y" },
|
|
355
349
|
{ path: "post.media.wixMedia.image.focalPoint.x" },
|
|
@@ -387,7 +381,14 @@ function getPost(payload) {
|
|
|
387
381
|
{ path: "post.richContent.nodes.videoData.video.duration" },
|
|
388
382
|
{ path: "post.richContent.nodes.videoData.thumbnail.duration" },
|
|
389
383
|
{ path: "post.richContent.nodes.audioData.audio.duration" },
|
|
390
|
-
{ path: "post.richContent.nodes.audioData.coverImage.duration" }
|
|
384
|
+
{ path: "post.richContent.nodes.audioData.coverImage.duration" },
|
|
385
|
+
{
|
|
386
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
390
|
+
},
|
|
391
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" }
|
|
391
392
|
]
|
|
392
393
|
}
|
|
393
394
|
])
|
|
@@ -418,8 +419,6 @@ function getPostBySlug(payload) {
|
|
|
418
419
|
paths: [
|
|
419
420
|
{ path: "post.firstPublishedDate" },
|
|
420
421
|
{ path: "post.lastPublishedDate" },
|
|
421
|
-
{ path: "post.coverMedia.image.urlExpirationDate" },
|
|
422
|
-
{ path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
|
|
423
422
|
{ path: "post.heroImage.urlExpirationDate" },
|
|
424
423
|
{ path: "post.richContent.metadata.createdTimestamp" },
|
|
425
424
|
{ path: "post.richContent.metadata.updatedTimestamp" },
|
|
@@ -443,10 +442,6 @@ function getPostBySlug(payload) {
|
|
|
443
442
|
{
|
|
444
443
|
transformFn: transformRESTFloatToSDKFloat,
|
|
445
444
|
paths: [
|
|
446
|
-
{ path: "post.coverMedia.image.focalPoint.x" },
|
|
447
|
-
{ path: "post.coverMedia.image.focalPoint.y" },
|
|
448
|
-
{ path: "post.coverMedia.video.thumbnail.focalPoint.x" },
|
|
449
|
-
{ path: "post.coverMedia.video.thumbnail.focalPoint.y" },
|
|
450
445
|
{ path: "post.heroImage.focalPoint.x" },
|
|
451
446
|
{ path: "post.heroImage.focalPoint.y" },
|
|
452
447
|
{ path: "post.media.wixMedia.image.focalPoint.x" },
|
|
@@ -484,7 +479,14 @@ function getPostBySlug(payload) {
|
|
|
484
479
|
{ path: "post.richContent.nodes.videoData.video.duration" },
|
|
485
480
|
{ path: "post.richContent.nodes.videoData.thumbnail.duration" },
|
|
486
481
|
{ path: "post.richContent.nodes.audioData.audio.duration" },
|
|
487
|
-
{ path: "post.richContent.nodes.audioData.coverImage.duration" }
|
|
482
|
+
{ path: "post.richContent.nodes.audioData.coverImage.duration" },
|
|
483
|
+
{
|
|
484
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
488
|
+
},
|
|
489
|
+
{ path: "post.richContent.nodes.shapeData.shape.duration" }
|
|
488
490
|
]
|
|
489
491
|
}
|
|
490
492
|
])
|
|
@@ -515,8 +517,6 @@ function listPosts(payload) {
|
|
|
515
517
|
paths: [
|
|
516
518
|
{ path: "posts.firstPublishedDate" },
|
|
517
519
|
{ path: "posts.lastPublishedDate" },
|
|
518
|
-
{ path: "posts.coverMedia.image.urlExpirationDate" },
|
|
519
|
-
{ path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
|
|
520
520
|
{ path: "posts.heroImage.urlExpirationDate" },
|
|
521
521
|
{ path: "posts.richContent.metadata.createdTimestamp" },
|
|
522
522
|
{ path: "posts.richContent.metadata.updatedTimestamp" },
|
|
@@ -542,10 +542,6 @@ function listPosts(payload) {
|
|
|
542
542
|
{
|
|
543
543
|
transformFn: transformRESTFloatToSDKFloat,
|
|
544
544
|
paths: [
|
|
545
|
-
{ path: "posts.coverMedia.image.focalPoint.x" },
|
|
546
|
-
{ path: "posts.coverMedia.image.focalPoint.y" },
|
|
547
|
-
{ path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
|
|
548
|
-
{ path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
|
|
549
545
|
{ path: "posts.heroImage.focalPoint.x" },
|
|
550
546
|
{ path: "posts.heroImage.focalPoint.y" },
|
|
551
547
|
{ path: "posts.media.wixMedia.image.focalPoint.x" },
|
|
@@ -585,7 +581,14 @@ function listPosts(payload) {
|
|
|
585
581
|
{ path: "posts.richContent.nodes.videoData.video.duration" },
|
|
586
582
|
{ path: "posts.richContent.nodes.videoData.thumbnail.duration" },
|
|
587
583
|
{ path: "posts.richContent.nodes.audioData.audio.duration" },
|
|
588
|
-
{ path: "posts.richContent.nodes.audioData.coverImage.duration" }
|
|
584
|
+
{ path: "posts.richContent.nodes.audioData.coverImage.duration" },
|
|
585
|
+
{
|
|
586
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
590
|
+
},
|
|
591
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" }
|
|
589
592
|
]
|
|
590
593
|
}
|
|
591
594
|
])
|
|
@@ -616,8 +619,6 @@ function queryPosts(payload) {
|
|
|
616
619
|
paths: [
|
|
617
620
|
{ path: "posts.firstPublishedDate" },
|
|
618
621
|
{ path: "posts.lastPublishedDate" },
|
|
619
|
-
{ path: "posts.coverMedia.image.urlExpirationDate" },
|
|
620
|
-
{ path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
|
|
621
622
|
{ path: "posts.heroImage.urlExpirationDate" },
|
|
622
623
|
{ path: "posts.richContent.metadata.createdTimestamp" },
|
|
623
624
|
{ path: "posts.richContent.metadata.updatedTimestamp" },
|
|
@@ -643,10 +644,6 @@ function queryPosts(payload) {
|
|
|
643
644
|
{
|
|
644
645
|
transformFn: transformRESTFloatToSDKFloat,
|
|
645
646
|
paths: [
|
|
646
|
-
{ path: "posts.coverMedia.image.focalPoint.x" },
|
|
647
|
-
{ path: "posts.coverMedia.image.focalPoint.y" },
|
|
648
|
-
{ path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
|
|
649
|
-
{ path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
|
|
650
647
|
{ path: "posts.heroImage.focalPoint.x" },
|
|
651
648
|
{ path: "posts.heroImage.focalPoint.y" },
|
|
652
649
|
{ path: "posts.media.wixMedia.image.focalPoint.x" },
|
|
@@ -686,7 +683,14 @@ function queryPosts(payload) {
|
|
|
686
683
|
{ path: "posts.richContent.nodes.videoData.video.duration" },
|
|
687
684
|
{ path: "posts.richContent.nodes.videoData.thumbnail.duration" },
|
|
688
685
|
{ path: "posts.richContent.nodes.audioData.audio.duration" },
|
|
689
|
-
{ path: "posts.richContent.nodes.audioData.coverImage.duration" }
|
|
686
|
+
{ path: "posts.richContent.nodes.audioData.coverImage.duration" },
|
|
687
|
+
{
|
|
688
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
692
|
+
},
|
|
693
|
+
{ path: "posts.richContent.nodes.shapeData.shape.duration" }
|
|
690
694
|
]
|
|
691
695
|
}
|
|
692
696
|
])
|
|
@@ -758,6 +762,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
758
762
|
NodeType2["CAPTION"] = "CAPTION";
|
|
759
763
|
NodeType2["LAYOUT"] = "LAYOUT";
|
|
760
764
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
765
|
+
NodeType2["SHAPE"] = "SHAPE";
|
|
761
766
|
return NodeType2;
|
|
762
767
|
})(NodeType || {});
|
|
763
768
|
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
@@ -850,13 +855,14 @@ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
|
|
|
850
855
|
return ThumbnailsAlignment2;
|
|
851
856
|
})(ThumbnailsAlignment || {});
|
|
852
857
|
var GIFType = /* @__PURE__ */ ((GIFType2) => {
|
|
853
|
-
GIFType2["
|
|
858
|
+
GIFType2["NORMAL"] = "NORMAL";
|
|
854
859
|
GIFType2["STICKER"] = "STICKER";
|
|
855
860
|
return GIFType2;
|
|
856
861
|
})(GIFType || {});
|
|
857
862
|
var Source = /* @__PURE__ */ ((Source2) => {
|
|
858
863
|
Source2["HTML"] = "HTML";
|
|
859
864
|
Source2["ADSENSE"] = "ADSENSE";
|
|
865
|
+
Source2["AI"] = "AI";
|
|
860
866
|
return Source2;
|
|
861
867
|
})(Source || {});
|
|
862
868
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -911,6 +917,10 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
911
917
|
DecorationType2["COLOR"] = "COLOR";
|
|
912
918
|
DecorationType2["FONT_SIZE"] = "FONT_SIZE";
|
|
913
919
|
DecorationType2["EXTERNAL"] = "EXTERNAL";
|
|
920
|
+
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
921
|
+
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
922
|
+
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
923
|
+
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
914
924
|
return DecorationType2;
|
|
915
925
|
})(DecorationType || {});
|
|
916
926
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|