@wix/auto_sdk_blog_posts 1.0.144 → 1.0.146
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 +74 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +128 -21
- package/build/cjs/index.typings.js +52 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +99 -3
- package/build/cjs/meta.js +46 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2 -2
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +72 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +128 -21
- package/build/es/index.typings.mjs +50 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +99 -3
- package/build/es/meta.mjs +44 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2 -2
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +74 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +128 -21
- package/build/internal/cjs/index.typings.js +52 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +99 -3
- package/build/internal/cjs/meta.js +46 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +2 -2
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +72 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +128 -21
- package/build/internal/es/index.typings.mjs +50 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +99 -3
- package/build/internal/es/meta.mjs +44 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +2 -2
- package/package.json +4 -4
|
@@ -320,6 +320,10 @@ interface Node extends NodeDataOneOf {
|
|
|
320
320
|
cardData?: CardData;
|
|
321
321
|
/** Data for a table of contents node. */
|
|
322
322
|
tocData?: TocData;
|
|
323
|
+
/** Data for a smart block node. */
|
|
324
|
+
smartBlockData?: SmartBlockData;
|
|
325
|
+
/** Data for a smart block cell node. */
|
|
326
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
323
327
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
324
328
|
type?: NodeTypeWithLiterals;
|
|
325
329
|
/** Node ID. */
|
|
@@ -393,6 +397,10 @@ interface NodeDataOneOf {
|
|
|
393
397
|
cardData?: CardData;
|
|
394
398
|
/** Data for a table of contents node. */
|
|
395
399
|
tocData?: TocData;
|
|
400
|
+
/** Data for a smart block node. */
|
|
401
|
+
smartBlockData?: SmartBlockData;
|
|
402
|
+
/** Data for a smart block cell node. */
|
|
403
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
396
404
|
}
|
|
397
405
|
declare enum NodeType {
|
|
398
406
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -431,10 +439,12 @@ declare enum NodeType {
|
|
|
431
439
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
432
440
|
SHAPE = "SHAPE",
|
|
433
441
|
CARD = "CARD",
|
|
434
|
-
TOC = "TOC"
|
|
442
|
+
TOC = "TOC",
|
|
443
|
+
SMART_BLOCK = "SMART_BLOCK",
|
|
444
|
+
SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
|
|
435
445
|
}
|
|
436
446
|
/** @enumType */
|
|
437
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
447
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC' | 'SMART_BLOCK' | 'SMART_BLOCK_CELL';
|
|
438
448
|
interface NodeStyle {
|
|
439
449
|
/** The top padding value in pixels. */
|
|
440
450
|
paddingTop?: string | null;
|
|
@@ -1052,6 +1062,8 @@ interface HeadingData {
|
|
|
1052
1062
|
textStyle?: TextStyle;
|
|
1053
1063
|
/** Indentation level from 1-4. */
|
|
1054
1064
|
indentation?: number | null;
|
|
1065
|
+
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
1066
|
+
renderedLevel?: number | null;
|
|
1055
1067
|
}
|
|
1056
1068
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
1057
1069
|
/** The URL for the HTML code for the node. */
|
|
@@ -1925,6 +1937,8 @@ interface TableData {
|
|
|
1925
1937
|
* @maxSize 4
|
|
1926
1938
|
*/
|
|
1927
1939
|
cellPadding?: number[];
|
|
1940
|
+
/** Table's alternative text. */
|
|
1941
|
+
altText?: string | null;
|
|
1928
1942
|
}
|
|
1929
1943
|
interface Dimensions {
|
|
1930
1944
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -2366,6 +2380,88 @@ declare enum Indentation {
|
|
|
2366
2380
|
}
|
|
2367
2381
|
/** @enumType */
|
|
2368
2382
|
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2383
|
+
/** Data for a smart block node. */
|
|
2384
|
+
interface SmartBlockData {
|
|
2385
|
+
/** The type of the smart block. */
|
|
2386
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2387
|
+
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
|
|
2388
|
+
orientation?: string | null;
|
|
2389
|
+
/** Column size controlling cells per row. */
|
|
2390
|
+
columnSize?: ColumnSizeWithLiterals;
|
|
2391
|
+
/** Border color (for SOLID_JOINED_BOXES variant). */
|
|
2392
|
+
borderColor?: string | null;
|
|
2393
|
+
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2394
|
+
borderWidth?: number | null;
|
|
2395
|
+
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2396
|
+
borderRadius?: number | null;
|
|
2397
|
+
}
|
|
2398
|
+
/** Layout type of the smart block */
|
|
2399
|
+
declare enum SmartBlockDataType {
|
|
2400
|
+
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
|
|
2401
|
+
SOLID_BOXES = "SOLID_BOXES",
|
|
2402
|
+
/** Numbered boxes. */
|
|
2403
|
+
NUMBERED_BOXES = "NUMBERED_BOXES",
|
|
2404
|
+
/** Statistics display with large numbers/values. */
|
|
2405
|
+
STATS = "STATS",
|
|
2406
|
+
/** Statistics with circular visual elements. */
|
|
2407
|
+
CIRCLE_STATS = "CIRCLE_STATS",
|
|
2408
|
+
/** Staggered/zigzag grid layout with alternating box positions. */
|
|
2409
|
+
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
|
|
2410
|
+
/** Grid layout with boxes visually joined (no gaps, shared container border). */
|
|
2411
|
+
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
|
|
2412
|
+
/** Transparent cells with only a left side line. */
|
|
2413
|
+
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
|
|
2414
|
+
/** Transparent cells with only a top line. */
|
|
2415
|
+
TOP_LINE_TEXT = "TOP_LINE_TEXT",
|
|
2416
|
+
/** Outlined boxes with a numbered/icon circle at the top. */
|
|
2417
|
+
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
|
|
2418
|
+
/** Large icon bullets with text content. */
|
|
2419
|
+
BIG_BULLETS = "BIG_BULLETS",
|
|
2420
|
+
/** Small dot bullets with text content. */
|
|
2421
|
+
SMALL_BULLETS = "SMALL_BULLETS",
|
|
2422
|
+
/** Arrow icon bullets with text content. */
|
|
2423
|
+
ARROW_BULLETS = "ARROW_BULLETS",
|
|
2424
|
+
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2425
|
+
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2426
|
+
/** Statistics with bar visual elements. */
|
|
2427
|
+
BAR_STATS = "BAR_STATS"
|
|
2428
|
+
}
|
|
2429
|
+
/** @enumType */
|
|
2430
|
+
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
|
|
2431
|
+
/** Column size controlling how many cells appear per row. */
|
|
2432
|
+
declare enum ColumnSize {
|
|
2433
|
+
/** Up to 4 cells in a row. */
|
|
2434
|
+
SMALL = "SMALL",
|
|
2435
|
+
/** Up to 3 cells in a row (default). */
|
|
2436
|
+
MEDIUM = "MEDIUM",
|
|
2437
|
+
/** Up to 2 cells in a row. */
|
|
2438
|
+
LARGE = "LARGE",
|
|
2439
|
+
/** 1 cell in a row. */
|
|
2440
|
+
EXTRA_LARGE = "EXTRA_LARGE"
|
|
2441
|
+
}
|
|
2442
|
+
/** @enumType */
|
|
2443
|
+
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2444
|
+
/** Data for a smart block cell node. */
|
|
2445
|
+
interface SmartBlockCellData {
|
|
2446
|
+
/** Optional label text for the cell (e.g., for stats variants). */
|
|
2447
|
+
label?: string | null;
|
|
2448
|
+
/** Shape file details. */
|
|
2449
|
+
shape?: V1Media;
|
|
2450
|
+
/** Border color of the cell. */
|
|
2451
|
+
borderColor?: string | null;
|
|
2452
|
+
/** Border width in pixels. */
|
|
2453
|
+
borderWidth?: number | null;
|
|
2454
|
+
/** Border radius in pixels. */
|
|
2455
|
+
borderRadius?: number | null;
|
|
2456
|
+
/** The type of the parent smart block (must match parent). */
|
|
2457
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2458
|
+
/** Accent color for non-background variants (e.g., line, bullet, label color). */
|
|
2459
|
+
accentColor?: string | null;
|
|
2460
|
+
/** Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES). */
|
|
2461
|
+
backgroundColor?: string | null;
|
|
2462
|
+
/** Shape fill color as a hexadecimal value. */
|
|
2463
|
+
shapeColor?: string | null;
|
|
2464
|
+
}
|
|
2369
2465
|
interface Metadata {
|
|
2370
2466
|
/** Schema version. */
|
|
2371
2467
|
version?: number;
|
|
@@ -4154,13 +4250,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4154
4250
|
/**
|
|
4155
4251
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4156
4252
|
*
|
|
4157
|
-
*
|
|
4158
|
-
* The
|
|
4159
|
-
*
|
|
4160
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4161
|
-
*
|
|
4162
|
-
*
|
|
4253
|
+
*
|
|
4254
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
4255
|
+
*
|
|
4256
|
+
* 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.
|
|
4257
|
+
*
|
|
4258
|
+
* >**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.
|
|
4163
4259
|
* @public
|
|
4260
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
4164
4261
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4165
4262
|
* @applicableIdentity APP
|
|
4166
4263
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4201,6 +4298,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4201
4298
|
/**
|
|
4202
4299
|
* Retrieves the total amount of published posts of the blog.
|
|
4203
4300
|
* @public
|
|
4301
|
+
* @param options - Language Options.
|
|
4204
4302
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4205
4303
|
* @applicableIdentity APP
|
|
4206
4304
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4221,12 +4319,12 @@ interface GetTotalPostsOptions {
|
|
|
4221
4319
|
* @param postId - Post ID.
|
|
4222
4320
|
* @public
|
|
4223
4321
|
* @requiredField postId
|
|
4322
|
+
* @param options - Options specifying which fields to return.
|
|
4224
4323
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4225
4324
|
* @applicableIdentity APP
|
|
4226
|
-
* @returns Retrieved post info.
|
|
4227
4325
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4228
4326
|
*/
|
|
4229
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4327
|
+
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>>;
|
|
4230
4328
|
interface GetPostOptions {
|
|
4231
4329
|
/**
|
|
4232
4330
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4246,6 +4344,7 @@ interface GetPostOptions {
|
|
|
4246
4344
|
* @param slug - Slug of the post to retrieve.
|
|
4247
4345
|
* @public
|
|
4248
4346
|
* @requiredField slug
|
|
4347
|
+
* @param options - Options specifying which fields to return.
|
|
4249
4348
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4250
4349
|
* @applicableIdentity APP
|
|
4251
4350
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4273,6 +4372,7 @@ interface GetPostBySlugOptions {
|
|
|
4273
4372
|
* - `paging.limit` is `50`.
|
|
4274
4373
|
* - `paging.offset` is `0`.
|
|
4275
4374
|
* @public
|
|
4375
|
+
* @param options - Sort, filter, and paging options.
|
|
4276
4376
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4277
4377
|
* @applicableIdentity APP
|
|
4278
4378
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4343,18 +4443,26 @@ interface ListPostsOptions {
|
|
|
4343
4443
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4344
4444
|
}
|
|
4345
4445
|
/**
|
|
4346
|
-
*
|
|
4446
|
+
* Creates a query to retrieve a list of posts.
|
|
4347
4447
|
*
|
|
4348
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4349
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4350
|
-
* - `paging.limit` is `50`.
|
|
4351
|
-
* - `paging.offset` is `0`.
|
|
4352
4448
|
*
|
|
4353
|
-
*
|
|
4354
|
-
*
|
|
4355
|
-
*
|
|
4356
|
-
*
|
|
4449
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4450
|
+
*
|
|
4451
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4452
|
+
*
|
|
4453
|
+
* 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.
|
|
4454
|
+
*
|
|
4455
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4456
|
+
* + `limit(50)`
|
|
4457
|
+
* + `descending('firstPublishedDate')`
|
|
4458
|
+
*
|
|
4459
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4460
|
+
*
|
|
4461
|
+
* To learn how to query posts, refer to the table below.
|
|
4462
|
+
*
|
|
4463
|
+
* 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`.
|
|
4357
4464
|
* @public
|
|
4465
|
+
* @param options - Options specifying which fields to return.
|
|
4358
4466
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4359
4467
|
* @applicableIdentity APP
|
|
4360
4468
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4602,7 +4710,6 @@ type PostQuery = {
|
|
|
4602
4710
|
};
|
|
4603
4711
|
declare const utils: {
|
|
4604
4712
|
query: {
|
|
4605
|
-
/** Data for a spoiler decoration. */
|
|
4606
4713
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
|
|
4607
4714
|
Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
|
|
4608
4715
|
Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
|
|
@@ -4621,4 +4728,4 @@ declare const utils: {
|
|
|
4621
4728
|
*/
|
|
4622
4729
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4623
4730
|
|
|
4624
|
-
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, BannerOrigin, type BannerOriginWithLiterals, 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 Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, 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 DraftPost, type DraftPostTranslation, 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, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, 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 ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListTemplatesRequest, type ListTemplatesResponse, 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, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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, 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, 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 };
|
|
4731
|
+
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, BannerOrigin, type BannerOriginWithLiterals, 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 Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, 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 DraftPost, type DraftPostTranslation, 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, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, 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 ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListTemplatesRequest, type ListTemplatesResponse, 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, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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 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, 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 };
|
|
@@ -28,6 +28,7 @@ __export(index_typings_exports, {
|
|
|
28
28
|
BannerOrigin: () => BannerOrigin,
|
|
29
29
|
ButtonDataType: () => ButtonDataType,
|
|
30
30
|
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
31
|
+
ColumnSize: () => ColumnSize,
|
|
31
32
|
Crop: () => Crop,
|
|
32
33
|
DecorationType: () => DecorationType,
|
|
33
34
|
DesignTarget: () => DesignTarget,
|
|
@@ -67,6 +68,7 @@ __export(index_typings_exports, {
|
|
|
67
68
|
Resizing: () => Resizing,
|
|
68
69
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
69
70
|
Scaling: () => Scaling,
|
|
71
|
+
SmartBlockDataType: () => SmartBlockDataType,
|
|
70
72
|
SortOrder: () => SortOrder,
|
|
71
73
|
Source: () => Source,
|
|
72
74
|
Status: () => Status,
|
|
@@ -544,7 +546,10 @@ function getPost(payload) {
|
|
|
544
546
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
545
547
|
},
|
|
546
548
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
547
|
-
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
549
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
550
|
+
{
|
|
551
|
+
path: "post.richContent.nodes.smartBlockCellData.shape.duration"
|
|
552
|
+
}
|
|
548
553
|
]
|
|
549
554
|
}
|
|
550
555
|
])
|
|
@@ -692,7 +697,10 @@ function getPostBySlug(payload) {
|
|
|
692
697
|
path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
693
698
|
},
|
|
694
699
|
{ path: "post.richContent.nodes.tocData.fontSize" },
|
|
695
|
-
{ path: "post.richContent.nodes.tocData.itemSpacing" }
|
|
700
|
+
{ path: "post.richContent.nodes.tocData.itemSpacing" },
|
|
701
|
+
{
|
|
702
|
+
path: "post.richContent.nodes.smartBlockCellData.shape.duration"
|
|
703
|
+
}
|
|
696
704
|
]
|
|
697
705
|
}
|
|
698
706
|
])
|
|
@@ -844,7 +852,10 @@ function listPosts(payload) {
|
|
|
844
852
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
845
853
|
},
|
|
846
854
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
847
|
-
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
855
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
856
|
+
{
|
|
857
|
+
path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
|
|
858
|
+
}
|
|
848
859
|
]
|
|
849
860
|
}
|
|
850
861
|
])
|
|
@@ -996,7 +1007,10 @@ function queryPosts(payload) {
|
|
|
996
1007
|
path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
997
1008
|
},
|
|
998
1009
|
{ path: "posts.richContent.nodes.tocData.fontSize" },
|
|
999
|
-
{ path: "posts.richContent.nodes.tocData.itemSpacing" }
|
|
1010
|
+
{ path: "posts.richContent.nodes.tocData.itemSpacing" },
|
|
1011
|
+
{
|
|
1012
|
+
path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
|
|
1013
|
+
}
|
|
1000
1014
|
]
|
|
1001
1015
|
}
|
|
1002
1016
|
])
|
|
@@ -1076,6 +1090,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
1076
1090
|
NodeType2["SHAPE"] = "SHAPE";
|
|
1077
1091
|
NodeType2["CARD"] = "CARD";
|
|
1078
1092
|
NodeType2["TOC"] = "TOC";
|
|
1093
|
+
NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
|
|
1094
|
+
NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
|
|
1079
1095
|
return NodeType2;
|
|
1080
1096
|
})(NodeType || {});
|
|
1081
1097
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -1403,6 +1419,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
|
1403
1419
|
Indentation2["FLAT"] = "FLAT";
|
|
1404
1420
|
return Indentation2;
|
|
1405
1421
|
})(Indentation || {});
|
|
1422
|
+
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
1423
|
+
SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
|
|
1424
|
+
SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
|
|
1425
|
+
SmartBlockDataType2["STATS"] = "STATS";
|
|
1426
|
+
SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
|
|
1427
|
+
SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
|
|
1428
|
+
SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
|
|
1429
|
+
SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
|
|
1430
|
+
SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
|
|
1431
|
+
SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
|
|
1432
|
+
SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
|
|
1433
|
+
SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
|
|
1434
|
+
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
1435
|
+
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
1436
|
+
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
1437
|
+
return SmartBlockDataType2;
|
|
1438
|
+
})(SmartBlockDataType || {});
|
|
1439
|
+
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
1440
|
+
ColumnSize2["SMALL"] = "SMALL";
|
|
1441
|
+
ColumnSize2["MEDIUM"] = "MEDIUM";
|
|
1442
|
+
ColumnSize2["LARGE"] = "LARGE";
|
|
1443
|
+
ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
|
|
1444
|
+
return ColumnSize2;
|
|
1445
|
+
})(ColumnSize || {});
|
|
1406
1446
|
var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
1407
1447
|
ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1408
1448
|
ModerationStatusStatus2["APPROVED"] = "APPROVED";
|
|
@@ -1609,8 +1649,8 @@ async function getPost2(postId, options) {
|
|
|
1609
1649
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1610
1650
|
}
|
|
1611
1651
|
]),
|
|
1612
|
-
["post.richContent"]
|
|
1613
|
-
)
|
|
1652
|
+
["post.richContent", "post.rich_content"]
|
|
1653
|
+
);
|
|
1614
1654
|
} catch (err) {
|
|
1615
1655
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1616
1656
|
err,
|
|
@@ -1657,7 +1697,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1657
1697
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1658
1698
|
}
|
|
1659
1699
|
]),
|
|
1660
|
-
["post.richContent"]
|
|
1700
|
+
["post.richContent", "post.rich_content"]
|
|
1661
1701
|
);
|
|
1662
1702
|
} catch (err) {
|
|
1663
1703
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1716,7 +1756,7 @@ async function listPosts2(options) {
|
|
|
1716
1756
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1717
1757
|
}
|
|
1718
1758
|
]),
|
|
1719
|
-
["posts.richContent"]
|
|
1759
|
+
["posts.richContent", "posts.rich_content"]
|
|
1720
1760
|
);
|
|
1721
1761
|
} catch (err) {
|
|
1722
1762
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1786,7 +1826,7 @@ function queryPosts2(options) {
|
|
|
1786
1826
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1787
1827
|
}
|
|
1788
1828
|
]),
|
|
1789
|
-
["posts.richContent"]
|
|
1829
|
+
["posts.richContent", "posts.rich_content"]
|
|
1790
1830
|
);
|
|
1791
1831
|
return {
|
|
1792
1832
|
items: transformedData?.posts,
|
|
@@ -1834,7 +1874,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1834
1874
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1835
1875
|
}
|
|
1836
1876
|
]),
|
|
1837
|
-
["posts.richContent"]
|
|
1877
|
+
["posts.richContent", "posts.rich_content"]
|
|
1838
1878
|
);
|
|
1839
1879
|
} catch (err) {
|
|
1840
1880
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1888,6 +1928,7 @@ async function getPostMetrics2(postId) {
|
|
|
1888
1928
|
BannerOrigin,
|
|
1889
1929
|
ButtonDataType,
|
|
1890
1930
|
CardDataBackgroundType,
|
|
1931
|
+
ColumnSize,
|
|
1891
1932
|
Crop,
|
|
1892
1933
|
DecorationType,
|
|
1893
1934
|
DesignTarget,
|
|
@@ -1927,6 +1968,7 @@ async function getPostMetrics2(postId) {
|
|
|
1927
1968
|
Resizing,
|
|
1928
1969
|
ResponsivenessBehaviour,
|
|
1929
1970
|
Scaling,
|
|
1971
|
+
SmartBlockDataType,
|
|
1930
1972
|
SortOrder,
|
|
1931
1973
|
Source,
|
|
1932
1974
|
Status,
|