@wix/auto_sdk_blog_posts 1.0.157 → 1.0.159
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 +23 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +49 -35
- package/build/cjs/index.typings.js +18 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -4
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +82 -84
- package/build/cjs/schemas.js +147 -153
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +22 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +49 -35
- package/build/es/index.typings.mjs +17 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -4
- package/build/es/meta.mjs +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +82 -84
- package/build/es/schemas.mjs +147 -153
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +23 -16
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +49 -35
- package/build/internal/cjs/index.typings.js +18 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +30 -4
- package/build/internal/cjs/meta.js +12 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +82 -84
- package/build/internal/cjs/schemas.js +147 -153
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +22 -16
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +49 -35
- package/build/internal/es/index.typings.mjs +17 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +30 -4
- package/build/internal/es/meta.mjs +11 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +82 -84
- package/build/internal/es/schemas.mjs +147 -153
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -78,6 +78,7 @@ __export(index_exports, {
|
|
|
78
78
|
TextAlignment: () => TextAlignment,
|
|
79
79
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
80
80
|
Type: () => Type,
|
|
81
|
+
Variant: () => Variant,
|
|
81
82
|
VerticalAlignment: () => VerticalAlignment,
|
|
82
83
|
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
83
84
|
ViewMode: () => ViewMode,
|
|
@@ -1278,6 +1279,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
1278
1279
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
1279
1280
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
1280
1281
|
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
1282
|
+
DecorationType2["SKETCH"] = "SKETCH";
|
|
1281
1283
|
return DecorationType2;
|
|
1282
1284
|
})(DecorationType || {});
|
|
1283
1285
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -1285,6 +1287,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
1285
1287
|
FontType2["EM"] = "EM";
|
|
1286
1288
|
return FontType2;
|
|
1287
1289
|
})(FontType || {});
|
|
1290
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
1291
|
+
Variant2["UNDERLINE"] = "UNDERLINE";
|
|
1292
|
+
Variant2["BOX"] = "BOX";
|
|
1293
|
+
Variant2["CIRCLE"] = "CIRCLE";
|
|
1294
|
+
Variant2["HIGHLIGHT"] = "HIGHLIGHT";
|
|
1295
|
+
Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
1296
|
+
Variant2["CROSSED_OFF"] = "CROSSED_OFF";
|
|
1297
|
+
return Variant2;
|
|
1298
|
+
})(Variant || {});
|
|
1288
1299
|
var Position = /* @__PURE__ */ ((Position2) => {
|
|
1289
1300
|
Position2["START"] = "START";
|
|
1290
1301
|
Position2["END"] = "END";
|
|
@@ -1680,8 +1691,8 @@ async function getPost2(postId, options) {
|
|
|
1680
1691
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1681
1692
|
}
|
|
1682
1693
|
]),
|
|
1683
|
-
["post.richContent"
|
|
1684
|
-
);
|
|
1694
|
+
["post.richContent"]
|
|
1695
|
+
)?.post;
|
|
1685
1696
|
} catch (err) {
|
|
1686
1697
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1687
1698
|
err,
|
|
@@ -1728,7 +1739,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1728
1739
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1729
1740
|
}
|
|
1730
1741
|
]),
|
|
1731
|
-
["post.richContent"
|
|
1742
|
+
["post.richContent"]
|
|
1732
1743
|
);
|
|
1733
1744
|
} catch (err) {
|
|
1734
1745
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1787,7 +1798,7 @@ async function listPosts2(options) {
|
|
|
1787
1798
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1788
1799
|
}
|
|
1789
1800
|
]),
|
|
1790
|
-
["posts.richContent"
|
|
1801
|
+
["posts.richContent"]
|
|
1791
1802
|
);
|
|
1792
1803
|
} catch (err) {
|
|
1793
1804
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1857,7 +1868,7 @@ function queryPosts2(options) {
|
|
|
1857
1868
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1858
1869
|
}
|
|
1859
1870
|
]),
|
|
1860
|
-
["posts.richContent"
|
|
1871
|
+
["posts.richContent"]
|
|
1861
1872
|
);
|
|
1862
1873
|
return {
|
|
1863
1874
|
items: transformedData?.posts,
|
|
@@ -1905,7 +1916,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1905
1916
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1906
1917
|
}
|
|
1907
1918
|
]),
|
|
1908
|
-
["posts.richContent"
|
|
1919
|
+
["posts.richContent"]
|
|
1909
1920
|
);
|
|
1910
1921
|
} catch (err) {
|
|
1911
1922
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -2019,8 +2030,7 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
|
2019
2030
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2020
2031
|
paths: [{ path: "metadata.eventTime" }]
|
|
2021
2032
|
}
|
|
2022
|
-
])
|
|
2023
|
-
["entity.rich_content"]
|
|
2033
|
+
])
|
|
2024
2034
|
)
|
|
2025
2035
|
)();
|
|
2026
2036
|
var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2032,8 +2042,7 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
|
2032
2042
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2033
2043
|
paths: [{ path: "metadata.eventTime" }]
|
|
2034
2044
|
}
|
|
2035
|
-
])
|
|
2036
|
-
["entity.rich_content"]
|
|
2045
|
+
])
|
|
2037
2046
|
)
|
|
2038
2047
|
)();
|
|
2039
2048
|
var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2163,8 +2172,7 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2163
2172
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2164
2173
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2165
2174
|
}
|
|
2166
|
-
])
|
|
2167
|
-
["entity.rich_content"]
|
|
2175
|
+
])
|
|
2168
2176
|
)
|
|
2169
2177
|
)();
|
|
2170
2178
|
var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2294,8 +2302,7 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2294
2302
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2295
2303
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2296
2304
|
}
|
|
2297
|
-
])
|
|
2298
|
-
["entity.rich_content"]
|
|
2305
|
+
])
|
|
2299
2306
|
)
|
|
2300
2307
|
)();
|
|
2301
2308
|
var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -2425,8 +2432,7 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2425
2432
|
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
2426
2433
|
paths: [{ path: "entity.media.wixMedia.videoV2" }]
|
|
2427
2434
|
}
|
|
2428
|
-
])
|
|
2429
|
-
["entity.rich_content"]
|
|
2435
|
+
])
|
|
2430
2436
|
)
|
|
2431
2437
|
)();
|
|
2432
2438
|
|
|
@@ -2517,6 +2523,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
2517
2523
|
TextAlignment,
|
|
2518
2524
|
ThumbnailsAlignment,
|
|
2519
2525
|
Type,
|
|
2526
|
+
Variant,
|
|
2520
2527
|
VerticalAlignment,
|
|
2521
2528
|
VerticalAlignmentAlignment,
|
|
2522
2529
|
ViewMode,
|