@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
|
@@ -1137,6 +1137,8 @@ interface ImageData {
|
|
|
1137
1137
|
decorative?: boolean | null;
|
|
1138
1138
|
/** Styling for the image. */
|
|
1139
1139
|
styles?: ImageDataStyles;
|
|
1140
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
1141
|
+
crop?: ImageDataCrop;
|
|
1140
1142
|
}
|
|
1141
1143
|
interface StylesBorder {
|
|
1142
1144
|
/** Border width in pixels. */
|
|
@@ -1153,6 +1155,16 @@ interface ImageDataStyles {
|
|
|
1153
1155
|
/** Border attributes. */
|
|
1154
1156
|
border?: StylesBorder;
|
|
1155
1157
|
}
|
|
1158
|
+
interface ImageDataCrop {
|
|
1159
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
1160
|
+
x?: number | null;
|
|
1161
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
1162
|
+
y?: number | null;
|
|
1163
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
1164
|
+
width?: number | null;
|
|
1165
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
1166
|
+
height?: number | null;
|
|
1167
|
+
}
|
|
1156
1168
|
interface LinkPreviewData {
|
|
1157
1169
|
/** Styling for the link preview's container. */
|
|
1158
1170
|
containerData?: PluginContainerData;
|
|
@@ -2190,6 +2202,27 @@ declare enum ImagePosition {
|
|
|
2190
2202
|
}
|
|
2191
2203
|
/** @enumType */
|
|
2192
2204
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2205
|
+
/** Background styling (color or gradient) */
|
|
2206
|
+
interface LayoutDataBackground {
|
|
2207
|
+
/** Background type. */
|
|
2208
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2209
|
+
/**
|
|
2210
|
+
* Background color as a hexadecimal value.
|
|
2211
|
+
* @maxLength 19
|
|
2212
|
+
*/
|
|
2213
|
+
color?: string | null;
|
|
2214
|
+
/** Gradient configuration. */
|
|
2215
|
+
gradient?: Gradient;
|
|
2216
|
+
}
|
|
2217
|
+
/** Background type */
|
|
2218
|
+
declare enum LayoutDataBackgroundType {
|
|
2219
|
+
/** Solid color background */
|
|
2220
|
+
COLOR = "COLOR",
|
|
2221
|
+
/** Gradient background */
|
|
2222
|
+
GRADIENT = "GRADIENT"
|
|
2223
|
+
}
|
|
2224
|
+
/** @enumType */
|
|
2225
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2193
2226
|
declare enum Origin {
|
|
2194
2227
|
/** Banner originated from an image */
|
|
2195
2228
|
IMAGE = "IMAGE",
|
|
@@ -2206,15 +2239,6 @@ declare enum BannerPosition {
|
|
|
2206
2239
|
}
|
|
2207
2240
|
/** @enumType */
|
|
2208
2241
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2209
|
-
/** Background type */
|
|
2210
|
-
declare enum LayoutDataBackgroundType {
|
|
2211
|
-
/** Solid color background */
|
|
2212
|
-
COLOR = "COLOR",
|
|
2213
|
-
/** Gradient background */
|
|
2214
|
-
GRADIENT = "GRADIENT"
|
|
2215
|
-
}
|
|
2216
|
-
/** @enumType */
|
|
2217
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2218
2242
|
/** Backdrop type */
|
|
2219
2243
|
declare enum BackdropType {
|
|
2220
2244
|
/** Solid color backdrop */
|
|
@@ -2227,12 +2251,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2227
2251
|
interface LayoutDataBackgroundImage {
|
|
2228
2252
|
/** Background image. */
|
|
2229
2253
|
media?: V1Media;
|
|
2230
|
-
/**
|
|
2254
|
+
/**
|
|
2255
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2256
|
+
* @deprecated
|
|
2257
|
+
*/
|
|
2231
2258
|
opacity?: number | null;
|
|
2232
2259
|
/** Background image scaling. */
|
|
2233
2260
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2234
2261
|
/** Position of background. Defaults to `CENTER`. */
|
|
2235
2262
|
position?: ImagePositionWithLiterals;
|
|
2263
|
+
/** 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. */
|
|
2264
|
+
blur?: number | null;
|
|
2265
|
+
/** 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`). */
|
|
2266
|
+
overlay?: LayoutDataBackground;
|
|
2236
2267
|
}
|
|
2237
2268
|
declare enum VerticalAlignmentAlignment {
|
|
2238
2269
|
/** Top alignment */
|
|
@@ -2266,18 +2297,6 @@ interface Banner {
|
|
|
2266
2297
|
/** Position of the banner */
|
|
2267
2298
|
position?: BannerPositionWithLiterals;
|
|
2268
2299
|
}
|
|
2269
|
-
/** Background styling (color or gradient) */
|
|
2270
|
-
interface LayoutDataBackground {
|
|
2271
|
-
/** Background type. */
|
|
2272
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2273
|
-
/**
|
|
2274
|
-
* Background color as a hexadecimal value.
|
|
2275
|
-
* @maxLength 19
|
|
2276
|
-
*/
|
|
2277
|
-
color?: string | null;
|
|
2278
|
-
/** Gradient configuration. */
|
|
2279
|
-
gradient?: Gradient;
|
|
2280
|
-
}
|
|
2281
2300
|
/** Backdrop styling (color or gradient) */
|
|
2282
2301
|
interface Backdrop {
|
|
2283
2302
|
/** Backdrop type. */
|
|
@@ -2349,15 +2368,6 @@ declare enum ImagePositionPosition {
|
|
|
2349
2368
|
}
|
|
2350
2369
|
/** @enumType */
|
|
2351
2370
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2352
|
-
/** Background type */
|
|
2353
|
-
declare enum CardDataBackgroundType {
|
|
2354
|
-
/** Solid color background */
|
|
2355
|
-
COLOR = "COLOR",
|
|
2356
|
-
/** Gradient background */
|
|
2357
|
-
GRADIENT = "GRADIENT"
|
|
2358
|
-
}
|
|
2359
|
-
/** @enumType */
|
|
2360
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2361
2371
|
/** Background styling (color or gradient) */
|
|
2362
2372
|
interface CardDataBackground {
|
|
2363
2373
|
/** Background type. */
|
|
@@ -2370,15 +2380,31 @@ interface CardDataBackground {
|
|
|
2370
2380
|
/** Gradient configuration. */
|
|
2371
2381
|
gradient?: Gradient;
|
|
2372
2382
|
}
|
|
2383
|
+
/** Background type */
|
|
2384
|
+
declare enum CardDataBackgroundType {
|
|
2385
|
+
/** Solid color background */
|
|
2386
|
+
COLOR = "COLOR",
|
|
2387
|
+
/** Gradient background */
|
|
2388
|
+
GRADIENT = "GRADIENT"
|
|
2389
|
+
}
|
|
2390
|
+
/** @enumType */
|
|
2391
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2373
2392
|
interface BackgroundImage {
|
|
2374
2393
|
/** Background image. */
|
|
2375
2394
|
media?: V1Media;
|
|
2376
|
-
/**
|
|
2395
|
+
/**
|
|
2396
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2397
|
+
* @deprecated
|
|
2398
|
+
*/
|
|
2377
2399
|
opacity?: number | null;
|
|
2378
2400
|
/** Background image scaling. */
|
|
2379
2401
|
scaling?: ScalingWithLiterals;
|
|
2380
2402
|
/** Position of background. Defaults to `CENTER`. */
|
|
2381
2403
|
position?: ImagePositionPositionWithLiterals;
|
|
2404
|
+
/** 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`). */
|
|
2405
|
+
overlay?: CardDataBackground;
|
|
2406
|
+
/** 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. */
|
|
2407
|
+
blur?: number | null;
|
|
2382
2408
|
}
|
|
2383
2409
|
interface TocData {
|
|
2384
2410
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -3946,13 +3972,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
3946
3972
|
/**
|
|
3947
3973
|
* Retrieves the number of published posts per month within a specified time range.
|
|
3948
3974
|
*
|
|
3949
|
-
*
|
|
3950
|
-
* The
|
|
3951
|
-
*
|
|
3952
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
3953
|
-
*
|
|
3954
|
-
*
|
|
3975
|
+
*
|
|
3976
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
3977
|
+
*
|
|
3978
|
+
* 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.
|
|
3979
|
+
*
|
|
3980
|
+
* >**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.
|
|
3955
3981
|
* @public
|
|
3982
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
3956
3983
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3957
3984
|
* @applicableIdentity APP
|
|
3958
3985
|
* @returns Get Blog Post Count Stats response
|
|
@@ -3993,6 +4020,7 @@ interface QueryPostCountStatsOptions {
|
|
|
3993
4020
|
/**
|
|
3994
4021
|
* Retrieves the total amount of published posts of the blog.
|
|
3995
4022
|
* @public
|
|
4023
|
+
* @param options - Language Options.
|
|
3996
4024
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3997
4025
|
* @applicableIdentity APP
|
|
3998
4026
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4013,12 +4041,12 @@ interface GetTotalPostsOptions {
|
|
|
4013
4041
|
* @param postId - Post ID.
|
|
4014
4042
|
* @public
|
|
4015
4043
|
* @requiredField postId
|
|
4044
|
+
* @param options - Options specifying which fields to return.
|
|
4016
4045
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4017
4046
|
* @applicableIdentity APP
|
|
4018
|
-
* @returns Retrieved post info.
|
|
4019
4047
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4020
4048
|
*/
|
|
4021
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4049
|
+
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>>;
|
|
4022
4050
|
interface GetPostOptions {
|
|
4023
4051
|
/**
|
|
4024
4052
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4038,6 +4066,7 @@ interface GetPostOptions {
|
|
|
4038
4066
|
* @param slug - Slug of the post to retrieve.
|
|
4039
4067
|
* @public
|
|
4040
4068
|
* @requiredField slug
|
|
4069
|
+
* @param options - Options specifying which fields to return.
|
|
4041
4070
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4042
4071
|
* @applicableIdentity APP
|
|
4043
4072
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4065,6 +4094,7 @@ interface GetPostBySlugOptions {
|
|
|
4065
4094
|
* - `paging.limit` is `50`.
|
|
4066
4095
|
* - `paging.offset` is `0`.
|
|
4067
4096
|
* @public
|
|
4097
|
+
* @param options - Sort, filter, and paging options.
|
|
4068
4098
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4069
4099
|
* @applicableIdentity APP
|
|
4070
4100
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4135,18 +4165,26 @@ interface ListPostsOptions {
|
|
|
4135
4165
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4136
4166
|
}
|
|
4137
4167
|
/**
|
|
4138
|
-
*
|
|
4168
|
+
* Creates a query to retrieve a list of posts.
|
|
4139
4169
|
*
|
|
4140
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4141
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4142
|
-
* - `paging.limit` is `50`.
|
|
4143
|
-
* - `paging.offset` is `0`.
|
|
4144
4170
|
*
|
|
4145
|
-
*
|
|
4146
|
-
*
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4171
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4172
|
+
*
|
|
4173
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4174
|
+
*
|
|
4175
|
+
* 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.
|
|
4176
|
+
*
|
|
4177
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4178
|
+
* + `limit(50)`
|
|
4179
|
+
* + `descending('firstPublishedDate')`
|
|
4180
|
+
*
|
|
4181
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4182
|
+
*
|
|
4183
|
+
* To learn how to query posts, refer to the table below.
|
|
4184
|
+
*
|
|
4185
|
+
* 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`.
|
|
4149
4186
|
* @public
|
|
4187
|
+
* @param options - Options specifying which fields to return.
|
|
4150
4188
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4151
4189
|
* @applicableIdentity APP
|
|
4152
4190
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4202,7 +4240,7 @@ interface PostsQueryBuilder {
|
|
|
4202
4240
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4203
4241
|
* @param string - String to compare against. Case-insensitive.
|
|
4204
4242
|
*/
|
|
4205
|
-
startsWith: (propertyName: 'title', value: string) => PostsQueryBuilder;
|
|
4243
|
+
startsWith: (propertyName: 'title' | 'slug', value: string) => PostsQueryBuilder;
|
|
4206
4244
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4207
4245
|
* @param values - List of values to compare against.
|
|
4208
4246
|
*/
|
|
@@ -4265,7 +4303,7 @@ interface PostQuerySpec extends QuerySpec {
|
|
|
4265
4303
|
},
|
|
4266
4304
|
{
|
|
4267
4305
|
fields: ['slug'];
|
|
4268
|
-
operators: ['$eq', '$hasAll', '$hasSome', '$ne'];
|
|
4306
|
+
operators: ['$eq', '$hasAll', '$hasSome', '$ne', '$startsWith'];
|
|
4269
4307
|
sort: 'BOTH';
|
|
4270
4308
|
},
|
|
4271
4309
|
{
|
|
@@ -4412,4 +4450,4 @@ declare const utils: {
|
|
|
4412
4450
|
*/
|
|
4413
4451
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4414
4452
|
|
|
4415
|
-
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 };
|
|
4453
|
+
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(
|