@wix/auto_sdk_blog_posts 1.0.171 → 1.0.172
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 +11 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +27 -32
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +82 -84
- package/build/cjs/schemas.js +150 -156
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +11 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +27 -32
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +82 -84
- package/build/es/schemas.mjs +150 -156
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +11 -16
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +27 -32
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +10 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +82 -84
- package/build/internal/cjs/schemas.js +150 -156
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +11 -16
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +27 -32
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +10 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +82 -84
- package/build/internal/es/schemas.mjs +150 -156
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1848,8 +1848,8 @@ async function getPost2(postId, options) {
|
|
|
1848
1848
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1849
1849
|
}
|
|
1850
1850
|
]),
|
|
1851
|
-
["post.richContent"
|
|
1852
|
-
);
|
|
1851
|
+
["post.richContent"]
|
|
1852
|
+
)?.post;
|
|
1853
1853
|
} catch (err) {
|
|
1854
1854
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1855
1855
|
err,
|
|
@@ -1896,7 +1896,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1896
1896
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1897
1897
|
}
|
|
1898
1898
|
]),
|
|
1899
|
-
["post.richContent"
|
|
1899
|
+
["post.richContent"]
|
|
1900
1900
|
);
|
|
1901
1901
|
} catch (err) {
|
|
1902
1902
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1955,7 +1955,7 @@ async function listPosts2(options) {
|
|
|
1955
1955
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1956
1956
|
}
|
|
1957
1957
|
]),
|
|
1958
|
-
["posts.richContent"
|
|
1958
|
+
["posts.richContent"]
|
|
1959
1959
|
);
|
|
1960
1960
|
} catch (err) {
|
|
1961
1961
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -2025,7 +2025,7 @@ function queryPosts2(options) {
|
|
|
2025
2025
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
2026
2026
|
}
|
|
2027
2027
|
]),
|
|
2028
|
-
["posts.richContent"
|
|
2028
|
+
["posts.richContent"]
|
|
2029
2029
|
);
|
|
2030
2030
|
return {
|
|
2031
2031
|
items: transformedData?.posts,
|
|
@@ -2073,7 +2073,7 @@ async function typedQueryPosts(query, options) {
|
|
|
2073
2073
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
2074
2074
|
}
|
|
2075
2075
|
]),
|
|
2076
|
-
["posts.richContent"
|
|
2076
|
+
["posts.richContent"]
|
|
2077
2077
|
);
|
|
2078
2078
|
} catch (err) {
|
|
2079
2079
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -2187,8 +2187,7 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
|
2187
2187
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2188
2188
|
paths: [{ path: "metadata.eventTime" }]
|
|
2189
2189
|
}
|
|
2190
|
-
])
|
|
2191
|
-
["entity.rich_content"]
|
|
2190
|
+
])
|
|
2192
2191
|
)
|
|
2193
2192
|
)();
|
|
2194
2193
|
var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2200,8 +2199,7 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
|
2200
2199
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2201
2200
|
paths: [{ path: "metadata.eventTime" }]
|
|
2202
2201
|
}
|
|
2203
|
-
])
|
|
2204
|
-
["entity.rich_content"]
|
|
2202
|
+
])
|
|
2205
2203
|
)
|
|
2206
2204
|
)();
|
|
2207
2205
|
var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2362,8 +2360,7 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2362
2360
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2363
2361
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2364
2362
|
}
|
|
2365
|
-
])
|
|
2366
|
-
["entity.rich_content"]
|
|
2363
|
+
])
|
|
2367
2364
|
)
|
|
2368
2365
|
)();
|
|
2369
2366
|
var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2524,8 +2521,7 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2524
2521
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2525
2522
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2526
2523
|
}
|
|
2527
|
-
])
|
|
2528
|
-
["entity.rich_content"]
|
|
2524
|
+
])
|
|
2529
2525
|
)
|
|
2530
2526
|
)();
|
|
2531
2527
|
var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2686,8 +2682,7 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2686
2682
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2687
2683
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2688
2684
|
}
|
|
2689
|
-
])
|
|
2690
|
-
["entity.rich_content"]
|
|
2685
|
+
])
|
|
2691
2686
|
)
|
|
2692
2687
|
)();
|
|
2693
2688
|
|