@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 };
|
|
@@ -493,6 +493,10 @@ function getPost(payload) {
|
|
|
493
493
|
},
|
|
494
494
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
495
495
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
496
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
497
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
498
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
499
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
496
500
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
497
501
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
498
502
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -510,9 +514,27 @@ function getPost(payload) {
|
|
|
510
514
|
{
|
|
511
515
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
512
516
|
},
|
|
517
|
+
{
|
|
518
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
525
|
+
},
|
|
513
526
|
{
|
|
514
527
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
515
528
|
},
|
|
529
|
+
{
|
|
530
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
537
|
+
},
|
|
516
538
|
{
|
|
517
539
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
518
540
|
},
|
|
@@ -544,6 +566,15 @@ function getPost(payload) {
|
|
|
544
566
|
{
|
|
545
567
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
546
568
|
},
|
|
569
|
+
{
|
|
570
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
577
|
+
},
|
|
547
578
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
548
579
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
549
580
|
{
|
|
@@ -644,6 +675,10 @@ function getPostBySlug(payload) {
|
|
|
644
675
|
},
|
|
645
676
|
{ path: "post.richContent.nodes.galleryData.options.item.ratio" },
|
|
646
677
|
{ path: "post.richContent.nodes.imageData.image.duration" },
|
|
678
|
+
{ path: "post.richContent.nodes.imageData.crop.x" },
|
|
679
|
+
{ path: "post.richContent.nodes.imageData.crop.y" },
|
|
680
|
+
{ path: "post.richContent.nodes.imageData.crop.width" },
|
|
681
|
+
{ path: "post.richContent.nodes.imageData.crop.height" },
|
|
647
682
|
{ path: "post.richContent.nodes.mapData.mapSettings.lat" },
|
|
648
683
|
{ path: "post.richContent.nodes.mapData.mapSettings.lng" },
|
|
649
684
|
{ path: "post.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -661,9 +696,27 @@ function getPostBySlug(payload) {
|
|
|
661
696
|
{
|
|
662
697
|
path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
663
698
|
},
|
|
699
|
+
{
|
|
700
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
707
|
+
},
|
|
664
708
|
{
|
|
665
709
|
path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
666
710
|
},
|
|
711
|
+
{
|
|
712
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
719
|
+
},
|
|
667
720
|
{
|
|
668
721
|
path: "post.richContent.nodes.layoutData.background.gradient.centerX"
|
|
669
722
|
},
|
|
@@ -695,6 +748,15 @@ function getPostBySlug(payload) {
|
|
|
695
748
|
{
|
|
696
749
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
697
750
|
},
|
|
751
|
+
{
|
|
752
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
759
|
+
},
|
|
698
760
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
699
761
|
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
700
762
|
{
|
|
@@ -799,6 +861,10 @@ function listPosts(payload) {
|
|
|
799
861
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
800
862
|
},
|
|
801
863
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
864
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
865
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
866
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
867
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
802
868
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
803
869
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
804
870
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -816,9 +882,27 @@ function listPosts(payload) {
|
|
|
816
882
|
{
|
|
817
883
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
818
884
|
},
|
|
885
|
+
{
|
|
886
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
893
|
+
},
|
|
819
894
|
{
|
|
820
895
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
821
896
|
},
|
|
897
|
+
{
|
|
898
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
905
|
+
},
|
|
822
906
|
{
|
|
823
907
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
824
908
|
},
|
|
@@ -850,6 +934,15 @@ function listPosts(payload) {
|
|
|
850
934
|
{
|
|
851
935
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
852
936
|
},
|
|
937
|
+
{
|
|
938
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
945
|
+
},
|
|
853
946
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
854
947
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
855
948
|
{
|
|
@@ -954,6 +1047,10 @@ function queryPosts(payload) {
|
|
|
954
1047
|
path: "posts.richContent.nodes.galleryData.options.item.ratio"
|
|
955
1048
|
},
|
|
956
1049
|
{ path: "posts.richContent.nodes.imageData.image.duration" },
|
|
1050
|
+
{ path: "posts.richContent.nodes.imageData.crop.x" },
|
|
1051
|
+
{ path: "posts.richContent.nodes.imageData.crop.y" },
|
|
1052
|
+
{ path: "posts.richContent.nodes.imageData.crop.width" },
|
|
1053
|
+
{ path: "posts.richContent.nodes.imageData.crop.height" },
|
|
957
1054
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lat" },
|
|
958
1055
|
{ path: "posts.richContent.nodes.mapData.mapSettings.lng" },
|
|
959
1056
|
{ path: "posts.richContent.nodes.pollData.poll.image.duration" },
|
|
@@ -971,9 +1068,27 @@ function queryPosts(payload) {
|
|
|
971
1068
|
{
|
|
972
1069
|
path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
973
1070
|
},
|
|
1071
|
+
{
|
|
1072
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
1079
|
+
},
|
|
974
1080
|
{
|
|
975
1081
|
path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
976
1082
|
},
|
|
1083
|
+
{
|
|
1084
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
1091
|
+
},
|
|
977
1092
|
{
|
|
978
1093
|
path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
|
|
979
1094
|
},
|
|
@@ -1005,6 +1120,15 @@ function queryPosts(payload) {
|
|
|
1005
1120
|
{
|
|
1006
1121
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1007
1122
|
},
|
|
1123
|
+
{
|
|
1124
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
1131
|
+
},
|
|
1008
1132
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
1009
1133
|
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
1010
1134
|
{
|
|
@@ -1360,6 +1484,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1360
1484
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1361
1485
|
return ImagePosition2;
|
|
1362
1486
|
})(ImagePosition || {});
|
|
1487
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1488
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1489
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1490
|
+
return LayoutDataBackgroundType2;
|
|
1491
|
+
})(LayoutDataBackgroundType || {});
|
|
1363
1492
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1364
1493
|
Origin2["IMAGE"] = "IMAGE";
|
|
1365
1494
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -1370,11 +1499,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1370
1499
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1371
1500
|
return BannerPosition2;
|
|
1372
1501
|
})(BannerPosition || {});
|
|
1373
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1374
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1375
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1376
|
-
return LayoutDataBackgroundType2;
|
|
1377
|
-
})(LayoutDataBackgroundType || {});
|
|
1378
1502
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1379
1503
|
BackdropType2["COLOR"] = "COLOR";
|
|
1380
1504
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1620,8 +1744,8 @@ async function getPost2(postId, options) {
|
|
|
1620
1744
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1621
1745
|
}
|
|
1622
1746
|
]),
|
|
1623
|
-
["post.richContent"]
|
|
1624
|
-
)
|
|
1747
|
+
["post.richContent", "post.rich_content"]
|
|
1748
|
+
);
|
|
1625
1749
|
} catch (err) {
|
|
1626
1750
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1627
1751
|
err,
|
|
@@ -1668,7 +1792,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1668
1792
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1669
1793
|
}
|
|
1670
1794
|
]),
|
|
1671
|
-
["post.richContent"]
|
|
1795
|
+
["post.richContent", "post.rich_content"]
|
|
1672
1796
|
);
|
|
1673
1797
|
} catch (err) {
|
|
1674
1798
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1727,7 +1851,7 @@ async function listPosts2(options) {
|
|
|
1727
1851
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1728
1852
|
}
|
|
1729
1853
|
]),
|
|
1730
|
-
["posts.richContent"]
|
|
1854
|
+
["posts.richContent", "posts.rich_content"]
|
|
1731
1855
|
);
|
|
1732
1856
|
} catch (err) {
|
|
1733
1857
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1797,7 +1921,7 @@ function queryPosts2(options) {
|
|
|
1797
1921
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1798
1922
|
}
|
|
1799
1923
|
]),
|
|
1800
|
-
["posts.richContent"]
|
|
1924
|
+
["posts.richContent", "posts.rich_content"]
|
|
1801
1925
|
);
|
|
1802
1926
|
return {
|
|
1803
1927
|
items: transformedData?.posts,
|
|
@@ -1845,7 +1969,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1845
1969
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1846
1970
|
}
|
|
1847
1971
|
]),
|
|
1848
|
-
["posts.richContent"]
|
|
1972
|
+
["posts.richContent", "posts.rich_content"]
|
|
1849
1973
|
);
|
|
1850
1974
|
} catch (err) {
|
|
1851
1975
|
const transformedError = (0, import_transform_error.transformError)(
|