@wix/auto_sdk_blog_posts 1.0.145 → 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 +1 -1
- package/build/cjs/index.js +58 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +99 -4
- package/build/cjs/index.typings.js +46 -4
- 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/es/index.d.mts +1 -1
- package/build/es/index.mjs +56 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +99 -4
- package/build/es/index.typings.mjs +44 -4
- 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/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +58 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +99 -4
- package/build/internal/cjs/index.typings.js +46 -4
- 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/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +56 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +99 -4
- package/build/internal/es/index.typings.mjs +44 -4
- 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/package.json +4 -4
|
@@ -327,6 +327,10 @@ interface Node extends NodeDataOneOf {
|
|
|
327
327
|
cardData?: CardData;
|
|
328
328
|
/** Data for a table of contents node. */
|
|
329
329
|
tocData?: TocData;
|
|
330
|
+
/** Data for a smart block node. */
|
|
331
|
+
smartBlockData?: SmartBlockData;
|
|
332
|
+
/** Data for a smart block cell node. */
|
|
333
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
330
334
|
/** 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. */
|
|
331
335
|
type?: NodeTypeWithLiterals;
|
|
332
336
|
/** Node ID. */
|
|
@@ -400,6 +404,10 @@ interface NodeDataOneOf {
|
|
|
400
404
|
cardData?: CardData;
|
|
401
405
|
/** Data for a table of contents node. */
|
|
402
406
|
tocData?: TocData;
|
|
407
|
+
/** Data for a smart block node. */
|
|
408
|
+
smartBlockData?: SmartBlockData;
|
|
409
|
+
/** Data for a smart block cell node. */
|
|
410
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
403
411
|
}
|
|
404
412
|
declare enum NodeType {
|
|
405
413
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -438,10 +446,12 @@ declare enum NodeType {
|
|
|
438
446
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
439
447
|
SHAPE = "SHAPE",
|
|
440
448
|
CARD = "CARD",
|
|
441
|
-
TOC = "TOC"
|
|
449
|
+
TOC = "TOC",
|
|
450
|
+
SMART_BLOCK = "SMART_BLOCK",
|
|
451
|
+
SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
|
|
442
452
|
}
|
|
443
453
|
/** @enumType */
|
|
444
|
-
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';
|
|
454
|
+
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';
|
|
445
455
|
interface NodeStyle {
|
|
446
456
|
/** The top padding value in pixels. */
|
|
447
457
|
paddingTop?: string | null;
|
|
@@ -1059,6 +1069,8 @@ interface HeadingData {
|
|
|
1059
1069
|
textStyle?: TextStyle;
|
|
1060
1070
|
/** Indentation level from 1-4. */
|
|
1061
1071
|
indentation?: number | null;
|
|
1072
|
+
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
1073
|
+
renderedLevel?: number | null;
|
|
1062
1074
|
}
|
|
1063
1075
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
1064
1076
|
/** The URL for the HTML code for the node. */
|
|
@@ -1932,6 +1944,8 @@ interface TableData {
|
|
|
1932
1944
|
* @maxSize 4
|
|
1933
1945
|
*/
|
|
1934
1946
|
cellPadding?: number[];
|
|
1947
|
+
/** Table's alternative text. */
|
|
1948
|
+
altText?: string | null;
|
|
1935
1949
|
}
|
|
1936
1950
|
interface Dimensions {
|
|
1937
1951
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -2373,6 +2387,88 @@ declare enum Indentation {
|
|
|
2373
2387
|
}
|
|
2374
2388
|
/** @enumType */
|
|
2375
2389
|
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2390
|
+
/** Data for a smart block node. */
|
|
2391
|
+
interface SmartBlockData {
|
|
2392
|
+
/** The type of the smart block. */
|
|
2393
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2394
|
+
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
|
|
2395
|
+
orientation?: string | null;
|
|
2396
|
+
/** Column size controlling cells per row. */
|
|
2397
|
+
columnSize?: ColumnSizeWithLiterals;
|
|
2398
|
+
/** Border color (for SOLID_JOINED_BOXES variant). */
|
|
2399
|
+
borderColor?: string | null;
|
|
2400
|
+
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2401
|
+
borderWidth?: number | null;
|
|
2402
|
+
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2403
|
+
borderRadius?: number | null;
|
|
2404
|
+
}
|
|
2405
|
+
/** Layout type of the smart block */
|
|
2406
|
+
declare enum SmartBlockDataType {
|
|
2407
|
+
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
|
|
2408
|
+
SOLID_BOXES = "SOLID_BOXES",
|
|
2409
|
+
/** Numbered boxes. */
|
|
2410
|
+
NUMBERED_BOXES = "NUMBERED_BOXES",
|
|
2411
|
+
/** Statistics display with large numbers/values. */
|
|
2412
|
+
STATS = "STATS",
|
|
2413
|
+
/** Statistics with circular visual elements. */
|
|
2414
|
+
CIRCLE_STATS = "CIRCLE_STATS",
|
|
2415
|
+
/** Staggered/zigzag grid layout with alternating box positions. */
|
|
2416
|
+
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
|
|
2417
|
+
/** Grid layout with boxes visually joined (no gaps, shared container border). */
|
|
2418
|
+
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
|
|
2419
|
+
/** Transparent cells with only a left side line. */
|
|
2420
|
+
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
|
|
2421
|
+
/** Transparent cells with only a top line. */
|
|
2422
|
+
TOP_LINE_TEXT = "TOP_LINE_TEXT",
|
|
2423
|
+
/** Outlined boxes with a numbered/icon circle at the top. */
|
|
2424
|
+
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
|
|
2425
|
+
/** Large icon bullets with text content. */
|
|
2426
|
+
BIG_BULLETS = "BIG_BULLETS",
|
|
2427
|
+
/** Small dot bullets with text content. */
|
|
2428
|
+
SMALL_BULLETS = "SMALL_BULLETS",
|
|
2429
|
+
/** Arrow icon bullets with text content. */
|
|
2430
|
+
ARROW_BULLETS = "ARROW_BULLETS",
|
|
2431
|
+
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2432
|
+
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2433
|
+
/** Statistics with bar visual elements. */
|
|
2434
|
+
BAR_STATS = "BAR_STATS"
|
|
2435
|
+
}
|
|
2436
|
+
/** @enumType */
|
|
2437
|
+
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';
|
|
2438
|
+
/** Column size controlling how many cells appear per row. */
|
|
2439
|
+
declare enum ColumnSize {
|
|
2440
|
+
/** Up to 4 cells in a row. */
|
|
2441
|
+
SMALL = "SMALL",
|
|
2442
|
+
/** Up to 3 cells in a row (default). */
|
|
2443
|
+
MEDIUM = "MEDIUM",
|
|
2444
|
+
/** Up to 2 cells in a row. */
|
|
2445
|
+
LARGE = "LARGE",
|
|
2446
|
+
/** 1 cell in a row. */
|
|
2447
|
+
EXTRA_LARGE = "EXTRA_LARGE"
|
|
2448
|
+
}
|
|
2449
|
+
/** @enumType */
|
|
2450
|
+
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2451
|
+
/** Data for a smart block cell node. */
|
|
2452
|
+
interface SmartBlockCellData {
|
|
2453
|
+
/** Optional label text for the cell (e.g., for stats variants). */
|
|
2454
|
+
label?: string | null;
|
|
2455
|
+
/** Shape file details. */
|
|
2456
|
+
shape?: V1Media;
|
|
2457
|
+
/** Border color of the cell. */
|
|
2458
|
+
borderColor?: string | null;
|
|
2459
|
+
/** Border width in pixels. */
|
|
2460
|
+
borderWidth?: number | null;
|
|
2461
|
+
/** Border radius in pixels. */
|
|
2462
|
+
borderRadius?: number | null;
|
|
2463
|
+
/** The type of the parent smart block (must match parent). */
|
|
2464
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2465
|
+
/** Accent color for non-background variants (e.g., line, bullet, label color). */
|
|
2466
|
+
accentColor?: string | null;
|
|
2467
|
+
/** Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES). */
|
|
2468
|
+
backgroundColor?: string | null;
|
|
2469
|
+
/** Shape fill color as a hexadecimal value. */
|
|
2470
|
+
shapeColor?: string | null;
|
|
2471
|
+
}
|
|
2376
2472
|
interface Metadata {
|
|
2377
2473
|
/** Schema version. */
|
|
2378
2474
|
version?: number;
|
|
@@ -4621,7 +4717,6 @@ type PostQuery = {
|
|
|
4621
4717
|
};
|
|
4622
4718
|
declare const utils: {
|
|
4623
4719
|
query: {
|
|
4624
|
-
/** Data for a spoiler decoration. */
|
|
4625
4720
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
|
|
4626
4721
|
Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
|
|
4627
4722
|
Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
|
|
@@ -4640,4 +4735,4 @@ declare const utils: {
|
|
|
4640
4735
|
*/
|
|
4641
4736
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4642
4737
|
|
|
4643
|
-
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 };
|
|
4738
|
+
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";
|
|
@@ -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,
|