@wix/auto_sdk_blog_posts 1.0.161 → 1.0.163
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 +238 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +90 -52
- package/build/cjs/index.typings.js +135 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +59 -33
- package/build/cjs/meta.js +129 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +85 -82
- package/build/cjs/schemas.js +155 -148
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +238 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +90 -52
- package/build/es/index.typings.mjs +135 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +59 -33
- package/build/es/meta.mjs +129 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +85 -82
- package/build/es/schemas.mjs +155 -148
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +238 -16
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +90 -52
- package/build/internal/cjs/index.typings.js +135 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +59 -33
- package/build/internal/cjs/meta.js +129 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +85 -82
- package/build/internal/cjs/schemas.js +155 -148
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +238 -16
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +90 -52
- package/build/internal/es/index.typings.mjs +135 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +59 -33
- package/build/internal/es/meta.mjs +129 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +85 -82
- package/build/internal/es/schemas.mjs +155 -148
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1144,6 +1144,8 @@ interface ImageData {
|
|
|
1144
1144
|
decorative?: boolean | null;
|
|
1145
1145
|
/** Styling for the image. */
|
|
1146
1146
|
styles?: ImageDataStyles;
|
|
1147
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
1148
|
+
crop?: ImageDataCrop;
|
|
1147
1149
|
}
|
|
1148
1150
|
interface StylesBorder {
|
|
1149
1151
|
/** Border width in pixels. */
|
|
@@ -1160,6 +1162,16 @@ interface ImageDataStyles {
|
|
|
1160
1162
|
/** Border attributes. */
|
|
1161
1163
|
border?: StylesBorder;
|
|
1162
1164
|
}
|
|
1165
|
+
interface ImageDataCrop {
|
|
1166
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
1167
|
+
x?: number | null;
|
|
1168
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
1169
|
+
y?: number | null;
|
|
1170
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
1171
|
+
width?: number | null;
|
|
1172
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
1173
|
+
height?: number | null;
|
|
1174
|
+
}
|
|
1163
1175
|
interface LinkPreviewData {
|
|
1164
1176
|
/** Styling for the link preview's container. */
|
|
1165
1177
|
containerData?: PluginContainerData;
|
|
@@ -2197,6 +2209,27 @@ declare enum ImagePosition {
|
|
|
2197
2209
|
}
|
|
2198
2210
|
/** @enumType */
|
|
2199
2211
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2212
|
+
/** Background styling (color or gradient) */
|
|
2213
|
+
interface LayoutDataBackground {
|
|
2214
|
+
/** Background type. */
|
|
2215
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2216
|
+
/**
|
|
2217
|
+
* Background color as a hexadecimal value.
|
|
2218
|
+
* @maxLength 19
|
|
2219
|
+
*/
|
|
2220
|
+
color?: string | null;
|
|
2221
|
+
/** Gradient configuration. */
|
|
2222
|
+
gradient?: Gradient;
|
|
2223
|
+
}
|
|
2224
|
+
/** Background type */
|
|
2225
|
+
declare enum LayoutDataBackgroundType {
|
|
2226
|
+
/** Solid color background */
|
|
2227
|
+
COLOR = "COLOR",
|
|
2228
|
+
/** Gradient background */
|
|
2229
|
+
GRADIENT = "GRADIENT"
|
|
2230
|
+
}
|
|
2231
|
+
/** @enumType */
|
|
2232
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2200
2233
|
declare enum Origin {
|
|
2201
2234
|
/** Banner originated from an image */
|
|
2202
2235
|
IMAGE = "IMAGE",
|
|
@@ -2213,15 +2246,6 @@ declare enum BannerPosition {
|
|
|
2213
2246
|
}
|
|
2214
2247
|
/** @enumType */
|
|
2215
2248
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2216
|
-
/** Background type */
|
|
2217
|
-
declare enum LayoutDataBackgroundType {
|
|
2218
|
-
/** Solid color background */
|
|
2219
|
-
COLOR = "COLOR",
|
|
2220
|
-
/** Gradient background */
|
|
2221
|
-
GRADIENT = "GRADIENT"
|
|
2222
|
-
}
|
|
2223
|
-
/** @enumType */
|
|
2224
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2225
2249
|
/** Backdrop type */
|
|
2226
2250
|
declare enum BackdropType {
|
|
2227
2251
|
/** Solid color backdrop */
|
|
@@ -2234,12 +2258,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2234
2258
|
interface LayoutDataBackgroundImage {
|
|
2235
2259
|
/** Background image. */
|
|
2236
2260
|
media?: V1Media;
|
|
2237
|
-
/**
|
|
2261
|
+
/**
|
|
2262
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2263
|
+
* @deprecated
|
|
2264
|
+
*/
|
|
2238
2265
|
opacity?: number | null;
|
|
2239
2266
|
/** Background image scaling. */
|
|
2240
2267
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2241
2268
|
/** Position of background. Defaults to `CENTER`. */
|
|
2242
2269
|
position?: ImagePositionWithLiterals;
|
|
2270
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2271
|
+
blur?: number | null;
|
|
2272
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
|
|
2273
|
+
overlay?: LayoutDataBackground;
|
|
2243
2274
|
}
|
|
2244
2275
|
declare enum VerticalAlignmentAlignment {
|
|
2245
2276
|
/** Top alignment */
|
|
@@ -2273,18 +2304,6 @@ interface Banner {
|
|
|
2273
2304
|
/** Position of the banner */
|
|
2274
2305
|
position?: BannerPositionWithLiterals;
|
|
2275
2306
|
}
|
|
2276
|
-
/** Background styling (color or gradient) */
|
|
2277
|
-
interface LayoutDataBackground {
|
|
2278
|
-
/** Background type. */
|
|
2279
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2280
|
-
/**
|
|
2281
|
-
* Background color as a hexadecimal value.
|
|
2282
|
-
* @maxLength 19
|
|
2283
|
-
*/
|
|
2284
|
-
color?: string | null;
|
|
2285
|
-
/** Gradient configuration. */
|
|
2286
|
-
gradient?: Gradient;
|
|
2287
|
-
}
|
|
2288
2307
|
/** Backdrop styling (color or gradient) */
|
|
2289
2308
|
interface Backdrop {
|
|
2290
2309
|
/** Backdrop type. */
|
|
@@ -2356,15 +2375,6 @@ declare enum ImagePositionPosition {
|
|
|
2356
2375
|
}
|
|
2357
2376
|
/** @enumType */
|
|
2358
2377
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2359
|
-
/** Background type */
|
|
2360
|
-
declare enum CardDataBackgroundType {
|
|
2361
|
-
/** Solid color background */
|
|
2362
|
-
COLOR = "COLOR",
|
|
2363
|
-
/** Gradient background */
|
|
2364
|
-
GRADIENT = "GRADIENT"
|
|
2365
|
-
}
|
|
2366
|
-
/** @enumType */
|
|
2367
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2368
2378
|
/** Background styling (color or gradient) */
|
|
2369
2379
|
interface CardDataBackground {
|
|
2370
2380
|
/** Background type. */
|
|
@@ -2377,15 +2387,31 @@ interface CardDataBackground {
|
|
|
2377
2387
|
/** Gradient configuration. */
|
|
2378
2388
|
gradient?: Gradient;
|
|
2379
2389
|
}
|
|
2390
|
+
/** Background type */
|
|
2391
|
+
declare enum CardDataBackgroundType {
|
|
2392
|
+
/** Solid color background */
|
|
2393
|
+
COLOR = "COLOR",
|
|
2394
|
+
/** Gradient background */
|
|
2395
|
+
GRADIENT = "GRADIENT"
|
|
2396
|
+
}
|
|
2397
|
+
/** @enumType */
|
|
2398
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2380
2399
|
interface BackgroundImage {
|
|
2381
2400
|
/** Background image. */
|
|
2382
2401
|
media?: V1Media;
|
|
2383
|
-
/**
|
|
2402
|
+
/**
|
|
2403
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2404
|
+
* @deprecated
|
|
2405
|
+
*/
|
|
2384
2406
|
opacity?: number | null;
|
|
2385
2407
|
/** Background image scaling. */
|
|
2386
2408
|
scaling?: ScalingWithLiterals;
|
|
2387
2409
|
/** Position of background. Defaults to `CENTER`. */
|
|
2388
2410
|
position?: ImagePositionPositionWithLiterals;
|
|
2411
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
|
|
2412
|
+
overlay?: CardDataBackground;
|
|
2413
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2414
|
+
blur?: number | null;
|
|
2389
2415
|
}
|
|
2390
2416
|
interface TocData {
|
|
2391
2417
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -3953,13 +3979,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
3953
3979
|
/**
|
|
3954
3980
|
* Retrieves the number of published posts per month within a specified time range.
|
|
3955
3981
|
*
|
|
3956
|
-
*
|
|
3957
|
-
* The
|
|
3958
|
-
*
|
|
3959
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
3960
|
-
*
|
|
3961
|
-
*
|
|
3982
|
+
*
|
|
3983
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
3984
|
+
*
|
|
3985
|
+
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
|
|
3986
|
+
*
|
|
3987
|
+
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
|
|
3962
3988
|
* @public
|
|
3989
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
3963
3990
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3964
3991
|
* @applicableIdentity APP
|
|
3965
3992
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4000,6 +4027,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4000
4027
|
/**
|
|
4001
4028
|
* Retrieves the total amount of published posts of the blog.
|
|
4002
4029
|
* @public
|
|
4030
|
+
* @param options - Language Options.
|
|
4003
4031
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4004
4032
|
* @applicableIdentity APP
|
|
4005
4033
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4020,12 +4048,12 @@ interface GetTotalPostsOptions {
|
|
|
4020
4048
|
* @param postId - Post ID.
|
|
4021
4049
|
* @public
|
|
4022
4050
|
* @requiredField postId
|
|
4051
|
+
* @param options - Options specifying which fields to return.
|
|
4023
4052
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4024
4053
|
* @applicableIdentity APP
|
|
4025
|
-
* @returns Retrieved post info.
|
|
4026
4054
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4027
4055
|
*/
|
|
4028
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4056
|
+
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
|
|
4029
4057
|
interface GetPostOptions {
|
|
4030
4058
|
/**
|
|
4031
4059
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4045,6 +4073,7 @@ interface GetPostOptions {
|
|
|
4045
4073
|
* @param slug - Slug of the post to retrieve.
|
|
4046
4074
|
* @public
|
|
4047
4075
|
* @requiredField slug
|
|
4076
|
+
* @param options - Options specifying which fields to return.
|
|
4048
4077
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4049
4078
|
* @applicableIdentity APP
|
|
4050
4079
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4072,6 +4101,7 @@ interface GetPostBySlugOptions {
|
|
|
4072
4101
|
* - `paging.limit` is `50`.
|
|
4073
4102
|
* - `paging.offset` is `0`.
|
|
4074
4103
|
* @public
|
|
4104
|
+
* @param options - Sort, filter, and paging options.
|
|
4075
4105
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4076
4106
|
* @applicableIdentity APP
|
|
4077
4107
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4142,18 +4172,26 @@ interface ListPostsOptions {
|
|
|
4142
4172
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4143
4173
|
}
|
|
4144
4174
|
/**
|
|
4145
|
-
*
|
|
4175
|
+
* Creates a query to retrieve a list of posts.
|
|
4146
4176
|
*
|
|
4147
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4148
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4149
|
-
* - `paging.limit` is `50`.
|
|
4150
|
-
* - `paging.offset` is `0`.
|
|
4151
4177
|
*
|
|
4152
|
-
*
|
|
4153
|
-
*
|
|
4154
|
-
*
|
|
4155
|
-
*
|
|
4178
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4179
|
+
*
|
|
4180
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4181
|
+
*
|
|
4182
|
+
* You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
|
|
4183
|
+
*
|
|
4184
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4185
|
+
* + `limit(50)`
|
|
4186
|
+
* + `descending('firstPublishedDate')`
|
|
4187
|
+
*
|
|
4188
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4189
|
+
*
|
|
4190
|
+
* To learn how to query posts, refer to the table below.
|
|
4191
|
+
*
|
|
4192
|
+
* The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
|
|
4156
4193
|
* @public
|
|
4194
|
+
* @param options - Options specifying which fields to return.
|
|
4157
4195
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4158
4196
|
* @applicableIdentity APP
|
|
4159
4197
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4209,7 +4247,7 @@ interface PostsQueryBuilder {
|
|
|
4209
4247
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4210
4248
|
* @param string - String to compare against. Case-insensitive.
|
|
4211
4249
|
*/
|
|
4212
|
-
startsWith: (propertyName: 'title', value: string) => PostsQueryBuilder;
|
|
4250
|
+
startsWith: (propertyName: 'title' | 'slug', value: string) => PostsQueryBuilder;
|
|
4213
4251
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4214
4252
|
* @param values - List of values to compare against.
|
|
4215
4253
|
*/
|
|
@@ -4272,7 +4310,7 @@ interface PostQuerySpec extends QuerySpec {
|
|
|
4272
4310
|
},
|
|
4273
4311
|
{
|
|
4274
4312
|
fields: ['slug'];
|
|
4275
|
-
operators: ['$eq', '$hasAll', '$hasSome', '$ne'];
|
|
4313
|
+
operators: ['$eq', '$hasAll', '$hasSome', '$ne', '$startsWith'];
|
|
4276
4314
|
sort: 'BOTH';
|
|
4277
4315
|
},
|
|
4278
4316
|
{
|
|
@@ -4419,4 +4457,4 @@ declare const utils: {
|
|
|
4419
4457
|
*/
|
|
4420
4458
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4421
4459
|
|
|
4422
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
4460
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
@@ -398,6 +398,10 @@ function getPost(payload) {
|
|
|
398
398
|
},
|
|
399
399
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
400
400
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
401
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
402
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
403
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
404
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
401
405
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
402
406
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
403
407
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -415,9 +419,27 @@ function getPost(payload) {
|
|
|
415
419
|
{
|
|
416
420
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
417
421
|
},
|
|
422
|
+
{
|
|
423
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
430
|
+
},
|
|
418
431
|
{
|
|
419
432
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
420
433
|
},
|
|
434
|
+
{
|
|
435
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
442
|
+
},
|
|
421
443
|
{
|
|
422
444
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
423
445
|
},
|
|
@@ -449,6 +471,15 @@ function getPost(payload) {
|
|
|
449
471
|
{
|
|
450
472
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
451
473
|
},
|
|
474
|
+
{
|
|
475
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
482
|
+
},
|
|
452
483
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
453
484
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
454
485
|
{
|
|
@@ -549,6 +580,10 @@ function getPostBySlug(payload) {
|
|
|
549
580
|
},
|
|
550
581
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
551
582
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
583
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
584
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
585
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
586
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
552
587
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
553
588
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
554
589
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -566,9 +601,27 @@ function getPostBySlug(payload) {
|
|
|
566
601
|
{
|
|
567
602
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
568
603
|
},
|
|
604
|
+
{
|
|
605
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
612
|
+
},
|
|
569
613
|
{
|
|
570
614
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
571
615
|
},
|
|
616
|
+
{
|
|
617
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
624
|
+
},
|
|
572
625
|
{
|
|
573
626
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
574
627
|
},
|
|
@@ -600,6 +653,15 @@ function getPostBySlug(payload) {
|
|
|
600
653
|
{
|
|
601
654
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
602
655
|
},
|
|
656
|
+
{
|
|
657
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
664
|
+
},
|
|
603
665
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
604
666
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
605
667
|
{
|
|
@@ -704,6 +766,10 @@ function listPosts(payload) {
|
|
|
704
766
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
705
767
|
},
|
|
706
768
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
769
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
770
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
771
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
772
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
707
773
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
708
774
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
709
775
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -721,9 +787,27 @@ function listPosts(payload) {
|
|
|
721
787
|
{
|
|
722
788
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
723
789
|
},
|
|
790
|
+
{
|
|
791
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
798
|
+
},
|
|
724
799
|
{
|
|
725
800
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
726
801
|
},
|
|
802
|
+
{
|
|
803
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
810
|
+
},
|
|
727
811
|
{
|
|
728
812
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
729
813
|
},
|
|
@@ -755,6 +839,15 @@ function listPosts(payload) {
|
|
|
755
839
|
{
|
|
756
840
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
757
841
|
},
|
|
842
|
+
{
|
|
843
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
850
|
+
},
|
|
758
851
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
759
852
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
760
853
|
{
|
|
@@ -859,6 +952,10 @@ function queryPosts(payload) {
|
|
|
859
952
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
860
953
|
},
|
|
861
954
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
955
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
956
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
957
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
958
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
862
959
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
863
960
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
864
961
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -876,9 +973,27 @@ function queryPosts(payload) {
|
|
|
876
973
|
{
|
|
877
974
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
878
975
|
},
|
|
976
|
+
{
|
|
977
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
984
|
+
},
|
|
879
985
|
{
|
|
880
986
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
881
987
|
},
|
|
988
|
+
{
|
|
989
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
996
|
+
},
|
|
882
997
|
{
|
|
883
998
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
884
999
|
},
|
|
@@ -910,6 +1025,15 @@ function queryPosts(payload) {
|
|
|
910
1025
|
{
|
|
911
1026
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
912
1027
|
},
|
|
1028
|
+
{
|
|
1029
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1036
|
+
},
|
|
913
1037
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
914
1038
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
915
1039
|
{
|
|
@@ -1265,6 +1389,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1265
1389
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1266
1390
|
return ImagePosition2;
|
|
1267
1391
|
})(ImagePosition || {});
|
|
1392
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1393
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1394
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1395
|
+
return LayoutDataBackgroundType2;
|
|
1396
|
+
})(LayoutDataBackgroundType || {});
|
|
1268
1397
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1269
1398
|
Origin2["IMAGE"] = "IMAGE";
|
|
1270
1399
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -1275,11 +1404,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1275
1404
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1276
1405
|
return BannerPosition2;
|
|
1277
1406
|
})(BannerPosition || {});
|
|
1278
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1279
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1280
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1281
|
-
return LayoutDataBackgroundType2;
|
|
1282
|
-
})(LayoutDataBackgroundType || {});
|
|
1283
1407
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1284
1408
|
BackdropType2["COLOR"] = "COLOR";
|
|
1285
1409
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1525,8 +1649,8 @@ async function getPost2(postId, options) {
|
|
|
1525
1649
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1526
1650
|
}
|
|
1527
1651
|
]),
|
|
1528
|
-
["post.richContent"]
|
|
1529
|
-
)
|
|
1652
|
+
["post.richContent", "post.rich_content"]
|
|
1653
|
+
);
|
|
1530
1654
|
} catch (err) {
|
|
1531
1655
|
const transformedError = sdkTransformError(
|
|
1532
1656
|
err,
|
|
@@ -1573,7 +1697,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1573
1697
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1574
1698
|
}
|
|
1575
1699
|
]),
|
|
1576
|
-
["post.richContent"]
|
|
1700
|
+
["post.richContent", "post.rich_content"]
|
|
1577
1701
|
);
|
|
1578
1702
|
} catch (err) {
|
|
1579
1703
|
const transformedError = sdkTransformError(
|
|
@@ -1632,7 +1756,7 @@ async function listPosts2(options) {
|
|
|
1632
1756
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1633
1757
|
}
|
|
1634
1758
|
]),
|
|
1635
|
-
["posts.richContent"]
|
|
1759
|
+
["posts.richContent", "posts.rich_content"]
|
|
1636
1760
|
);
|
|
1637
1761
|
} catch (err) {
|
|
1638
1762
|
const transformedError = sdkTransformError(
|
|
@@ -1702,7 +1826,7 @@ function queryPosts2(options) {
|
|
|
1702
1826
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1703
1827
|
}
|
|
1704
1828
|
]),
|
|
1705
|
-
["posts.richContent"]
|
|
1829
|
+
["posts.richContent", "posts.rich_content"]
|
|
1706
1830
|
);
|
|
1707
1831
|
return {
|
|
1708
1832
|
items: transformedData?.posts,
|
|
@@ -1750,7 +1874,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1750
1874
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1751
1875
|
}
|
|
1752
1876
|
]),
|
|
1753
|
-
["posts.richContent"]
|
|
1877
|
+
["posts.richContent", "posts.rich_content"]
|
|
1754
1878
|
);
|
|
1755
1879
|
} catch (err) {
|
|
1756
1880
|
const transformedError = sdkTransformError(
|