@wix/auto_sdk_blog_posts 1.0.49 → 1.0.51

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.
@@ -1407,8 +1407,8 @@ async function getPost2(postId, options) {
1407
1407
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1408
1408
  }
1409
1409
  ]),
1410
- ["post.richContent"]
1411
- )?.post;
1410
+ ["post.richContent", "post.rich_content"]
1411
+ );
1412
1412
  } catch (err) {
1413
1413
  const transformedError = (0, import_transform_error.transformError)(
1414
1414
  err,
@@ -1460,7 +1460,7 @@ async function getPostBySlug2(slug, options) {
1460
1460
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1461
1461
  }
1462
1462
  ]),
1463
- ["post.richContent"]
1463
+ ["post.richContent", "post.rich_content"]
1464
1464
  );
1465
1465
  } catch (err) {
1466
1466
  const transformedError = (0, import_transform_error.transformError)(
@@ -1524,7 +1524,7 @@ async function listPosts2(options) {
1524
1524
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1525
1525
  }
1526
1526
  ]),
1527
- ["posts.richContent"]
1527
+ ["posts.richContent", "posts.rich_content"]
1528
1528
  );
1529
1529
  } catch (err) {
1530
1530
  const transformedError = (0, import_transform_error.transformError)(
@@ -1599,7 +1599,7 @@ function queryPosts2(options) {
1599
1599
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1600
1600
  }
1601
1601
  ]),
1602
- ["posts.richContent"]
1602
+ ["posts.richContent", "posts.rich_content"]
1603
1603
  );
1604
1604
  return {
1605
1605
  items: transformedData?.posts,
@@ -1766,7 +1766,8 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
1766
1766
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1767
1767
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1768
1768
  }
1769
- ])
1769
+ ]),
1770
+ ["entity.rich_content"]
1770
1771
  )
1771
1772
  )();
1772
1773
  var onPostDeleted = (0, import_sdk_types.EventDefinition)(
@@ -1841,7 +1842,8 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
1841
1842
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1842
1843
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1843
1844
  }
1844
- ])
1845
+ ]),
1846
+ ["entity.rich_content"]
1845
1847
  )
1846
1848
  )();
1847
1849
  var onPostLiked = (0, import_sdk_types.EventDefinition)(
@@ -1853,7 +1855,8 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
1853
1855
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1854
1856
  paths: [{ path: "metadata.eventTime" }]
1855
1857
  }
1856
- ])
1858
+ ]),
1859
+ ["entity.rich_content"]
1857
1860
  )
1858
1861
  )();
1859
1862
  var onPostUnliked = (0, import_sdk_types.EventDefinition)(
@@ -1865,7 +1868,8 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
1865
1868
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1866
1869
  paths: [{ path: "metadata.eventTime" }]
1867
1870
  }
1868
- ])
1871
+ ]),
1872
+ ["entity.rich_content"]
1869
1873
  )
1870
1874
  )();
1871
1875
  var onPostUpdated = (0, import_sdk_types.EventDefinition)(
@@ -1940,7 +1944,8 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
1940
1944
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1941
1945
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1942
1946
  }
1943
- ])
1947
+ ]),
1948
+ ["entity.rich_content"]
1944
1949
  )
1945
1950
  )();
1946
1951